server side validation using GWT

2010-02-22 Thread loucat
Hi everybody, I'm developing a web application with GWT and I was supposed to do the server side validation with struts2. I've read that the integration of GWT and struts2 is not so easy, in fact I've used gwtstruts2plugin but actually I'm not using it and I still don't

Client-side AND server-side validation

2009-08-10 Thread Nicolas Baron
Hi everybody, I'm trying to implement validation using the standard mecanism provided by Struts 2. I understood that it's possible to use the same XML file to perform both client side (JS being generated) and server side validation. I don't need to do AJAX validation. Another

RE: Struts 2 Client & Server Side Validation

2008-10-30 Thread Kawczynski, David
al Message- From: Struts Developer [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2008 4:24 PM To: user@struts.apache.org Subject: Struts 2 Client & Server Side Validation Hello, In our current project are using struts 2.0 and would like to take advantage of the struts validation fram

Struts 2 Client & Server Side Validation

2008-10-30 Thread Struts Developer
Hello, In our current project are using struts 2.0 and would like to take advantage of the struts validation framework. We would like our form fields to be validated both on the client and server side. If i have "VALIDATE = TRUE" in the form field will the validation happen only on client side? Fo

RE: Different error messages for client and server side validation

2008-09-30 Thread Kawczynski, David
ailures); ... } Your JSP page: The following error(s) occurred: -Original Message- From: Dimitris Mouchritsas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 12:13 PM To: Struts Users Mailing List Subject: Re:

Re: Different error messages for client and server side validation

2008-09-30 Thread Dimitris Mouchritsas
Subject: Re: Different error messages for client and server side validation Dimitris Mouchritsas wrote: Hi all, we are using elements in our error messages to allow the user to go to the form field when the error message shows up. Obviously this messes up the client side javascript popup message

Re: Different error messages for client and server side validation

2008-09-30 Thread Manos Batsis
Geia sou wre Dimitri. Dimitris Mouchritsas wrote: we are using elements in our error messages to allow the user to go to the form field when the error message shows up. Obviously this messes up the client side javascript popup message which shows like: Username is missing. Is there a way to u

RE: Different error messages for client and server side validation

2008-09-30 Thread Kawczynski, David
messages for client and server side validation Dimitris Mouchritsas wrote: > Hi all, > we are using elements in our error messages to allow the user to > go to the form field when the error message shows up. > Obviously this messes up the client side javascript popup message > w

Re: Different error messages for client and server side validation

2008-09-30 Thread Dimitris Mouchritsas
Dimitris Mouchritsas wrote: Hi all, we are using elements in our error messages to allow the user to go to the form field when the error message shows up. Obviously this messes up the client side javascript popup message which shows like: Username is missing. Is there a way to use a different

Different error messages for client and server side validation

2008-09-30 Thread Dimitris Mouchritsas
Hi all, we are using elements in our error messages to allow the user to go to the form field when the error message shows up. Obviously this messes up the client side javascript popup message which shows like: Username is missing. Is there a way to use a different error message or should we ab

Re: Struts 2.0.9 server side validation problem

2007-12-20 Thread Arpan Debroy
gt; > > > > > > > > . > . > . > :clap: > > > -- > View this message in context: > http://www.nabble.com/Struts-2.0.9-server-side-validation-problem-tp14419444p14419444.html > Sent from the Struts - User mailing list archive

Re: Struts 2.0.9 server side validation problem

2007-12-20 Thread TuomoS
d removed the doctype at somepoint (for some reason) and tried different locations for the xml files. -- View this message in context: http://www.nabble.com/Struts-2.0.9-server-side-validation-problem-tp14419444p14434671.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Struts 2.0.9 server side validation problem

2007-12-19 Thread Brian Relph
type in the validation xml file? And is it > really enough just to have the file in classpath? (WEBINF/..) > > clip from the validation file: > > > > > > > > > . > . > . > :clap: > > > -- > View this message in context: > ht

Re: Struts 2.0.9 server side validation problem

2007-12-19 Thread Dave Newton
--- TuomoS <[EMAIL PROTECTED]> wrote: > How can I confirm that the XML validator file is read? Turning up the debug level on com.opensymphony.xwork2.validator is the easiest. > It seems that the actionName-validation.xml is not read. I That's not very likely; this definitely works. > have check

