[ http://issues.apache.org/struts/browse/SHALE-158?page=all ]
Don Brown moved STR-2758 to SHALE-158:
--------------------------------------
Project: Shale (was: Struts Action 1)
Key: SHALE-158 (was: STR-2758)
Component: (was: Shale)
Version: (was: Nightly Build)
Assign To: (was: Struts Developer Mailing List)
> Symbol for action attribute on components does not get evaluated
> ----------------------------------------------------------------
>
> Key: SHALE-158
> URL: http://issues.apache.org/struts/browse/SHALE-158
> Project: Shale
> Type: Bug
> Environment: Operating System: All
> Platform: All
> Reporter: Hermod Opstvedt
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]