Hi,
I am very new to JSP......... i need one help.......... i have a table with many rows......... for each row i can set the time by calling the calendar java script............ I want to access the time that whatever has been set for some manipulation........ please help me out........
for (OrderDetails entry : entriesList)
{
boolean enableCancel = entry.isCancellable();
boolean hasDetails = entry.isHasDetails();
BulkRequestHistoryInfoInterface.OrderStatus entryStat = entry.getStatus();
String entryStat1 = entryStat.toString();
String fileName = entry.getOrderFileName();
%>
<tr align="center" class="ad_wa_body">
<td align="center">
<input type="radio" name="radioGroup"
value="<%=entry.getOrderFileName()%>#<%=entry.getSubmissionTime()%>#<%=entry.getStatus()%>"
<% if (!enableCancel) { %>
DISABLED
<% } %>
></td>
<td align="center"><%= entry.getUserName() %></td>
<td align="center"><%= entry.getOrderFileName()%></td>
[B]<td align="center">
<% if(entryStat1.equalsIgnoreCase(OrderStatus.SCHEDULABLE.name())
|| entryStat1.equalsIgnoreCase(OrderStatus.SCHEDULED.name())){
%>
<input id="<%=entry.getOrderFileName()%>"class="text_box" type="text" name="ExecutionStartTime" onChange="submitTime();"size=10>
<a href="javascript:calendar_control('<%=entry.getOrderFileName()%>','ddmmmyyyy',true,24)" onClick="submitTime();"><img src="../gif/calendar.gif" width="16" height="16" border="0" alt="Select date and time">
</a>
<% }
else { %>
<input class="text_box" type="text" name="ExecutionStartTime" disabled="true" size=10>
<img src="../gif/calendar.gif" onclick="javascript:calendar_control('ExecutionStartTime','ddmmmyyyy',true,24)" width="16" height="16" border="0" disabled="true" alt="Select date and time">
<% } %>
</td>[/B]
<td align="center">
<%
long initialTimeStamp = Long.parseLong(entry.getSubmissionTime());
Date initialDate = new Date();
initialDate.setTime(initialTimeStamp);
%>
<%= initialDate%></td>
<%
BulkRequestHistoryInfoInterface.OrderStatus os = entry.getStatus();
String color = bulkInfoHistory.getColor(os);
%>
<td align="center"><font class="<%=color%>"> <%= entry.getStatus()%></font> </td>
<td align="center">
<%
long lastUpdatedTimeStamp = Long.parseLong(entry.getLastStateUpdate());
Date updatedDate = new Date();
updatedDate.setTime(lastUpdatedTimeStamp);
%>
<%= updatedDate%></td>
<td align="center"><%= entry.getNumberOfRequestsExecuted()%></td>
<td align="center"><%= entry.getNumberOfRequestsFailed()%></td>
<td align="center"><input TYPE="button" value="Details" onclick="callDetails('<%=entry.getOrderFileName()%>','<%=entry.getSubmissionTime()%>')"
<% if (!hasDetails) { %>
DISABLED
<% } %>
></td>
</tr>
<%
}
Please help me out.............. Thanks in advance