Re: [tiles2] TilesContextFactory refactor

2006-10-25 Thread David H. DeWolf
Greg Reddin wrote: On Oct 24, 2006, at 3:23 AM, Antonio Petrelli wrote: Now the question is: Why do you need multiple TilesApplicationContexts? Just curious :-) I think David was asking the same question. If Tiles is deployed in a common classloader (i.e. Tomcat's common/lib directory) y

Re: Integrating DWR and Struts2 for true "MVC" of snippets of web-pages

2006-10-25 Thread Alexandru Popescu
On 10/26/06, Don Brown <[EMAIL PROTECTED]> wrote: Ah, those discussions after JavaOne: http://www.mail-archive.com/dev@struts.apache.org/msg22396.html http://www.mail-archive.com/dev@struts.apache.org/msg22381.html To be honest, I didn't really follow them at the time. Still, I remember you p

Re: Integrating DWR and Struts2 for true "MVC" of snippets of web-pages

2006-10-25 Thread Don Brown
Ah, those discussions after JavaOne: http://www.mail-archive.com/dev@struts.apache.org/msg22396.html http://www.mail-archive.com/dev@struts.apache.org/msg22381.html To be honest, I didn't really follow them at the time. What code came out of it, other than the webwork dwr package? If that code

Re: Integrating DWR and Struts2 for true "MVC" of snippets of web-pages

2006-10-25 Thread Alexandru Popescu
On 10/26/06, Don Brown <[EMAIL PROTECTED]> wrote: Hmm...probably because I didn't know about it :) perhaps :-) Should we move the code back into Struts 2? At some point I guess it may make sense to do this. For the moment (and until it stabilizes and the struts2 stabilizes), I think it

Re: Integrating DWR and Struts2 for true "MVC" of snippets of web-pages

2006-10-25 Thread Don Brown
Hmm...probably because I didn't know about it :) Should we move the code back into Struts 2? What exactly does it do? Don Alexandru Popescu wrote: Wille, I have contributed a long time ago some (similar?) code to DWR. You can find it in the DWR trunk (a webwork package) . This integration co

Re: Integrating DWR and Struts2 for true "MVC" of snippets of web-pages

2006-10-25 Thread Alexandru Popescu
Wille, I have contributed a long time ago some (similar?) code to DWR. You can find it in the DWR trunk (a webwork package) . This integration code is based on some work I initially done for InfoQ.com. Sure, if you find places where your ideas look better then my approach I would be happy to hear

Re: debug=console and profiling=yes in Struts 2.0.1

2006-10-25 Thread Don Brown
Yeah, then make sure you include the "debugging" and "profiling" interceptors as well, if you want to use their functionality. I'd put them before the "params" interceptor, since they try to clean their parameters out of the request before they are applied to the action. Don Matt Raible wrot

Re: debug=console and profiling=yes in Struts 2.0.1

2006-10-25 Thread Matt Raible
On 10/25/06, Don Brown <[EMAIL PROTECTED]> wrote: Hmm...it looks like you don't have the debugging and profiling interceptors in your stack for that action. Otherwise, the console and profiling properties would be removed correctly from the parameters and you wouldn't see that output. Are you e

Integrating DWR and Struts2 for true "MVC" of snippets of web-pages

2006-10-25 Thread Wille Faler
Hi. I raised the question today on Don Browns blog about being able to have integration between Struts2 and DWR, to get a full MVC model if you only want to re-render a snippet of a web-page. I am not sure if this has been discussed previously, but Don encouraged me to send my ideas if I had any, s

Re: ajax tags

2006-10-25 Thread Musachy Barroso
I attached a new patch to WW-205, this one includes the new TabbedPanel, BindDiv and BindAnchor. It needs Dojo 0.3.1.Do you want me to create a patch to update to Dojo 0.3.1?(We just need to replace dojo distribution under static/dojo.) I modified the examples in showcase and the test cases.

Re: debug=console and profiling=yes in Struts 2.0.1

2006-10-25 Thread Don Brown
Hmm...it looks like you don't have the debugging and profiling interceptors in your stack for that action. Otherwise, the console and profiling properties would be removed correctly from the parameters and you wouldn't see that output. Are you extending the "struts-default" package and using

Re: Struts2: get ServletRequest object from interceptor?

2006-10-25 Thread Don Brown
ServletActionContext.getRequest() Don On 10/25/06, Oleg Gorobets <[EMAIL PROTECTED]> wrote: How can I obtain javax.servlet.ServletRequest object from within an struts2 interceptor? - Posted via Jive Forums http://forums.opensy

Re: DynaValidatorForm not working

2006-10-25 Thread zeta
Hi, your code is ok, but you need to specified in the jsp page the next: *** the jsp file: > > > > type="org.apache.struts.validator.DynaValidatorForm"> >

Struts2: get ServletRequest object from interceptor?

2006-10-25 Thread Oleg Gorobets
How can I obtain javax.servlet.ServletRequest object from within an struts2 interceptor? - Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=47606&messageID=96157#96157 --