Hi,

thank you for this advise. I've tried this approach (and put a breakpoint on
my "getNavigationState()" method on the visit object) but i found out, that
tnis Set containing the state has been read by the tree component but does
not contain any useful state information even after changing the trees
folding mode.

What may be wrong with my setup?

Mit freundlichen Gr��en,
Ralf Edmund Stranzenbach



-----Urspr�ngliche Nachricht-----
Von: Viktor Szathmary [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 5. April 2005 19:58
An: Tapestry users
Betreff: Re: Session bound state of tacos:tree / contrib:tree


Hi,

With the new tacos:Tree, this is what you need to do: add a new
property of type java.util.Set to your Visit object, and bind the
tree's "treeState" parameter  to that. That's all..

regards,
  viktor

On Apr 5, 2005 2:01 PM, Ralf E. Stranzenbach <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i would like to use either tacos:tree or contrib:tree within my Border
> component to render a representation of the applications main navigation
> menu. I like to use a tree component because some of the tree nodes may
> contain worklflow dependend tasks.
>
> So i just added the tree component within my Border but unfortunately the
> lifecycle and the inner state of the trees is bound to the page(s).
> Therefore the navigation trees on various pages render different folding
> states.
>
> Is there any chance to bind this component not to pages but to the current
> user session?
>
> Mit freundlichen Gr��en,
> Ralf Edmund Stranzenbach
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to