You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Michal Wegrzyn <mi...@onior.com> on 2012/04/05 16:32:03 UTC

DropDownChoice - filtering and pagination

Hi,

What is the best way to create option components with Wicket for large datasets?
DropDownChoice renders all contained items. Do you maybe know any wicket implementation of drop down choice which allows pagination?

Other thing is filtering. I look for something similar to Dojo's FilteringSelect:  http://livedocs.dojotoolkit.org/dijit/form/FilteringSelect

Best regards,
Michal Wegrzyn


Re: DropDownChoice - filtering and pagination

Posted by Dan Retzlaff <dr...@gmail.com>.
Hi Michal,

Paging and filtering in a single widget might be too much. An approach I
took once is to use AutoCompleteTextField, and render an AJAX link at the
bottom of the "drop down" that says "Show All". When clicked, a modal pops
up with a traditional AJAX-pageable DataView. I also added a down-arrow
with JS handlers to the right of the text field that toggled the dropdown,
helping it look like a dropdown.

All-in-all, it still didn't look/behave that great. But that might have
been a failing in my JS/CSS abilities. :)

Dan

On Thu, Apr 5, 2012 at 8:32 AM, Michal Wegrzyn <mi...@onior.com>wrote:

> Hi,
>
> What is the best way to create option components with Wicket for large
> datasets?
> DropDownChoice renders all contained items. Do you maybe know any wicket
> implementation of drop down choice which allows pagination?
>
> Other thing is filtering. I look for something similar to Dojo's
> FilteringSelect:
> http://livedocs.dojotoolkit.org/dijit/form/FilteringSelect
>
> Best regards,
> Michal Wegrzyn
>
>

Re: DropDownChoice - filtering and pagination

Posted by Igor Vaynberg <ig...@gmail.com>.
no, it will not be added to core. it will live in my github account.

-igor

On Tue, Apr 10, 2012 at 4:44 AM, Michal Wegrzyn
<mi...@onior.com> wrote:
> Hi Martin,
>
> Sounds and looks great!
> Will it be added to wicket-core? 6.x?
>
> Best regards,
> Michal Wegrzyn
>
>
>> -----Original Message-----
>> From: Martin Grigorov [mailto:mgrigorov@apache.org]
>> Sent: Tuesday, April 10, 2012 8:53
>> To: users@wicket.apache.org
>> Subject: Re: DropDownChoice - filtering and pagination
>>
>> On Thu, Apr 5, 2012 at 4:32 PM, Michal Wegrzyn
>> <mi...@onior.com> wrote:
>> > Hi,
>> >
>> > What is the best way to create option components with Wicket for
>> large datasets?
>> > DropDownChoice renders all contained items. Do you maybe know any
>> wicket implementation of drop down choice which allows pagination?
>> >
>> > Other thing is filtering. I look for something similar to Dojo's
>> > FilteringSelect:
>> > http://livedocs.dojotoolkit.org/dijit/form/FilteringSelect
>>
>> Igor is working on http://ivaynberg.github.com/select2. He said that
>> soon he will create a Wicket component for it. I guess he wont mind
>> github Pull requests.
>>
>> >
>> > Best regards,
>> > Michal Wegrzyn
>> >
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.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: DropDownChoice - filtering and pagination

Posted by Michal Wegrzyn <mi...@onior.com>.
Hi Martin,

Sounds and looks great! 
Will it be added to wicket-core? 6.x?

Best regards,
Michal Wegrzyn


> -----Original Message-----
> From: Martin Grigorov [mailto:mgrigorov@apache.org]
> Sent: Tuesday, April 10, 2012 8:53
> To: users@wicket.apache.org
> Subject: Re: DropDownChoice - filtering and pagination
> 
> On Thu, Apr 5, 2012 at 4:32 PM, Michal Wegrzyn
> <mi...@onior.com> wrote:
> > Hi,
> >
> > What is the best way to create option components with Wicket for
> large datasets?
> > DropDownChoice renders all contained items. Do you maybe know any
> wicket implementation of drop down choice which allows pagination?
> >
> > Other thing is filtering. I look for something similar to Dojo's
> > FilteringSelect:
> > http://livedocs.dojotoolkit.org/dijit/form/FilteringSelect
> 
> Igor is working on http://ivaynberg.github.com/select2. He said that
> soon he will create a Wicket component for it. I guess he wont mind
> github Pull requests.
> 
> >
> > Best regards,
> > Michal Wegrzyn
> >
> 
> 
> 
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.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: DropDownChoice - filtering and pagination

Posted by Martin Grigorov <mg...@apache.org>.
On Thu, Apr 5, 2012 at 4:32 PM, Michal Wegrzyn <mi...@onior.com> wrote:
> Hi,
>
> What is the best way to create option components with Wicket for large datasets?
> DropDownChoice renders all contained items. Do you maybe know any wicket implementation of drop down choice which allows pagination?
>
> Other thing is filtering. I look for something similar to Dojo's FilteringSelect:  http://livedocs.dojotoolkit.org/dijit/form/FilteringSelect

Igor is working on http://ivaynberg.github.com/select2. He said that
soon he will create a Wicket component for it. I guess he wont mind
github Pull requests.

>
> Best regards,
> Michal Wegrzyn
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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