Community
Participate
Working Groups
The value attribute is being incorrectly marked invalid with "EL expression does not evaluate to expected types for this attribute". <h:inputText value="#{bean.val}"/> when val is an object. <h:inputText value="#{bean.date}"/> is another example.
I neglected to mention that a converter has been applied in the above cases that could convert to a String. Example from Core JSF samples: converter2 <h:inputText id="card" value="#{payment.card}"> <f:converter converterId="com.corejsf.CreditCard"/> </h:inputText> where, public class CreditCard { private String number; public CreditCard(String number) { this.number = number; } public String toString() { return number; } }
Triaged for WTP 2.0
Encountered the same problem (with the standard date-converter). My System: OS: Win XP prof., Apache 5.0.31, myfaces 1.09.
Need to defer this one to 3.0 unless it is critical for anyone. Requires the ability to analyze nested components.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=202697 to track future improvements in this area. *** This bug has been marked as a duplicate of bug 198730 ***
verified as dupe