you might want to look at a working example as well...I think tapestry comes with a set of examples in the distribution..Try copying and pasting some portion of that table logic into your own stuff until you get it working... On 8/25/05, Phil Ulrich <[EMAIL PROTECTED]> wrote: > Frank, > > Check the definition of what the columns binding should be. > > "The table columns to be displayed. The parameter must be an array, a > list, or an Iterator of ITableColumn objects, an ITableColumnModel, or > a String describing the columns (see documentation)." > > In your case, I would try this: > > <table jwcid="[EMAIL PROTECTED]:Table" width="90%" > source="ognl:toDoList" > columns="Title:title"/> > > The "Title" before the colon being an id for the column, and the > "title" after the colon being an OGNL expression to extract the title > element from the row object. > > --Phil > > On 8/25/05, Frank <[EMAIL PROTECTED]> wrote: > > <table jwcid="[EMAIL PROTECTED]:Table" width="90%" > > source="ognl:toDoList" > > columns="item.title"/> > > > > Hello, > > > > The above code shows a column but no rows. > > This was working ok in the Foreach below. > > Thanks for the help. > > > > Frank > > > > <tr jwcid="@Foreach" element="tr" source="ognl:toDoList" value="ognl:item"> > > <td><input type="text" jwcid="[EMAIL PROTECTED]" size="50" > > value="ognl:item.title"/></td> > > </tr> > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
