Re: Create wicket form on demand

2010-09-22 Thread Igor Vaynberg
sure, you can replace a placeholder component with a fragment/panel
that contains the form.

-igor

On Wed, Sep 22, 2010 at 4:37 PM, d2marcelo  wrote:
>
> Hello,
>
> Is there a way to generate a form based on an event.
> For example. I have a listbox with a few items , if the user selects an
> item. a form gets created with some textfields.
>
> I want to set an  AjaxEventBehavior("onchange") on the listbox to trigger
> the form creation.
>
> Thanks for the help;
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Create-wicket-form-on-demand-tp2551237p2551237.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Create wicket form on demand

2010-09-22 Thread d2marcelo

Hello,

Is there a way to generate a form based on an event. 
For example. I have a listbox with a few items , if the user selects an
item. a form gets created with some textfields. 

I want to set an  AjaxEventBehavior("onchange") on the listbox to trigger
the form creation.

Thanks for the help;


-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Create-wicket-form-on-demand-tp2551237p2551237.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org