Re: R: repost: validator & retrieving data

2004-02-09 Thread Michele Callegari
> Ok. So an action prepares the collection for the select. > The other one initializes the form with data from DB. > > To which one should I set the input property of the "save" action? > If I set it to the second one (which initializes the form) I will > have the same problem... should this actio

R: repost: validator & retrieving data

2004-02-09 Thread Leonardo Francalanci
> I think it's right only in simple cases > If your "prepare" means: > - Putting in the request a collection for a select (for example) > - Initializing the form with data from DB or any other source > You are doing 2 things completely different (logically) > in the same action and that's why you n

Re: repost: validator & retrieving data

2004-02-09 Thread Michele Callegari
> "If there are 2 actions, one to "prepare" the page and > one to "process" the user input, we define the input attribute > value of the "process" action mapping to be the URL of the > "prepare" action." I think it's right, I think it's right only in simple cases If your "prepare" means: -

Re: Validator Unknown host exception

2004-02-08 Thread Mark Lowe
Thanks Koh I'll give that a go. I resolved it temporally by using the 1.0 dtd. I'll give your method a go when/if i need anything from validator 1.1. Cheers again Mark On 7 Feb 2004, at 16:46, Kok Wei, Koh wrote: I was stucked in a dtd problem with commons validator. After wasting

Re: Validator Unknown host exception

2004-02-07 Thread Kok Wei, Koh
I was stucked in a dtd problem with commons validator. After wasting too much time on it, I decided to download the source from cvs ... set digester.validate(false) and rebuild the jar. You could try this if you wanna live without the dtd. Mark Lowe wrote: Anyone know how to get rid of the

Validator Unknown host exception

2004-02-07 Thread Mark Lowe
Anyone know how to get rid of the unknown host exception that the validator plugin throws when it cant connect to the internet. I've tried putting the dtd's locally, and have tried to do what previous threads say will fix this to no avail. I recall this was fixed with one of the bet

RE: repost: validator & retrieving data

2004-02-06 Thread anant.parnami
You don't need 2 actions only 3 mappings yes But action would only be 1 Single Class -Original Message- From: Leonardo Francalanci [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 3:15 PM To: Struts Users Mailing List Subject: R: repost: validator & retrieving data

Re: repost: validator & retrieving data

2004-02-06 Thread Alvaro Martinez
From: "Leonardo Francalanci" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 06, 2004 10:44 AM Subject: R: repost: validator & retrieving data > Ok, > I understand you... > Let me I think it... I found 2 so

R: repost: validator & retrieving data

2004-02-06 Thread Leonardo Francalanci
uest is a GET then it's the first time, otherwise we are coming from an validator error (ugly...) 3) Anant's solution (3 elements and 2 actions) But I don't like them :( Any other ideas? - To unsubscribe, e-mai

Re: repost: validator & retrieving data

2004-02-06 Thread Alvaro Martinez
Ok, I understand you... Let me I think it... - Original Message - From: "Leonardo Francalanci" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 06, 2004 10:21 AM Subject: R: repost: validator & retriev

R: repost: validator & retrieving data

2004-02-06 Thread Leonardo Francalanci
> When an error occur, it doesnt return to preprare action. It just back to > the page selected in the tag "input" (input="/prepare.jsp" ) > You dont need to write code like this... > > if (!comingFromAValidationError()) > form.fillfromDB(); > else > // leave form as is, with data entered by the us

Re: repost: validator & retrieving data

2004-02-06 Thread Alvaro Martinez
Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 06, 2004 9:03 AM Subject: R: repost: validator & retrieving data I'm sorry, I'll try to explain better. > > >If I used your solution in case of a validation error my list box > >would not be fi

R: repost: validator & retrieving data

2004-02-06 Thread Leonardo Francalanci
I'm sorry, I'll try to explain better. > > >If I used your solution in case of a validation error my list box > >would not be filled. > > When you have a validation error it returns to the page where you > filled the > list box and these values are the same that the user introduced. The listbo

R: repost: validator & retrieving data

2004-02-06 Thread Leonardo Francalanci
> in other words, your setup action will be called only when you enter > the page for the first time Suppose I have: 1) A listbox with values retrieved from db 2) a form with values retrieved from db that the user can change. Now, if I don't call the setup action when there's a validation error,

RE: repost: validator & retrieving data

