Re: Cancel button doesn't cancel server side validation
Thanks for your reply. That property is required by LookupDispatchAction. The action is defined as the following: action path=/submit202 type=SubmitFormAction parameter=action name=202Form scope=request validate=true input=/sitemplates/form202.jsp forward name=refresh path=/templates/form202.jsp/ /action If I don't have that property, I got errors like: Request[/submit202] does not contain handler parameter named 'action'. This may be caused by whitespace in the label text. Thanks Bqiao On Mon, 21 Mar 2005 10:18:57 -0800, K.C. Baltz [EMAIL PROTECTED] wrote: I've never needed a property attribute with the html:cancel control. Perhaps that's the problem? Make sure you have a cancel() method in your DispatchAction K.C. Bing Qiao wrote: Hi, I am using Struts Validator for a LookupDispatchAction. I'm using both client and server sides validation. The problem is I can only disable the client side validation by using html:cancel tag. html:cancel styleClass=button style=width: 100px property=action bean:message key=sibutton.cancel/ /html:cancel I doubt if the property is the problem but can't be sure. Besides it is required by LookupDispatchAction. Is there limitation for this tag to be used for LookupDispatchAction? Thanks a lot! Bqiao - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cancel button doesn't cancel server side validation
Hi, I am using Struts Validator for a LookupDispatchAction. I'm using both client and server sides validation. The problem is I can only disable the client side validation by using html:cancel tag. html:cancel styleClass=button style=width: 100px property=action bean:message key=sibutton.cancel/ /html:cancel I doubt if the property is the problem but can't be sure. Besides it is required by LookupDispatchAction. Is there limitation for this tag to be used for LookupDispatchAction? Thanks a lot! Bqiao - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cancel button doesn't cancel server side validation
I've never needed a property attribute with the html:cancel control. Perhaps that's the problem? Make sure you have a cancel() method in your DispatchAction K.C. Bing Qiao wrote: Hi, I am using Struts Validator for a LookupDispatchAction. I'm using both client and server sides validation. The problem is I can only disable the client side validation by using html:cancel tag. html:cancel styleClass=button style=width: 100px property=action bean:message key=sibutton.cancel/ /html:cancel I doubt if the property is the problem but can't be sure. Besides it is required by LookupDispatchAction. Is there limitation for this tag to be used for LookupDispatchAction? Thanks a lot! Bqiao - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]