Re: Action name / Namespace wildcards - URL parameters ?
Don Brown <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <1606914.1148257349700.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
> Just write your own custom ActionMapper to do this. > And/or use an > interceptor to add the details to the context. A custom ActionMapper was my first thought too, but looking deeper, I think this problem needs to be solved by reaching into the Configuration layer. The problem is you need to dynamically construct the ActionConfig instance and that can only be done in the configuration layer. Besides, the ActionMapper is responsible for picking out the action and namespace, a function you'd want the same whether you use wildcards or not. Jason is in the middle of reorganizing the Configuration classes in XWork, so I'm waiting till he finishes that before tackling the wildcard issue. I can tell you I agree it is very important and will definitely be in Struts Action 2. Don --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=31604&messageID=61420#61420 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]