New dojo plugin and form templates

2007-11-22 Thread Oleg Gorobets
I've noticed that form templates were removed from the new plugin (struts2-dojo-plugin-2.1.0.jar\template\ajax). Does this imply we'll lose the opportunity to make ajax validation for the whole form? The old behavior was setting theme="ajax" validate="true" on tag. -

Re: Annotations & Cglib enhancer

2007-08-14 Thread Oleg Gorobets
No, it seems like a bug in CGLIB enhancer, which do not propagate annotations to derived classes.. - Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=63787&messageID=180691#180691 --

Question about ScopedModelDrivenInterceptor

2007-07-26 Thread Oleg Gorobets
Hello all! We're migrating our code from struts1 to struts2 and I consider using struts2-struts1-plugin. In accordance to this, I need some clarifications about logic of ScopedModelDrivenInterceptor. Looking into intercept() method: 1. Interceptor checks whether class implements ScopedModelDr

Annotations & Cglib enhancer

2007-02-11 Thread Oleg Gorobets
Lately I discovered an interesting issue. When using validation with "Spring"-ed actions (enhanced by Cglib) it seems that Cglib enhancer clears annotations of basic class. For instance, trying to get annotations from CreateUserAction$$EnhancerByCGLIB$$6a58cf48.edit() returns null (tested with

Re: Struts 2.0.5 status

2007-02-05 Thread Oleg Gorobets
http://people.apache.org/builds/struts/2.0.5/struts-2.0.5-all.zip You don't have permission to access /builds/struts/2.0.5/struts-2.0.5-all.zip on this server. - Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?t

[Struts2] Use a list/array of objects in JSP

2006-12-29 Thread Oleg Gorobets
For instance if I have an array of objects in my action class: private MyObject[] objects; How can I handle it with JSP? The example below throws an exception Can I manage it with indexed properties? - Posted via Jive Forums

Re: [Struts2] Message Resource configuration as it was in Struts1

2006-11-06 Thread Oleg Gorobets
Yes I just was not sure that action object is placed to stack. If so, it would be a better idea to make your own BaseActionSupport class extending ActionSupport and override getText() methods. Then all your actions should extend your base action. Thanks for your advice! -

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 --

[Struts2] Message Resource configuration as it was in Struts1

2006-10-24 Thread Oleg Gorobets
In Struts 1 I have an ability to substitute standard java.util.ResourceBundle using with my own class which extends org.apache.struts.util.MessageResourcesFactory. It was very useful if someone wants to get their translations from database instead of using simple property files. In struts-conf