I think this is indeed a great idea, Rick!

if you want to provide a new tag, extend from the existing SelectItems
tag - it should be quite easy to get up to speed with this component.

regards,

Martin

On 9/8/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> On 9/8/05, CONNER, BRENDAN (SBCSI) <[EMAIL PROTECTED]> wrote:
> >  However, as you say, there's always room for
> > improvement.
> 
> Yup. And I understand JSF/MyFaces is still relatively young.
> 
> I do think a tag to support this would be nice.
> 
> As an interim solution I'll probably create a method that returns a
> SelectItems array...
> 
> SelectItems[] createSelectItemsFromCollection( Collection col, String
> valueProp, String labelProp ) {
> 
> then using the reflection API, I should be able to return an array of
> SelectItems. This method could then be used for *any* Collection
> within the application.
> 


-- 

http://www.irian.at
Your JSF powerhouse - 
JSF Trainings in English and German

Reply via email to