[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2362) from-action "equals" requires a textual match not a semantical

koen handekyn (JIRA) jira-events at lists.jboss.org
Mon Dec 10 04:57:00 EST 2007


from-action "equals" requires a textual match not a semantical 
---------------------------------------------------------------

                 Key: JBSEAM-2362
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2362
             Project: JBoss Seam
          Issue Type: Bug
    Affects Versions: 2.0.0.GA
            Reporter: koen handekyn


in my facelets page i'm referring to an action as " backinBean['persist']  " ( where backingBean is a facelet tag parameter that has the value accountHome )

in pages.xml one needs to use the same litteral string within example from-action, ie

DOES NOT WORK
<navigation from-action="#{accountHome.persist}">
    <end-conversation />
    <redirect view-id="/up/admin/accountList.xhtml" />
  </navigation>

DOES WORK
  <navigation from-action="#{backingBean['persist']}">
    <end-conversation />
    <redirect view-id="/up/admin/accountList.xhtml" />
  </navigation>

this is very weird to understand from within the pages.xml as this backingBean variable does not have any specific meaning in the context.

i propose that the "EQUALS" for from-action should be performed on ' evaluated EL expressions '  ( the actual method pointer on the class ). 

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

        



More information about the seam-issues mailing list