Re: Struts - XWork validation - error message not taking parameters

2018-03-16 Thread Lukasz Lenart
2018-03-15 14:18 GMT+01:00 Vikul Aggarwal : > Hi > > I am using xwork validation to valid whether the value of an integer falls > in a valid range or not. > > This is how the validator is configured: > > > 0 > 9 > >

Struts - XWork validation - error message not taking parameters

2018-03-15 Thread Vikul Aggarwal
Hi I am using xwork validation to valid whether the value of an integer falls in a valid range or not. This is how the validator is configured: 0 9 int validator is com.opensymphony.xwork2.valida

Re: Where to download xwork-core-2.3.20-sources.jar

2014-12-09 Thread Dave Newton
On Tue, Dec 9, 2014 at 9:54 AM, Emi Lu wrote: > Can I know where to download xwork-core-2.3.20-sources.jar please? >From the Struts 2 2.3.20 source distro. Dave -- e: davelnew...@gmail.com m: 908-380-8699 s: davelnewton_skype t: @dave_newton b: Bucky Bits g: davelnewton so: Dave

Re: Where to download xwork-core-2.3.20-sources.jar

2014-12-09 Thread Lukasz Lenart
2014-12-09 15:54 GMT+01:00 Emi Lu : > Good morning, > > Can I know where to download xwork-core-2.3.20-sources.jar please? All the sources are here - struts-2.3.20-src.zip or if you use Maven, it can download them for you or you can download the jar here http://search.maven.or

Where to download xwork-core-2.3.20-sources.jar

2014-12-09 Thread Emi Lu
Good morning, Can I know where to download xwork-core-2.3.20-sources.jar please? Thanks a lot! Emi On 12/08/2014 10:37 AM, Lukasz Lenart wrote: The Apache Struts group is pleased to announce that Apache Struts 2.3.20 is available as a "General Availability" release. The GA designat

Re: XWork injection intermittently skipped

2013-09-25 Thread Lukasz Lenart
2013/9/24 Savage, Patrick : >> How do you declare bean in struts.xml? As this is strange, if all injections >> are skipped, it must be something else. > > We don't actually declare the bean in struts.xml at all. Is that required in > order for @Inject to inject Struts objects into my bean? This has

RE: XWork injection intermittently skipped

2013-09-24 Thread Savage, Patrick
2013/9/20 Lukasz Lenart [lukaszlen...@apache.org]: >> I don't think the setter overridding is the problem because I have also >> tried injecting into a different method (setObjectTypeDeterminerOverride) >> which didn't work either. Injecting the container doesn't work either >> because all injectio

Re: XWork injection intermittently skipped

2013-09-19 Thread Lukasz Lenart
2013/9/19 Patrick Savage : > I don't think the setter overridding is the problem because I have also tried > injecting into a different method (setObjectTypeDeterminerOverride) which > didn't work either. Injecting the container doesn't work either because all > injections into CandylandCollecti

RE: XWork injection intermittently skipped

2013-09-19 Thread Patrick Savage
gle.com/forum/#!topic/google-guice/rQD5L2O-Po8, this >> causes Guice to inject objects in an inconsistent order so presumably the >> Struts container would do the same, but I don't know if that would have any >> negative effects. > >This is strange ... as @Inject

Re: XWork injection intermittently skipped

2013-09-18 Thread Lukasz Lenart
ably the > Struts container would do the same, but I don't know if that would have any > negative effects. This is strange ... as @Inject is used all over the framework and works fine. > This is the relevant code: > xwork-conversion.propert

RE: XWork injection intermittently skipped

2013-09-18 Thread Martin Gainty
> From: patrick.sav...@3pillarglobal.com > To: user@struts.apache.org > Subject: XWork injection intermittently skipped > Date: Wed, 18 Sep 2013 16:08:25 -0400 > > We are using XWork's @Inject in Struts 2.3.1.2 to inject a > DefaultObjectTypeDeterminer into a cu

XWork injection intermittently skipped

