Hello again! Did you see the reply from Dan?
"
Venky, I added a calendar to the Woodstock table example. I can see that
each calendarField widget has a unique id, based on the current table row
index. However, the calendar property has the same id property for all. As a
result, I suspect that each calendar is being overridden by the next.
webui.suntheme.widget.common.createWidgetOnLoad("j_id54",{
"id": "form1:table1:rowGroup1:1:col2:startDate",
"calendar": {
"id": "form1:table1:rowGroup1:0:col2:startDate:_datePicker",
...
"
Venkatesh Babu-5 wrote:
>
> Hi,
>
> For some reason, my emails take a long time to reach the users_at_woodstock
> group. ( 3-4 hours)
> anyways my earlier email which you havent yet recvd. mentioned :
>
> "Also, i have faced the same kind of problem once when the data for
> more than one calendar component on the page
> was bound to the same managed bean. So, whenever i entered data for a
> single calendar on the page, all my other
> calendars were updated. "
>
>
> -Venky
> janir wrote:
>> Should i do something in Java code her; or should the JSP take care of
>> this ?
>> TableColumn JSP code:
>> "
>> <webuijsf:calendar binding="#{DataEntry.calendar2}" id="calendar2"
>> selectedDate="#{currentRow.value['finishDate']}"/>
>> "
>> I have used other components in same table (like TextField) without
>> problems.
>> Thanks
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>
>
--
View this message in context: http://www.nabble.com/Calendar-inside-Table-component-tp14332641p14339744.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.