Re: HowTo: transfer parameter between actions?

2008-08-05 Thread stanlick
Consider chaining over redirect. However, this does sort of hard wire your flow! On Tue, Aug 5, 2008 at 5:33 AM, holod [EMAIL PROTECTED] wrote: 1.I have action PrepareDictionaryAction it has field String dictionaryId and appropriate getter and setter. dictionaryid comes from previous jsp.

Re: HowTo: transfer parameter between actions?

2008-08-05 Thread holod
It was very silly question! Thanks, result type=chain solves the problem! stanlick wrote: Consider chaining over redirect. However, this does sort of hard wire your flow! On Tue, Aug 5, 2008 at 5:33 AM, holod [EMAIL PROTECTED] wrote: 1.I have action PrepareDictionaryAction it has

HowTo: transfer parameter between actions?

2008-08-05 Thread holod
1.I have action PrepareDictionaryAction it has field String dictionaryId and appropriate getter and setter. dictionaryid comes from previous jsp. (enter.jsp) action sends user to dictionary.jsp 2.dictionary jsp has hidden field s:hidden name=dictionaryId/. So I will not be lost. 3.then through

Re: HowTo: transfer parameter between actions?

2008-08-05 Thread Greg Lindholm
You can pass parameters on a redirectAction, I do it all the time result type=redirectAction PrepareDictionary /admin ${dictionaryId} /result holod wrote: 1.I have action PrepareDictionaryAction it has field String dictionaryId and appropriate getter and setter. dictionaryid

Re: HowTo: transfer parameter between actions?

2008-08-05 Thread Greg Lindholm
Sorry, my response got munged by nabble, the param tags disappeared. So pretend I have angle brackets where you see square brackets below: [result type=redirectAction] [param name=actionName]PrepareDictionary[/param] [param name=namespace]/admin[/param] [param