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

Dan Allen (JIRA) jira-events at lists.jboss.org
Sat Sep 20 23:44:20 EDT 2008


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

Dan Allen commented on JBSEAM-3428:
-----------------------------------

A workaround for this is to leverage the JBoss EL.

#{eventContext.set('variableName', componentName.anyMethod())}

Granted, it is not as pretty as:

<s:let var="variableName" value="#{componentName.anyMethod()}" scope="event"/>

I do really like the idea of creating the tag. People with no sense decided somewhere along the line that variables are a bad thing that that we should do everything with our feet strapped to the floor and our hands tied around our backs. This tag would be extremely trivial to write.

> 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