Hi Mike,

If you're using JBoss 4.0.3 with tomcat, you'll find the sun implementation is bundled under:
  server/default/deploy/jbossweb-tomcat55.sar

These jars need to be removed if you're using MyFaces.

jsf-api.jar is *not* part of the j2ee.jar (at least not yet).
Actually, it's unlikely to ever be bundled, as (at least in the myfaces libs) there is significant library-specific logic in the "api" classes. All the "api" indicates is that the APIs for those classes are tightly defined; this is not an "spi" (service provider interface).

Regards,

Simon

Mike Duffy wrote:
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 <[EMAIL PROTECTED]> 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 <[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..

Reply via email to