After looking at the MultiplePropertySelection stuff, it seemed like the
default renderer uses a series of checkboxes to display the data. This
worked great, but we still wanted to use a multi-select box. We ended up
modifying the existing render to use the select box instead of the
checkboxes. I attached the code that we came up with.

Anyway, the constructor for the renderer accepts an int to use as the size
of the box. If the int isn't passed, the default size is set to 10. Anyway,
this is working great so far, but if anyone sees anything wrong with it,
please let me know!

Thanks!

Eric Alexander
Genscape, Inc.

> -----Original Message-----
> From: Jim Birchfield [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 9:30 AM
> To: Jim Birchfield; Tapestry Developer
> Subject: RE: [Tapestry-developer] Multi Selection List
> 
> OK, I am looking at the contrib. package and found the
> MultiPropertySelection.  This might do what we need.
> 
> James Birchfield
> Director, Application Development
> Genscape, Inc.
> (502) 583-2298 (o)
> (502) 639-3136 (c)
> 
> 
> -----Original Message-----
> From: Jim Birchfield [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 10:26 AM
> To: Tapestry Developer
> Subject: [Tapestry-developer] Multi Selection List
> 
> We have used Tapestry with great success so far.  We have done some pretty
> complex things while using it.  However, we are trying to do something
> fairly simple that I don't think we should have to do something complex to
> get it done.  We are very familiar with using a PropertySelectionModel to
> show a drop down list.  However, we need to have a multiple select drop
> down
> list.  We have bastardized the Palette component in the past, but wanted
> to
> see if there was an easier way to get this functionality.  What do others
> do
> when they need a multi selection list?
> 
> James Birchfield
> Director, Application Development
> Genscape, Inc.
> (502) 583-2298 (o)
> (502) 639-3136 (c)
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Attachment: MultiSelectBoxRenderer.java
Description: Binary data

Reply via email to