[
https://issues.apache.org/jira/browse/MYFACES-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502462
]
Bruno Aranda commented on MYFACES-1656:
---------------------------------------
Definitely it seems to be a bug in tomcat's el api, as the test-webapp runs
well also in glassfish
> 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.