Re: Using Ajax to hide/show components

2008-02-07 Thread Gerolf Seitz
in the ajaxified version you have to call target.setOutputMarkupPlaceHolderTag(true) in the constructor, so that an invisible dummy tag is rendered in case the target is initially invisible. the dummy tag is then replaced with the actual markup of the target, once it's visible. hth, gerolf On F

Using Ajax to hide/show components

2008-02-07 Thread Fabrizio Giudici
Hello.I have a custom component called CollapsiblePanel that has a header with an icon; clicking on the icon, the panel get shown or hidden (see picture in attachment for a quick view). The first listing is the current version of the link used to do the thing, and it works, but uses a regular req