You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Phillip Rhodes <sp...@rhoderunner.com> on 2009/05/27 16:31:05 UTC

Ordering a list component?

I was wondering if anyone had a component that allows you to order a list of items?

Thanks, wicket is the best!


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


Re: Ordering a list component?

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Why don't you just set the half of the palette invisible.

**
Martin

2009/5/27 Phillip Rhodes <sp...@rhoderunner.com>:
>
> Sorry, should have been more specific.
>
> Allow the user to perform custom ordering of a list of items.
> Sort of like the palette component, but only half of it.
>
>
> -----Original Message-----
> From: "Martin Makundi" <ma...@koodaripalvelut.com>
> Sent: Wednesday, May 27, 2009 10:37am
> To: users@wicket.apache.org
> Subject: Re: Ordering a list component?
>
> Collections.sort
>
> 2009/5/27 Phillip Rhodes <sp...@rhoderunner.com>:
>> I was wondering if anyone had a component that allows you to order a list of items?
>>
>> Thanks, wicket is the best!
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>

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


Re: Ordering a list component?

Posted by Maarten Bosteels <mb...@gmail.com>.
http://londonwicket.googlecode.com/files/LondonWicket-ListEditor.pdf

I vaguely remember that the code didn't work for 100% when I tested it, but
it sure is a good start.

Maarten

On Wed, May 27, 2009 at 5:14 PM, Martijn Dashorst <
martijn.dashorst@gmail.com> wrote:

> ListView has up and down links incorporated. I haven't used them, so I
> didn't document their use in WIA. You could take a look at them...
>
> see ListView#moveUpLink()
>
> They're not ajaxy enabled, but I think you can use them in a:
>
> <select>
>    <option wicket:id="items">
> </select>
>
> kind of way.
>
> Martijn
>
> On Wed, May 27, 2009 at 5:04 PM, Phillip Rhodes
> <sp...@rhoderunner.com> wrote:
> >
> > Sorry, should have been more specific.
> >
> > Allow the user to perform custom ordering of a list of items.
> > Sort of like the palette component, but only half of it.
> >
> >
> > -----Original Message-----
> > From: "Martin Makundi" <ma...@koodaripalvelut.com>
> > Sent: Wednesday, May 27, 2009 10:37am
> > To: users@wicket.apache.org
> > Subject: Re: Ordering a list component?
> >
> > Collections.sort
> >
> > 2009/5/27 Phillip Rhodes <sp...@rhoderunner.com>:
> >> I was wondering if anyone had a component that allows you to order a
> list of items?
> >>
> >> Thanks, wicket is the best!
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.5 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Ordering a list component?

Posted by Martijn Dashorst <ma...@gmail.com>.
ListView has up and down links incorporated. I haven't used them, so I
didn't document their use in WIA. You could take a look at them...

see ListView#moveUpLink()

They're not ajaxy enabled, but I think you can use them in a:

<select>
    <option wicket:id="items">
</select>

kind of way.

Martijn

On Wed, May 27, 2009 at 5:04 PM, Phillip Rhodes
<sp...@rhoderunner.com> wrote:
>
> Sorry, should have been more specific.
>
> Allow the user to perform custom ordering of a list of items.
> Sort of like the palette component, but only half of it.
>
>
> -----Original Message-----
> From: "Martin Makundi" <ma...@koodaripalvelut.com>
> Sent: Wednesday, May 27, 2009 10:37am
> To: users@wicket.apache.org
> Subject: Re: Ordering a list component?
>
> Collections.sort
>
> 2009/5/27 Phillip Rhodes <sp...@rhoderunner.com>:
>> I was wondering if anyone had a component that allows you to order a list of items?
>>
>> Thanks, wicket is the best!
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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


Re: Ordering a list component?

Posted by Phillip Rhodes <sp...@rhoderunner.com>.
Sorry, should have been more specific.

Allow the user to perform custom ordering of a list of items.
Sort of like the palette component, but only half of it.


-----Original Message-----
From: "Martin Makundi" <ma...@koodaripalvelut.com>
Sent: Wednesday, May 27, 2009 10:37am
To: users@wicket.apache.org
Subject: Re: Ordering a list component?

Collections.sort

2009/5/27 Phillip Rhodes <sp...@rhoderunner.com>:
> I was wondering if anyone had a component that allows you to order a list of items?
>
> Thanks, wicket is the best!
>
>
> ---------------------------------------------------------------------
> 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: Ordering a list component?

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Collections.sort

2009/5/27 Phillip Rhodes <sp...@rhoderunner.com>:
> I was wondering if anyone had a component that allows you to order a list of items?
>
> Thanks, wicket is the best!
>
>
> ---------------------------------------------------------------------
> 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