maven2 and new struts 2 project

2009-01-03 Thread Michael Finney
Hello, I was about to add to a small open source project of mine a maven dependency to (Display tag library 1.2) http://displaytag.sourceforge.net/1.2/ When I tried to add this maven dependency, the eclipse/m2eclipse plug-in decided to change my facet JDK settings down to JDK1.4 (facet="jst.java

Re: [S2] Convention plugin + Spring

2009-01-03 Thread Musachy Barroso
I added a log statement to xwork, so the UnsatisfiedDependencyException doesn't go unnoticed. musachy On Sat, Jan 3, 2009 at 11:51 AM, Wes Wannemacher wrote: > On Sat, 2009-01-03 at 16:02 +0100, Lukasz Lenart wrote: >> 2009/1/3 Wes Wannemacher : > [snip] >> [... cut ...] >> >> This GenericHibern

RE: Preventing duplicate form submissions

2009-01-03 Thread Andy
It looks like the TokenInterceptor uses session. Is there a session-less approach? One idea I had was to create a hash of the request params and then store it in a hidden field and compare in the action class to determine if the request is a dup. Maybe that's what the TokenInterceptor is doi

Re: [S2] Convention plugin + Spring

2009-01-03 Thread Wes Wannemacher
On Sat, 2009-01-03 at 16:02 +0100, Lukasz Lenart wrote: > 2009/1/3 Wes Wannemacher : [snip] > [... cut ...] > > This GenericHibernateDaoImpl has non-default constructor and use > generics, maybe that's the problem. Anyway I found other solution, > simplest, use full action class name for bean name

Re: JDK Requirements for Struts 1.2 and 2.x

2009-01-03 Thread Randy Burgess
Your software provider would be incorrect, especially considering that WebLogic makes quite a bit of use of Beehive, which is built on Struts 1.x. I have deployed Struts 2 web apps on 9.2+ without any issues. I have been compiling with JDK 1.5 though. I have not had a chance to test with 1.

Re: Struts2 with JDK1.4.2_19 & Tomcat 5.0.28

2009-01-03 Thread Randy Burgess
I am developing on JDK 1.5 and using Maven and the retrotranslator- maven-plugin (1.0-alpha-2, none of the other versions would work for me) to retrotranslate not only struts2-*.jar and xwork*.jar but also all of my source code since that is written and compiled for 1.5. I've run this projec

Re: [S2] Convention plugin + Spring

2009-01-03 Thread Lukasz Lenart
2009/1/3 Wes Wannemacher : > Lukasz, it may be unrelated, but I vaguely remember having a similar > issue a while back and switching to cglib based proxies because JDK > interface proxies didn't seem to cut it. IIRC, all I had to do was add > cglib to the classpath and add proxy-target-class="true"

Datetamepicker: problems with dojo

2009-01-03 Thread Tom Pop
Hello, I have problem with datetimepicker, I configured the page according to struts-example and the final source code is the same (except context), but problem is with attribute. Without the tag the page works fine (except datetimepicker) - the javascript console says "dojo is not defined".