users@woodstock.java.net

Calendar inside Table component

From: janir <janir4_at_gmail.com>
Date: Fri, 14 Dec 2007 01:39:50 -0800 (PST)

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-tp14332641p14332641.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.