You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bruno Aranda (JIRA)" <de...@myfaces.apache.org> on 2007/06/06 23:26:26 UTC
[jira] Commented: (MYFACES-1656) Wrong coercing in #{} for
[ https://issues.apache.org/jira/browse/MYFACES-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502114 ]
Bruno Aranda commented on MYFACES-1656:
---------------------------------------
I have modified the test-webapp of myfaces-1.2 in order to reproduce this issue. When executing the app with the jetty maven plugin it works ok. If I deploy it in geronimo (+tomcat) I can reproduce the issue. Any ideas?
> 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.