You can use @Persist("client:page"). In this mode, page state is
encoded into links rendered when the specified page is the active
page. Once you navigate to (and activate) a new page, that client
state goes away.
On the Wiki there's a another client state management approach, which
only encodes client state into forms, not links. I had added the
necessary API into Tapestry 4.0, but never had a chance to write the
necessary logic.
On 4/3/06, Geoff Callender <[EMAIL PROTECTED]> wrote:
> When my page has @Persist("client") on some properties, the state becomes
> included in the URL of PageLinks. eg.
>
> <a href="/perspectives/app?page=web%2Fmain%
> 2FTestsPage&service=page&state:Home=BrO0ABXcOAAAAAQAAB3N0cmluZ3
> NzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAA
> A3cEAAAACnQABUZpcnN0dAAGU2Vjb25kdAAFVGhpcmR4">PageLink</a>
>
> Does this serve a purpose?
>
> The problem is that when the URL becomes too long then the link fails
> silently.
> But all I want to do is go to a different page with a link on the navigation
> bar,
> regardless of the data on the current page.
>
> Geoff
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
Professional Tapestry training, mentoring, support
and project work. http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]