DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38492>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38492

           Summary: Symbol for action attribute on components does not get
                    evaluated
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Shale
        AssignedTo: dev@struts.apache.org
        ReportedBy: [EMAIL PROTECTED]


Hi

I have tried to do the following:

First define a component in clay-config.xml:

        <!-- base command button defining a common style class -->
        <component jsfid="myCommand" extends="commandButton">
                <attributes>
                        <set name="styleClass" value="button" />
                        <set name="action" value="@doaction" />
                </attributes>
        </component>

then in my somepage.xml do this:

    <component jsfid="/somepage.xml" extends="baseLayout">
        <symbols>
              <set name="bodyContent" value="/pages/somepage.html"/>
              <set name="managed-Bean-Name" value="pages$test" />
              <set name="doaction" value="save"/>
        </symbols>
    </component>

and then on somepage.html insert the myCommand component, however the symbol
substitution does not seem to take place because the action does not happen. If
i hardcode the action it works ok.


It would be really nice if this is possible.


Hermod

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to