You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sibgha Nazir <si...@gmail.com> on 2019/04/15 19:27:25 UTC

Wicket collapsable panel

Hi,

I am looking for a way to create a panel that opens and closes from one
side of the container. I havent been lucky enough to find a related thing
on internet.

Can anybody hint me?

Thanks.

Re: Wicket collapsable panel

Posted by Martin Grigorov <mg...@apache.org>.
On Wed, Apr 17, 2019 at 1:00 PM Sibgha Nazir <si...@gmail.com> wrote:

> Is it possible to get a transition effect with this method? I.e. opening
> and closing of tjr panel.
>

Sure!
You can use jQuery (comes with Wicket) or any other JS based solution to do
the animation.
See jQuery slide and fade methods.
Also you may find this article interesting:
http://wicketinaction.com/2013/02/replace-components-with-animation/


>
> On Tue, Apr 16, 2019, 09:04 Ernesto Reinaldo Barreiro <reiern70@gmail.com
> wrote:
>
> > Hi,
> >
> > There are several ways to do this. E.g
> >
> > 1- Use javascript at client side and just hide nent of panel (bound to
> the
> > link that toggles the panel)
> > 2- Use wicket AJAX and content.steVisible(false|true) where content is
> the
> > panel containing you "box" content. This logic attached to the AJAX link
> > closing/opening box.
> >
> >
> >
> > On Mon, Apr 15, 2019 at 10:28 PM Sibgha Nazir <si...@gmail.com>
> wrote:
> >
> > > Hi,
> > >
> > > I am looking for a way to create a panel that opens and closes from one
> > > side of the container. I havent been lucky enough to find a related
> thing
> > > on internet.
> > >
> > > Can anybody hint me?
> > >
> > > Thanks.
> > >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> >
>

Re: Wicket collapsable panel

Posted by Sibgha Nazir <si...@gmail.com>.
Is it possible to get a transition effect with this method? I.e. opening
and closing of tjr panel.

On Tue, Apr 16, 2019, 09:04 Ernesto Reinaldo Barreiro <reiern70@gmail.com
wrote:

> Hi,
>
> There are several ways to do this. E.g
>
> 1- Use javascript at client side and just hide nent of panel (bound to the
> link that toggles the panel)
> 2- Use wicket AJAX and content.steVisible(false|true) where content is the
> panel containing you "box" content. This logic attached to the AJAX link
> closing/opening box.
>
>
>
> On Mon, Apr 15, 2019 at 10:28 PM Sibgha Nazir <si...@gmail.com> wrote:
>
> > Hi,
> >
> > I am looking for a way to create a panel that opens and closes from one
> > side of the container. I havent been lucky enough to find a related thing
> > on internet.
> >
> > Can anybody hint me?
> >
> > Thanks.
> >
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>

Re: Wicket collapsable panel

Posted by Ernesto Reinaldo Barreiro <re...@gmail.com>.
Hi,

There are several ways to do this. E.g

1- Use javascript at client side and just hide nent of panel (bound to the
link that toggles the panel)
2- Use wicket AJAX and content.steVisible(false|true) where content is the
panel containing you "box" content. This logic attached to the AJAX link
closing/opening box.



On Mon, Apr 15, 2019 at 10:28 PM Sibgha Nazir <si...@gmail.com> wrote:

> Hi,
>
> I am looking for a way to create a panel that opens and closes from one
> side of the container. I havent been lucky enough to find a related thing
> on internet.
>
> Can anybody hint me?
>
> Thanks.
>


-- 
Regards - Ernesto Reinaldo Barreiro