You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by lxw_first <lx...@hotmail.com> on 2012/07/22 08:06:50 UTC
Inherit Panel setVisible In AjaxCall
Hi,All,
I have a page with a DropDown Component and a Inherit Panel. The Java Code
like this:
http://apache-wicket.1842946.n4.nabble.com/file/n4650683/Inherit_Panel.bmp
The event is triggered,but the panel is yet hidden. Is there a way to
archieve this?
Thanks.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Inherit-Panel-setVisible-In-AjaxCall-tp4650683.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Inherit Panel setVisible In AjaxCall
Posted by lxw_first <lx...@hotmail.com>.
Thanks for you reply. Because I will need to render new data when the model
object of the DropDown changed,so I create a new instance of
BaseRoleMapPanel. I have fixed this question.
Thanks a lot。
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Inherit-Panel-setVisible-In-AjaxCall-tp4650683p4650686.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Inherit Panel setVisible In AjaxCall
Posted by Sven Meier <sv...@meiers.net>.
Don't create a new instance of BaseRoleMapPanel in #onUpdate(). Just add
the existing one to the ART:
target.add(baseRoleMapPanel);
Sven
On 07/22/2012 08:06 AM, lxw_first wrote:
> Hi,All,
>
> I have a page with a DropDown Component and a Inherit Panel. The Java Code
> like this:
> http://apache-wicket.1842946.n4.nabble.com/file/n4650683/Inherit_Panel.bmp
>
> The event is triggered,but the panel is yet hidden. Is there a way to
> archieve this?
>
> Thanks.
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Inherit-Panel-setVisible-In-AjaxCall-tp4650683.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org