RE: Using DynaValidatorForm

2007-01-18 Thread bjorn.de.bakker
Sorry, forgot to supply that. I'm using Struts 1.3.5 and commons-validator 1.1.3 -Original Message- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: donderdag 18 januari 2007 16:46 To: Struts Users Mailing List Subject: Re: Using DynaValidatorForm Hi, what is the struts ve

Re: Using DynaValidatorForm

2007-01-18 Thread Nuwan Chandrasoma
tor method. i hope this would help you. Thanks, Nuwan. - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, January 18, 2007 9:33 AM Subject: Using DynaValidatorForm Is this deprecated ? The reason why I'm asking is that I want to use it in my application

Re: Using DynaValidatorForm

2007-01-18 Thread Nuwan Chandrasoma
Hi, what is the struts version you are using? Thanks, Nuwan - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Thursday, January 18, 2007 9:33 AM Subject: Using DynaValidatorForm Is this deprecated ? The reason why I'm asking is that I want to use it in my

Using DynaValidatorForm

2007-01-18 Thread bjorn.de.bakker
Is this deprecated ? The reason why I'm asking is that I want to use it in my application, but I can't seem to find a lot of articles on it. The guide on the Struts website is well written, but beside that, not a lot of people have written tutorials on it. I have some problems with the Action

RE: Field check using DynaValidatorForm

2006-09-07 Thread David Friedman
>From the note about the MalFormURL Exception I would initially guess you started the header DOCTYPE in the file incorrectly. You gave a 6 line entry from your validation.xml file split like so: http://jakarta.apache.org/ commons/dtds/validator_1_0.dtd"> In a DOCTYPE you should NEVER break

RE: Field check using DynaValidatorForm

2006-09-07 Thread leo mj
"Samere, Adam J" <[EMAIL PROTECTED]> wrote: You have validate="false" in your action mapping. Change that to true. Adam -Original Message- From: leo mj [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 6:59 AM To: user@struts.apache.org Subject:

RE: Field check using DynaValidatorForm

2006-09-07 Thread Samere, Adam J
You have validate="false" in your action mapping. Change that to true. Adam -Original Message- From: leo mj [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 6:59 AM To: user@struts.apache.org Subject: Field check using DynaValidatorForm hi all, I want to

Field check using DynaValidatorForm

2006-09-07 Thread leo mj
hi all, I want to do Dynamic field check using validator framework. I have done the following steps: 1.Add validator plugin in struts-config.xml 2.I have used index.jsp as my LOGIN page. With the following code: <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ tagli

RE: Field check using DynaValidatorForm

2006-09-07 Thread RoseIndia.net Help
@struts.apache.org Subject: Field check using DynaValidatorForm hi all, I want to do Dynamic field check using validator framework. I have done the following steps: 1.Add validator plugin in struts-config.xml 2.I have used index.jsp as my LOGIN page. With the following code: <%@ taglib

Field check using DynaValidatorForm

2006-09-07 Thread leo mj
hi all, I want to do Dynamic field check using validator framework. I have done the following steps: 1.Add validator plugin in struts-config.xml 2.I have used index.jsp as my LOGIN page. With the following code: <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ tagli

Re: Looking for a tutorial or complete example of using DynaValidatorForm

2006-04-09 Thread pantichd
Laurie, Thanks for getting back to me. I've been able to get a little further. I've gotten the jsp to come up. When I click the submit button with nothing in either input field it stops on a breakpoint in the validate method of the DynaValidatorForm class. Just in case you don't have the code of

Re: Looking for a tutorial or complete example of using DynaValidatorForm

2006-04-09 Thread Laurie Harper
I don't see anything obviously wrong there. It's not surprising that your breakpoints aren't hit since the action would only be invoked when the form rendered by the JSP gets submitted. It might help if you post the full stack trace you're getting. Failing that, I'd suggest simplifying things

Looking for a tutorial or complete example of using DynaValidatorForm

2006-04-08 Thread pantichd
Hello, I have been using Struts for awhile but it was a very old (1.02) version. Just finished upgrading my apps to Struts 1.2.7 and would like to take advantage of the DynaValidatorForm. I've found several articles on it and many examples. However, I haven't found one that includes a complete ex

RE: Problems with Multi Page (wizard) Validation using DynaValidatorForm and the "page=" attribute

2004-09-29 Thread Mark Songhurst
Mark Songhurst Sent: 29 September 2004 17:04 To: Struts Users Mailing List Subject: RE: Problems with Multi Page (wizard) Validation using DynaValidatorForm and the "page=" attribute Thanks for the feedback! Much appreciated. I realised that in my JSP page(s) I had the element declared

RE: Problems with Multi Page (wizard) Validation using DynaValidatorForm and the "page=" attribute

2004-09-29 Thread Mark Songhurst
dpage1.jsp: : --- -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: 29 September 2004 15:23 To: Struts Users Mailing List Subject: Re: Problems with Multi Page (wizard) Valida

Re: Problems with Multi Page (wizard) Validation using DynaValidatorForm and the "page=" attribute

2004-09-29 Thread Matt Bathje
Mark - not sure if this is your problem, but based on what you pasted in here, your JSP page is missing an All of your code seems correct to me. The only other thing I think could possibly be wrong is if you have a separate "loader" action for your page 1 form, and that has the scope set to re

Problems with Multi Page (wizard) Validation using DynaValidatorForm and the "page=" attribute

2004-09-29 Thread Mark Songhurst
Hi! I'm having great pains getting DynaValidatorForm to validate only the "page=" attributed field elements in my validation.xml file. It's the usual scenario: one DynaValidatorForm which is completed over several JSP pages. I want validation to occur as each page is submitted, using the Validat

Re: prechecked checkbox using DynaValidatorForm

2004-08-31 Thread Wolfgang Woger
Thank you, Yves I solved my problem, the form-bean was not preset in the right action. Wolfgang Yves Sy wrote: Hi, Try declaring eatable in your form-bean declaration as java.lang.Boolean and in the action before your edit page go myForm.set("eatable", new Boolean(true)) -Yves- On Tue, 31 Aug 2004

Re: prechecked checkbox using DynaValidatorForm

2004-08-31 Thread Yves Sy
Hi, Try declaring eatable in your form-bean declaration as java.lang.Boolean and in the action before your edit page go myForm.set("eatable", new Boolean(true)) -Yves- On Tue, 31 Aug 2004 12:25:18 +0200, Wolfgang Woger <[EMAIL PROTECTED]> wrote: > Hi, > I have acheckbox that needs to be precheck

prechecked checkbox using DynaValidatorForm

2004-08-31 Thread Wolfgang Woger
Hi, I have acheckbox that needs to be prechecked with the value of myBean.toEat. I use a DynaValidatorForm, "eatable" is a property of my DynaValidatorForm, I tried to set: myForm.set("eatable","true"); before forwarding to the jsp page, but without success. Any ideas ? Wolfgang ---