I have a LoginForm form extends ValidatorForm and I want to decide
a validaton runs only on the server or client side, (or both )
is there any way to do this_?
form name=LoginForm
field property=userno depends=required
arg0 key=caption.wusernono/
/field
/form
=caption.wusernono/
/field
/form
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi,
if you want to call th javascript validation you only have to call the
function
Hello.
I'm using the Validator framework to validate user input and I'm having some
problems.
I've configured my form validation in the correct file.
The Javascript validation works fine but when I disable javascript
validation to see the server side validation behavior, I have the error
friendly *bump*
On Sun, 21 Mar 2004 18:12:54 -0600 (CST), Craig Tataryn wrote:
Hi, I have the following definition in my validation.xml file:
formset
form name=MarketAddressForm
field
property=provStateId
Hi, I have the following definition in my validation.xml file:
formset
form name=MarketAddressForm
field
property=provStateId
indexedListProperty=address
depends=required
Is it possisble to use validwhen for date fields like comparing dates?
Brendan Richards [EMAIL PROTECTED] wrote:
I'm looking at using validwhen for a complex validation.
I've got a value that can either be ignored when another parameter is
set or is valid when it's a date.
A simple date
Kamakshya,
if you use the ValidatorActionForm instead of the ValidatorForm, then
you can do this.
Adam
On 03/18/2004 08:26 AM Prasad, Kamakshya wrote:
Hi All,
Is it possible for validation.xml to take action path attribute instead
of form name for putting javascript validation rules
: Thursday, March 18, 2004 7:19 PM
To: Struts Users Mailing List
Subject: Re: Validator: Validation based on action path and not by form
name
Kamakshya,
if you use the ValidatorActionForm instead of the ValidatorForm, then
you can do this.
Adam
On 03/18/2004 08:26 AM Prasad, Kamakshya wrote:
Hi All
:
Hi All,
Is it possible for validation.xml to take action path attribute instead
of form name for putting javascript validation rules for a page?
I am having a page with lot of buttons, each mapping to a particular
action path. I want to validate the screen elements based
path=/resolveAsset
Regards
Kamakshya
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 7:19 PM
To: Struts Users Mailing List
Subject: Re: Validator: Validation based on action path and not by form
name
Kamakshya,
if you use
I'm looking at using validwhen for a complex validation.
I've got a value that can either be ignored when another parameter is
set or is valid when it's a date.
A simple date validation would be something like this:
field property=date depends=required,date
arg0 key=myForm.date
Hi all,
i´m looking for some kind of 'logical date validation' which means that
dates like '2004-02-31' are filtered out and sent back to input page.
Has anyone ever done this before (i´m sure you have ;-)) ?
Are there any sites dealing with this problem ?
thanks for your reply
Hi All,
Is it possible for validation.xml to take action path attribute instead
of form name for putting javascript validation rules for a page?
I am having a page with lot of buttons, each mapping to a particular
action path. I want to validate the screen elements based on these
action paths
Hi All,
Is it possible for validation.xml to take action path attribute instead
of form name for putting javascript validation rules for a page?
I am having a page with lot of buttons, each mapping to a particular
action path. I want to validate the screen elements based on these
action paths
I guess if one really, really wanted to, one could perform the validation in
java using something along the lines of the SimpleDateFormat class. Though I
do see the advantage of letting the validator handle the chore for you.
Andreas
-Ursprüngliche Nachricht-
Von: Anderson, James H
-03-16 at 08:29:11 +0100, Otto, Frank wrote:
Sorry, I use struts 1.1, but commons-validaton is version 1.0.2
-Ursprüngliche Nachricht-
Von: Axel Gross [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 16. März 2004 08:22
An: Struts Users Mailing List
Betreff: Re: validation
hi!
I
On Tuesday 16 March 2004 21:03, Jignesh Patel wrote:
When ever I am using method isDate of GenericValidator I am getting
following error. Even for my date format 12-DEC-2004 I am getting same
exception. I coudn't able to figure out what is the problem.
-Jignesh
Hi People,
I'm pulling my hair out trying to get form validation to work through the
validator, any help will be much appreciated. In this example I'm trying to
validate a single field (year of type int), should be pretty easy, one
might think, but alas, I'm stuck and I can't get it to work. I'm
Hi Nina,
you had to set validation=true in your action definition (struts-config.xml).
Regards,
Frank
-Ursprungliche Nachricht-
Von: Nina Bertilsdotter [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. Marz 2004 11:09
An: 'Struts Users Mailing List'
Betreff: Form Validation
Hi People
Thank you, Frank, I was indeed missing the validation='true' but that
didn't seem to fix my problem... must be something else; I guess I've got to
keep digging.
Nina
-Ursprungligt meddelande-
Från: Otto, Frank [mailto:[EMAIL PROTECTED]
Skickat: den 15 mars 2004 11:13
Till: 'Struts
something to do with the DTD specified in the TLD as
an http:... and having only intermittent Internet connectivity. The
need is to find away around this issue while still using xml
validation and not modifying the TLD's from the downloaded distribution.
Are you using xerces 2.6.1
Try putting max arg, because i think range validation must be supplied
with min and max (range) value.
arg1 name=intRange key=${var:min}
resource=false/
arg2 name=intRange key=${var:max}
resource=false/
var
var
: RE: Form Validation
Try putting max arg, because i think range validation must be supplied
with min and max (range) value.
arg1 name=intRange key=${var:min}
resource=false/
arg2 name=intRange key=${var:max}
resource=false/
var
Does your form class extend the ValidatorForm?
-Ursprüngliche Nachricht-
Von: Nina Bertilsdotter [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. März 2004 11:39
An: 'Struts Users Mailing List'
Betreff: SV: Form Validation
Thanks Budi, but that didn't seem to do the trick either. When
No, it extends ValidatorActionForm.
-Ursprungligt meddelande-
Från: Otto, Frank [mailto:[EMAIL PROTECTED]
Skickat: den 15 mars 2004 11:41
Till: 'Struts Users Mailing List'
Ämne: AW: Form Validation
Does your form class extend the ValidatorForm?
-Ursprüngliche Nachricht-
Von
Sorry, yes, it does extend ValidatorForm : )
-Ursprungligt meddelande-
Från: Otto, Frank [mailto:[EMAIL PROTECTED]
Skickat: den 15 mars 2004 11:41
Till: 'Struts Users Mailing List'
Ämne: AW: Form Validation
Does your form class extend the ValidatorForm?
-Ursprüngliche Nachricht
: )
-Ursprungligt meddelande-
Från: Otto, Frank [mailto:[EMAIL PROTECTED]
Skickat: den 15 mars 2004 11:41
Till: 'Struts Users Mailing List'
Ämne: AW: Form Validation
Does your form class extend the ValidatorForm?
-Ursprüngliche Nachricht-
Von: Nina Bertilsdotter [mailto:[EMAIL PROTECTED
I use ValidatorForm, but I think it's not the solution.
-Ursprüngliche Nachricht-
Von: Nina Bertilsdotter [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. März 2004 11:42
An: 'Struts Users Mailing List'
Betreff: SV: Form Validation
No, it extends ValidatorActionForm.
-Ursprungligt
, 15. März 2004 11:42
An: 'Struts Users Mailing List'
Betreff: SV: Form Validation
No, it extends ValidatorActionForm.
-Ursprungligt meddelande-
Från: Otto, Frank [mailto:[EMAIL PROTECTED]
Skickat: den 15 mars 2004 11:41
Till: 'Struts Users Mailing List'
Ämne: AW: Form Validation
Yeah, I've tried both. I use my form bean across several actions, that's
why I tie the validation to the action instead of the form bean.
-Ursprungligt meddelande-
Från: Otto, Frank [mailto:[EMAIL PROTECTED]
Skickat: den 15 mars 2004 11:54
Till: 'Struts Users Mailing List'
Ämne: AW
Validation
Sorry, yes, it does extend ValidatorForm : )
-Ursprungligt meddelande-
Från: Otto, Frank [mailto:[EMAIL PROTECTED]
Skickat: den 15 mars 2004 11:41
Till: 'Struts Users Mailing List'
Ämne: AW: Form Validation
Does your form class extend the ValidatorForm?
-Ursprüngliche
Check the Bugzilla. I believe it works in the html:errors tag, but you
won't get a javascript popup.
If memory serves, there's a security concern about using minlength in
password fields -- basically the logic goes something like, Do you really
want to be providing a front end validation
I'm not sure I understand what you mean
-Ursprungligt meddelande-
Från: Jignesh Patel [mailto:[EMAIL PROTECTED]
Skickat: den 15 mars 2004 12:00
Till: Struts Users Mailing List; Otto, Frank
Ämne: Re: AW: Form Validation
R u passing input value in struts-config.
If implement as per
[mailto:[EMAIL PROTECTED]
Skickat: den 15 mars 2004 12:00
Till: Struts Users Mailing List; Otto, Frank
Ämne: Re: AW: Form Validation
R u passing input value in struts-config.
If implement as per mail say it has to work.
On Monday 15 March 2004 16:23, Otto, Frank wrote:
I use ValidatorForm
Hi,
is there any possibility to use another resource bundle in validaton.xml? Or can I set
somewhere which resources validation should use?
Regards,
Frank
..
Shobhana
-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 6:08 PM
To: Struts-User (E-Mail)
Subject: validation
Hi,
is there any possibility to use another resource bundle in validaton.xml? Or
can I set somewhere which resources validation should
Ok then what is the solution,
you mean to say I will handle through back end only.
Also in validation-rule.xml what I need to modify.
-Jignesh
On Monday 15 March 2004 16:32, Joe Hertz wrote:
Check the Bugzilla. I believe it works in the html:errors tag, but you
won't get a javascript popup
end validation that tells a cracker how long his
randomly guessed password attempts must be.
What should be the problem with this?
You are only telling him, how long they must be AT LEAST. Nothing about
how long the can be at most.
If you would say, it can be dangerous to expose the maxlength
the registration form) to no security
consequences.
-Max
- Original Message -
From: Christoph Kutzinski [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, March 15, 2004 5:06 AM
Subject: Re: SV: Form Validation
Joe Hertz wrote:
Check the Bugzilla. I believe
Ok Christophe,
Guide me what part of validation-rule.xml, I will modify to make it validate
clientside.
Jignesh Patel
Bang Software Technologies Pvt Ltd
[EMAIL PROTECTED]
(O) 022 28304761 Ext. 17
022- 28343742 Ext. 17
Mailing List [EMAIL PROTECTED]
Sent: Monday, March 15, 2004 5:06 AM
Subject: Re: SV: Form Validation
Joe Hertz wrote:
Check the Bugzilla. I believe it works in the html:errors tag, but you
won't get a javascript popup.
If memory serves, there's a security concern about using minlength in
password
-Ursprungliche Nachricht-
Von: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. Marz 2004 14:48
An: Struts Users Mailing List
Betreff: Re: SV: Form Validation
Max Cooper wrote:
If the hacker thinks that 7 character passwords may be allowed, they might
waste a considerable amount
Can anybody give me example code to validate date towards server side?
-Jignesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
/field
...
/form
/formset
-Original Message-
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 2:04 PM
To: Struts Users Mailing List
Subject: server side date validation
Can anybody give me example code to validate date towards server side
Thanks for your answer, but it doesn't function.
I use struts-validation 1.0.2. Perhaps is this the problem? I don't find a newer
version on jakarte site. With nightly build it didn't validate my form.
The same proplem I have with struts-config.xml. If I use bundle=alternate in my
action
hi!
I don't if you problem is related to your version,
do you really need struts 1.0?
struts 1.1 you'll find under:
http://jakarta.apache.org/site/binindex.cgi
On 2004-03-16 at 07:50:22 +0100, Otto, Frank wrote:
Thanks for your answer, but it doesn't function.
I use struts-validation 1.0.2
Sorry, I use struts 1.1, but commons-validaton is version 1.0.2
-Ursprüngliche Nachricht-
Von: Axel Gross [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 16. März 2004 08:22
An: Struts Users Mailing List
Betreff: Re: validation
hi!
I don't if you problem is related to your version,
do you
Dear Friends,
I have implemented multibox, everything is working fine.
But I would like to validate the checkboxes, my purpose is atleast one
checkbox will be selected from the user while submitting, if not message
will be pop up.
I am implementing javascript(client side) validation
:... and having only intermittent Internet connectivity. The need
is to find away around this issue while still using xml validation and
not modifying the TLD's from the downloaded distribution.
Thanks
-
To unsubscribe, e-mail: [EMAIL
specified in the TLD as an
http:... and having only intermittent Internet connectivity. The need
is to find away around this issue while still using xml validation and
not modifying the TLD's from the downloaded distribution.
Are you using xerces 2.6.1?
--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
. The
need is to find away around this issue while still using xml
validation and not modifying the TLD's from the downloaded distribution.
Are you using xerces 2.6.1?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
-rules.xml file to see if the required
method actually gets called. BTW, do you have javascript validation working for other
type of form fields?
Saul
- Original Message -
From: Jignesh Patel
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED
-rules.xml file to see if the required method
actually gets called. BTW, do you have javascript validation working for
other type of form fields?
Saul
- Original Message -
From: Jignesh Patel
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED
not be getting set
correctly, but this problem only manifests on a few of our pages.
The validation failing is as I suspected just the symptom of the problem -
either the parameters aren't making it to the server, or the bean isn't
getting populated.
This ringing any bells out there?
-Original
On Friday 12 March 2004 19:43, you wrote:
Greetings,
I was browsing through the Struts mail lists and found
the thread that you started. I am having the exact same
problem. Do you know of a work around or fix for this
problem?
TIA,
Craig
user ignorance mate. i filed a bug,
On Friday 12 March 2004 20:27, you wrote:
Thanks for the reply. Nice to know I'm not alone. I found
a suggested work around that involved using JavaScript to
alter the HTML form's action attribute by appending the
the values you want to remember as parameters. See
Hi,
I am using Struts validator in my application. I have defined a properties file that
has all the error messages for my application. I have mapped this file in my
struts-config.xml file.
I have created a new rule specific for my application. I have mapped this in my
validation-rules.xml
So in your validation-rules.xml you have something like...
validator name=myValidatorRule
classname=myPackage.MyValidator
method=validateMyRule
methodParams=java.lang.Object,
org.apache.commons.validator.ValidatorAction
true or false
correctly, but the validator seems to omit the result and always thinks the
value is OK. By the way, I also have a javascript tag which I've omitted here
and the client validation works OK, but the server validation refuses to work,
despite of the result returned by validateNif
Sorry people, I was investigating that problem for no less than 2 hours and one
minute after I sent the message I saw that I wasn't adding errors (but shoulnd't
the validator deny the validation if the method is returning false, anyway?). I
solved it adding this line to the validateNif method
: Problems with custom validation
Hi! I've created my own pluggable validator but it's not working. These
are the
steps I've followed:
First: I added this to validator-rules.xml
validator name=nif
classname=com.pruebas.MTValidations
method=validateNif
When testing our deployed app through a proxy server (clients - Proxy with
SSL, then through firewall to true server), we've run into a problem where
in some pages Validation fails for *some* clients. It looks almost as if
all the form fields are blanked on submission.
The confusing part
on the mailinglist archive that this is a known issue
with struts 1.1. The advice was to upgrade using a nightly build.
I tried to do so, but unfortunatly this does not work with the Tiles
framework (which I'm also using in my application).
Can somebody tell me how to get this validation work
Hi, here is the scenario ...
i've got 4 different validation depending on 4
different javascript tab, i want to do a validation
depending on the tab that you are localized, ie, i
want to validate one field if the user is in the tab
1, other if the user are in tab 2 and so on.
I define
Is there a Date validation option for a date in a format from a
subject? (DDMMM e.g. 02JAN2003)
Thanks,
Bojan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm letting the user of my form build up entry fields as they need them - ie :
logic:iterate id=trade name=requestForm property=tradeColl
indexId=ctr
html-el:text property=tradeQuantity[${trade}] /
/logic:iterate
giving form fields ...
input type=text name=tradeQuantity[0]
input type=text
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 08, 2004 1:54 PM
Subject: Struts Form Validation
I'm letting the user of my form build up entry fields as they need them -
ie :
logic:iterate id=trade name=requestForm property=tradeColl
indexId=ctr
html-el:text property=tradeQuantity[${trade
I'm looking at providing URL validation on a page which saves links for
users.
I put together the latest build of commons-validator (1.1.2) and struts
(1.2) to see what the URL validation is like.
The class for server-side validation is in place, but the javascript
doesn't exist.
It works
I'm using the same [dynamic] ActionForm on all my pages. Which was just
*fine* until I wanted to use validation. :(
I need separate validation per tab which is essentially a forward
tag in struts-config.
I have a Struts-Menu tab that has fields for fund, function and cost
center, which
Are you using DispatchAction or LookupDispatchAction?
robert
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 1:24 PM
To: Struts Users Mailing List
Subject: Validation help for same Form, multiple pages/tabs
I'm using the same
Robert wrote:
Are you using DispatchAction or LookupDispatchAction?
LookupDispatchAction. And even worse, it's a cookie that controls which
tab to show, not always a request parameter. I think I may have
painted myself into a corner...
-Wendy Smoak
this HTTP request,
* and return an codeActionErrors/code object that encapsulates any
* validation errors that have been found. If no errors are found, return
* codenull/code or an codeActionErrors/code object with no
* recorded error messages.
*
* @param mapping The mapping
actions.
It's working great so far.
Reddy Pingili
-Original Message-
From: Wendy Smoak [SMTP:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 2:00 PM
To: Struts Users Mailing List
Subject: RE: Validation help for same Form, multiple pages/tabs
Robert wrote:
Are you using
: RE: Validation help for same Form, multiple pages/tabs
Robert wrote:
Are you using DispatchAction or LookupDispatchAction?
LookupDispatchAction. And even worse, it's a cookie that controls which
tab to show, not always a request parameter. I think I may have
painted myself into a corner
Wendy,
I'm not getting something (and it's me being dense I'm sure).
It sounds to me like you've found yourself in a position where you are
pushing the limits of the validation framework.
What would be the problem with biting the bullet and implementing validate()
in your ActionForm
-
Hope this helps.
Reddy Pingili
-Original Message-
From: as as [SMTP:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 2:49 PM
To: Struts Users Mailing List
Subject: RE: Validation help for same Form, multiple pages/tabs
From: Joe Hertz [mailto:[EMAIL PROTECTED]
What would be the problem with biting the bullet and
implementing validate()
in your ActionForm and calling super.validate(mapping,
request) if it was
appropriate to hit the xml file for the validation rules?
I already do that, to step around
.
Niall
- Original Message -
From: Wendy Smoak [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 05, 2004 6:23 PM
Subject: Validation help for same Form, multiple pages/tabs
I'm using the same [dynamic] ActionForm on all my pages. Which was just
*fine
Hi,
does anybody have idea, how can I dynamicaly change, which field from form will be
validated against validation defined in validation.xml?
Which field should be validated will be determined on data from DB or other source
Regards
miro
Hi,
I have the following problem; the page validation of the ValidatiorForm
requires that the pages are ordered (e.g. a wizard-initalization) and
performs validation for all pages = current page. If a page is
undefined or 0, validation for all pages is performed.
In my application I have
action form to validate user's data. Any input validation
would be taken care of by each page's ActionForm.
ActionForward execute(..) throws Exception
{
TransactionSession tx = getTransaction(httpSession);
tx.setQuantity(new Integer(form.getQuantity()));
tx.commit()
return mapping.findForward
to exception handlers.
I referred to it as conflict-resolution where your goal is a successful
commit of the transaction, but for any conflict, you resolve with a UI
page and separate action form to validate user's data. Any input validation
would be taken care of by each page's ActionForm.
ActionForward
It Works great with ValidatorForm but with ValidatorActionForm I can't
make it work, this is my code:
Struts-config.xml
..
action path=/saveProyectoVersiones
type=org.itechnology.actions.SaveProyectoVersionesAction
that if validation fails in the
ReceiveLIneForm bean, I should be redirected to the input page, which is
receiveLine.jsp
Is my assumption correct?
Regards]
Marco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Yes
- Original Message -
From: Marco Mistroni [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 10:51 AM
Subject: validation error in FormBean, where to redirect next?
Hi all,
Assume that I have following struts-config.xml
action
Hi,
I
do not want to validate my form when the user clicks the Cancel button.
For your information im not using _javascript_
validation [i.e my doesnt've html:_javascript_ formname=someform]
how to do this?
Subramaniam Olaganthan
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website
Have the submit button has a form property. Then when validating only valid
if submit button was hit.
e.g. if ((this.getSubmitButton() != null) (!(
this.getSubmitButton().equals({
... validation code
}
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
Don't submit the form when user clicks on cancel button. This will avoid
calling validate method off the form bean.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 11:21 AM
To: [EMAIL PROTECTED]
Subject: Validation doubt
Vinay Kumar Munikuntla
[EMAIL PROTECTED]
02/24/2004 10:00 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
'Struts Users Mailing List'
[EMAIL PROTECTED]
cc
[EMAIL PROTECTED]
Subject
RE: Validation doubt?
Don't submit the form when user clicks on cancel button
: Validation doubt?
Hi,
Thank you for the information.
on click of the cancel btn i want to show the home page. how do i do that?
Subramaniam Olaganthan
Tata Consultancy Services
Plot No. 21
Industrial Estate,, Ambattur
Chennai - 600 058,Tamil Nadu
India
Mailto: [EMAIL PROTECTED
://www.tcs.com
Angharad Stapleton
[EMAIL PROTECTED]
02/24/2004 09:57 PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
Struts Users Mailing
List [EMAIL PROTECTED]
cc
Subject
RE: Validation doubt?
Have the submit button has a form property. Then when
validating only
Use link
html:link page=/homepage.do
. Cancel ..
/html:link
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 24, 2004 11:40 AM
To: Struts Users Mailing List
Subject: RE: Validation doubt?
Hi,
Thank you
Hi,
I tried that one, but i couldnt bypass
the validation..
i've an Update page, some of the attributes
are mandatory.
onlick of the cancel btn im forwarding
it to the home page,
onclick of the cancel btn it validates
the form and gives error.
how do i bypass that one.
Note:-
Im using
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I tried that one, but i couldnt bypass the validation..
i've an Update page, some of the attributes are mandatory.
onlick of the cancel btn im forwarding it to the home page,
onclick of the cancel btn it validates the form and gives
to do what it does so that
validations are not done or put your own check in the forms validate() method so that
if the user is cancelling then don't do the validation. I guess something along the
lines of...
html:image property=org.apache.struts.taglib.html.CANCEL onclick=bCancel=true
Hi,
I have a little problem with validation. I have a form with a field
html:text that show the property de a bean in a session scope. If the
field is empty at the load of the page the validation works right, but if
the property have any value at the load the validation (required) fail
Hi,
I have three radio buttons in a form,
---
o Today
o Tomorrow
o From this date: [ ]
---
I am currently using requiredIf and date validation on the date textarea . The date
entry is only required if the correct radio button is selected and the date validation
makes sure
Hi all,
I am trying to validate a collection of objects, like:
field property=meansAddress
indexedListProperty=value.notifications
depends=mask,required
var
var-namemask/var-name
var-value^[0-9]*$/var-value
Hi all,
My question is... if my form has a collection of fields called storing
multiple email, dynamically added by javascript, how would i define it
in validation.xml in a general way, so that it can accomodate any number
of email addresses?
That is,
i probably have hidden fields created as
James,
In your validation configuration file you have not set the date pattern
variable - there are two forms of it - datePattern and datePatternStrict.
formset
form name=ActivityViewForm
field
property=starting
depends=date
arg0 key
1 - 100 of 1845 matches
Mail list logo