2004-02-05 Thread anant.parnami
You would have to hard code the values in your action class -Original Message- From: Leonardo Francalanci [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 8:14 PM To: Struts Users Mailing List Subject: R: repost: validator & retrieving data It seems a good solution,

Fw: repost: validator & retrieving data

2004-02-05 Thread Alvaro Martinez
ET". >Did I make myself clearer? >Thank you > -Messaggio originale- > Da: Alvaro Martinez [mailto:[EMAIL PROTECTED] > Inviato: venerdì 5 dicembre 2003 16.56 > A: Struts Users Mailing List > Oggetto: Re: repost: validator & retrieving data > > > I don&

Re: R: repost: validator & retrieving data

2004-02-05 Thread Hubert Rabago
the db. > > That's way I need to know, in the prepare action, if I'm coming > from a validation error or a simple "GET". > Did I make myself clearer? > > Thank you > > > -Messaggio originale- > > Da: Alvaro Martinez [mailto:[EMAIL

R: repost: validator & retrieving data

2004-02-05 Thread Leonardo Francalanci
; -Messaggio originale- > Da: Alvaro Martinez [mailto:[EMAIL PROTECTED] > Inviato: venerdì 5 dicembre 2003 16.56 > A: Struts Users Mailing List > Oggetto: Re: repost: validator & retrieving data > > > I don't know if the proposal of Anant works. I know my prop

RE: repost: validator & retrieving data

2004-02-05 Thread Marco Mistroni
: Leonardo Francalanci [mailto:[EMAIL PROTECTED] Sent: 05 February 2004 14:44 To: Struts Users Mailing List Subject: R: repost: validator & retrieving data It seems a good solution, but compared to the hidden field: 1) I have to set up an just to show the error. With the hidden field

Fw: repost: validator & retrieving data

2004-02-05 Thread Alvaro Martinez
;[EMAIL PROTECTED]> Sent: Thursday, February 05, 2004 3:52 PM Subject: RE: repost: validator & retrieving data Sorry there was a typo in last one Hi, You don't need to have two actions but you can have different mappings for the same action class For e.g. Now in the action cla

Re: repost: validator & retrieving data

2004-02-05 Thread Alvaro Martinez
;[EMAIL PROTECTED]> Sent: Thursday, February 05, 2004 3:52 PM Subject: RE: repost: validator & retrieving data Sorry there was a typo in last one Hi, You don't need to have two actions but you can have different mappings for the same action class For e.g. Now in the action cla

R: repost: validator & retrieving data

2004-02-05 Thread Leonardo Francalanci
giovedi 5 febbraio 2004 15.53 > A: [EMAIL PROTECTED] > Oggetto: RE: repost: validator & retrieving data > > > > Sorry there was a typo in last one > > Hi, > > You don't need to have two actions but you can have different mappings > for the same actio

RE: repost: validator & retrieving data

2004-02-05 Thread anant.parnami
EMAIL PROTECTED] Subject: repost: validator & retrieving data I'm sorry but nobody answered my question... Could somebody help me? I'm using validator for my pages. Searching the mailing list I found that I should use 2 actions: "If there are 2 actions, one to "prepare"

RE: repost: validator & retrieving data

2004-02-05 Thread anant.parnami
ocess data from backend } Else if(mapping.getPath().equals(abcProcess)){ Populate data from form bean itself } Regards Anant -Original Message- From: Leonardo Francalanci [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 5:44 PM To: [EMAIL PROTECTED] Subject: repost: vali

repost: validator & retrieving data

2004-02-05 Thread Leonardo Francalanci
I'm sorry but nobody answered my question... Could somebody help me? I'm using validator for my pages. Searching the mailing list I found that I should use 2 actions: "If there are 2 actions, one to "prepare" the page and one to "process" the user input, we

RE: Using Validator To Avoid Database Trip

2004-02-04 Thread Richard Yee
sible, as the size of the (Transfer Object) TO/TO Collection that contains the data elements may be pretty large ?? As far as Hibernate caching goes, we are already developing a custom caching layer for our application. I was wondering if there was any way in which we could use the Validator fram

RE: Using Validator To Avoid Database Trip

2004-02-03 Thread Duggal, Sanjay
layer for our application. I was wondering if there was any way in which we could use the Validator framework for this purpose. Because in our application, we are using the Struts Validation f/w on the web tier & we have a custom validator for the business/EJB tier as well, which uses the Apach

Performing validation using Validator

2004-02-03 Thread Ramachandran
. For tha is ther any validator. If sol please any body mail me how to use that one. If any one knows, please mail your queries regarding this. Thanx, Ram - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Validator-How to put the fields value in the resulting error message?

2004-02-03 Thread hgosper
I think you have to do this in code in your form's validate method. errors.add(new ActionError("errors.email"), emailAddress); I could be wrong but this is the way that I do it anyway... I'm not sure if the struts validator can do this using an expression like you have

Validator-How to put the fields value in the resulting error message?

2004-02-03 Thread David Erickson
Hey all, still new with the validator.. I'm using the emailAddress validator and I just want it to put the value of the field in the error message if its not valid.. ie: blah!blah.com is not a valid email address. however I can't seem to make that happen.. here's

RE: Using Validator To Avoid Database Trip

2004-02-03 Thread Dhaliwal, Pritpal (HQP)
, February 03, 2004 7:12 AM To: 'Struts Users Mailing List' Subject: RE: Using Validator To Avoid Database Trip > I have an "Edit Existing Record" screen. When the user clicks > the Save button on this screen, I'm supposed to store the > changed data in th

Performing validation using Validator

2004-02-03 Thread Ramachandran
Hi all, How can i perform validation using validator.xml. For example i want to check the unique name in Add Employee jsp, how can i use the validator.xml If any one knows, please mail your queries regarding this. Thanx, Ram

RE: Using Validator To Avoid Database Trip

2004-02-03 Thread Slattery, Tim - BLS
ve button. In this case, I want to avoid the > database trip. Can I achieve this using the Validator > framework? I can't see how Validator would help. I handle this by including a hidden element in the page which contains the original value of the data. When the form is submitted, I ca

Using Validator To Avoid Database Trip

2004-02-03 Thread Duggal, Sanjay
I want to avoid the database trip. Can I achieve this using the Validator framework? Thanks. Sanjay This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It i

floatRange arguments in validator?

2004-02-02 Thread Nathan Maves
The floatRange validation is working fine but the error message show that my vars are null? This is surprising since the validation is occurring fine using the specified vars. Nathan min0 max100 - To unsubscribe, e-mail:

Re: small trouble with the validator

2004-02-02 Thread Hubert Rabago
From http://jakarta.apache.org/struts/userGuide/building_controller.html#dyna_action_form_classes : "And, of course, while the DynaActionForm may support various binary types, properties used with the html:text tag should still be String properties." Yes, use java.lang.String then try your form a

Re: small trouble with the validator

2004-02-02 Thread Nathan Maves
So are you saying that it is because I declared it as a java.lang.Float? When I switch it to a java.lang.String will it works! So the real question is how to validate a float to be required? Nathan On Feb 2, 2004, at 1:32 PM, Larry Meadors wrote: It is because beanutils converts anything that is

Re: small trouble with the validator

2004-02-02 Thread Larry Meadors
It is because beanutils converts anything that is invalid to a 0, and therefore, it is present, meeting the requirement for the required dependancy. Stupid, huh? Larry >>> [EMAIL PROTECTED] 02/02/04 1:25 PM >>> All of my other forms validate perfect. This form will only validate the name field

small trouble with the validator

2004-02-02 Thread Nathan Maves
All of my other forms validate perfect. This form will only validate the name field and not the two breakpoint fields. I have tried everything Any ideas? maxlength150 maxlength1300 - To

RE: Validwhen validator question

2004-02-02 Thread Andriy Ruzhevych
Hi. I have the next question related with validwhen validator. I have the validwhen validator like test ((*this* != null) or ((actionName == "Action") and (*this* == null))) This works fine, but when I replace the "Action" string literal with unicode characters (

Validwhen validator question

2004-02-02 Thread Andriy Ruzhevych
Hi. Can I use global constants from constant element in validwhen validator? If I can, how can I do that? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: bug in latest validator-rules.xml ?

2004-01-31 Thread Joe Germuska
At 11:54 AM -0600 1/30/04, Matt Bathje wrote: Joe - this is working fine for me with the 1/13/2004 nightly build. I have tried with commons-validator-1.1.1.jar and with whatever version the commons-validator.jar in the 1/13 nightly build of struts is. Validation worked right out of the box - all I

Re: Validator Framework - problem using Mask

2004-01-30 Thread Pani R
PROTECTED]> >To: "Struts Users List" <[EMAIL PROTECTED]> >Sent: Friday, January 30, 2004 11:49 AM >Subject: Validator Framework - problem using Mask > > >> Hi: >> >> I get the following exception while validating the mask part of a field. >> &g

Re: Validator Framework - problem using Mask

2004-01-30 Thread Matt Bathje
exist, download the version from the apache website and put it into WEB-INF/lib and see if that fixes the problem. Matt Bathje - Original Message - From: "Pani R" <[EMAIL PROTECTED]> To: "Struts Users List" <[EMAIL PROTECTED]> Sent: Friday, January

Validator Framework - problem using Mask

2004-01-30 Thread Pani R
Hi: I get the following exception while validating the mask part of a field. Exception: [ERROR] Validator - -reflection: null java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/apache/oro/text/perl/Perl5Util at

Re: bug in latest validator-rules.xml ?

2004-01-30 Thread Matt Bathje
Joe - this is working fine for me with the 1/13/2004 nightly build. I have tried with commons-validator-1.1.1.jar and with whatever version the commons-validator.jar in the 1/13 nightly build of struts is. Validation worked right out of the box - all I did to "install" the nightly buil

bug in latest validator-rules.xml ?

2004-01-30 Thread Joe Germuska
Between versions 1.47 and 1.48 of conf/share/validator-rules.xml, the "javascript" block for validateRequired was removed. Now when I drop that file into my webapp, my form which only has required validations comes up with this as the entirety of its JavaScript block: </tt&

validator & retrieving data

2004-01-30 Thread Leonardo Francalanci
I'm using validator for my pages. Searching the mailing list I found that I should use 2 actions: "If there are 2 actions, one to "prepare" the page and one to "process" the user input, we define the input attribute value of the "process" action mapping to

RE: Disable validator framework

2004-01-27 Thread Patrick Cheng
ld I set validate to false and call validate within my action class? Rgds, Patrick. -Original Message- From: Andriy Ruzhevych [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 7:28 PM To: Struts Users Mailing List Subject: RE: Disable validator framework the first you must add the pa

RE: Validator question

2004-01-26 Thread Markus
> Thanks Markus > Did you write your custom validator? > I always use DynaValidatorForm and don't want to write custom java beans > for > this. Hi, No, for this solution you can't use DynaForms. You have to write an ActionFor

RE: Validator question

2004-01-26 Thread Andriy Ruzhevych
Thanks Markus Did you write your custom validator? I always use DynaValidatorForm and don't want to write custom java beans for this. -Original Message- From: Markus [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 4:04 PM To: Struts Users Mailing List Subject: Re: Vali

Re: Validator question

2004-01-26 Thread Markus
> Hi. > > I have a "sum" field that can have different values (money or percent), > depending on the other field "isPercent". > I want to validate money and percent type through the mask validator. I am > not sure , whether I can set two mask validators with

Validator question

2004-01-26 Thread Andriy Ruzhevych
Hi. I have a "sum" field that can have different values (money or percent), depending on the other field "isPercent". I want to validate money and percent type through the mask validator. I am not sure , whether I can set two mask validators with different masks on the same fi

validator with modules

2004-01-25 Thread Mohan Radhakrishnan
Hi I am using modules . Can I have the following in my respective struts config files ? It seems that something is overwritten and I don't see errors properly. Thanks Mohan - To unsubscribe, e-mail: [EM

Re: Validator

2004-01-24 Thread Joe Hertz
uts Users Mailing List' > Subject: RE: Validator > > > I see this. > > ???en_US.errors.required??? ???en_US.errors.required??? > ???en_US.errors.required??? ???en_US.errors.required??? > > I matched bean:message with the JSP and the resource > properties

RE: Validator

2004-01-24 Thread Mohan Radhakrishnan
I am using modules and I have two such declarations, one for each module. Both modules have the same problem. Mohan -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Saturday, January 24, 2004 4:43 PM To: [EMAIL PROTECTED] Subject: RE: Validator

RE: Validator

2004-01-24 Thread Mohan Radhakrishnan
PROTECTED] Sent: Saturday, January 24, 2004 4:43 PM To: [EMAIL PROTECTED] Subject: RE: Validator Just out of curiosity, what happens with if you make this change in your message resources declaration, assuming you haven't already. -Original Message- > From: Mohan Radhakrishnan

RE: Validator

2004-01-24 Thread Joe Hertz
Users Mailing List\' > Subject: RE: Validator > > > Yes. That is what I am assuming. > > I tried too > > The other methods are blocked. I can see that. The messages > are not appearing though. > > Mohan > -Original Message- > From: Joe Hertz

RE: Validator

2004-01-24 Thread Mohan Radhakrishnan
] Subject: Re: Validator I assume your goal is to say "If this operation, DON'T use the rules defined in rule_validation.xml"? What's in your rule_validation.xml and relevant JSP? Is that your whole validate() method??? Just based on instinct. I suspect the problem may be in

Re: Validator

2004-01-24 Thread Joe Hertz
what errors you are returning. What happens when you change the jsp to have the tag instead? -Joe > -Original Message- > From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 24, 2004 2:08 AM > To: 'Struts Users Mailing List' > Subject: Valida

Validator

2004-01-24 Thread Mohan Radhakrishnan
Hi I have a problem with the validator framework. The procedure I am following is 1. I have code like this in the form public ActionErrors validate(ActionMapping mapping, HttpServletRequest request){ System.out.println( "The requested operati

RE: [Validator] Custom Validator Fails to Return to JSP

2004-01-23 Thread Jerry Jalenak
To: '[EMAIL PROTECTED]' > Subject: [Validator] Custom Validator Fails to Return to JSP > > > I've used the 'comparing two fields' example from Validator > for a while now > without any problem. When I brought down the 20040106 > nightly build,

[Validator] Custom Validator Fails to Return to JSP

2004-01-22 Thread Jerry Jalenak
I've used the 'comparing two fields' example from Validator for a while now without any problem. When I brought down the 20040106 nightly build, I noticed that several methods had been deprecated, so I dutifully changed things over: From: public static boolean compareP

Config "validator plug-in" to Save ActionMessages in session scope ?

2004-01-21 Thread dutrieux
Hello, I see in the Nightly Build release note that's we can now save the ActionMessages in the session scope (http://jakarta.apache.org/struts/userGuide/release-notes.html). And my question is to know if it's possible to change the parameter of "validator plug-in" to sav

Config "validator plug-in" to Save ActionMessages in session scope ?

2004-01-20 Thread dutrieux
Hello, I see in the Nightly Build release note that's we can now save the ActionMessages in the session scope (http://jakarta.apache.org/struts/userGuide/release-notes.html). And my question is to know if it's possible to config the "validator plug-in" to save the ActionMes

Re: (resend) Validator JavaScript displaying? Mozilla bug?

2004-01-16 Thread russo
like the script is commented properly. > I changed: > > and it rendered properly in Firebird .7 > > Did you add "Begin" or did Validator? > > Curious, because I'm a Struts newbie and plan on using Validator soon. > > Regards, > -Ryan > > > Hi fo

Re: (resend) Validator JavaScript displaying? Mozilla bug?

2004-01-16 Thread russo
Doesn't look like the script is commented properly. I changed:

(resend) Validator JavaScript displaying? Mozilla bug?

2004-01-16 Thread Brad Plies
Hi folks, I am having a problem with Mozilla, Netscape, and FireBird browsers on pages that use the validator JavaScript. It seems that the browsers "choke" on all that script and end up displaying the script instead of the page content ( even though the script is guarded by the HTM

RE: Disable validator framework

2004-01-16 Thread Richard Hightower
Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 11:34 PM To: 'Struts Users Mailing List' Subject: Disable validator framework Hi We are using dispatch action and validator framework. There is a popup action associated with one button on the form. When the user

RE: Disable validator framework

2004-01-16 Thread Andriy Ruzhevych
calculationType and isDecret validate. when page=n (fields from page attr page=0..n validate) -Original Message- From: Patrick Cheng [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 12:49 PM To: Struts Users Mailing List Subject: RE: Disable validator framework If you want to do

RE: Disable validator framework

2004-01-16 Thread Patrick Cheng
ge 1, which fields are in page 2,3,4..., in order to do the validation for the current+previous pages only? Rgds, Patrick. -Original Message- From: Andriy Ruzhevych [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 4:50 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subje

RE: Disable validator framework

2004-01-16 Thread Hunt, Steve
you could rewrite it like this Task -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: 16 January 2004 09:28 To: 'Struts Users Mailing List' Subject: RE: Disable validator framework Hi, What if it is not a 'submit' ? Mine is like

RE: Disable validator framework

2004-01-16 Thread Mohan Radhakrishnan
Hi, What if it is not a 'submit' ? Mine is like this Thanks Mohan -Original Message- From: Hunt, Steve [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 2:05 PM To: 'Struts Users Mailing List' Subject: RE: Disable validator framework Mohan, If you use the

RE: Disable validator framework

2004-01-16 Thread Andriy Ruzhevych
that a page is not skipped" -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 8:34 AM To: 'Struts Users Mailing List' Subject: Disable validator framework Hi We are using dispatch action and validator framework. Ther

RE: Disable validator framework

2004-01-16 Thread rahul.chaudhary
] Sent: Friday, January 16, 2004 2:05 PM To: 'Struts Users Mailing List' Subject: RE: Disable validator framework Mohan, If you use the html:cancel type of button rather than html:submit the validation framework is not called. If you are using client side javascript validation through the fra

RE: Disable validator framework

2004-01-16 Thread Hunt, Steve
-Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: 16 January 2004 06:34 To: 'Struts Users Mailing List' Subject: Disable validator framework Hi We are using dispatch action and validator framework. There is a popup action associated with one button o

Disable validator framework

2004-01-15 Thread Mohan Radhakrishnan
Hi We are using dispatch action and validator framework. There is a popup action associated with one button on the form. When the user clicks on this a particular method in the action is called but I don't want to validate the ActionForm because the main form is not submitted. There are

RE: Struts Validator overriding cache-control?

2004-01-15 Thread Brown, James
ailto:[EMAIL PROTECTED] > > Sent: 2004 January 14 21.57 > > To: Struts Users Mailing List > > Subject: Re: Struts Validator overriding cache-control? > > > > > > The sequence you described is the expected behavior. > > Comments below. > > >

RE: Struts Validator overriding cache-control?

2004-01-14 Thread Brown, James
t: 2004 January 14 21.57 > To: Struts Users Mailing List > Subject: Re: Struts Validator overriding cache-control? > > > The sequence you described is the expected behavior. > Comments below. > > --- "Brown, James" <[EMAIL PROTECTED]> wrote: > >

Re: Struts Validator overriding cache-control?

2004-01-14 Thread Hubert Rabago
The sequence you described is the expected behavior. Comments below. --- "Brown, James" <[EMAIL PROTECTED]> wrote: > We have encountered a situation wherein it appears that the server-side > validation provided by the struts-validator and that of > ValidatorForm.va

Struts Validator overriding cache-control?

2004-01-14 Thread Brown, James
We have encountered a situation wherein it appears that the server-side validation provided by the struts-validator and that of ValidatorForm.validate(...) appears to be overriding the controller's nocache value. The scenario we have encountered is follows: 1. user enters data on a page

RE: Validator JavaScript displaying? Mozilla bug?

2004-01-14 Thread Robert Nocera
Brad, I am using Mozilla 0.7 and I saw what you described the first time I went to your page. I can't get it to repeat however. Then I tried for kicks on another machine and didn't see it at all. On that other machine I am just getting validator set up on a project and I tried

Validator JavaScript displaying? Mozilla bug?

2004-01-14 Thread Brad Plies
Hi folks, I am having a problem with Mozilla, Netscape, and FireBird browsers on pages that use the validator JavaScript. It seems that the browsers "choke" on all that script and end up displaying the script instead of the page content ( even though the script is guarded by the HTM

RE: exception validator

2004-01-12 Thread Mike Jasnowski
search the list archives, this is a well documented problem. -Original Message- From: shankarr [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 9:48 AM To: Struts Users Mailing List Subject: exception validator Hi! I am getting the following exception and not able to debug

exception validator

2004-01-12 Thread shankarr
Hi! I am getting the following exception and not able to debug. Pleaes help. Shanky Jan 12, 2004 8:16:03 PM org.apache.struts.validator.ValidatorPlugIn initResource EVERE: jakarta.apache.org ava.net.UnknownHostException: jakarta.apache.org at java.net.PlainSocketImpl.connect(PlainSocketIm

Re: server-side validation with Validator

2003-12-30 Thread Brice Ruth
, 2003 1:29 PM To: Struts Users Mailing List Subject: Re: server-side validation with Validator Yeah, I read pretty much exactly that in Ted's book, but I have to admit, I'm not entirely sure what it means ... someone previously also mentioned that the DynaValidatorForm uses the "name&qu

RE: server-side validation with Validator

2003-12-30 Thread Robert Taylor
Mailing List > Subject: Re: server-side validation with Validator > > > Yeah, I read pretty much exactly that in Ted's book, but I have to > admit, I'm not entirely sure what it means ... someone previously also > mentioned that the DynaValidatorForm uses the "name"

RE: server-side validation with Validator

2003-12-30 Thread Jarnot Voytek Contr AU HQ/SC
> Sent: Tuesday, December 30, 2003 12:29 PM > To: Struts Users Mailing List > Subject: Re: server-side validation with Validator > > > Yeah, I read pretty much exactly that in Ted's book, but I have to > admit, I'm not entirely sure what it means ... someone &g

Re: server-side validation with Validator

2003-12-30 Thread Brice Ruth
"path" ... well, my "path" is the path for the Action ... I'm not sure under what circumstances one would use DynaValidatorActionForm, I guess ... Matthias Wessendorf wrote: Hi, The DynaValidatorForm will match the formset name with the form-bean name. it uses map

RE: server-side validation with Validator

2003-12-30 Thread Matthias Wessendorf
Hi, The DynaValidatorForm will match the formset name with the form-bean name. it uses mapping.getAttribute() to init the validator The DynaValidatorActionForm will match the formset name with the action-mapping path. it uses mapping.getPath() for init the validator -Original Message

Re: server-side validation with Validator

2003-12-30 Thread Brice Ruth
OK, nevermind ... I just needed to change DynaValidatorActionForm to DynaValidatorForm ... now it works. Brice Ruth wrote: OK, I have to admit, I'm a bit confused using Validator, despite looking at the online docs & having Ted's excellent book at hand. I have everything setu

server-side validation with Validator

2003-12-30 Thread Brice Ruth
OK, I have to admit, I'm a bit confused using Validator, despite looking at the online docs & having Ted's excellent book at hand. I have everything setup to do server-side validation, as far as I can tell ... I've set a breakpoint in DynaValidatorActionForm.validate and i

RE: File Upload Validator

2003-12-29 Thread Matthias Wessendorf
: Struts Users List Subject: File Upload Validator Hi, I have to validate a form which collects all the data connected with a document. Allong with discriptive information there's also a element to upload the file itself. So far use a DynaValidatorForm to do validation. Everything works

File Upload Validator

2003-12-29 Thread Patrick Scheuerer
also like to validate the file (FormFile) for size (it shouldn't be bigger than e.g. 1 MB) and MIME type (pdf, doc, exe, zip, etc.). Is there any extension for the Validator framework that can accomplish this? Of course I could write my own validator class, I'm just curious if somethin

AW: Validator query

2003-12-20 Thread Matze
Hi, The ValidatorForm will match the formset name with the form-bean name. it uses mapping.getAttribute() to init the validator The ValidatorActionForm will match the formset name with the action-mapping path. mapping.getPath() for init the validator and the same for the DynaValidator(Action

Validator query

2003-12-19 Thread Sudhakar G
Hi, why validator framework provides two classes ValidatorForm and ValidatorActionForm if both going to behave same way? Thanks in advance. cheers Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please

RE: struts validator framework

2003-12-16 Thread John . Pitchko
BDY.RTF Description: RTF file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: struts validator framework

2003-12-16 Thread Robert Taylor
; To: [EMAIL PROTECTED] > Subject: struts validator framework > > > hi, > just a question about using the validator-fw. > > i want to describe a formbean in struts-config > incl. its proberties. > > like: > > >type="java.lang.String"/>

struts validator framework

2003-12-16 Thread Jan Dirksen
hi, just a question about using the validator-fw. i want to describe a formbean in struts-config incl. its proberties. like: for validation i want to use the framework i guess: -DynaValidatorForm: validation rules are executed based on form name -DynaValidatorActionForm: validation

RE: Does the Struts Validator work with DynaActionForms?

2003-12-16 Thread Robert Taylor
Yes. You should use DynaValidatorForm or DynaValidatorActionForm. robert > -Original Message- > From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 16, 2003 9:21 AM > To: Struts Users Mailing List > Subject: Does the Struts Validator work with

<    1   2   3   4   5   6   7   8   9   10   >