Re: Struts2 + spring3.05 + Quartz => IncompatibleClassChangeError

2011-04-12 Thread Haroon Rafique
Disclaimer, I didn't read the whole thread, just saw your last email. As Dave said, this is unrelated to Struts2. Its a Spring issue. AFAIK, quartz 2 is not supported by spring 3 (or spring 2.5) yet. Is it an option for you to downgrade to quartz 1.8.4? Hope that helps, otherwise sorry for wast

Re: Struts2 + spring3.05 + Quartz => IncompatibleClassChangeError

2011-04-12 Thread Dave Newton
Perhaps asking on a Spring list since so far it doesn't seem to be related to Struts at all. Dave On Tue, Apr 12, 2011 at 5:01 PM, Emi Lu wrote: > >> I'd look for class loading issues. Maybe you have a couple jars with >> quartz? Maybe an incompatible version combination? > > Two jars: > ===

Re: Select collection not found only when validation xml file is used

2011-04-12 Thread Dave Newton
On Tue, Apr 12, 2011 at 3:12 PM, Eric Lentz wrote: > I'm not sure if you meant it this way, but my point is that I don't *need* > the list - or at least I shouldn't need it IMO. The page displays the list--how could you not need it? d.

Re: Struts2 + spring3.05 + Quartz => IncompatibleClassChangeError

2011-04-12 Thread Emi Lu
I'd look for class loading issues. Maybe you have a couple jars with quartz? Maybe an incompatible version combination? Two jars: === . quartz-2.0.0.jar . org.springframework.context.support-3.0.5.RELEASE.jar But I cannot find other places contains the class. Still got th

Re: Select collection not found only when validation xml file is used

2011-04-12 Thread stanlick
Do you by chance need a @SkipValidation on a method(s) in your action? How have you named your validation file? On Apr 12, 2011 2:27 PM, "Eric Lentz" wrote: >> since I don't use that XML Validation stuff. > > What do you use?

Re: Select collection not found only when validation xml file is used

2011-04-12 Thread Chris Pratt
I prefer to implement the validate() method and perform my own validations. It gives me a lot more control over the tests. There's just so many useful validations that can't be specified through XML, and I prefer the ability to see all of my tests in one place. (*Chris*) On Apr 12, 2011 12:27 PM

Re: Struts2 + spring3.05 + Quartz => IncompatibleClassChangeError

2011-04-12 Thread Eric Lentz
I'd look for class loading issues. Maybe you have a couple jars with quartz? Maybe an incompatible version combination? > org.springframework.beans.factory.CannotLoadBeanClassException: > Error loading class [org.springframework.scheduling.quartz.JobDetailBean] > nested exception is java.lang.I

Re: Select collection not found only when validation xml file is used

2011-04-12 Thread Eric Lentz
> since I don't use that XML Validation stuff. What do you use?

Re: Select collection not found only when validation xml file is used

2011-04-12 Thread Chris Pratt
It's most likely trying to validate that the value supplied is one of the values from the list. But that's just conjecture, since I don't use that XML Validation stuff. (*Chris*) On Tue, Apr 12, 2011 at 12:12 PM, Eric Lentz wrote: > > I second Chris's suggestion to initialize the list when yo

Struts2 + spring3.05 + Quartz => IncompatibleClassChangeError

2011-04-12 Thread Emi Lu
Hello, Struts2 + spring3.05 + Quartz. Tomcat6 cannot be started & showing the following exception message: == org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.scheduling.q

Re: Select collection not found only when validation xml file is used

2011-04-12 Thread Eric Lentz
> I second Chris's suggestion to initialize the list when you need it. Cool getting feedback from you guys. I'm not sure if you meant it this way, but my point is that I don't *need* the list - or at least I shouldn't need it IMO. As a user, I hit the submit button on a form that has a select l

Re: Select collection not found only when validation xml file is used

2011-04-12 Thread Dave Newton
On Tue, Apr 12, 2011 at 1:16 PM, Eric Lentz wrote: > > > If I add a validation file, validating anything, not even specifically the > list, the page fails telling me that the [gender list could not be found]. > > This seems like a bug. I second Chris's suggestion to initialize the list when you n

Re: Select collection not found only when validation xml file is used

2011-04-12 Thread Chris Pratt
My suggestion would be to make your action implement Preparable and initialize the list in the prepare() method. (*Chris*) On Tue, Apr 12, 2011 at 10:16 AM, Eric Lentz wrote: > Struts 2.2.1 > I have a page with a list: >listKey="code" listValue="description" list="gende

Select collection not found only when validation xml file is used

2011-04-12 Thread Eric Lentz
Struts 2.2.1 I have a page with a list: and I populate genderList when I display the page. If I add a validation file, validating anything, not even specifically the list, the page fails telling me that the list "could not be resolved as a collection/array/map/enumeration/iterator type.

RE: Any TabbedPanel specialist in struts 2 + dojo

2011-04-12 Thread bharathnav
I'm using tabbedPanel feature of dojo plugin in struts2.. I have a value set in request say test as hello.. I have tabbedPanel tag in which selectedTab="hello". I want to pass this value by reading from the request attribute instead of hard coding it as hello. Thanks Again, Bachchu... --

Password comparison has a strange behavior.please help

2011-04-12 Thread alex zaim
hello. I'm trying to register a user but what i'm testing is validations. The problem i have is the password comparison. When i want to compare the two password fields everything gets messed-up (and it also calls an actionclass even though it's client side validation). Please see the screen shots

Re: Password comparison has a strange behavior.please help(struts2)

2011-04-12 Thread Dave Newton
Interesting. My first comment would be that client side validation doesn't support expression validations; only the following are supported as per [1]. * required validator * requiredstring validator * stringlength validator * regex validator * email validator * url validator * int validator * do

Password comparison has a strange behavior.please help(struts2)

2011-04-12 Thread alex zaim
hello. I'm trying to register a user but what i'm testing is validations. The problem i have is the password comparison. When i want to compare the two password fields everything gets messed-up (and it also calls an actionclass even though it's client side validation). Please see the screen sho

Re: form action is not calling while click on submit button: Struts2.0

2011-04-12 Thread Dave Newton
I don't see any code. Dave On Sat, Apr 9, 2011 at 6:22 AM, arun wrote: > hi, > > i'm facing a problem in action calling. > > Enviroment: > 1. apache-tomcat-6.0.18 > 2. Struts2.0 > > here is the JSP form code: > > > > > > > Problem is that when i'm defining action like in above code, its not call

Accessing VelocityEngine in action (struts2)

2011-04-12 Thread Markus Demetz
Dear everyone, I've setup my Webapp with Struts2 using Tiles, but I also want to use Velocity to read a template and send a newsletter email. It would be good if I could access the already configured VelocityEngine from within my action. Otherwise I would need to inject the ServletContext by m