Is it possible to create multiple <CFCalendar> tags in
a loop?
I have a loop that creates a unique form for each record in a
result set. My goal is to create a calendar for each of the records
and use the form to allow updates to a due_date field related the
record. I have used the following code (stripped down to include
only necessary sections) to attempt this. When I do, only the first
CFCalendar loads. I assume this has something to do with how the
CFCalendar is integrated with javascript.
Is there anyway to accomplish this?
<cfloop query = "DueDateResultSet" >
<cfform format="html"
name="CalenderForm_#DueDateResultSet.order_unit_id#"
action="DueDate_Update.cfm" >
<cfcalendar
name="Calendar_#DueDateResultSet.order_unit_id#"
mask="mmm dd, yyyy"
dayNames="SU,MO,TU,WE,TH,FR,SA"
monthNames="JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT,
NOV, DEC"
style="rollOverColor:##FF0000"
width="200" height="150"
</cfform>
</cfloop>