2013-09-18 Thread Patrick Savage
is the relevant code: xwork-conversion.properties: java.util.List=com.candyland.web.converters.CandylandCollectionConverter ... CandylandCollectionConverter.java: public class CandylandCollectionConverter extends XWorkBasicConverter {

RE: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread Martin Gainty
I dont know which DTD reference in which validator.xml is going fubar assume the dtd is co-located in same folder where Login-validation.xml is located at /pathToLoginValidationXML/xwork-validator-1.0.2.dtd you would need to change the http protocol to file protocol in the specified

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread John Boyer
Hi Srikanth: That fixed it. Thank you! John On Aug 7, 2013, at 10:41 AM, Sreekanth S. Nair wrote: > use this > >"-//Apache Struts//XWork Validator 1.0.2//EN" > "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";> >

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread Chris Pratt
I don't know if it's the latest, but http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd appears to work. (*Chris*) On Wed, Aug 7, 2013 at 10:36 AM, John Boyer wrote: > Hi Martin: > > Okay, but my validation XML is pointing to > http://www.opensymphony.com/xwork/xwo

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread Sreekanth S. Nair
use this http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";> -- Regards Srikanth On Wed, Aug 7, 2013 at 11:06 PM, John Boyer wrote: > Hi Martin: > > Okay, but my validation XML is pointing to > http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd,

RE: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread Martin Gainty
Hi John xwork-validator-1.0.2.dtd *should* be in xwork-core-.jar jar -tvf xwork-.jar | grep xwork-validator ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread John Boyer
Hi Martin: Okay, but my validation XML is pointing to http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd, which is no longer available. What should it point to now? Thanks, John --- http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread Sreekanth S. Nair
Try changing you xxx-validation.xml file dtd url declaration with the latest available dtd inside xwork-core.jar -- Thanks & Regards Srikanth On Wed, Aug 7, 2013 at 10:44 PM, John Boyer wrote: > Hi: > > Suddenly, in-production, we're getting file-not-found errors for the

[struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread John Boyer
Hi: Suddenly, in-production, we're getting file-not-found errors for the xwork-validator-1.0.2.dtd at http://www.opensymphony.com/xwork. How can resolve this problem? We're running Struts 2 v2.3.4.1 Thanks, John - 10:01:18 ERROR h

Re: Webwork -> Struts 2.0.x migration xwork API issue related to ProxyFactories

2012-12-18 Thread Lukasz Lenart
2012/12/18 Eero Nevalainen : > To respond to my own post to record a bit more information about the > actual problem here, in case someone has any ideas: > > What the xwork 1-style ActionProxyFactory does is that it returns an > ActionInvocation. Our legacy code furt

Re: Webwork -> Struts 2.0.x migration xwork API issue related to ProxyFactories

2012-12-18 Thread Eero Nevalainen
To respond to my own post to record a bit more information about the actual problem here, in case someone has any ideas: What the xwork 1-style ActionProxyFactory does is that it returns an ActionInvocation. Our legacy code further extends the DefaultActionInvocation in order to get to override

Re: Webwork -> Struts 2.0.x migration xwork API issue related to ProxyFactories

2012-12-17 Thread Lukasz Lenart
2012/12/17 ChadDavis : > I don't have answers to your specific questions, but I did do a similar > migration recently. I encountered one fairly significant hidden issue that > I'll warn you about. When you migrate, you can leave your xml on the > xworks dtds. It works, but as you migrate up the

Re: Webwork -> Struts 2.0.x migration xwork API issue related to ProxyFactories

2012-12-17 Thread ChadDavis
I don't have answers to your specific questions, but I did do a similar migration recently. I encountered one fairly significant hidden issue that I'll warn you about. When you migrate, you can leave your xml on the xworks dtds. It works, but as you migrate up the struts2 versions, there's a poi

Webwork -> Struts 2.0.x migration xwork API issue related to ProxyFactories

2012-12-17 Thread Eero Nevalainen
I change in xwork that I have not seen mentioned anywhere and that I ran into. Namely, there is class X extending DefaultActionProxyFactory, and with xwork 2 there are two issues: 1. ActionProxyFactory is now an interface, not a class. I can't call "setFactory(this)" in the

Re: using xwork validator programatically?

2011-12-01 Thread Josep García
Regarding: 2011/12/1 Josep García > > In order to validate dynamic form input fields (based on freemarker's > ability to render input fields from xml tree), I've also had to code my own > field validator, because my action does not have getter/setter for the > dynamic fields. > > In my derived

Re: using xwork validator programatically?

2011-12-01 Thread Josep García
> I enclose a patch, with changes relative to xwork-core-2.1.6. > > > > > > In order to validate dynamic form input fields (based on freemarker's > > ability to render input fields from xml tree), I've also had to code my > own > > field validator, because

Re: using xwork validator programatically?

2011-12-01 Thread Łukasz Lenart
2011/12/1 Josep García > Basically, validatorKey build from clazz AND context. > > final String validatorKey = buildValidatorKey(clazz, context); > > I enclose a patch, with changes relative to xwork-core-2.1.6. > > > In order to validate dynamic form input field

Re: using xwork validator programatically?

2011-12-01 Thread Josep García
Basically, validatorKey build from clazz AND context. final String validatorKey = buildValidatorKey(clazz, context); I enclose a patch, with changes relative to xwork-core-2.1.6. In order to validate dynamic form input fields (based on freemarker's ability to render input fields

Re: using xwork validator programatically?

2011-11-30 Thread Łukasz Lenart
2011/11/30 Josep García > This way, it works, but the downside: 149 line source file to work around > the problem. > Could you prepare a patch and label it with 3.x ? Maybe we'll be able to refactor the manager with your changes Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl

Re: using xwork validator programatically?

2011-11-30 Thread Łukasz Lenart
2011/11/30 Josep García : > If I pass in a dynamic context name, like in validatorManager.validate(this, > "my-validation"), the AnnotationActionValidator calls its method > getValidators: > >     public synchronized List getValidators(Class clazz, String > context, String method) { >     final

Re: using xwork validator programatically?

2011-11-30 Thread Josep García
If I pass in a dynamic context name, like in validatorManager.validate(this, "my-validation"), the AnnotationActionValidator calls its method getValidators: public synchronized List getValidators(Class clazz, String context, String method) { final String validatorKey = buildValidatorKe

Re: using xwork validator programatically?

2011-11-28 Thread Łukasz Lenart
2011/11/28 Josep García : > I have tried this option, not without a few workarounds: I had to add a > param to struts.xml so validation files are loaded during runtime: >     Hmmm that's bad, each time the configs will be reload from the disk and performance of the application will decrease :

Re: using xwork validator programatically?

2011-11-28 Thread Josep García
lidatorManager instance (@Inject in to > an action) and try to use one of its methods. > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > Warszawa JUG conference - Confitura http://confitura.pl/ > > > 2011/11/16 Josep García : > > Is ther

Re: using xwork validator programatically?

2011-11-18 Thread Łukasz Lenart
on how to call xwork validation programatically? > > The context: I have a dynamic form, which is a freemarker template, which > can have any fields that are then saved as xml in my Struts action. > I would like to have the possibility to call validation with a specific > *-validati

Re: Will xwork-core-2.2.3.1.jar works for commons-lang3-3.1.jar

2011-11-17 Thread Maurizio Cucchiara
And right for that reason they can coexists, so if you want use lang3, just add it to your classpath Sent from my mobile device, so please excuse typos and brevity. Maurizio Cucchiara Il giorno 17/nov/2011 21.21, "Emi Lu" ha scritto: On 11/17/2011 03:04 PM, Emi Lu wrote: > > Hello, > > I rememb

Re: Will xwork-core-2.2.3.1.jar works for commons-lang3-3.1.jar

2011-11-17 Thread Emi Lu
” Apache just published a new version lang jar. Does someone know for this newer version, will xwork-core-2.2.3.1.jar + common_lang_3.1 work together? For new version, does struts team use the new lang jar? Emi On 11/15/2011 04:02 PM, Henri Yandell wrote: > > The Apache Commons t

Will xwork-core-2.2.3.1.jar works for commons-lang3-3.1.jar

2011-11-17 Thread Emi Lu
Hello, I remembered that xwork2.2.3 does not support commons-lang3-3.0.1.jar, so use commons-lang-2.6.jar. Apache just published a new version lang jar. Does someone know for this newer version, will xwork-core-2.2.3.1.jar + common_lang_3.1 work together? Thanks a lot! Emi On 11/15/2011 04

using xwork validator programatically?

2011-11-16 Thread Josep García
Is there any documentation on how to call xwork validation programatically? The context: I have a dynamic form, which is a freemarker template, which can have any fields that are then saved as xml in my Struts action. I would like to have the possibility to call validation with a specific

Re: xwork-core-2.2.3.jar in Maven repository probably corrupt

2011-09-10 Thread Chris Mawata
Thanks, Maurizio. That worked. Cheers Chris Mawata On 9/7/2011 2:12 AM, Maurizio Cucchiara wrote: Have you already tryied to delete xwork jar under your M2 repository, such that maven tryies to download again the artifact on the next iteration? Maurizio Cucchiara Il giorno 07/set/2011 04.36

Re: xwork-core-2.2.3.jar in Maven repository probably corrupt

2011-09-08 Thread Maurizio Cucchiara
OK, please let us know. Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: xwork-core-2.2.3.jar in Maven repository probably corrupt

2011-09-08 Thread Chris Mawata
I'll try that (deleting the jar) tomorrow. Ihave to drive 100 miles to work this morning. Right now I have the manually downloaded one in the local m2 repository. Cheers Chris Mawata On 9/7/2011 2:12 AM, Maurizio Cucchiara wrote: Have you already tryied to delete xwork jar under yo

Re: xwork-core-2.2.3.jar in Maven repository probably corrupt

2011-09-06 Thread Maurizio Cucchiara
Have you already tryied to delete xwork jar under your M2 repository, such that maven tryies to download again the artifact on the next iteration? Maurizio Cucchiara Il giorno 07/set/2011 04.36, "Chris Mawata" < chris_mawata_str...@mathcove.net> ha scritto: The xwork-core-

xwork-core-2.2.3.jar in Maven repository probably corrupt

2011-09-06 Thread Chris Mawata
The xwork-core-2.2.3.jar we are getting via Maven seems to be corrupt. In my pom if I have org.apache.struts struts2-core 2.2.1 I get no issues and the application runs. If I have org.apache.struts struts2-core 2.2.3 it

Re: XWork

2011-06-07 Thread Maurizio Cucchiara
Hi Frans, try to change the doctype definition with: http://struts.apache.org/dtds/xwork-validator-config-1.0.dtd";> On 8 June 2011 00:13, Frans Thamura wrote: > this is the screen capture > > http://twitpic.com/58eyvp > > > On Wed, Jun 8, 2011 at 5:09 AM, Frans Th

Re: XWork

2011-06-07 Thread Frans Thamura
; On Wed, Jun 8, 2011 at 5:03 AM, Jason Pyeron wrote: >> >>> > -Original Message- >>> > From: Frans Thamura [mailto:fr...@meruvian.org] >>> > Sent: Tuesday, June 07, 2011 17:51 >>> > To: Struts Users Mailing List >>> > Subject: Re: XWork &

Re: XWork

2011-06-07 Thread Frans Thamura
i believe struts 2.0.x not the 2.2.x F On Wed, Jun 8, 2011 at 5:03 AM, Jason Pyeron wrote: > > -Original Message- > > From: Frans Thamura [mailto:fr...@meruvian.org] > > Sent: Tuesday, June 07, 2011 17:51 > > To: Struts Users Mailing List > > Subject: Re:

Re: XWork

2011-06-07 Thread Frans Thamura
e 2.2.x > > F > > > On Wed, Jun 8, 2011 at 5:03 AM, Jason Pyeron wrote: > >> > -Original Message- >> > From: Frans Thamura [mailto:fr...@meruvian.org] >> > Sent: Tuesday, June 07, 2011 17:51 >> > To: Struts Users Mailing List >> > Subj

RE: XWork

2011-06-07 Thread Jason Pyeron
> -Original Message- > From: Frans Thamura [mailto:fr...@meruvian.org] > Sent: Tuesday, June 07, 2011 17:51 > To: Struts Users Mailing List > Subject: Re: XWork > > our old struts2 using the non maven version. we use ant.. > > and we got problem with DTD of XW

Re: XWork

2011-06-07 Thread Frans Thamura
our old struts2 using the non maven version. we use ant.. and we got problem with DTD of XWork and our newest project using maven, the problem gone. but we still need workaround for this xwork. F On Wed, Jun 8, 2011 at 4:48 AM, Jason Pyeron wrote: > > -Original Message- &g

RE: XWork

2011-06-07 Thread Jason Pyeron
> -Original Message- > From: Frans Thamura > Sent: Tuesday, June 07, 2011 16:43 > To: Struts Users Mailing List > Subject: XWork > > hi all > > we know that opensymphony has final day > > any idea for xwork implementation for old struts2 version

XWork

2011-06-07 Thread Frans Thamura
hi all we know that opensymphony has final day any idea for xwork implementation for old struts2 version F

RE: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-02 Thread Jason Pyeron
> -Original Message- > From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] > Sent: Thursday, June 02, 2011 14:41 > To: Struts Users Mailing List > Subject: Re: xwork validation dtd no longer on web > (opensymphony.com is down) > > Could you post a stack

Re: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-02 Thread Lukasz Lenart
Could you post a stack trace for that error ? I would like to investigate problem with loading dtds from jar. Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ --

RE: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-02 Thread Jonathan.Lewis
Apparently there is an error in xwork that prevents the dtd from being found inside the jar. Here is the corresponding thread at java ranch: http://www.coderanch.com/t/540261/Struts/validation-dtd#2451689 Putting the dtd inside the DOCTYPE works for now. ]> I will use the public

Re: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-02 Thread Lukasz Lenart
2011/6/2 clancien : > http://svn.opensymphony.com/svn/xwork/tags/xwork-2_1_4/core/src/main/resources/xwork-validator-1.0.2.dtd > http://svn.opensymphony.com/svn/xwork/tags/xwork-2_1_4/core/src/main/resources/xwork-validator-1.0.2.dtd They should available here [1] soon [1

RE: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-02 Thread clancien
Hy, you can use the url of the svn repository : http://svn.opensymphony.com/svn/xwork/tags/xwork-2_1_4/core/src/main/resources/xwork-validator-1.0.2.dtd http://svn.opensymphony.com/svn/xwork/tags/xwork-2_1_4/core/src/main/resources/xwork-validator-1.0.2.dtd Regards -- View this message in

RE: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-01 Thread Jonathan.Lewis
I just extracted the file from xwork-core-2.2.1.jar, copied it into WEB-INF and replaced the opensymphony dtd reference with 1. It seems to work like a champ. However, these dtds should be re-hosted somewhere PUBLIC since the opensymphony site is now defunct. Regards, Jonathan Lewis

re: xwork validation dtd no longer on web (opensymphony.com is down)

2011-06-01 Thread Jonathan.Lewis
Hi all, I am wondering which url to point to for my struts 2 validations. The dtd that was hosted on opensymphony.com is no longer in existence. I know that the dtd is included in the xwork jar, but I don't know how to reference it from my xml validation files. http://www.opensymphon

RE: Upgrade to Struts 2.2.1 - XWork 2.2.1 vs Xwork 2.2.0

2010-11-13 Thread Sarr, Nathan
Ok, good news. Thanks so much for the note. -Nate From: Gena Ganebnyi [mailto:gganeb...@nebulent.com] Sent: Sat 11/13/2010 2:36 PM To: Struts Users Mailing List Subject: Re: Upgrade to Struts 2.2.1 - XWork 2.2.1 vs Xwork 2.2.0 My Maven Eclipse pluing tells

Re: Upgrade to Struts 2.2.1 - XWork 2.2.1 vs Xwork 2.2.0

2010-11-13 Thread Gena Ganebnyi
My Maven Eclipse pluing tells me that struts2-core-2.2.1 depends on xwork-core-2.2.1. On Sat, Nov 13, 2010 at 8:36 PM, Sarr, Nathan wrote: > Hello, > >I was wondering if someone could help me out with the Struts 2.2.1 > dependency list. It looks like struts 2.2.1 depends on

Upgrade to Struts 2.2.1 - XWork 2.2.1 vs Xwork 2.2.0

2010-11-13 Thread Sarr, Nathan
Hello, I was wondering if someone could help me out with the Struts 2.2.1 dependency list. It looks like struts 2.2.1 depends on XWork 2.1.6. However the release notes for Strtus 2.2.1 recommend using XWork 2.2.0. I couldn't find XWork 2.2.0 but could find XWork 2.2.1.

Re: What is the reason for this error? xwork interceptors seem to be misbehaving

2010-02-09 Thread Lukasz Lenart
2010/2/9 Saeed Iqbal : > java.lang.reflect.InvocationTargetException Maybe you are trying access private or protected methods / fields of your action. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl -

What is the reason for this error? xwork interceptors seem to be misbehaving

2010-02-09 Thread Saeed Iqbal
java.lang.reflect.InvocationTargetException at com.google.appengine.runtime.Request.process-df292afe47330d6f(Request.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.De

Re: Test fails when building XWork

2009-12-19 Thread Gabriel Belingueres
ensymphony.com/svn/xwork/trunk >> I deleted everything and checkout'd it again and still the same test fail. > > I did the same and found no problems ;-) Try to run maven with -U -up > > My environment: > Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) >

Re: Test fails when building XWork

2009-12-18 Thread Lukasz Lenart
2009/12/18 Gabriel Belingueres : > I checked out it from https://svn.opensymphony.com/svn/xwork/trunk > I deleted everything and checkout'd it again and still the same test fail. I did the same and found no problems ;-) Try to run maven with -U -up My environment: Apache Maven 2.2

Re: Test fails when building XWork

2009-12-18 Thread Gabriel Belingueres
I checked out it from https://svn.opensymphony.com/svn/xwork/trunk I deleted everything and checkout'd it again and still the same test fail. 2009/12/18 Lukasz Lenart : > That's a bit strange, you can check with Bamboo that everything is ok > http://opensource.bamboo.atlassian.

Re: Test fails when building XWork

2009-12-18 Thread Lukasz Lenart
That's a bit strange, you can check with Bamboo that everything is ok http://opensource.bamboo.atlassian.com/browse/XWORK Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apach

Re: Test fails when building XWork

2009-12-18 Thread Gabriel Belingueres
Hi, Now I want to build XWork on another machine, this time with a direct connection to the Internet (no proxy or firewall settings.) --- Test set: TestSuite

Re: Test fails when building XWork

2009-12-17 Thread Gabriel Belingueres
Thanks Lukasz! Yes it was a connection problem. I had configured the proxy settings in the maven xml file, but for some reason it downloaded the artifacts but the test failed. I just executed the mvn passing along the proxy information as system properties and it worked ok (mvn -DhttpProxy= cl

Re: Test fails when building XWork

2009-12-17 Thread Lukasz Lenart
2009/12/17 Gabriel Belingueres : > What am I missing? Connection to the Internet - you're probably behind a firewall :P Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org F

Test fails when building XWork

2009-12-17 Thread Gabriel Belingueres
Hi, I'm getting the following test failure where building XWork (from trunk). Maven version 2.2.1 command: mvn clean install --- Test set: Test

Re: xwork-conversion.properties

2009-12-16 Thread Donato Pirozzi
Hi and thanks for answer, I have tried to use annotation, but don't work, error message is the same: Error setting expression 'model.dataMandato' with value '[Ljava.lang.String;@2d2da4' ognl.MethodFailedException: Method "setDataMandato" failed for object org.storage.mandati.mand...@18bff68 [j

Re: xwork-conversion.properties

2009-12-16 Thread Lukasz Lenart
2009/12/16 Donato Pirozzi : > obviously is a typos, name of my file into my project is > xwork-conversion.propertis Did you try to use annotations? @TypeConversion(converter = "org.demo.DateConverter") public void setDateNow(Date now) { this.now = now; } Regards

Re: xwork-conversion.properties

2009-12-16 Thread Donato Pirozzi
Thanks for the answer Lukasz, obviously is a typos, name of my file into my project is xwork-conversion.propertis Sorry for the mistake. 2009/12/16 Lukasz Lenart > 2009/12/16 Donato Pirozzi : > > and I have added src/main/resources/xwrork-conversation.properties > (maven2 &

Re: xwork-conversion.properties

2009-12-16 Thread Lukasz Lenart
2009/12/16 Donato Pirozzi : > and I have added src/main/resources/xwrork-conversation.properties (maven2 Should be >>xwork-conversion.properties<< Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscrib

xwork-conversion.properties

2009-12-16 Thread Donato Pirozzi
. java.util.Date = org.converter.DateConverter I don't understand if xwork-conversation.properties is loaded correctly, because I haven't any usefully log information. I'm using struts 2.1.8.1. Thanks all.

RE: Upgrading xWork??

2009-07-23 Thread Hoying, Ken
The 2.1.4 code for xWork is as you posted with the synchronized block. However, the 2.0.4 code does not contain the symbolization block. As a result, it appears that my threads are sometimes hanging. I am not getting any errors in the log. What is happening on occasion (not very often) is

Re: Problem with xwork convertor

2009-07-22 Thread spsarolkar
error. After searching a lot we find out that the >> issue >> is >> > with xwork2 and it is already reported and fixed. The issue comes with >> > xwork-2.1.2.jar and in the http://jira.opensymphony.com/browse/XW-676 , >> it >> > stating that issue is fixed

RE: Upgrading xWork??

2009-07-22 Thread Martin Gainty
i'm running xwork-2.1.4 private static final Map messageFormats = new HashMap(); private static MessageFormat buildMessageFormat(String pattern, Locale locale) { MessageFormatKey key = new MessageFormatKey(pattern, locale); MessageFormat format = null; synchro

Re: Upgrading xWork??

2009-07-22 Thread Chris Pratt
e 2.1.x versions. > > -Original Message- > From: Chris Pratt [mailto:thechrispr...@gmail.com] > Sent: Wednesday, July 22, 2009 4:08 PM > To: Struts Users Mailing List > Subject: Re: Upgrading xWork?? > > If I remember correctly there was a 2.0.5 that was probably compat

RE: Upgrading xWork??

2009-07-22 Thread Hoying, Ken
I checked and it was not. Thank you though. It only seems to appear in the 2.1.x versions. -Original Message- From: Chris Pratt [mailto:thechrispr...@gmail.com] Sent: Wednesday, July 22, 2009 4:08 PM To: Struts Users Mailing List Subject: Re: Upgrading xWork?? If I remember

Re: Upgrading xWork??

2009-07-22 Thread Chris Pratt
If I remember correctly there was a 2.0.5 that was probably compatible with the 2.0.x versions of Struts 2, but I have no idea if that fix is in that version. (*Chris*) On Wed, Jul 22, 2009 at 9:47 AM, Hoying, Ken wrote: > We are running with Struts 2.0.1.1 (which uses xWork 2.0.4) and

RE: Upgrading xWork??

2009-07-22 Thread Hoying, Ken
Thanks, Wes. That is our fallback plan and most likely the route we will take. Thanks, Ken -Original Message- From: Wes Wannemacher [mailto:w...@wantii.com] Sent: Wednesday, July 22, 2009 1:33 PM To: Struts Users Mailing List Subject: Re: Upgrading xWork?? I would say that you&#x

RE: Upgrading xWork??

2009-07-22 Thread Hoying, Ken
: RE: Upgrading xWork?? On Today at 1:04pm, HK=>Hoying, Ken wrote: HK> [..snip..] HK> HK> Does anyone have experience using an xWork version 2.1.x with Struts 2.0.11.1? HK> I say this, based on no evidence other than remembering it from a thread earlier, that xwork 2.1.x is in

Re: Upgrading xWork??

2009-07-22 Thread Wes Wannemacher
Haroon Rafique wrote: > On Today at 1:04pm, HK=>Hoying, Ken wrote: > > HK> [..snip..] > HK> > HK> Does anyone have experience using an xWork version 2.1.x with Struts > 2.0.11.1? > HK> > > I say this, based on no evidence other than remembering it from

RE: Upgrading xWork??

2009-07-22 Thread Haroon Rafique
On Today at 1:04pm, HK=>Hoying, Ken wrote: HK> [..snip..] HK> HK> Does anyone have experience using an xWork version 2.1.x with Struts 2.0.11.1? HK> I say this, based on no evidence other than remembering it from a thread earlier, that xwork 2.1.x is incompatiple with strut

RE: Upgrading xWork??

2009-07-22 Thread Hoying, Ken
experience using an xWork version 2.1.x with Struts 2.0.11.1? Thank you! Ken -Original Message- From: Hoying, Ken [mailto:ken_hoy...@premierinc.com] Sent: Wednesday, July 22, 2009 12:47 PM To: user@struts.apache.org Subject: Upgrading xWork?? We are running with Struts 2.0.1.1 (which uses

Upgrading xWork??

2009-07-22 Thread Hoying, Ken
We are running with Struts 2.0.1.1 (which uses xWork 2.0.4) and are noticing that we are getting hung threads sometimes on a HashMap call from com.opensymphony.xwork2.util.LocalizedTextUtil. It looks like the xWork code is question needs to be synchronized and is causing the threads to lock

Re: [S2] xwork + spring-test

2009-07-15 Thread Musachy Barroso
see my answer to the other email, it applies here also, except that in this case the dependency is needed for the tests. musachy On Wed, Jul 15, 2009 at 12:04 PM, Relph,Brian wrote: > > Is there a reason xwork has a compile-time dependency on spring-test?  Is it > just a test dependenc

[S2] xwork + spring-test

2009-07-15 Thread Relph,Brian
Is there a reason xwork has a compile-time dependency on spring-test? Is it just a test dependency perhaps? I would like to exclude spring-test from my webapp, but I don't want to break anything. Brian

Re: Possible upgrade to xwork 2.1.4

2009-07-15 Thread David Canos
I resolved writing my own i18n-interceptor. Firstly I try to get the locale from session, if not I look for in the request, if not we use the ActionContext by default set up in struts.properties. Anyway this is not the xwork 2.1.4 behavior, who looks for locale in session, and then ActionContext

Re: Possible upgrade to xwork 2.1.4

2009-07-15 Thread Wes Wannemacher
If you are not using REST or the rest plugin, you can use struts 2.1.7, it is not a GA release because there was a missing class in the rest plugin. Or, you can build 2.1.8-SNAPSHOT. We should be getting an xwork 2.1.5 release soon and we'll roll a struts 2.1.8 release right afterwards. I

Possible upgrade to xwork 2.1.4

2009-07-15 Thread David Canos
hi folks Currently Struts 2.1.6 is working with xwork 2.1.2 which has some bugs related to i18n. They are fixed in xwork 2.1.3. http://jira.opensymphony.com/browse/XW-679 I've check struts jira and i haven't seen any upgrade xwork issue. It's hard to work in a i18n context

Re: Problem with xwork convertor

2009-05-20 Thread Ikya Technical
ue is zero then > it > > is throwing some error. After searching a lot we find out that the issue > is > > with xwork2 and it is already reported and fixed. The issue comes with > > xwork-2.1.2.jar and in the http://jira.opensymphony.com/browse/XW-676 , > it > > stating

Re: Problem with xwork convertor

2009-05-19 Thread Wes Wannemacher
We are working on a Struts 2 project. We are facing a problem whenever > there is Double type field with Model class and field value is zero then it > is throwing some error. After searching a lot we find out that the issue is > with xwork2 and it is already reported and fixed. The issue

Problem with xwork convertor

2009-05-19 Thread Ikya Technical
comes with xwork-2.1.2.jar and in the http://jira.opensymphony.com/browse/XW-676 , it stating that issue is fixed with latest jar xwork-2.1.3.jar But we are getting some strage errors when we replaced the xwork jar file with latest version. We haven't changed any othe library. The other

S2 How to configure converter for double in xwork-conversion

2009-02-20 Thread Néstor Boscán
Hi I’m using Struts 2.0.14 and I’ve created a converter for Decimal types and configure them in xwork-conversion.properties: java.lang.Float = ve.com.tcs.commons.view.converter.DecimalTypeConverter java.lang.Double = ve.com.tcs.commons.view.converter.DecimalTypeConverter

Re: xWork-2.1.3 available yet that fixes problem with Struts 2.1.6?

2009-02-16 Thread Musachy Barroso
We should get an xwork build out sooner than later, to fix this problem and the one related to conversion. musachy On Mon, Feb 16, 2009 at 7:37 AM, phillips1021 wrote: > > Wes - thanks for the feedback. I'm posting the below for others who may run > into this problem and need to

Re: xWork-2.1.3 available yet that fixes problem with Struts 2.1.6?

2009-02-16 Thread phillips1021
Wes - thanks for the feedback. I'm posting the below for others who may run into this problem and need to get the newer version of xWork. I checked the latest xWork source out using a subversion client (www.collab.net). This is the command: svn co http://svn.opensymphony.com/svn/xwork/

  1   2   >