myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Duffy <mduffy_li...@yahoo.com>
Subject Re: does not reference an Object of type SelectItem
Date Mon, 05 Dec 2005 16:26:34 GMT
I thought that might be it and I could not find the jsf-api.jar in any class path.  

Is the jsf-api.jar part of the j2ee.jar?

Thx.

Mike


--- Martin Marinschek <martin.marinschek@gmail.com> wrote:

> ... 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 <mvdb@ibl-software.nl> 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
> 



		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


Mime
View raw message