[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3428) Add a "let" seam ui tag

Jakub Janczak (JIRA) jira-events at lists.jboss.org
Sun Mar 29 11:49:22 EDT 2009

    [ https://jira.jboss.org/jira/browse/JBSEAM-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12459514#action_12459514 ] 

Jakub Janczak commented on JBSEAM-3428:

actually there is a facelet JSTL tag called <c:set .. />, that works exactly how you want it to. The only problem with it is that it sets the var for the whole request (there is no scoped version like: <c:set ...> .... </c:set>). So there is no need to write it again.

Back to the semantics - yes it's not cool to set vars in the code page but it sometimes helps in keeping the code DRY, for example calculating rendered attribute for multiple components from a long EL expression

> Add a "let" seam ui tag
> -----------------------
>                 Key: JBSEAM-3428
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3428
>             Project: Seam
>          Issue Type: Feature Request
>          Components: JSF Controls, Performance and Scalability
>            Reporter: Daniel Roth
>            Priority: Minor
> Add a jsf tag that evaluates an expression and assigns it to a variable for later use in the page.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list