... and this should be ok. You can return an array of SelectItem objects.

Do you have any class loader issues here?

Maybe your javax.faces.api classes are loaded from a class loader
which is not accessible from your web-app? Or you have both the
jsf-api.jar and the myfaces-api.jar in your classpath?

regards,

Martin

On 12/5/05, Martin van den Bemt <[EMAIL PROTECTED]> wrote:
> Mike Duffy wrote:
> > I am trying to create a value binding for a <f:selectItems/> tag.  The 
> > object reference is
> > definitely a collection of SelectItem objects (I've even tried it with an 
> > array).
> >
> > However, I am getting an error that tells me the object reference does not 
> > contain SelectItem
> > objects.  The error message state, "but of type : 
> > Ljavax.faces.model.SelectItem;".
> >
> > What does the "Ljavax" reference mean?
> >
>
> [Ljavax.faces.model.SelectItem; means an array of SelectItem objects..
>
>
> Mvgr,
> Martin
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to