Re: Doc for Struts2

2011-07-19 Thread Dave Newton
Wiki outer blog?! Ah auto-complete, you complete me. "I'll add something to the wiki or blog about it this weekend." Sheesh. Dave On Tuesday, July 19, 2011, Dave Newton wrote: > There's nothing about custom validators there, though, unless I missed it. > The validation annotations page discus

Re: Doc for Struts2

2011-07-19 Thread Dave Newton
There's nothing about custom validators there, though, unless I missed it. The validation annotations page discusses it briefly, but I don't think it has a complete example either. If I have time I'll add something to the wiki outer blog about it this weekend. Dave On Jul 19, 2011 11:19 PM, "Jef

Re: Struts2 - Ajax submit not working: Please advise

2011-07-19 Thread jayakarjayaraman
hi, Even i was getting the same error. I hosted my application in firefox and the submit was successful and even the result was showing. Then i tried hosting the application in IE version 8,it was working fine. I hope u r trying to host application in IE version 7. Still i am not able to trace

Re: Doc for Struts2

2011-07-19 Thread Jeff Black
Ankit -- In addition to the following documentation? http://struts.apache.org/2.2.3/docs/validation.html jb / From: Ankit Jain To: Struts Users Mailing List Sent: Tue, July 19, 2011 7:27:44 AM Subject: Doc for Struts2 Hi, If anybody can let me know some go

Re: Doubt on Struts 2 Architechture

2011-07-19 Thread Steven Yang
and by the way, interceptors dont get "called again" after action is completed they just havent "ended" when the action is and result is done. On Tue, Jul 19, 2011 at 10:17 PM, wrote: > The struts2 architecture allows for preprocessing and post processing of > requests. > > What if you wanted to

Re: [S1] Validator configuration error [bump]

2011-07-19 Thread Dave Newton
If it works, I wouldn't worry about it. I'm not sure if anybody is planning any further 1.x releases, to be honest; maybe if a patch is filed against the ticket someone would apply it, but I'm not sure who (Paul, are you still doing S1 stuff?) Dave On Tue, Jul 19, 2011 at 5:17 PM, Christopher Sc

Re: [S1] Validator configuration error [bump]

2011-07-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Does anyone have any ideas about my post? - -chris On 6/30/2011 11:02 PM, Christopher Schultz wrote: > All, > > struts-1.3.8 commons-validator-1.3.1 > > I recently started using a dynamic form attribute > called "reset". It's documented to a

Problems with JSONWriter loading classes from Class.forName

2011-07-19 Thread Bruno Borges
I'm not sure about the issue, but I'm now working on a project that has a fork of the json plugin of Struts 2.1.8.1. The only difference is this one: Index: src/main/java/org/apache/struts2/json/JSONWriter.java === --- src/main/java/

chaining not working in struts2.2.3

2011-07-19 Thread Alexander Kostadinov
Hi Everyone, I recently upgraded from struts2.1.6 to struts2.2.3. I had been using chaining to forward copy the values of public fields but it looks like that doesn't work in struts2.2.3... instead, chaining only works for fields that have an explicit getter and setter. My question is if there is a

Re: Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Emi Lu
Hi Chris, Depends whether the source jar contains just the source, or the source and binaries. Why do you feel the need to put the source files in the run-time directory? It just takes up more time and memory for the JVM to parse the indexes of useless jar files. To browse source codes and f

Re: Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Chris Pratt
Depends whether the source jar contains just the source, or the source and binaries. Why do you feel the need to put the source files in the run-time directory? It just takes up more time and memory for the JVM to parse the indexes of useless jar files. (*Chris*) On Tue, Jul 19, 2011 at 10:57

Re: Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Emi Lu
Probably because of what the exception says; try removing the extra jar file. You are Right Dave! I loaded both struts2-jquery-plugin-3.1.0.jar and struts2-jquery-plugin-3.1.0-source.jar into the project. The system complained about this. After I remove the source jar. Compiled successful

Re: Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Emi Lu
Probably because of what the exception says; try removing the extra jar file. You are Right Dave! I loaded both struts2-jquery-plugin-3.1.0.jar and struts2-jquery-plugin-3.1.0-source.jar into the project. The system complained about this. After I remove the source jar. Compiled successful

