Francisco,

It looks like the parameter expansion works with redirect but not
dispatcher. I need to look into this a bit further though to make sure it's
not pilot error on my part.

Thanks!
Peter 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Francisco Hernandez
> Sent: Friday, November 21, 2003 6:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] Parameterizing result locations and 
> building a wizard in WW2...
> 
> use a result like:
> 
> <result name="redirectTo" type="redirect">${redirectLocation}</result>
> 
> and just have a getter for redirectLocation
> 
> Peter White wrote:
> > Hi everyone,
> > 
> > I'm in the process of converting the rest of our 
> application from my 
> > old homegrown framework to WW2beta1.0 (I had to roll back 
> from beta 2 
> > since select tags weren't working for me). I have 2 
> questions that I 
> > would appreciate any input on.
> > 
> > 1) What's the best way to implement a wizard in WW? I need 
> to convert 
> > an 8-JSP session-based wizard over to WW and initially tried to use 
> > action chaining but it won't work for me or I've set it up 
> > incorrectly. I'm using form-based validation so clicking 
> next stops me 
> > at the next form if it's not valid, but, if I remember 
> correctly, once 
> > all the pages are valid, previous or next would take me to the 
> > beginning or end of the wizard since the pages in-between 
> are already 
> > valid. I'm assuming I need to set some parameter on prev/next to 
> > return input instead of success to prevent this from happening.
> > 
> > 2) Is there any way to parameterize the location of the 
> page that will 
> > be dispatched based on the value of a field being submitted to the 
> > action? In this case, I could just add a prev/next action 
> and pass in 
> > the location of the URL to dispatch..
> > 
> > Thanks in advance!
> > Peter
> > 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it 
> help you create better code?  SHARE THE LOVE, and help us 
> help YOU!  Click Here: http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to