Re: Wicket collapsable panel
On Wed, Apr 17, 2019 at 1:00 PM Sibgha Nazir 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 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 > 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
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 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 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
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 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