Re: Struts 1.1 and ajax

2011-07-19 Thread Máximo Castillo
Hi, You can do some research about DWR and jQuery to add Ajax stuff. Regards, Max On Tue, Jul 19, 2011 at 2:24 PM, vicky b wrote: > HI , > > I am using struts 1.1 in our application , i am performance problem > hence i have decided to use ajax where ever possible. > I have this page where

Struts 1.1 and ajax

2011-07-19 Thread vicky b
HI , I am using struts 1.1 in our application , i am performance problem hence i have decided to use ajax where ever possible. I have this page where it has large no input values in the form that is my form is big when i want to use ajax i have to construct i am facing tough time please let m

Re: Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Dave Newton
Probably because of what the exception says; try removing the extra jar file. Dave On Jul 19, 2011 12:12 PM, "Emi Lu" wrote: > Hello List, > > I got the following exception, could someone tell me what cause it? > > I am using struts2.2.3 + tiles2.2.2 + springframework3.05 + ognl3.0.2 + > freemar

Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Emi Lu
Hello List, I got the following exception, could someone tell me what cause it? I am using struts2.2.3 + tiles2.2.2 + springframework3.05 + ognl3.0.2 + freemarker2.3.18 Thanks alot! Emi -- SEVERE: Exception starting filter struts2 Unable to load configuration. - bean - jar:file:/WEB-INF/li

FieldErrors for a specific form ID

2011-07-19 Thread struts . rgm
After perusing the source code I don't feel like this is possible, but if y'all know otherwise please give me a heads-up even if just to confirm my suspicion. It appears that Struts2 does know the ID of the current form, but this information is not used for an xwork validation context -- which ap

Re: [TILES 2.1.2] I18n problem

2011-07-19 Thread alexcocia
Hi Mitch, Unfortunately, this would be a "last option" due to dependencies with other project/components deployed. Nevertheless, I will give it a try on an isolated environment, just to check it. Regards, Alex -- View this message in context: http://struts.1045723.n5.nabble.com/TILES-2-1-2-I18

Re: Doubt on Struts 2 Architechture

2011-07-19 Thread mmckenzie
The struts2 architecture allows for preprocessing and post processing of requests. What if you wanted to record how long it takes for a request to be processed? You could have an interceptor on the top of your request that records the start time and the same interceptor will record the end t

Re: [TILES 2.1.2] I18n problem

2011-07-19 Thread mmckenzie
Have you tried tiles 2.2.2? Mitch From: alexcocia To: user@struts.apache.org Date: 07/19/2011 08:14 AM Subject:[TILES 2.1.2] I18n problem Hi all, I have an application using Struts2 + Tiles 2.1.2. The application has some i18n features in two ways: First for text content de

[TILES 2.1.2] I18n problem

2011-07-19 Thread alexcocia
Hi all, I have an application using Struts2 + Tiles 2.1.2. The application has some i18n features in two ways: First for text content depending on the language, secondly for the pages shown, depending on the language. For the first option, it is solved using struts "request_locale" For the second o

Doc for Struts2

2011-07-19 Thread Ankit Jain
Hi, If anybody can let me know some good user doc which tells how to add validations using validator framework in struts2. thanks Ankit

Re: struts2 There is a bug in FileUploadInterceptor (FileContentType).

2011-07-19 Thread Ankit Jain
Hi, If anybody can let me know some good user doc which tells how to add validations using validator framework in struts2. thanks ankit

Re: struts2 There is a bug in FileUploadInterceptor (FileContentType).

2011-07-19 Thread Maurizio Cucchiara
I often use the MimetypesFileMap On 19 July 2011 08:52, mohan rao wrote: > can you please give me name that library jar file. > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/stru

Re: struts2 There is a bug in FileUploadInterceptor (FileContentType).

2011-07-19 Thread mohan rao
can you please give me name that library jar file. -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-There-is-a-bug-in-FileUploadInterceptor-FileContentType-tp4601250p4611321.html Sent from the Struts - User mailing list archive at Nabble.com. -