I'm not familiar with the tag; does that auto-include the script
defining the validateForm() function?
If not, I'd suggest a missing
quot; uri="/WEB-INF/struts-bean.tld" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
> Transitional//EN">
>
>
>
> LoginPage
>
>
>
>
>
>
> >
>
>
>
>
>
>
>
>
>
>
>
> Click here to href=
/DTD HTML 4.01
Transitional//EN">
LoginPage
>
Click here to SignUp
>
--
View this message in context:
http://struts.1045723.n5
core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>
na.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at
> org.apache.coyote.http11.Http
ariables had the correct value submitted through the form.
Moreover, I'm not sure that
Resources.getActionMessage(request, va, field)
method in my custom validator class is correct. This method is deprecated
and I don't know how to replace it.
I can't understand where is the pro
t; cacodemon79 wrote:
>>>> No suggestions? :(
>>>>
>>>> I also tried to use
>>>> document.registrazioneUtenteForm.submit()")
>>>> instead of
>>>> eval("document."+nomeForm+".submit()")
>>>> but the r
ied to use
document.registrazioneUtenteForm.submit()")
instead of
eval("document."+nomeForm+".submit()")
but the result is the same. The form is submitted but I can't see any
javascript alerts.
I can't understand where is the problem.
I hope you can help me.
Thanks.
cacod
Hi,
2008/6/23 cacodemon79 <[EMAIL PROTECTED]>:
>
> Bingo!
> Now it works!
> Thanks a lot.
> However i can't understand why the onsubmit handler is not triggered by the
> submit() function!
>
Maybe it depends on Web Browser, did you try with others?
Regards
--
Lukasz
http://www.lenart.org.pl/
form is submitted but I can't see any
>> javascript alerts.
>>
>> I can't understand where is the problem.
>>
>> I hope you can help me.
>>
>> Thanks.
>>
>>
>>
>> cacodemon79 wrote:
>>> Hi, I'm using Str
m is submitted but I can't see any
javascript alerts.
I can't understand where is the problem.
I hope you can help me.
Thanks.
cacodemon79 wrote:
Hi, I'm using Struts Validator Framework (Struts 1.3).
Server-side validation works well.
The problem is in client-side val
> A beta version of firebug does work with 3.0 :
> http://getfirebug.com/releases/index.html
Thanks!
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Lukasz Lenart wrote:
Maybe you should install Firebug for Firefox (not working with 3.0)
and debug the JavaScript?
A beta version of firebug does work with 3.0 :
http://getfirebug.com/releases/index.html
-Dale
-
To unsubscr
Hi,
Maybe you should install Firebug for Firefox (not working with 3.0)
and debug the JavaScript?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
m.
I hope you can help me.
Thanks.
cacodemon79 wrote:
>
> Hi, I'm using Struts Validator Framework (Struts 1.3).
> Server-side validation works well.
> The problem is in client-side validation.
>
> The form name I have to validate is: RegistrazioneUt
Hi, I'm using Struts Validator Framework (Struts 1.3).
Server-side validation works well.
The problem is in client-side validation.
The form name I have to validate is: RegistrazioneUtenteForm.
In my jsp page I have 2 buttons:
1)
2)
and the following form declaration:
Moreover I have en
--Original Message-
From: Zhang, Larry (L.) [mailto:[EMAIL PROTECTED]
Sent: Thu 5/15/2008 6:14 PM
To: Struts Users Mailing List
Cc:
Subject: Struts validator framework
Say if I have two text fields, one label is Please
Say if I have two text fields, one label is Please enter name:, and the
other label is Please enter SSN:. In struts validator framework, if I
need to validate these two fields using required validator, is there any
way to relate the field label to the message? Or does struts validator
support
--- "Kaushal, Anubhav" wrote:
> The user input is taken and then corresponding
> record is fetched from the database. Depending on
> the query result, I need to display appropriate
> message to the user. How can I achieve this?
It's not clear to me what this has to do with the
Validator framewor
I am using Struts Validator framework and DynaActionForm for performing
form data validations. The user input is taken and then corresponding
record is fetched from the database. Depending on the query result, I
need to display appropriate message to the user. How can I achieve this?
It will be
--- "Kaushal, Anubhav" wrote:
> The user input is taken and then corresponding
> record is fetched from the database. Depending on
> the query result, I need to display appropriate
> message to the user. How can I achieve this?
It's not clear to me what this has to do with the
Validator framewor
Hi,
I am using Struts Validator framework and DynaActionForm for performing
form data validations. The user input is taken and then corresponding
record is fetched from the database. Depending on the query result, I
need to display appropriate message to the user. How can I achieve this
?
It
In the jsp code u givenonsubmit="return validateCustomerForm(this); but
in validator-user.xml the form name is custForm, so replace that with
onsubmit="return validateCustForm(this);
Thanks,
Srinivas.
L
On 8/29/06, Lakshmi Saritha <[EMAIL PROTECTED]> wrote:
Please clear me why the message is not coming from properties file.
Is the error in properties file or validator-rules.xml or some other.
Try adding an tag to your CustomerDetails JSP, I don't
see it there.
--
Wendy
---
Hello everybody,
I'm new to Java. I'm working on Struts now. I got this application from
one struts PDF. I've one jsp for customer details as follows:
CustomerDetails.jsp:
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="/WEB-INF/struts-html.tl
any help on this???
Date: Fri, 21 Apr 2006 11:00:34 -0700 (PDT)
From: <[EMAIL PROTECTED]>
Subject: html:multibox validation using Struts Validator framework
To: user@struts.apache.org
Hi
I am trying to do a client side validation for html: multibox tag. I need to
do clien
Hi
I am trying to do a client side validation for html: multibox tag. I need to
do client side validation if all the boxes are checked, before submitting the
request. I tried using the "depends=required" rules in the validator-rules.xml.
I see the JavaScript code in my jsp when I t
Hi
I am trying to do a client side validation for html: multibox tag. I need to
do client side validation if all the boxes are checked, before submitting the
request. I tried using the "depends=required" rules in the validator-rules.xml.
I see the JavaScript code in my jsp when I try
Hi
I am trying to do a client side validation for html: multibox tag. I
need to check if all the boxes are checked, before submitting the
request. I tried using the required rules in the validator-rules.xml.
I see the JavaScript code in my jsp when I try to view source but I'm
not getti
iling List
Subject: RE: Struts Validator Framework
Hi Hubert,
Thanks for your response. It worked the way you told by using dot delimiters
to point
out the nested object. On the same lines, I have one more question. How do I
validate an array of objects. This is my class stru
[mailto:[EMAIL PROTECTED]
Sent: Thu 8/25/2005 1:36 AM
To: Struts Users Mailing List
Cc:
Subject: Re: Struts Validator Framework
I've never used Validator outside of Struts, but I do know I've
successfully referenced nested
I've never used Validator outside of Struts, but I do know I've
successfully referenced nested elements while validating, by using dot
notation. In your case, you can refer to fields "a", "b", "obj.i,
"obj.j", "obj.obj.k".
Hubert
On 8/24/05, Ashutosh Satyam <[EMAIL PROTECTED]> wrote:
> Hi,
> I a
Hi,
I am using the Struts Validator(Commons Validator) outside the Struts
framework, to do validation.
I would like to know how to validate an object when it has objects nested
within it, and I need to
validate the fields in those nested objects, too.
Precisely I intend to achieve the followin
At 4:20 PM -0800 3/15/05, John Smith wrote:
I have one question regarding to struts
validation for French input characters.
I have some input fields in the form to accept
the French character input, such as Street name,
person's name,
In struts's validation.xml file, I have defined the followi
I have one question regarding to struts validation for French input characters.
I have some input fields in the form to accept the French character input, such
as Street name,
person's name,
In struts's validation.xml file, I have defined the following rule:
streetName
|^\w+$
pers
Hi All
Its very urgent for me.I am struck on this point at a very critical point of my
project.
I am using Validator framework of struts 1.1 In Validator.xml file for my mask
variable i am using regular
expression so as the string to accept alphanum+special char-.,-,",\s .nowI want
my regular ex
> -Original Message-
> From: Udaya Prakash [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 3:02 PM
> To: Struts Users Mailing List
> Subject: RE: Need guidance in struts validator framework
>
>
> It is 1.1
I was afraid you's say that. Y
It is 1.1
Jim Barrows <[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: Udaya Prakash [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: Need guidance in struts validator framework
>
>
> -Original Message-
> From: Udaya Prakash [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: Need guidance in struts validator framework
>
>
> Hi,
>
> I am having a Dynavalidatorform and it has two
Hi,
I am having a Dynavalidatorform and it has two properties A and B. I
need to check for the following conditions
Both should be equal to zero
or
Both should be greater than zero.
Can u just me how it can be done in a declarative way using the struts
validator framework
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
s of the
Struts-Faces integration library include two versions of the standard
Struts example application -- one with Tiles and one without. Both of
them use the Struts validator framework in conjunction with page that
use JavaServer Faces components. Your best bet is to examine the
sources in
List
Subject: Re: Plugin struts validator framework to JSF
On Fri, 13 Aug 2004 14:51:25 +0900, Prasad, Kamakshya
<[EMAIL PROTECTED]> wrote:
> HI,
>
> Thanks a lot for the information.
> I was looking through the examples of Struts-faces integration
library.
> What I found wa
On Fri, 13 Aug 2004 14:51:25 +0900, Prasad, Kamakshya
<[EMAIL PROTECTED]> wrote:
> HI,
>
> Thanks a lot for the information.
> I was looking through the examples of Struts-faces integration library.
> What I found was in the backing bean method a url with query string
> parameters is created to di
);
}
Thanks and Regards,
KP
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 12:37 AM
To: Struts Users Mailing List
Subject: Re: Plugin struts validator framework to JSF
On Thu, 12 Aug 2004 20:46:33 +0900, Prasad, Kamakshya
&
On Thu, 12 Aug 2004 20:46:33 +0900, Prasad, Kamakshya
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Is it possible to plugin struts validator framework to Javaserver faces
> web framework?
Yes, if you use the Struts-Faces integration library -- currently
available in nightly bui
; From: Prasad, Kamakshya [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 1:47 PM
> To: Struts Users Mailing List
> Subject: Plugin struts validator framework to JSF
>
>
> Hi All,
>
> Is it possible to plugin struts validator framework to
> Javaserver faces web
Hi All,
Is it possible to plugin struts validator framework to Javaserver faces
web framework?
Are there any examples available in the net?
Kindly advice me on this.
KP
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On 5/3/2004 10:29 PM, [EMAIL PROTECTED] wrote:
Yes.
Extend the DynaValidator
override the validate method
validate(...) {
ActionErrors errors = super.validate(...);
// do your stuff
if (...) {
errors.add(...);
}
return errors;
}
Pedro Salgado
On 04/05/03
Yes.
Extend the DynaValidator
override the validate method
validate(...) {
ActionErrors errors = super.validate(...);
// do your stuff
if (...) {
errors.add(...);
}
return errors;
}
Pedro Salgado
On 04/05/03 9:40, "Eric Noel" <[EMAIL PROTECTED]> wrote
Is it possible to use both Strut's Validator Framework for some fields
and validate other fields using my own validation via ActionForm class.
If yes, can someone site an example.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
52 matches
Mail list logo