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

struts2 newbie question

2007-02-07 Thread Brian Bruns
Hi all, I'm building a non-essential app in struts2 to get my feet wet and ran into something right away. We make heavy use of LookupDispatchAction in struts1 and I'm having trouble figuring out how to do the same thing in struts2. I see from the docs that you can use wildcards to map "saveFoo"