This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Struts and the fly likes Date appears in the wrong place when I use <s:iterator> inside <s:iterator> and jquery UI timepicker Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Date appears in the wrong place when I use <s:iterator> inside <s:iterator> and jquery UI timepicker" Watch "Date appears in the wrong place when I use <s:iterator> inside <s:iterator> and jquery UI timepicker" New topic
Author

Date appears in the wrong place when I use <s:iterator> inside <s:iterator> and jquery UI timepicker

will zhang
Ranch Hand

Joined: Sep 11, 2008
Posts: 46
As the following img shows, when I click the datepicker icon to select the date, the selected date will always appear in the field as upper as possible.
Example: if I click the 1st icon in the 2nd table, the selected date will appear in the 1st field of 1st table.
if I click the 1st icon in the 3nd table, the selected date will also appear in the 1st field of 1st table.

Anyone has similar error or any hint? Thanks




will zhang
Ranch Hand

Joined: Sep 11, 2008
Posts: 46
Solved, it's because the id is the same.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Date appears in the wrong place when I use <s:iterator> inside <s:iterator> and jquery UI timepicker
 
Similar Threads
Struts tag where name="myClass.myList[x].index"
JQuery UI datepicker doesn't work in a struts 2 ajax page
Struts 2 forms and collections
couldn't get value back from <s:iterator> after submitting the <s:form>
Struts2 - Select - Ajax