When the link is clicked you are going to the page with the form that
is already created. So no construction is being done at that time.

If you want to control visibility of some components depending on data
override the isVisible() method of that component.

On 9/11/08, zaheers <[EMAIL PROTECTED]> wrote:
>
> Appreciate your help with this issue.
>
> Our application has a HomePage called PetStorepage which adds different
> Panels as links. When the Profile Panel link is clicked the ProfileForm
> constructor should be invoked. But I see that the ProfileForm constructor is
> invoked only the first time the PetStorePage is called. Subsequent clicks on
> the ProfilePanel link from within the PetStorePage do not invoke the
> ProfileForm constructor although the page gets rendered.
>
> Due to this the logic to enable or disable a component if some variable is
> set in session is not getting executed. How to resolve this ?.
>
>
> http://www.nabble.com/file/p19441401/ProfilePanel.txt ProfilePanel.txt
> http://www.nabble.com/file/p19441401/PetStorePage.txt PetStorePage.txt
> http://www.nabble.com/file/p19441401/SwitchingLink.txt SwitchingLink.txt
> --
> View this message in context:
> http://www.nabble.com/Form-Constructor-is-not-invoked-tp19441401p19441401.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to