Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calendar Problem

 
RoshaniG Gopal
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic