Adding/Remiving Panels

2014-03-31 Thread David Beer
Hi All I am in the process of building a user account page, which will have a menu on the left, and the related content on the right. I would like the content on the right to be swapped depending on the selection on the left. As in the content on the right might well be generated by panels or fra

Re: Adding/Remiving Panels

2014-04-01 Thread Martin Grigorov
Hi, On Mon, Mar 31, 2014 at 1:53 PM, David Beer wrote: > Hi All > > I am in the process of building a user account page, which will have a menu > on the left, and the related content on the right. > > I would like the content on the right to be swapped depending on the > selection on the left.

Re: Adding/Remiving Panels

2014-04-01 Thread David Beer
Hi Martin Thanks for your information here. So if I had a page which extends from a base page and adds the header footer, then added the content which is basically two column, in order to use a menu on the left to change some of the content on the right I could use a combination of Ajax to swap th

Re: Adding/Remiving Panels

2014-04-02 Thread David Beer
Hi I am able to remove the panel by accessing the top most component (form) and setting visible to false. This removes the panel from the page, however I am having difficulty adding the panel back to the page. I get and Ajax error saying component id can't be found. The source is availble here ht

Re: Adding/Remiving Panels

2014-04-02 Thread David Beer
Hi I have fixed the problem by adding setOutputMarkupPlaceholderTag(true); to the top component. Thanks David On 2 April 2014 18:55, David Beer wrote: > Hi > > I am able to remove the panel by accessing the top most component (form) > and setting visible to false. This removes the panel from