File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Calendar Problem" Watch "Calendar Problem" New topic

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,<br />Roshani
I agree. Here's the link:
subject: Calendar Problem
It's not a secret anymore!