You might like the TitlePane add-on component at
http://lombok.demon.co.uk/tapestry5Demo/.  Or at least start with its code.
It can hide any arbirtary section of a page with an onclick, using the
prototype api.



On Mon, Oct 19, 2009 at 4:29 AM, Andrey Larionov <anlario...@gmail.com>wrote:

> All examples what i found for formfragment or other, uses some
> persistency on server side. Is it possible to remove it?
>
> On Mon, Oct 19, 2009 at 11:44, cordenier christophe
> <christophe.corden...@gmail.com> wrote:
> > Hi
> >
> > Do you mean without 'server side' persistency ?
> >
> > You can do it by  using prototype API to show or hide DOM elements, and
> > scriptaculous for more visual effect.
> >
> > If you want to persist the state, you can send an Ajax Request on toggle
> > that updates the state each time the user click on your link.
> >
> > Regards
> > ChristophE.
> >
> > 2009/10/19 Andrey Larionov <anlario...@gmail.com>
> >
> >> I need to show and hide Form by click on some link. Actualy want to do
> >> this without persistency. Should i do it on client side? And how? Can
> >> anybody suggest direction
> >>
> >> Thanks.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >> For additional commands, e-mail: users-h...@tapestry.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to