Thanks Ray,

Shortly after my original email, I realized that I could use a single form
with a single hidden field to pass in the value like this:

  <td align="right" class="event" height="#variables.cellsize#"
width="#variables.cellsize#" title="#td_title#" onclick="
document.passDate.dateValue.value='#dateFormat(getevents.date,
application.shortdate)#';javascript:ColdFusion.Window.show
('calendarDetails')">#dateFormat(getevents.date, "D")#
so the first onClick passes the required date to the form:

<form name="passDate"><input type="hidden" name="dateValue" value=""
/></form>
which, in turn, passes the date into the CFWINDOW call, just like it should:

<cfwindow center="true" width="500" height="480" name="calendarDetails"
        minHeight="400" minWidth="400" title="Calendar Details"
initshow="false"
        source="calendar_details.cfm?date={passDate:dateValue}" />
And, for good measure, here's my calendar_details.cfm page:

<html>
<head>
 <title>Untitled</title>
</head>
<body>
<p><cfoutput>#URL.date#</cfoutput></p>
calendar details
</body>
</html>
Now, here's the problem.  Clicking on a given date in my calendar displays
the window, as expected, with that first date's information.  However,
closing that popped-up window and then clicking on a different date pops up
the window, but it still has the first date's information.  Is thsi expected
behavior, or is there a way to "destroy" the first opened window's contents
and open a new window with new content?  Or does it mean that I would need
to create 31 instances of cfwindow (one for each day of the month)...which
is, IMO, unacceptable.

Thanks

Pete


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294917
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to