Re: struts2 newbie question

2007-02-08 Thread Dale Newfield
Dave Newton wrote: Hrm. Did you try it? I didn't actually see an example on the http://cwiki.apache.org/WW/submit.html page that used 's 'method' attribute. D'oh. I was looking at example 4 and mistook the s:form tag as a s:submit tag. Glad it does what you want. -Dale ---

Re: struts2 newbie question

2007-02-08 Thread Dave Newton
--- Dale Newfield <[EMAIL PROTECTED]> wrote: > Dave Newton wrote: > > http://cwiki.apache.org/WW/submit.html > > Submit takes both action and method parameters; > > perhaps that's what you're looking for? > > The example makes me think that the method attribute > enables the ability to specify "ge

Re: struts2 newbie question

2007-02-07 Thread Dale Newfield
Dave Newton wrote: http://cwiki.apache.org/WW/submit.html Submit takes both action and method parameters; perhaps that's what you're looking for? The example makes me think that the method attribute enables the ability to specify "get" vs. "post" on a submit button by submit button basis wit

Re: struts2 newbie question

2007-02-07 Thread Dave Newton
--- Brian Bruns <[EMAIL PROTECTED]> wrote: > [...] but how does one use a single action and control > which method is called based on, for instance, the > value of the submit button? http://cwiki.apache.org/WW/submit.html Submit takes both action and method parameters; perhaps that's what you'r