RE: Help :: Dyna forms and Validation

2002-11-25 Thread Jordan Thomas
No, I am actually using the workflow extension which requires one to use
the performAction() method. Also, I am using a nightly build of struts
from about a week ago.

Thanks

Jordan

-Original Message-
From: Billy Bacon [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 22 November 2002 1:19 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Help :: Dyna forms and Validation


Do you have an execute() method in your Action? What version of Struts
are you using?

- Original Message -
From: "Jordan Thomas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 22, 2002 5:10 AM
Subject: Help :: Dyna forms and Validation


> Hi,
>
> I have a dynaform that is simply calling inside the action class the 
> following.
>
>public ActionForward performAction( ActionMapping mapping, 
> ActionForm form,
> HttpServletRequest request, HttpServletResponse 
> response
> )
> throws IOException, ServletException {
>
>   return (mapping.findForward("entry"));
>
>}
>
> When I enter the form, it is doing the error checking as soon as I 
> enter the page. How can I stop the application from doing this? I 
> tried using "form.validate(mapping, request).clear();" in the above 
> method but that didn't work. Is there a way to somehow clear these 
> error values. I am using a dynaform specified as:
>
> 
>  depends="required,minlength,maxlength">
> 
>  resource="false"/>
>  resource="false"/>
> 
> minlength
> 2
> 
> 
> maxlength
> 12
> 
> 
>  depends="required,minlength,maxlength">
> 
>  resource="false"/>
>  resource="false"/>
> 
> minlength
> 6
> 
> 
> maxlength
> 12
> 
> 
> 
>
> And in my struts-config.xml I have:
>
>  type="org.apache.struts.validator.DynaValidatorForm">
> 
> 
> 
>
>  
>
>  type="scoop.web.struts.login.LoginEntryAction"
> name="loginForm"
> scope="request"
> input="/tiles/login"
> validate="true">
> 
> 
>
> Any help would be great. Thanks in advance
>
> Jordan
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: Help :: Dyna forms and Validation

2002-11-22 Thread Billy Bacon
Do you have an execute() method in your Action? What version of Struts are
you using?

- Original Message -
From: "Jordan Thomas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 22, 2002 5:10 AM
Subject: Help :: Dyna forms and Validation


> Hi,
>
> I have a dynaform that is simply calling inside the action class the
> following.
>
>public ActionForward performAction( ActionMapping mapping, ActionForm
> form,
> HttpServletRequest request, HttpServletResponse response
> )
> throws IOException, ServletException {
>
>   return (mapping.findForward("entry"));
>
>}
>
> When I enter the form, it is doing the error checking as soon as I enter
> the page. How can I stop the application from doing this? I tried using
> "form.validate(mapping, request).clear();" in the above method but that
> didn't work. Is there a way to somehow clear these error values. I am
> using a dynaform specified as:
>
> 
>  depends="required,minlength,maxlength">
> 
>  resource="false"/>
>  resource="false"/>
> 
> minlength
> 2
> 
> 
> maxlength
> 12
> 
> 
>  depends="required,minlength,maxlength">
> 
>  resource="false"/>
>  resource="false"/>
> 
> minlength
> 6
> 
> 
> maxlength
> 12
> 
> 
> 
>
> And in my struts-config.xml I have:
>
>  type="org.apache.struts.validator.DynaValidatorForm">
> 
> 
> 
>
>  
>
>  type="scoop.web.struts.login.LoginEntryAction"
> name="loginForm"
> scope="request"
> input="/tiles/login"
> validate="true">
> 
> 
>
> Any help would be great. Thanks in advance
>
> Jordan
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Help :: Dyna forms and Validation

2002-11-22 Thread Jordan Thomas
Hi,

I have a dynaform that is simply calling inside the action class the
following.

   public ActionForward performAction( ActionMapping mapping, ActionForm
form,
HttpServletRequest request, HttpServletResponse response
)
throws IOException, ServletException {
  
  return (mapping.findForward("entry"));

   }

When I enter the form, it is doing the error checking as soon as I enter
the page. How can I stop the application from doing this? I tried using
"form.validate(mapping, request).clear();" in the above method but that
didn't work. Is there a way to somehow clear these error values. I am
using a dynaform specified as:







minlength
2


maxlength
12







minlength
6


maxlength
12




And in my struts-config.xml I have:






 





Any help would be great. Thanks in advance

Jordan


--
To unsubscribe, e-mail:   
For additional commands, e-mail: