Eric,

thanks for using MyFaces.
And yes... there is some issue on Tomcat5.5
when commons-el.jar and jsp-2.0.jar is inside
of WEB-INF/lib

HTH,
Matthias

Eric Wahlforss wrote:
Hi,
after upgrading to netbeans 4.1/tomcat 5.5 it seems that my custom components doesn't work properly with jsf value bindings. If I specify a plain string, it works. If I use value bindings, the value always comes back as null. The myfaces stock components seems to work just fine. my component tag looks something like this:


<q:rating value="#{bb.entry.rating}"/>
(where rating is an int property of entry)

The relevant UIRatingTag code looks like this:
if (UIComponentTag.isValueReference(rating))
setValueBinding(component, "rating", rating); //this seems to fail, even though rating comes in as "{bb.entry.rating}"
else
component.getAttributes().put("rating", rating);


<q:rating value="5"/> will work...

Everything worked fine on tomcat5.0.x and myfaces1.0.9rc1. Can it have something to to with the fact that I had to remove commons-el.jar in order to get myfaces1.0.9rc1 to run on tomcat5.5?

thanks,
eric

--------------------------------------------
Eric Wahlforss
http://eric.wahlforss.com/
[EMAIL PROTECTED]
+46 70 363 99 00
jabber: [EMAIL PROTECTED]
skype, aim: ericwahlforss
--------------------------------------------

Reply via email to