[Wicket-user] .setVisble not working for webmarkupcontainer
Hi, 1.I have a WebMarkupContainer with some components nested. I do setVisible(false) to it when page loadslater on an ajax request I try to do .setVisible(true) and repaint it adding it to AjaxRequestTarget IT DOES NOT SHOW UP Am I going wrong in something? __ Sent from my www.pageflakes.com startpage - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] .setVisble not working for webmarkupcontainer
iirc, you have to call .setOutputMarkupPlaceHolder(true) on the webmarkupcontainer to make this work. gerolf On 7/23/07, atul [EMAIL PROTECTED] wrote: Hi, 1.I have a WebMarkupContainer with some components nested. I do setVisible(false) to it when page loadslater on an ajax request I try to do .setVisible(true) and repaint it adding it to AjaxRequestTarget IT DOES NOT SHOW UP Am I going wrong in something? __ Sent from my www.pageflakes.com startpage - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] .setVisble not working for webmarkupcontainer
The problem is that you have hidden the container in which the components were placed, and later when wicket attempts to add the components, it can't find the place where to. As Dipu says, you must modify the visibility of the inner components, not the container, so when wicket attempts to add the components, it can find the container to place them. Chris On 7/23/07, Dipu Seminlal [EMAIL PROTECTED] wrote: Don't change the visibility of the container you are trying to repaint. Instead try changing the visibility of the components nested inside the container. Hope that makes sense. Regards Dipu On 7/23/07, atul [EMAIL PROTECTED] wrote: Hi, 1.I have a WebMarkupContainer with some components nested. I do setVisible(false) to it when page loadslater on an ajax request I try to do .setVisible(true) and repaint it adding it to AjaxRequestTarget IT DOES NOT SHOW UP Am I going wrong in something? __ Sent from my www.pageflakes.com startpage - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] .setVisble not working for webmarkupcontainer
On 7/23/07, Christian Alejandro Marquez Grabia [EMAIL PROTECTED] wrote: The problem is that you have hidden the container in which the components were placed, and later when wicket attempts to add the components, it can't find the place where to. As Dipu says, you must modify the visibility of the inner components, not the container, so when wicket attempts to add the components, it can find the container to place them. Both suggestions are good. As far as I know, setOutputMarkupPlaceholderTag(true) should work as well. Eelco - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] .setVisble not working for webmarkupcontainer
On 7/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 7/23/07, Christian Alejandro Marquez Grabia [EMAIL PROTECTED] wrote: The problem is that you have hidden the container in which the components were placed, and later when wicket attempts to add the components, it can't find the place where to. As Dipu says, you must modify the visibility of the inner components, not the container, so when wicket attempts to add the components, it can find the container to place them. Both suggestions are good. As far as I know, setOutputMarkupPlaceholderTag(true) should work as well. yep, setoutputmarkupplaceholdertag() was actually created just to make a situation like this easier - remove the need for an extra container that was often added just to have an always-visible tag in markup to repaint. -igor Eelco - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user