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 thi

Re: Cancel button doesn't cancel server side validation

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

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 tag. I doubt if the property is the problem but can't be sure. Besides it is required by LookupDispatchAc

Re: Disable struts server side validation

2005-03-18 Thread Bing Qiao
but never do I use client-side alone. > > The only 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.

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 PROT

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: When the validation fails the request will be directed to paymentForm.jsp. I wonder if it's possible to direct the request to different pages in my custom validator class. This might be done by setting the

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
so 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, > >> >

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.