You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by kshitiz <k....@gmail.com> on 2013/01/14 18:59:27 UTC
Multiple select drop down in Wicket
Hi,
I am trying to implement multiple select drop down in Wicket. I am able to
create multi select drop down view using bootstrap but I am not able to get
how to relate selected options with IModel of drop down component? Is there
any possibility in Wicket?
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multiple-select-drop-down-in-Wicket-tp4655355.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: Multiple select drop down in Wicket
Posted by Paul Bors <pa...@bors.ws>.
CSS :)
~ Thank you,
Paul Bors
-----Original Message-----
From: Marios Skounakis [mailto:mscoon@gmail.com]
Sent: Tuesday, January 15, 2013 2:18 PM
To: users@wicket.apache.org
Subject: Re: Multiple select drop down in Wicket
I've considered using select2 (it looks very impressive) but I was put off
by the fact that its appearance is not consistent with the rest of the input
controls.
How do people solve this?
On Tue, Jan 15, 2013 at 6:34 PM, Paul Bors <pa...@bors.ws> wrote:
> I gave up on the normal select in HTML and started to use Igor's Select2.
>
> See http://ivaynberg.github.com/select2/
>
> ~ Thank you,
> Paul Bors
>
> -----Original Message-----
> From: kshitiz [mailto:k.agarwal4@gmail.com]
> Sent: Monday, January 14, 2013 9:17 PM
> To: users@wicket.apache.org
> Subject: RE: Multiple select drop down in Wicket
>
> Actually ListMultipleChoice is not that user friendly as compare to
> multi select drop down. Thats why I preferred the later one. Is there
> any way to implement the same in Wicket?
>
>
>
> --
> View this message in context:
>
> http://apache-wicket.1842946.n4.nabble.com/Multiple-select-drop-down-i
> n-Wick
> et-tp4655355p4655368.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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Multiple select drop down in Wicket
Posted by Marios Skounakis <ms...@gmail.com>.
I've considered using select2 (it looks very impressive) but I was put off
by the fact that its appearance is not consistent with the rest of the input
controls.
How do people solve this?
On Tue, Jan 15, 2013 at 6:34 PM, Paul Bors <pa...@bors.ws> wrote:
> I gave up on the normal select in HTML and started to use Igor's Select2.
>
> See http://ivaynberg.github.com/select2/
>
> ~ Thank you,
> Paul Bors
>
> -----Original Message-----
> From: kshitiz [mailto:k.agarwal4@gmail.com]
> Sent: Monday, January 14, 2013 9:17 PM
> To: users@wicket.apache.org
> Subject: RE: Multiple select drop down in Wicket
>
> Actually ListMultipleChoice is not that user friendly as compare to multi
> select drop down. Thats why I preferred the later one. Is there any way to
> implement the same in Wicket?
>
>
>
> --
> View this message in context:
>
> http://apache-wicket.1842946.n4.nabble.com/Multiple-select-drop-down-in-Wick
> et-tp4655355p4655368.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
>
>
RE: Multiple select drop down in Wicket
Posted by Paul Bors <pa...@bors.ws>.
I gave up on the normal select in HTML and started to use Igor's Select2.
See http://ivaynberg.github.com/select2/
~ Thank you,
Paul Bors
-----Original Message-----
From: kshitiz [mailto:k.agarwal4@gmail.com]
Sent: Monday, January 14, 2013 9:17 PM
To: users@wicket.apache.org
Subject: RE: Multiple select drop down in Wicket
Actually ListMultipleChoice is not that user friendly as compare to multi
select drop down. Thats why I preferred the later one. Is there any way to
implement the same in Wicket?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Multiple-select-drop-down-in-Wick
et-tp4655355p4655368.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
Re: Multiple select drop down in Wicket
Posted by Andrew Geery <an...@gmail.com>.
Yes, it is possible. See https://github.com/ivaynberg/wicket-select2
(http://ivaynberg.github.com/select2/ is the standalone UI piece, if
you're interested). And it is available via Maven.
Andrew
On Mon, Jan 14, 2013 at 9:17 PM, kshitiz <k....@gmail.com> wrote:
> Actually ListMultipleChoice is not that user friendly as compare to multi
> select drop down. Thats why I preferred the later one. Is there any way to
> implement the same in Wicket?
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multiple-select-drop-down-in-Wicket-tp4655355p4655368.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
RE: Multiple select drop down in Wicket
Posted by kshitiz <k....@gmail.com>.
Actually ListMultipleChoice is not that user friendly as compare to multi
select drop down. Thats why I preferred the later one. Is there any way to
implement the same in Wicket?
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multiple-select-drop-down-in-Wicket-tp4655355p4655368.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: Multiple select drop down in Wicket
Posted by Paul Bors <pa...@bors.ws>.
Yes, the example shows a ListMultipleChoice. Is that not working for you?
~ Thank you,
Paul Bors
-----Original Message-----
From: kshitiz [mailto:k.agarwal4@gmail.com]
Sent: Monday, January 14, 2013 2:06 PM
To: users@wicket.apache.org
Subject: RE: Multiple select drop down in Wicket
Are you talking about ListMultipleChoice or drop down choice with multiple
select option? I am not able to find out any example regarding multiple
select drop down.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Multiple-select-drop-down-in-Wick
et-tp4655355p4655357.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
RE: Multiple select drop down in Wicket
Posted by kshitiz <k....@gmail.com>.
Are you talking about ListMultipleChoice or drop down choice with multiple
select option? I am not able to find out any example regarding multiple
select drop down.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multiple-select-drop-down-in-Wicket-tp4655355p4655357.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: Multiple select drop down in Wicket
Posted by Paul Bors <pa...@bors.ws>.
Multiple selects take a collection of objects and not a single object for
the model type so you should use IModel<? extends Collection<ObjectType>>.
For example see how "your favorite sites" is used on:
http://www.wicket-library.com/wicket-examples/forminput
~ Thank you,
Paul Bors
-----Original Message-----
From: kshitiz [mailto:k.agarwal4@gmail.com]
Sent: Monday, January 14, 2013 12:59 PM
To: users@wicket.apache.org
Subject: Multiple select drop down in Wicket
Hi,
I am trying to implement multiple select drop down in Wicket. I am able to
create multi select drop down view using bootstrap but I am not able to get
how to relate selected options with IModel of drop down component? Is there
any possibility in Wicket?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Multiple-select-drop-down-in-Wick
et-tp4655355.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