Re: Redirects - Dynamic Parameters

2007-11-07 Thread Gary Affonso
Gary Affonso wrote: Your redirect needs to look something like... result name=success type=redirect param name=location myAction.action${foo ? '?foo=' + foo : ''} /param /result Note that I'm pretty sure your OGNL lookups are not going to get url-escaped. I looked at the code for

Redirects - Dynamic Parameters

2007-11-06 Thread Gunnar Hillert
allow this? E.g. some additional attribute on the param element would be nice ${foo} Or do I have to create my own custom result-type? Thanks! Gunnar Hillert -- View this message in context: http://www.nabble.com/Redirects---Dynamic-Parameters-tf4758978.html#a13609701 Sent from the Struts - User

Re: Redirects - Dynamic Parameters

2007-11-06 Thread Gary Affonso
I think you already know this, but in case you don't... When you specify the action to redirect to, you have access to the OGNL stack. So your redirect may look something like this.. result name=successtype=redirect myAction.action?param=${paramValue} /result I think what you're asking is,

Re: Redirects - Dynamic Parameters

2007-11-06 Thread Gary Affonso
I knew I had done this before, I just found the code. Your redirect needs to look something like... result name=success type=redirect param name=location myAction.action${foo ? '?foo=' + foo : ''} /param /result Note that I'm pretty sure your OGNL lookups are not going to get