Sagewire Logo

CFCALENDAR Bug

8 Message(s) by 6 Author(s) originally posted in flash and cfml


From: Xuan Mai Date:   Thursday, September 15, 2005
I think this is a bug , but I can not get it to repeat with any consistancy.

I've a CFCALENDAR on an html form that looks like this:

<CFIF chkDate.initResponse neq "">
<td><CFCALENDAR name="initDate" height="130" width="135"
selecteddate="#DateFormat(chkDate.initResponse, 'mm/dd/yyyy')#"
required="yes">
</td>
<CFELSE>
<td><CFCALENDAR name="initDate" height="130" width="135"
selecteddate="#DateFormat(Now(), 'mm/dd/yyyy')#" required="yes">
</td>
</CFIF>

The date shows up in green on the page when you load it. When the user hits
the submit button, sometimes it sets Form.initDate to nothing. I can not get it
to repeat with any consistancy. Anyone have any similar experiences?


From: michael_lambert Date:   Tuesday, September 27, 2005
I can confirm.
I've the same problem *sometimes*.

Using CFMX 7.0 Enterprise on Windows 2000 Advanced Server SP4


From: unleashed Date:   Friday, March 10, 2006
Have you guys found a fix for this? I am having the same problem....

I've been able to recreate the problem. I've an HTML FORM that that
submits to itself. I am using the "selecteddate" parameter to load the
selected date. The first time the form is submitted, the FORM variable is
passed and when the page loads again, the correct "selecteddate" is loaded, but
the calendar control doesn't pass any FORM Variables.

James....

<!--- index.CFM page --->

<form action="index.cfm">
<CFPARAM name="FORM.DayOffered" default="03/10/2006">
<CFCALENDAR name="DayOffered"
selectedDate="#FORM.DayOffered#"
mask="mm/dd/yyyy"
width="200" height="150" >

<input type=submit>
</form>

<CFOUTPUT>Display information from query based on FORM.DayOffered.</CFOUTPUT>


From: chaka2k Date:   Friday, April 27, 2007
Has anyone found a solution to this? I am having the *exact* same problem.


From: athanasiusrc Date:   Friday, October 05, 2007
Did not fix the problem for me.


From: AndrewNClarke Date:   Tuesday, October 09, 2007
I'm having the same problem, sort of. I can use the attached code in the
default site in IIS and it works fine in either Firefox or Safari 3 beta.

If I copy the code to a new site running on a different port on the same
server , and copy the entire /CFIDE directory over to my new site, it runs fine
in Firefox but not in Safari. In Safari, I get the CFCALENDAR form to come up,
but when I post the form I get a blank date.

- Andrew.

<CFPARAM name="reportDate" default="#dateAdd('d', -1, now())#" type="date" />
<CFSET reportDate = createDate(datePart("yyyy", reportDate), datePart("m",
reportDate), datePart("d", reportDate)) />


<CFFORM name="f_temp" action="temp.cfm" method="post">
<CFCALENDAR height="250" width="250" name="reportDate"
selecteddate="#reportDate#" />

<input type="submit" />
</CFFORM>


From: AndrewNClarke Date:   Tuesday, October 09, 2007
Here's some more information on my specific problem. I have tested this issue
and when I use Safari 3 beta, on http port 8526, my CFCALENDAR variable sends
through "", not the date. In Safari 1.x, IE 6, and Firefox, it works fine. It
works fine in Safari 3.03 on port 80, just not on the non-standard port.

I have logged this as a bug with Adobe and Apple.

- Andrew.


From: AndrewNClarke Date:   Wednesday, October 10, 2007
Well, I continue to stand corrected. In the off chance that anyone actually
reads any of this, now I'm having the same issues with Firefox. On port 80,
CFCALENDAR works. On port 8526, it does not.

- Andrew.



Next Message: Flash Remoting and Cold Fusion MX 6


Blogs related to CFCALENDAR Bug

datefield startrange
I have looked through the forum here but cant find what I am looking for. How do you create a startrange or endrange for the cfinput datefield? Cfcalendar is not a problem, but datefield seems to be. Basically all I am needing is to ...

more on the cfcalendar - coldfusion mx 7.0.1
an issue came in the other day regarding a problem with the cfcalendar. the issue was this. when the current date is in the disabled range of cfcalendar, the day of the month is invisible for every corresponding month...

cfcalendar and back button not working together
i'm using a simple back button on a page that also has a cfcalendar tag. if i remove the cfcalendar tag, the back button works, but the two will not work together. i found this ... <cfcalendar name="calendar" height="240" width="240" ...

re: cfgridcolumn - edit a date and want cfcalendar/datefield popup
i have de same problem, anybody have any ideas ?

cfcalendar Bug
I think this is a bug, but I can't get it to repeat with any consistancy. I have a cfcalendar on an html form that looks like this: <cfcalendar name="initDate" height="130" width="135" ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional