Hi, I have just added support for dynamic view mappings to WW1.3. This means that you in your actions xml/properties file can let the view be determined during runtime by looking up values on the value stack. I have followed the same syntax used in WW2, so you use expressions like: ${someWWExpression} someWWExpression is just like any normal WW EL expression you use in your JSP etc.
You can for example do: <action name="myAction"> <view name="success">someAction?countryParam=${someCountry}</view> </action> This looks up the value someCountry on the value stack. The last action executed before the mapping is in this case myAction so that will be the first action found on the stack for the lookup, so if it contains a getSomeCountry() method then it will be called. You can use several dynamic expressions and you can use them anywhere, also for the action, so for example you could do: <action name="myAction"> <view name="success">${nextAction}.action?countryParam=${someCountry}</view> </action> While doing this I also fixed the following Jira issue (originally discovered by Cameron a long time ago): http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-227 Best regards, Dick Zetterberg [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork