dev@woodstock.java.net

Re: Calendar do not work in a table

From: Dan Labrecque <Dan.Labrecque_at_Sun.COM>
Date: Mon, 02 Jun 2008 17:20:55 -0400

This is not a Woodstock bug. The blog example simply does not show how
to obtain values. I've added comments to the blog and will close this issue.

Dan

Liviu Delureanu wrote:
> If you think the Issue #: 1239
> <https://woodstock.dev.java.net/issues/show_bug.cgi?id=1239> is a real
> bug please vote for this on
> Votes for issue 1239
> <https://woodstock.dev.java.net/scdocs/votehelp.html>:
> Vote for this issue
> <https://woodstock.dev.java.net/issues/showvotes.cgi?voteon=1239>
>
>
> */Liviu Delureanu <liviudelureanu_at_yahoo.com>/* wrote:
>
> I've opened an issue for this problem:
> Issue #: 1239
> <https://woodstock.dev.java.net/issues/show_bug.cgi?id=1239>
>
>
> */Liviu Delureanu <liviudelureanu_at_yahoo.com>/* wrote:
>
> Hi!
> I'm new with Woodstock and web technology and I've tried to
> get the calendar component placed in the table after followed the
>
> steps:
>
> http://blogs.sun.com/winston/entry/adding_calendar_to_table
>
> 1 Create a Project
> 2 Drag and drop Table Component on to the design surface
> 3 Drag and drop the JDBC table Data Sources -> Travel -> Trip on to the Table
> Component.
> 4 Optional: Using table layout remove the TRIPID and TRIPTYPEID
> 5 Using Table layout set the
> Pagination of the table and page size 5.
> 6 Drag and drop a Calendar component on to the design surface (not on the table
> component)
> 7 Edit the JSP page and
> move the Calendar Tag to the Table Column Corresponding
> to DEPDATE
> 8 From the outline Panel remove the extra StaticText component in the DEPDATE
> column.
>
> 9 Do not remove it in the JSP
> 10 Remove the style attribute from the Calendar Tag
> Now the DEPDATE tablecolumn tag in JSP should look like
>
> <ui:tableColumn binding="#{Page1.tableColumn3}" headerText="DEPDATE"
> id="tableColumn3" >
> <ui:calendar binding="#{Page1.calendar1}" id="calendar1"/>
> </ui:tableColumn>
>
>
> However, during runtime it always refer to ROW No 1 whenever I select a date
> from the calendar component.
> The calendar button show only on row 1 and if I choose from that a date all
> rows of the table is changed.
> Can tell me what I'm doing wrong?
> Any Ideea ?
>
> I've used NetBeans 6.1 and 6.0.1 and Woodstock 4.3
>
>
>
>
>
>