aha!  thanks I didn't know that part - i had the 4.0 DTD referenced.

Thanks
Mike

On 10/7/05, Hensley, Richard <[EMAIL PROTECTED]> wrote:
> Michael,
>
> What was the DTD specification for your page file? I believe you have to use
> the 3.0 DTD to have 3.0 stuff recognized.
>
> Richard
>
> -----Original Message-----
> From: Michael Engelhart [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 07, 2005 8:34 AM
> To: Tapestry users
> Subject: Re: table sessionstate question
>
> In case anyone runs into this, my solution was to use the new style
> property specification in my .page so this:
>
> <property-specification name="searchResults" type="java.util.List"
> persistent="yes"/>
>
> became:
> <property name="searchResults" type="java.util.List"
> persist="session"/>
>
> and everything worked as expected.  I was under the impression that
> 3.x style .page files were respected but apparently not.
>
> Mike
> On 10/6/05, Michael Engelhart <[EMAIL PROTECTED]> wrote:
> > Hi -
> > I have the following source object and table component specificed in
> > my .page (Tapestry 4).
> >
> > <property-specification name="searchResults" type="java.util.List"
> > persistent="yes"/>
> >
> > <component id="table" type="contrib:Table">
> >         <binding name="source" value="searchResults" />
> >         <binding name="columns" value="literal:id:Content Id:id,
> > createdBy:Created By:createdBy, shortUrl:URL:shortUrl,
> > status:Status:status, publisher:Publisher:publisher, anchorText:Anchor
> > Text:anchorText, publishDate:Published:publishDate,
> > expirationDate:Expires:expirationDate" />
> >         <binding name="rowsClass" value="beans.evenOdd.next" />
> >         <binding name="pagesClass" value="literal:table-page-arrows" />
> >         <binding name="pageSize" value="20" />
> >         <binding name="tableSessionStateManager" value="new
> >
> org.apache.tapestry.contrib.table.model.common.FullTableSessionStateManager(
> )"
> > />
> > </component>
> >
> > When ever I try to sort or page through the data I get this error:
> >
> > Either the tableModel parameter or both source and columns parameters
> > must be specified by component LinkedContentSearch/table.tableView
> >
> > I'm not sure why though as I have the searchResults List object as
> > persistent and also tableSessionStateManager set.
> >
> > Thanks for any help.
> >
> > Mike
> >
>
> ---------------------------------------------------------------------
> 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]

Reply via email to