This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Calendar Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Calendar Problem" Watch "Calendar Problem" New topic
Author

Calendar Problem

RoshaniG Gopal
Ranch Hand

Joined: May 15, 2006
Posts: 180
Hi all,
I have a calendar that has to take the time. The calendar pops up when we click the hyperlink but the data is not populated in the box. The other condition is I am iterating it and it should appear for the dynamic row.
On debugging, it shows that the value that goes to the JS function is [dataListIndexed[0].callReceiveTime] as there is a [.] separator the JS cannot resolve it.
Please help
---------------------------------
<% int counter=0;%>
<logic resent ....>
<logic:iterate id="row" name="myForm" property="myList">
<% String recive="dataListIndexed["+counter+"].gndTouchingTime"; %>
<html:text property="<%=recive%>" name="myForm" value=""/>
<A href="javascript:NewCal('<%=str%>','ddmmyyyy',true,24)">
<IMG border="0" src="../images/cal.gif" width="16" height="16"
border="0" alt="Pick a date"></A></td>
--------------------------
Regards,
Roshani


Regards,<br />Roshani
 
Don't get me started about those stupid light bulbs.
 
subject: Calendar Problem