You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by brushmate <br...@gmail.com> on 2014/09/10 11:27:37 UTC

How to add checkboxes with AJAX?

Hi,

I am trying to write a FormComponentPanel that displays a list of
checkboxes, a textfield and a button. It shall return the selected values. I
want to use the textfield and the button to add new checkboxes dynamically
using AJAX.

I used a CheckGroup together with a ListView to render the checkboxes. Below
the checkboxes I placed a TextField and an AjaxButton. Now I want to be able
to enter a value into the textfield and after a click on the button the
entered value shall be added to the list. How can I accomplish this?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-checkboxes-with-AJAX-tp4667452.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: How to add checkboxes with AJAX?

Posted by Martin Grigorov <mg...@apache.org>.
Check
http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov


On Wed, Sep 10, 2014 at 12:41 PM, brushmate <br...@gmail.com> wrote:

> This is what it should look like:
>
> <
> http://apache-wicket.1842946.n4.nabble.com/file/n4667453/formcomponentpanel1.png
> >
> <
> http://apache-wicket.1842946.n4.nabble.com/file/n4667453/formcomponentpanel2.png
> >
> <
> http://apache-wicket.1842946.n4.nabble.com/file/n4667453/formcomponentpanel3.png
> >
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/How-to-add-checkboxes-with-AJAX-tp4667452p4667453.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: How to add checkboxes with AJAX?

Posted by brushmate <br...@gmail.com>.
This is what it should look like:

<http://apache-wicket.1842946.n4.nabble.com/file/n4667453/formcomponentpanel1.png> 
<http://apache-wicket.1842946.n4.nabble.com/file/n4667453/formcomponentpanel2.png> 
<http://apache-wicket.1842946.n4.nabble.com/file/n4667453/formcomponentpanel3.png> 

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-checkboxes-with-AJAX-tp4667452p4667453.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