I'm not sure of a solution, I'd try asking the Struts user mailing list.

On Wed, Sep 16, 2009 at 9:58 AM, tibi <t...@dds.nl> wrote:

> and to be more precies it will print out:
>
> <input type="submit" id="addManager_button_save" name="method:"
> value="Bewaren" class="buttonheading medium"/>
>
> so no method is printed...
>
> tibi
>
> tibi wrote:
> > 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 <t...@dds.nl
> >> <mailto:t...@dds.nl>> 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: users-unsubscr...@appfuse.dev.java.net
> >>     <mailto:users-unsubscr...@appfuse.dev.java.net>
> >>     For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >>     <mailto:users-h...@appfuse.dev.java.net>
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> > For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to