Failed Validation Prolbem

2005-06-08 Thread Bing Qiao
Hello, I have been puzzled by this problem for a while. I inherited a Struts application which regularly sets collections as request attributes and accesses them in jsps. I tried to add Validation to this app using Validator framework and let the jsp be reloaded if something goes wrong. Two

Re: Cancel button doesn't cancel server side validation

2005-03-22 Thread Bing Qiao
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

Cancel button doesn't cancel server side validation

2005-03-21 Thread Bing Qiao
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

Re: Disable struts server side validation

2005-03-18 Thread Bing Qiao
exception I've given in on is an Are You Sure? popup. -Original Message- From: Bing Qiao [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 12:46 PM To: user@struts.apache.org Subject: Disable struts server side validation Hi, I've got a questions about struts

Disable struts server side validation

2005-03-17 Thread Bing Qiao
Hi, I've got a questions about struts validator. When defining custom validation rules, is it possible to only define the client side javascript without building classes? Many thanks Bqiao - To unsubscribe, e-mail: [EMAIL

How to change input property of Action tag in Custom Validator Class

2005-03-16 Thread Bing Qiao
Hello, I build a custom Validator class for a DynaActionForm. The action tag looks like: action path=/submitpay type=SubmitPayFormAction parameter=action name=paymentForm scope=request input=/paymentForm.jsp When the validation fails the request will be directed to paymentForm.jsp. I wonder if

Pass a collection from struts action to javascript validation

2005-03-09 Thread Bing Qiao
Hi, I'm trying to use custom validator on client side. One problem I can't figure out is how to pass a collection or array of strings to a jsp and how to access it from javascript code for the custom validation rules. I thought about using hidden objects. But I'm really new in both javascript and

Re: Displaying mulitpage results

2005-02-19 Thread Bing Qiao
hi Peter, Have you tried displaytag before? On Sat, 19 Feb 2005 11:11:27 +0100, Peter Neu [EMAIL PROTECTED] wrote: Hello everybody, in my struts application I used to display a table of query results on one page. Now the results are becoming way too much to display them on one page. What

Re: Displaying mulitpage results

2005-02-19 Thread Bing Qiao
an option only using struts? Bing Qiao schrieb: hi Peter, Have you tried displaytag before? On Sat, 19 Feb 2005 11:11:27 +0100, Peter Neu [EMAIL PROTECTED] wrote: Hello everybody, in my struts application I used to display a table of query results on one page. Now the results