On 12/5/05, Simon Kitching <[EMAIL PROTECTED]> wrote:

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).

FYI, JSF 1.2 will be a required part of the Java EE 5 platform.  Compliant app servers must provide not only the API classes, but also the corresponding implementation, just as they are required to provide both API and implementation for other APIs like servlet and JSP.

Regards,

Simon

Craig
 

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