users@woodstock.java.net

Re: Calendar inside Table component

From: janir <janir4_at_gmail.com>
Date: Tue, 18 Dec 2007 02:26:43 -0800 (PST)

Hello! Has anybody got this to work?
Thanks,
janir


janir wrote:
>
> Hi!
> Have trouble getting this to work; the "Calendar button" is only showing
> on the first row. And if i select a date in the control; the date is
> copied to all rows.
>
> Here is part JSP:
> <webuijsf:tableColumn binding="#{DataEntry.tableColumnFinish}"
> headerText="FinishDate" id="tableColumnFinish" width="217">
> <webuijsf:calendar binding="#{DataEntry.calendar2}" id="calendar2"
> selectedDate="#{currentRow.value['finishDate']}"/>
>
> Here is part of the mapped data.
> private Date finishDate;
>
> public Date getFinishDate() {
> return finishDate;
> }
>
> public void setFinishDate(Date FinishDate) {
> this.finishDate = new java.sql.Date(FinishDate.getTime());
> }
>
> Any ideas?
> Thanks,janir
>

-- 
View this message in context: http://www.nabble.com/Calendar-inside-Table-component-tp14332641p14391502.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.