to nbsp; html:link
href=SignUp.jspSignUp/html:link /strong/embr
/center
/body
/html:html
--
View this message in context:
http://struts.1045723.n5.nabble.com/Struts-Validator-Framework-client-side-validation-problem-with-submitting-buttons-tp3481073p4761399.html
Sent from the Struts - User mailing
--
View this message in context:
http://struts.1045723.n5.nabble.com/Struts-Validator-Framework-client-side-validation-problem-with-submitting-buttons-tp3481073p4761399.html
Sent from the Struts - User mailing list archive at Nabble.com
/html:link /strong/embr
/center
/body
/html:html
--
View this message in context:
http://struts.1045723.n5.nabble.com/Struts-Validator-Framework-client-side-validation-problem-with-submitting-buttons-tp3481073p4761399.html
Sent from the Struts - User mailing list archive at Nabble.com
Hi All,
I was reading the Struts validator API and i
tried all kinds of forums and googling for days to no avail.
How do I use the validator for nested vector validation. Here's my attempt but it doesn't seem to work.
field indexedListProperty
I am using struts 1.3.8 and I have a form field of type
org.apache.struts.upload.FormFile. I would like to validate the
field's size with a custom struts validator. To get the field's value,
i have used for a text field the next code:
String value = ValidatorUtils.getValueAsString(bean
://www.nabble.com/Struts-Validator-Framework%3A-problem-with-Custom-Validator-tp18098053p18137561.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
/Struts-Validator-Framework%3A-problem-with-Custom-Validator-tp18098053p18122639.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
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: RegistrazioneUtenteForm.
In my jsp page I have 2 buttons:
1) html:link
href
help me?
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Struts-Validator-Framework%3A-problem-with-Custom-Validator-tp18098053p18098053.html
Sent from the Struts - User mailing list archive at Nabble.com
.
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: RegistrazioneUtenteForm.
In my jsp page I have 2 buttons:
1) html:link
href
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
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
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
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 validation.
The form name I have to validate
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: RegistrazioneUtenteForm.
In my jsp page I have 2 buttons:
1) html:link
href=javascript:submitRegistrazioneUtenteForm
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/
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.
cacodemon79 wrote:
Hi, I'm using Struts Validator Framework
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) html:link
href=javascript:submitRegistrazioneUtenteForm
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
validator framework
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
Can some Struts guru answer the following questions?
-Original Message-
From: Zhang, Larry (L.)
Sent: Thursday, January 31, 2008 3:27 PM
To: 'Struts Users Mailing List'
Subject: Struts validator
Hello coworkers,
I have a questions regarding the struts validation..., say I have three
validator
Can some Struts guru answer the following questions?
-Original Message-
From: Zhang, Larry (L.)
Sent: Thursday, January 31, 2008 3:27 PM
To: 'Struts Users Mailing List'
Subject: Struts validator
Hello coworkers,
I have a questions regarding the struts validation..., say I have
We are not using Struts 2 tag and thus I can't use s:submit tag.
-Original Message-
From: David Harland [mailto:[EMAIL PROTECTED]
Sent: Friday, February 01, 2008 10:01 AM
To: Struts Users Mailing List
Subject: RE: Struts validator
You can do it by having 3 different methods
--- Zhang, Larry (L.) [EMAIL PROTECTED] wrote:
We are not using Struts 2 tag and thus I can't use s:submit tag.
Are you using Struts 2 at all?
You can still use the generated HTML as a template to create your own HTML,
although... not sure why you wouldn't just use the tag in this case.
Dave
Struts valdiator developers, Doesn't struts support this requirment?
-Original Message-
From: Zhang, Larry (L.)
Sent: Friday, February 01, 2008 10:55 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts validator
No, I am using struts 1.1, I would like to implement the following case
fields at the same time when just one
submit button is clicked. Your helps are appreciated!
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, February 01, 2008 10:45 AM
To: Struts Users Mailing List
Subject: RE: Struts validator
--- Zhang, Larry (L.) [EMAIL
Hello coworkers,
I have a questions regarding the struts validation..., say I have three
text fields to be validated in struts validation, and three submit
buttons as well. When I submit one buttion, I only need to validate one
field, and when I click on the other submit button, I need to
--- Mike Duffy [EMAIL PROTECTED] wrote:
Does anyone have a great solution for a validator
that will prevent users from entering malicious SQL
into form entry text fields?
I'm not sure that belongs in a validator; unless you
never need to allow the use of a single quote. It is,
hoever unlikely,
Does anyone have a great solution for a validator that will prevent users from
entering malicious SQL into form entry text fields?
Thx.
Mike
Get easy, one-click access to your favorites.
Make Yahoo!
-
From: Mike Duffy [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Thursday, November 15, 2007 12:42 PM
Subject: Struts Validator to Prevent SQL Injection Attacks
Does anyone have a great solution for a validator that will prevent users
from entering malicious SQL into form entry text fields
=0postorder=asc
And page 16 of the following link:
http://www.net-security.org/dl/articles/IntegrigyIntrotoSQLInjectionAttacks.pdf
Thx.
Mike
--- On Thu, 11/15/07, Antonio Petrelli [EMAIL PROTECTED] wrote:
From: Antonio Petrelli [EMAIL PROTECTED]
Subject: Re: Struts Validator to Prevent SQL
Dave Newton wrote:
--- Mike Duffy [EMAIL PROTECTED] wrote:
Does anyone have a great solution for a validator
that will prevent users from entering malicious SQL
into form entry text fields?
I'm not sure that belongs in a validator; unless you
never need to allow the use of a single quote. It
.).
Has anyone created an elegant solution for this problem within the Struts
framework?
Mike
--- On Thu, 11/15/07, Dave Newton [EMAIL PROTECTED] wrote:
From: Dave Newton [EMAIL PROTECTED]
Subject: Re: Struts Validator to Prevent SQL Injection Attacks
To: Struts Users Mailing List user
that), then you're not covered.
But if you use the placeholder and HQL or the Criteria APIs, then
you're covered.
Mike
--- On Thu, 11/15/07, Gary Affonso [EMAIL PROTECTED] wrote:
From: Gary Affonso [EMAIL PROTECTED]
Subject: Re: Struts Validator to Prevent SQL Injection Attacks
To: Struts Users
2007/11/15, Mike Duffy [EMAIL PROTECTED]:
No matter where this is done, the basic problem is we have single quotes,
double quotes, ampersands, semicolons, and parenthesis in our data.
This may be off topic, but does not is suffice to use prepared
statement and parameters to avoid such attacks?
2007/11/15, Mike Duffy [EMAIL PROTECTED]:
Prepared statements if created correctly will work, but if your statements
are created dynamically with text strings as the values instead of ?
placeholders problems can occur.
I wonder why do you create query strings this way: you can always
create
Thx Gary.
That is good information.
We are actually using JBoss with EJB 3.0, which uses Hibernate under
the covers, so I am assuming we are covered.
Mike
--- On Thu, 11/15/07, Gary Affonso [EMAIL PROTECTED] wrote:
From: Gary Affonso [EMAIL PROTECTED]
Subject: Re: Struts Validator
Thx.
Mike
--- On Thu, 11/15/07, Antonio Petrelli [EMAIL PROTECTED] wrote:
From: Antonio Petrelli [EMAIL PROTECTED]
Subject: Re: Struts Validator to Prevent SQL Injection Attacks
To: Struts Users Mailing List user@struts.apache.org, [EMAIL PROTECTED]
Date: Thursday, November 15, 2007
say nothing, except what they should say. br
of course i am wondering is my syntax is ok, i dont now can i write like
this - br
br
varbr
var-namecheck/var-namebr
var-value(country=='US')/var-valuebr
/varbr
--
View this message in context:
http://www.nabble.com/Struts-validator-%22maskif%22
say nothing, except what they should say.
of course i am wondering is my syntax is ok, i dont now can i write like
this -
check
(country=='US')
--
View this message in context:
http://www.nabble.com/Struts-validator-%22maskif%22-tf3913144.html#a8597
Sent from the Struts - User
say nothing, except what they should say.
of course i am wondering is my syntax is ok, i dont now can i write like
this -
check
(country=='US')
--
View this message in context:
http://www.nabble.com/Struts-validator-%22maskif%22-tf3913144.html#a8600
Sent from the Struts - User mailing
sorry!
--
View this message in context:
http://www.nabble.com/Struts-validator-%22maskif%22-tf3913144.html#a8601
Sent from the Struts - User mailing list archive at Nabble.com.
are not working any more! It doesn't validate not required not even
other fields.
I am already stuck in this for few days, so i smb could help!
--
View this message in context:
http://www.nabble.com/Struts-validator-%22maskif%22-tf3913143.html#a11094652
Sent from the Struts - User mailing list archive
are not working any more! It doesn't validate not required not even
other fields.
I am already stuck in this for few days, so i smb could help!
--
View this message in context:
http://www.nabble.com/Struts-validator-%22maskif%22-tf3913144.html#a11094653
Sent from the Struts - User mailing list archive
ugachaka wrote:
Hi. I am wondering is there really a validation attribute maskif.
I one forum, i read that i just need to add the following lines to my
validation-rules and validation xml files and it will work-
validator name=validif
classname=validation.ValidIf
method=validateValidIf
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
--- 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 framework,
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
--- 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 framework,
I am using struts validator framework for both client and server side
validations. The problem is validations of the same type occur together. But
I want all validations for a particular field to be finished first and if
that field passes all validations, then only validations for the next field
Thanks Niall,
perfect, you were right, it was an issue with the jcv_retrieveFormName.
I'll post again when I've figured out whether it's caused by rhino,
validator, httpunit or a combination of all three :)
As a workaround I can override the jcv_retrieveFormName(form) in each
jsp to return
On 11/22/06, Nathan Coast [EMAIL PROTECTED] wrote:
snip
Unfortunately I can't find any rhino mailing lists or docs. Any
validator or rhino experts who can point me in the right direction?
/snip
http://www.mozilla.org/rhino/doc.html
cheers
Nathan
On 11/22/06, Nathan Coast [EMAIL PROTECTED] wrote:
Hi Niall,
thanks for the response. Httpunit handles the http/html side of things
and delegates to mozilla's rhino jar for a 'standards compliant' java
implementation of js (not sure how compliant or what version). I'm
thinking either there's
Hi,
First off, thanks for the validator - saved me countless hours of
writing js.
I've started trying to introduce httpunit integration tests to my
applications and unfortunately with both js and validator enabled, it
barfs in fine style.
httpunit 1.6.2, validator 1.3.0, rhino
The tags generate functions based on the form's name - looks like it
isn't finding the form's name resulting in your undefined_required.
I've not used httpunit, but I guess you need to get http unit to
generate the html as a jsp would do and have it parse the form and set
up the dom as the
Hi Niall,
thanks for the response. Httpunit handles the http/html side of things
and delegates to mozilla's rhino jar for a 'standards compliant' java
implementation of js (not sure how compliant or what version). I'm
thinking either there's a bug in rhino, alternatively commons-validator
On 9/14/06, Scott Smith [EMAIL PROTECTED] wrote:
I have a struts 1.2.9 app that has several modules (assume they are
named a and b). In my struts-config-a.xml file, I have a form
defined as followed:
form-bean name=formRegister
type=a.modules.register.RegisterForm /
My validation.xml file
I have a struts 1.2.9 app that has several modules (assume they are
named a and b). In my struts-config-a.xml file, I have a form
defined as followed:
form-bean name=formRegister
type=a.modules.register.RegisterForm /
My validation.xml file looks like:
form-validation
Have a Drop down and an input field.
When user selects Type 1 from drop down only then the input field is
required. otherwise it's not a required field.
Looking at the validator guide in struts maybe I have to create a new
validator rule which should check if drop down value Type 1. But not
fea jabi wrote:
Have a Drop down and an input field.
When user selects Type 1 from drop down only then the input field is
required. otherwise it's not a required field.
Looking at the validator guide in struts maybe I have to create a new
validator rule which should check if drop down value
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.tld
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 html:errors / tag to your CustomerDetails JSP, I don't
see it there.
--
Wendy
10:05 cc
AM
Subject
Regarding Struts validator
Please respond
Hi people, I´m newbie in Struts World...
I´m trying to configure the Struts validator.xml with floatRange argument
but it don´t work correctly. The validator doesn´t check the decimal value
of the 'min' and 'max' values:
field property=bonus depends=required,float,floatRange
The struts-examples webapp has a floatRange example and I just tried
it using Struts 1.2.9 and it worked fine (tests for the range -2.17 to
3.14)
What version of Struts and Commons Valdiator are you using?
Also try changing the minimum value to 0.01 - I think putting
additional leading zeros
Hi-
Quick question:
What is the version of the commons-validator that comes with Struts
1.2.8 and 1.2.9? Also, if, for Struts 1.2.9, the version of the
validator is not 1.3.0, would there be any problems if I were to replace
the commons-validator.jar file that comes with Struts 1.2.9 w/ the
of throwing validator 1.3.0 into Struts 1.2.9) if anyone
knows.
Thanks,
-Adam
-Original Message-
From: Adam Gordon [mailto:[EMAIL PROTECTED]
Sent: Thursday, 29 June 2006 09:05
To: user@struts.apache.org
Subject: Quick Struts/Validator version question
Hi-
Quick question:
What
^^
There you go, the validator is version v1.1.4 in struts-1.2.9-bin.zip!
Regards,
David
-Original Message-
From: Adam Gordon [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 11:36 AM
To: Struts Users Mailing List
Subject: RE: Quick Struts/Validator
^^
There you go, the validator is version v1.1.4 in struts-1.2.9-bin.zip!
Regards,
David
-Original Message-
From: Adam Gordon [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 11:36 AM
To: Struts Users Mailing List
Subject: RE: Quick Struts/Validator version
with a definitive
answer.
Regards,
David
-Original Message-
From: Adam Gordon [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 12:29 PM
To: Struts Users Mailing List
Subject: Re: Quick Struts/Validator version question
You know, I saw that, but a co-worker told me that it was the version of
Java
ramifications of throwing validator 1.3.0 into Struts 1.2.9) if anyone
knows.
Thanks,
-Adam
-Original Message-
From: Adam Gordon [mailto:[EMAIL PROTECTED]
Sent: Thursday, 29 June 2006 09:05
To: user@struts.apache.org
Subject: Quick Struts/Validator version question
Hi-
Quick question
David Friedman wrote:
And now for the simple and exact way: check the jar's META-INF/MANIFEST.MF
file. I have 1.2.9 and the commons-validator.jar has a META-INF/MANIFEST.MF
file with this in it:
I've found that this isn't always reliable -- commons-beanutils.jar in
struts 1.2.9, for
On 6/29/06, Scott Van Wart [EMAIL PROTECTED] wrote:
David Friedman wrote:
And now for the simple and exact way: check the jar's META-INF/MANIFEST.MF
file. I have 1.2.9 and the commons-validator.jar has a META-INF/MANIFEST.MF
file with this in it:
I've found that this isn't always reliable
On 6/29/06, Niall Pemberton [EMAIL PROTECTED] wrote:
On 6/29/06, Scott Van Wart [EMAIL PROTECTED] wrote:
David Friedman wrote:
And now for the simple and exact way: check the jar's META-INF/MANIFEST.MF
file. I have 1.2.9 and the commons-validator.jar has a META-INF/MANIFEST.MF
file with
I really appreciate all your help.
David,
I want to use struts validator and just control validation manually. Why do
I need saveErrors() method and what does it do? Isn't the validator does all
that. I am little confused.
I am pasting my execute method below, please let me know what should I
Rosh,
I want to use struts validator and just control
validation manually. Why do I need saveErrors()
method and what does it do? Isn't the validator
does all that. I am little confused.
If you are going to call the validation manually, then you will have to
perform the same steps
David,
Thanks a lot! I understood the whole concept now.
It's working perfectly!!!
Thanks again!
Rosh
--
View this message in context:
http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5089649
Sent from the Struts - User forum at Nabble.com
Hi,
How can I use the validator plugin to validate a property with a compound
rule such as the property must be both
1) 9 digits long
2) contains an uppercase letter
3) contains a symbol
I know how to do each individually, but how to make it validate where all 3
have to be true for success?
:Struts Validator, multiple checks on single property
Hi,
How can I use the validator plugin to validate a property with a compound
rule such as the property must be both
1) 9 digits long
2) contains an uppercase letter
3) contains a symbol
I know how to do each individually, but how to make
validate method in
Action class, execute method.
Thanks
Rosh
--
View this message in context:
http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5073203
Sent from the Struts - User forum at Nabble.com
On 6/27/06, mosho [EMAIL PROTECTED] wrote:
If I call validate method manually, can I still use validator framework and
use the input attribute in the config file to display the errors?
I need to validate only if form is submitted by clicking on a button.
If, yes can you show me with an example
would emphasize the point for you. :)
Regards,
David
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 4:27 PM
To: Struts Users Mailing List
Subject: Re: Question about Struts validator
On 6/27/06, mosho [EMAIL PROTECTED] wrote:
If I call validate
=selState.do method=POST onsubmit=return
validateSelStateForm(this);
.
.
html:hidden property=isSubmitted value=yes /
/table
html:javascript formName=selStateForm /
/html:form
--
View this message in context:
http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5074217
Sent
method=POST onsubmit=return
validateSelStateForm(this);
.
.
html:hidden property=isSubmitted value=yes /
/table
html:javascript formName=selStateForm /
/html:form
--
View this message in context:
http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5074256
Sent from
On 6/27/06, mosho [EMAIL PROTECTED] wrote:
Thanks David and Wendy for your help but it doesn't seem to work.
I added manually validate in my execute method. It still validates if I
directly enter the url.
...
--Struts config part--
action path=/selState
=return
validateSelStateForm(this);
.
.
html:hidden property=isSubmitted value=yes /
/table
html:javascript formName=selStateForm /
/html:form
--
View this message in context:
http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a507421
7
Sent from the Struts - User forum
for existed validation rule should help.
Regards.
Tinh
Jeremy Nix wrote:
How can I use the Struts Validator to enforce the above rule? Neither
of the fields are required, but if both are given, they must adhere to
the given rule.
Thanks for any help,
_
Jeremy Nix
:
Hi there,
You can write a custom validator in Struts to do that, it's rather easy,
both client-side and server-side. Open the jar of commons-validator to
see some script for existed validation rule should help.
Regards.
Tinh
Jeremy Nix wrote:
How can I use the Struts Validator to enforce
-Original Message-
From: Jakub Milkiewicz [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 22, 2006 4:01 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator: form value1 form value2
Yeah validwhen can do it. anyway these antlr expressions are not very
intuitive.
If You have
The struts validator guide says you can only join 2 values with and or
or. I'm guessing that means you either have to put in a lot more
parentheses or that you can't use and or or more than once. I would
first try parenthesizing everything.
mvg,
Jasper
On 6/22/06, Jeremy Nix [EMAIL PROTECTED
On 6/22/06, The Jasper [EMAIL PROTECTED] wrote:
The struts validator guide says you can only join 2 values with and or
or. I'm guessing that means you either have to put in a lot more
parentheses or that you can't use and or or more than once. I would
first try parenthesizing everything.
Yes
, June 22, 2006 10:50 AM
To: Struts Users Mailing List
Subject: Re: Struts Validator: form value1 form value2
The struts validator guide says you can only join 2 values with and or
or. I'm guessing that means you either have to put in a lot more
parentheses or that you can't use and or or more than
How can I use the Struts Validator to enforce the above rule? Neither
of the fields are required, but if both are given, they must adhere to
the given rule.
Thanks for any help,
_
Jeremy Nix
Senior Application Developer
Southwest Financial Services, Ltd.
(513
Hi there,
You can write a custom validator in Struts to do that, it's rather easy,
both client-side and server-side. Open the jar of commons-validator to
see some script for existed validation rule should help.
Regards.
Tinh
Jeremy Nix wrote:
How can I use the Struts Validator to enforce
Victor.T. Ying wrote:
Hi,
I meet a problem using structs validator and reset button
The problem occurs when the validator find a validation error, then
reset button can not clear the input field but retain the error values.
BTW the respective form is in the session and I am using html:reset
Hi,
I meet a problem using structs validator and reset button
The problem occurs when the validator find a validation error, then reset
button can not clear the input field but retain the error values.
BTW the respective form is in the session and I am using html:reset tag.
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 client side
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
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
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
1 - 100 of 248 matches
Mail list logo