•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 391,584 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,650 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 735 | Replies: 1
![]() |
•
•
Join Date: Jun 2008
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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........
Please help me out.............. Thanks in advance
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........
JSP Syntax (Toggle Plain Text)
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
Last edited by peter_budo : Jun 2nd, 2008 at 6:46 am. Reason: Keep It Organized - please use [code] tags
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
Similar Threads
- Forms in Random access files (Visual Basic 4 / 5 / 6)
- sql query problem with MS Access and C# (C#)
- Dual use of <asp:TextBox in ASP.NET page (JavaScript / DHTML / AJAX)
- Finding records in access using a vb button (Visual Basic 4 / 5 / 6)
- Get data from Access instead of Notepad (URGENT) (C#)
- add record in table with button and textbox (Visual Basic 4 / 5 / 6)
- Access Sub switchboard password protection (Visual Basic 4 / 5 / 6)
- connecting to access via vb.net-HELP!!! (VB.NET)
Other Threads in the JSP Forum
- Previous Thread: Java application server
- Next Thread: customtag for database connection



Linear Mode