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
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
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
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
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:
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
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
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
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
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
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
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.
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
--- 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
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
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
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
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
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
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
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
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
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
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
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
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,
> >
>
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
__
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
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
To: Struts Users Mailing List <[EMAIL PROTECTED]>
|
| cc:
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
t <[EMAIL PROTECTED]>
|
| cc:
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
--
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
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
>
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
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 ..?
>
>
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
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.
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
55 matches
Mail list logo