Struts 2.0.9 server side validation problem

2007-12-19 Thread TuomoS
file: . . . :clap: -- View this message in context: http://www.nabble.com/Struts-2.0.9-server-side-validation-problem-tp14419444p14419444.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Problem with server side validation

2007-08-03 Thread Laurie Harper
Vamsi wrote: Hi all, I am doing validations using struts2 validation framework. Validations(Server-side validations) are working fine but my problem is error messages are not getting displayed.when I am doing client-side validations messages were getting displayed but the samething was

Problem with server side validation

2007-08-01 Thread Vamsi
w this message in context: http://www.nabble.com/Problem-with-server-side-validation-tf4204157.html#a11958534 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

RE: Server side validation not working

2006-07-12 Thread Lance
uts Users Mailing List > Subject: Re: Server side validation not working > > Yes I did. > > Krishna, Hari wrote: > >> did u put properly in jsp >> >> -Original Message- >> From: Pankaj Gupta [mailto:[EMAIL PROTECTED] >> Sent: Wedne

Re: Server side validation not working

2006-07-12 Thread Pankaj Gupta
Yes Samere, Adam J wrote: Did you set the input attribute on your action mapping in struts-config.xml ? -Original Message- From: Pankaj Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 8:55 AM To: Struts Users Mailing List Subject: Re: Server side validation not

RE: Server side validation not working

2006-07-12 Thread Samere, Adam J
Did you set the input attribute on your action mapping in struts-config.xml ? -Original Message- From: Pankaj Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 8:55 AM To: Struts Users Mailing List Subject: Re: Server side validation not working Yes I did. Krishna, Hari

Re: Server side validation not working

2006-07-12 Thread Pankaj Gupta
Yes I did. Krishna, Hari wrote: did u put properly in jsp -Original Message- From: Pankaj Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 6:13 PM To: Struts Users Mailing List Subject: Server side validation not working Hi All, I am using server side validation

RE: Server side validation not working

2006-07-12 Thread Krishna, Hari
did u put properly in jsp -Original Message- From: Pankaj Gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 6:13 PM To: Struts Users Mailing List Subject: Server side validation not working Hi All, I am using server side validation in my application. The problem is

Server side validation not working

2006-07-12 Thread Pankaj Gupta
Hi All, I am using server side validation in my application. The problem is that when validate() returns an ActionErrors object, the page displayed becomes blank. I have no clue as to why this is happening. There is no javascript error or exception thrown. Pl Help. regards, Pankaj

Re: custom server side validation in shale

2006-01-02 Thread Wendy Smoak
On 12/26/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > I'm going to open a couple of enhancement tickets ... These were: http://issues.apache.org/bugzilla/show_bug.cgi?id=38042 http://issues.apache.org/bugzilla/show_bug.cgi?id=38044 The first one moves validator-rules.xml into shale-core.jar

Re: custom server side validation in shale

2005-12-26 Thread Wendy Smoak
On 12/26/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > it would be nice if Commons Validator > would read more than one resource bundle file without needing to extract it > and add the file to WEB-INF/classes yourself I think it already does. :) Looking at CommonsValidator.getErrorMessage ag

Re: custom server side validation in shale

2005-12-26 Thread Craig McClanahan
On 12/26/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On 12/22/05, JEEVANATHAM P. /BPCRP/INFOTECH/VASHI > <[EMAIL PROTECTED]> wrote: > > > Please let me know about how can we do server side validation in shale. > Like > > user validation, > > >

Re: custom server side validation in shale

2005-12-26 Thread Wendy Smoak
On 12/22/05, JEEVANATHAM P. /BPCRP/INFOTECH/VASHI <[EMAIL PROTECTED]> wrote: > Please let me know about how can we do server side validation in shale. Like > user validation, > > when user enters some value that time we need to check with database whether > that is corr

custom server side validation in shale

2005-12-22 Thread JEEVANATHAM P. /BPCRP/INFOTECH/VASHI
Hi all, Please let me know about how can we do server side validation in shale. Like user validation, when user enters some value that time we need to check with database whether that is correct one or not. If not that will through a alert not message on the screen. Regards

