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] Resolved: (TOBAGO-466) Extend AttributeHandler for handling methodexpression in a facelet composition
Date Mon, 27 Aug 2007 11:57:31 GMT

     [ https://issues.apache.org/jira/browse/TOBAGO-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bernd Bohmann resolved TOBAGO-466.
----------------------------------

    Resolution: Fixed

> 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