myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-1562) tomahawk20-1.1.10 for JSF 2 does not work: aliasBean
Date Tue, 25 Jan 2011 02:45:44 GMT

    [ https://issues.apache.org/jira/browse/TOMAHAWK-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986194#action_12986194
] 

Leonardo Uribe commented on TOMAHAWK-1562:
------------------------------------------

t:aliasBean in tomahawk12 or earlier required a hack in myfaces core to work, so it will not
work with Mojarra 1.2 

In tomahawk20, the way how binding assigment is done was normalized using system events (by
JSF 2.0), so now t:aliasBean works with Mojarra too, but it is probably that change the one
causing problems here.

> tomahawk20-1.1.10 for JSF 2 does not work: aliasBean
> ----------------------------------------------------
>
>                 Key: TOMAHAWK-1562
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1562
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Alias Bean
>         Environment: Windows,  tomahawk20-1.1.10, JSF 2.0 (Mojarra 2.0) on JBoss AS 6,
Richfaces 3.3.1
>            Reporter: Dave
>
> I tried tomahawk20-1.1.10 with jsf 2.0 (Mojarra 2.0) on JBoss AS 6, and got the following
exception. The bean is alias, and it works for JSF 1.2.
>  
>  <t:aliasBean alias="#{bean}" value="#{fooBean}">
>       <f:subview id="foo">
>          <jsp:include page="/include/foo.jsp" />
>       </f:subview>
>   </t:aliasBean>
>  
> org.apache.jasper.el.JspPropertyNotFoundException: /include/foo.jsp(47,2) '#{bean.result}'
The class 'java.lang.String' does not have the property 'result'
> .
>         at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:104)
[:6.0.0.Final]
>         at org.apache.myfaces.custom.aliasbean.Alias.computeEvaluatedExpression(Alias.java:112)
[:1.1.10]
>         at org.apache.myfaces.custom.aliasbean.Alias.make(Alias.java:136) [:1.1.10]
>         at org.apache.myfaces.custom.aliasbean.AliasBean.makeAlias(AliasBean.java:349)
[:1.1.10]
>         at org.apache.myfaces.custom.aliasbean.AliasBean.makeAlias(AliasBean.java:334)
[:1.1.10]
>         at org.apache.myfaces.custom.aliasbean.AliasBeanTag.doStartTag(AliasBeanTag.java:52)
[:1.1.10]
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message