i call my tag with this:
<my:userForm saveMethod="saveManager"/>
the text 'saveMnager'
must go into the s:sumbit tag in my own tag
<%@ include file="/common/taglibsForTags.jsp"%>
<%@ attribute name="saveMethod" %>
${saveMethod} <!---this woks and will print out the value -->
<s:submit key="button.save" method="%{saveMethod}"/>
but nothing is there
tibi
the
Matt Raible wrote:
> I don't understand your question. What's the problem you're experiencing?
>
> On Wed, Sep 16, 2009 at 9:38 AM, tibi <[email protected]
> <mailto:[email protected]>> wrote:
>
> hi list,
>
> for struts i create my own tag
>
> like this:
>
> <%@ include file="/common/taglibsForTags.jsp"%>
> <%@ attribute name="saveMethod" %>
>
> <s:submit key="button.save" cssClass="buttonheading medium"
> method="%{saveMethod}"/>
>
>
> this will not work because %{saveMehtod} will be empty
> when i try this i hit the security issue
>
> <s:submit key="button.save" cssClass="buttonheading medium"
> method="${saveMethod}"/>
>
>
> i keep on running into these issue's.... grrr
>
> thanks for the help,
>
> tibi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> <mailto:[email protected]>
> For additional commands, e-mail: [email protected]
> <mailto:[email protected]>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]