[
https://issues.apache.org/jira/browse/MYFACES-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502344
]
Paul McMahan commented on MYFACES-1656:
---------------------------------------
>From a visual inspection of jetty it looks like it uses the jsp-2.1 RI from
>glassfish, which includes the el api. Geronimo uses tomcat's el api, see:
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_13/java/javax/el/
(Actually geronimo uses a copy of tomcat's el api, but will soon switch back
over to tomcat's original version now that they are published to maven central
repo)
If we can narrow this problem down to a bug in EL and provide a patch to tomcat
then geronimo will be able to pick up that change.
> Wrong coercing in #{} for <h:inputText>
> ---------------------------------------
>
> Key: MYFACES-1656
> URL: https://issues.apache.org/jira/browse/MYFACES-1656
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 1.2.0-SNAPSHOT
> Environment: geronimo 2.0 - M6, winxp
> Reporter: Alexander Zynevich
> Attachments: Bad coercing.jpg
>
>
> I tried to run GuessNumber application on the latest SNAPSHOT of 1.2.0
> Looks like is cannot coerce #{integer-value} for string. A week ago this code
> worked. Now it prints:
> /greeting.jsp(44,3) '#{UserNumberBean.userNumber}'
> java.lang.IllegalArgumentException: argument type mismatch
> snip from bean:
> public void setUserNumber(Integer user_number) {
> userNumber = user_number;
> System.out.println("Set userNumber " + userNumber);
> }
> public Integer getUserNumber() {
> System.out.println("get userNumber " + userNumber);
> return userNumber;
> }
> snip from jsp:
> <h:inputText id="userNo" value="#{UserNumberBean.userNumber}"
> validator="#{UserNumberBean.validate}"/>
> you may download war from GERONIMO-3167
> see also screen shot
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.