Re: [T5] Select, palette, multiselect
Martin Grotzke wrote > On Fri, 2007-07-27 at 17:37 -0300, Thiago H de Paula Figueiredo wrote: >> And has anyone implemented a Select-like component for multiple option >> selection? It would be very nice to have both multiselect and palette, as >> T4 has. > Take a look at this thread, it's really easy to implement multiselect > with T5: > http://www.nabble.com/T5%3A-select-component-with-support-for-attribute-%22multiple%22-tf3880056.html#a10996038 > > Cheers, > Martin > > >> >> Thiago >> >> - >> To unsubscribe, e-mail: > users-unsubscribe@.apache >> For additional commands, e-mail: > users-help@.apache > > > > signature.asc (196 bytes) > <http://tapestry.1045711.n5.nabble.com/attachment/2408345/0/signature.asc>; link no longer exists -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Select-palette-multiselect-tp2408343p5716472.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: multiselect
If "multiselect" means what I think it does... we've had good luck with the ChildSelect component in the lombok library. http://lombok.demon.co.uk/tapestry5Demo/test/components/DynamicSelect 2010/5/21 Genís Pujol > Hello, > > Is there any documentation/examples about multiselect controls in > Tapestry5? Anyone has implemented this already? > > regards, > > Genís > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
multiselect
Hello, Is there any documentation/examples about multiselect controls in Tapestry5? Anyone has implemented this already? regards, Genís - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [T5] Select, palette, multiselect
For Select, a default encoder can be generated from the type of property bound to the value parameter of the Select. For Palette, what's bound is a List ... due to type erasure, even List looks like List, and there is no effective way to determine the underying element type, so you are forced to provide that information to Tapestry. On 7/27/07, Thiago H de Paula Figueiredo <[EMAIL PROTECTED]> wrote: > > Hi! > > Why is encoder a required parameter for the Palette component and isn't > for Select? Looking ate the Select source code, we can see that it uses de > ValueEncoderSource service to find a default ValueEncoder when the encoder > parameter is not set. > > And has anyone implemented a Select-like component for multiple option > selection? It would be very nice to have both multiselect and palette, as > T4 has. > > Thiago > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com
Re: [T5] Select, palette, multiselect
On Mon, 30 Jul 2007 17:13:07 -0300, Martin Grotzke <[EMAIL PROTECTED]> wrote: On Fri, 2007-07-27 at 17:37 -0300, Thiago H de Paula Figueiredo wrote: And has anyone implemented a Select-like component for multiple option selection? It would be very nice to have both multiselect and palette, as T4 has. Take a look at this thread, it's really easy to implement multiselect with T5: http://www.nabble.com/T5%3A-select-component-with-support-for-attribute-%22multiple%22-tf3880056.html#a10996038 Thank you! As almost anything in T5, it's easy to implement. :) I sent that message in the hope the T5 committers add one multiselection implementation to the T5 core library. Maybe I should post a JIRA (unless it stills throws a NPE when posting a new one). The framework itself must provide in its final version (yes, I know T5 is pre-alpha) all the trivial components, otherwise potential new users will take a look and think something like "there's no multiselect (or any other simple component)!!! How could I work with a framework that makes me write code for such a simple thing?". ;) Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Select, palette, multiselect
On Fri, 2007-07-27 at 17:37 -0300, Thiago H de Paula Figueiredo wrote: > And has anyone implemented a Select-like component for multiple option > selection? It would be very nice to have both multiselect and palette, as > T4 has. Take a look at this thread, it's really easy to implement multiselect with T5: http://www.nabble.com/T5%3A-select-component-with-support-for-attribute-%22multiple%22-tf3880056.html#a10996038 Cheers, Martin > > Thiago > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
[T5] Select, palette, multiselect
Hi! Why is encoder a required parameter for the Palette component and isn't for Select? Looking ate the Select source code, we can see that it uses de ValueEncoderSource service to find a default ValueEncoder when the encoder parameter is not set. And has anyone implemented a Select-like component for multiple option selection? It would be very nice to have both multiselect and palette, as T4 has. Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]