SV: Application of setOutputMarkupPlaceholderTag and setOutputMarkupId

2010-09-17 Thread Wilhelmsen Tor Iver
Clicking another button I want the hidden panel to be visible and when i set the visibility to true and attach the markupContainer to the ajaxRequest, it does not repaint it and I got an error saying the component was not found. Yes, without a placeholder tag for invisible components there

Re: SV: Application of setOutputMarkupPlaceholderTag and setOutputMarkupId

2010-09-17 Thread nivs
Hi Thanks for your thoughts. It is clearer now. Re-iterating from what you mentioned, my understanding is that when 1. toggling invisibility via Ajax you need to use the placeholder tag - 2.and we don't toggle visibility and want that component to be re-painted then we need setOutputMarkupId.