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
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.
property="strDelvDate" depends="beforeSysDate&q
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.getValueAsS
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
om: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, February 01, 2008 6:29 PM
To: Struts Users Mailing List
Subject: RE: Struts validator
--- "Zhang, Larry (L.)" <[EMAIL PROTECTED]> wrote:
> No, I am using struts 1.1,
Oh, wow.
Does validwhen[1] not exist in S1.1? You can alway
--- "Zhang, Larry (L.)" <[EMAIL PROTECTED]> wrote:
> No, I am using struts 1.1,
Oh, wow.
Does validwhen[1] not exist in S1.1? You can always create a custom validator
as well if you find your validation stretches what's easy to do with the
existing validation configuration possibilities. You may
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
No, I am using struts 1.1, I would like to implement the following case:
In valiation.xml:
--- "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.
D
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 su
/validation.html
-Original Message-
From: Zhang, Larry (L.) [mailto:[EMAIL PROTECTED]
Sent: 01 February 2008 14:45
To: Struts Users Mailing List
Subject: RE: Struts validator
Can some Struts guru answer the following questions?
-Original Message-
From: Zhang, Larry (L.)
Sent
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
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 validate
f 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 Val
), 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 Att
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 attac
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
c
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
mp;start=0&postdays=0&postorder=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]>
.).
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: "
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
-
From: "Mike Duffy" <[EMAIL PROTECTED]>
To:
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
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! yo
--- 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 unlik
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.
kif"!
Log files 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
;maskif"!
Log files 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#a85
if"!
Log files 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#a85
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-
mask
^\d{5}$
check
(country=='US')
but i DOESN'T!! :(
even more - w
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 at Nabble.com.
-
To unsubscribe, e-mail: [E
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 at Nabble.com.
-
To unsubscribe, e-mail: [E
--- "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
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
G'day All,
I'm trying to validate a form that contains a
org.apache.struts.upload.FormFile as a form property on a JSP. From the
struts HTML tag-lib I'm using in my JSP like this;
and I've set up the form bean like this;
whe
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
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
i
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 brow
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 js-1.6R3.jar
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
On 11/22/06, Nathan Coast <[EMAIL PROTECTED]> wrote:
Unfortunately I can't find any rhino mailing lists or docs. Any
validator or rhino experts who can point me in the right direction?
http://www.mozilla.org/rhino/doc.html
cheers
Nathan
-
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:
My validation.xml file looks like:
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:
My validation.xml file looks like:
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 valu
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 n
08/30/2006 10:05 cc
AM
Subject
Regarding Struts validator
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
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 m
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:
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
> >
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 relia
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 example,
r to the second half of my question (about any
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/V
some other committer will post soon 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
ion: 1.1.4
^^
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/Validat
1.1.4
^^
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/Vali
ut any
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 qu
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
AIL PROTECTED]>
29/06/2006 08:24 AM
Please respond to "Struts Users Mailing List"
To: "Struts Users Mailing List"
cc:
Subject:Struts Validator, multiple checks on single property
Hi,
How can I use the validator plugin to validate a prope
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? Thanks
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 Nabbl
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 t
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 sho
ActionErrors errors = sform.validate( mapping, request );
}
return mapping.findForward("success");
---JSP file---
.
.
--
View this message in context:
http://www.nabble.com/Question-about-Struts-validator-t
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--
You need to set validate="false" in the actio
alidate( mapping, request );
}
return mapping.findForward("success");
---JSP file---
.
.
--
View this message in context:
http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5074256
Sent from th
alidate( mapping, request );
}
return mapping.findForward("success");
---JSP file---
.
.
--
View this message in context:
http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5074217
Sent from th
in the past, I thought I 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 PRO
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 exampl
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.
-
To
onday, June 26, 2006 4:20 PM
To: user@struts.apache.org
Subject: Question about Struts validator
Hi All,
I want to validate a form by using struts validator, it is working fine. It
validates the form if I click submit button, and it also validates the form
if I pass it as a url
for example: http:
Hi All,
I want to validate a form by using struts validator, it is working fine. It
validates the form if I click submit button, and it also validates the form
if I pass it as a url
for example: http://111.22.80.244:8989/eNOI/test.do
I want to validate the form only if I hit submit button not by
day, 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
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 e
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 <[EM
thwest Financial Services, Ltd.
(513) 621-6699 x1158
-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 an
D]> wrote:
> 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:
>
script 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.
>
&g
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 enf
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
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 tag
1 - 100 of 271 matches
Mail list logo