myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Bohmann (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOBAGO-466) Extend AttributeHandler for handling methodexpression in a facelet composition
Date Fri, 14 Mar 2008 10:09:24 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578670#action_12578670
] 

Bernd Bohmann commented on TOBAGO-466:
--------------------------------------

Yes, this should be possible adding an attribute to declare this is an methodbinding or a
different Tag like attributeMethodXXX..

> Extend AttributeHandler for handling methodexpression in a facelet composition
> ------------------------------------------------------------------------------
>
>                 Key: TOBAGO-466
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-466
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Facelets
>            Reporter: Bernd Bohmann
>            Assignee: Bernd Bohmann
>             Fix For: 1.0.12
>
>
> In a facelets composition a method expression as an argument did not work.
> <ui:composition...
> <tc:label .../>
> <tc:in />
> <tc:button action="${action}" actionListener="${actionListener}" />
> </ui:composition>
> instead you can use the attribute tag
>  <tc:button>
>      <tc:attribute name="action" value="${action}" />
>  </tc:button>
> the attribute tag evaluate the value expression and create if required a method expression
from the value of the expression.
> If the value is not a value expression the attribute tag create the method expression
directly.

-- 
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