Re: enabling server-side validation

2005-06-13 Thread EROL TEZCAN
Martin- - Original Message - From: "croffman" To: "Struts Users Mailing List" Sent: Friday, June 10, 2005 10:42 AM Subject: Re: enabling server-side validation > In your code in action classes, call the form.validate(mapping, request) > method > > Hope

Re: enabling server-side validation

2005-06-10 Thread Martin Gainty
o: "Struts Users Mailing List" Sent: Friday, June 10, 2005 10:42 AM Subject: Re: enabling server-side validation In your code in action classes, call the form.validate(mapping, request) method Hope this helps. - Original Message - From: "EROL TEZCAN" <[EMAIL PROTEC

Re: enabling server-side validation

2005-06-10 Thread croffman
In your code in action classes, call the form.validate(mapping, request) method Hope this helps. - Original Message - From: "EROL TEZCAN" <[EMAIL PROTECTED]> To: Sent: Friday, June 10, 2005 9:30 AM Subject: enabling server-side validation > Hi, > > How

enabling server-side validation

2005-06-10 Thread EROL TEZCAN
Hi, How can I enable server-side validation, in struts applications? For client side validation, I am using before tag, and in tag onsubmit="return validateOrderFormBean(this)" , and applying For server-side validation, which changes I need to do? Thanks for a

RE: ERROR: Server side validation using Validation framework

2005-05-10 Thread Arindam Samanta
correct CASE-sensitive spelling (i.e. "Success" not "success") ? Regards, David -Original Message- From: Arindam Samanta [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 5:47 AM To: Struts Users Mailing List Subject: ERROR: Server side validation using Validation

RE: ERROR: Server side validation using Validation framework

2005-05-10 Thread David G. Friedman
ot;) ? Regards, David -Original Message- From: Arindam Samanta [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 5:47 AM To: Struts Users Mailing List Subject: ERROR: Server side validation using Validation framework Hi, I am new in struts. I am getting 'Page can no

ERROR: Server side validation using Validation framework

2005-05-10 Thread Arindam Samanta
Hi, I am new in struts. I am getting 'Page can not be displayed error when I click on 'SAVE' button. validation is working fine when I implemented client side validation to add following line But when I removed above code from jsp I faced page not found error but it is not throwing any e

Re: Cancel button doesn't cancel server side validation

2005-03-22 Thread Bing Qiao
Thanks for your reply. That property is required by LookupDispatchAction. The action is defined as the following: If I don't have that property, I got errors like: Request[/submit202] does not contain handler parameter named 'action'. This may be caused by whitespace in the label text. Thank

Re: Cancel button doesn't cancel server side validation

2005-03-21 Thread K.C. Baltz
I've never needed a "property" attribute with the html:cancel control. Perhaps that's the problem? Make sure you have a cancel() method in your DispatchAction K.C. Bing Qiao wrote: Hi, I am using Struts Validator for a LookupDispatchAction. I'm using both client and server sides validation. Th

Cancel button doesn't cancel server side validation

2005-03-21 Thread Bing Qiao
Hi, I am using Struts Validator for a LookupDispatchAction. I'm using both client and server sides validation. The problem is I can only disable the client side validation by using tag. I doubt if the property is the problem but can't be sure. Besides it is required by LookupDispatchAc

Re: Disable struts server side validation

2005-03-18 Thread Bing Qiao
Hi, Thanks for your reply. I felt it not a good design to disable server side validation as well. The struts application (intranet application) I am adding validation to was not properly designed. A lot of jsps need beans passed from actions to display correctly. Since those beans are defined as

Re: Disable struts server side validation

2005-03-17 Thread Craig McClanahan
> Many thanks You would need to modify the Struts controller in order to bypass server side validation. This is technically feasible, but there is no automated setting for it because (in general) it is a *very* bad idea. Web applications that folow best practices do not blindly trust that cli

Disable struts server side validation

2005-03-17 Thread Bing Qiao
Hi, I've got a questions about struts validator. When defining custom validation rules, is it possible to only define the client side javascript without building classes? Many thanks Bqiao - To unsubscribe, e-mail: [EMAIL PROT

Re: Help : Server Side Validation + Client Side using Struts Validator Framework (beginner)

2004-08-27 Thread Erik Weber
You might find the examples on Rick Reumann's site helpful. http://www.reumann.net/do/struts/main Erik Ronald B wrote: Hello, I has been quite some time that I have been introduced to STRUTS. (beginner) Could any help write server side code. Thank U __

Help : Server Side Validation + Client Side using Struts Validator Framework (beginner)

2004-08-27 Thread Ronald B
Hello, I has been quite some time that I have been introduced to STRUTS. (beginner) Could any help write server side code. Thank U Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi

SV: Server side validation

2004-05-19 Thread hermod . opstvedt
Hi Check your Tiles controller definition in the struts-config.xml file. Make sure that the forward parameter is not set to "forward" Hermod -Opprinnelig melding- Fra: Samuel Rochas [mailto:[EMAIL PROTECTED] Sendt: 15. mai 2004 00:41 Til: Struts Users Mailing List Emne: Re: S

Re: Server side validation

2004-05-18 Thread Nicholas L Mohler
To: Struts Users Mailing List <[EMAIL PROTECTED]> | | cc:

Re: Server side validation

2004-05-17 Thread Samuel Rochas
Hello Nicholas, Ok, thank you very much for the explanation, it makes the things a bit clearer and less magical to me. I have two questions: -Why making that difference once for all? I mean, why not just accept everything here (page, action, forward)? -Where is a good and complete documentation

Re: Server side validation

2004-05-17 Thread Nicholas L Mohler
t <[EMAIL PROTECTED]> | | cc:

Re: Server side validation

2004-05-14 Thread Samuel Rochas
Hello Geeta, I've solved the problem, still don't really understand the reason. I've defined a global forward for the input of my reluctant form, and now, in case of validation error, I am forwarded to the desired page, not to the blank one. Thanks for you help. Samuel --

Re: Server side validation

2004-05-14 Thread Samuel Rochas
Good Morning Geeta, Geeta Ramani wrote: Hmm.. Ok, look at the source code of the page you get.. anything there? No so much, right? I used to work, then I probably change _something_ Sincerly Samuel --- andinasoft SA - Software y Consulting --- Mariano Aguilera 276 y Almagro - Quito, Ecu

RE: Server side validation

2004-05-14 Thread Geeta Ramani
Hmm.. Ok, look at the source code of the page you get.. anything there? Geeta > -Original Message- > From: Samuel Rochas [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 6:42 PM > To: Struts Users Mailing List > Subject: Re: Server side validation >

Re: Server side validation

2004-05-13 Thread Samuel Rochas
Hello Geeta, "login" must have been defined as a global-forward ..? You are right, I am quite new here, I did no notice. No reason. So just take it out..:) Ok, it's gone. But I still get an empty page when I make a validation error :-( The validation code is going thru, maybe another hint? Sam

RE: Server side validation

2004-05-13 Thread Geeta Ramani
Samuel: > > input="/myDir/myForm.jsp" > If the page is under /web (root of the application), then a > "/page.jsp" > is ok? Yes, that should be ok. > Why in the login example there is only a input="login" > without a page name? "login" must have been defined as a global-forward ..? > >

Re: Server side validation

2004-05-13 Thread Samuel Rochas
Hello Geeta, Thanks again for your answer. Geeta Ramani wrote: The "input" field is the path to the jsp where your form resides, something like: input="/myDir/myForm.jsp" If the page is under /web (root of the application), then a "/page.jsp" is ok? Why in the login example there is only a in

RE: Server side validation

2004-05-13 Thread Geeta Ramani
muel Rochas [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 11:42 AM > To: Struts Users Mailing List > Subject: Server side validation > > > Hello, > > I am trying to use server side validation. I validate my form data in > the validate method of the form.

Server side validation

2004-05-13 Thread Samuel Rochas
Hello, I am trying to use server side validation. I validate my form data in the validate method of the form. When there is a validation error the application shows me a blank page, and not the form again. I guess I have an error in the action mapping configuration in struts-config, I am not