Re: Does validator work with Lookup dispatch action

2006-07-13 Thread mosho
I have two submit buttons previous and next. I need to validate only when I hit next button. I can control this by using page attribute in valdation.xml. This works for server-side. It doesn't work for client side validation. How can I do client side validation only when i hit next button. Is th

Re: Does validator work with Lookup dispatch action

2006-07-12 Thread mosho
Hi Wendy, As per my requirement, I need to validate only when next button is hit. I can validate manually for server-side validation, it is working. How do I control for clients-side validation? If I include javascript tag in my jsp, it is going to validate even if I hit previous or next button.

Re: Does validator work with Lookup dispatch action

2006-07-12 Thread Juergen Kopper
Hi, mosho schrieb: I have another question, I was just trying to use LookupDispatchAction. It looks like if I am extending LookupDispatchAction, I don't have to use excute method. Is that right? That's right. I can do all the processing in the respective previous and next methods. Previous

RE: Does validator work with Lookup dispatch action

2006-07-12 Thread mosho
I have another question, I was just trying to use LookupDispatchAction. It looks like if I am extending LookupDispatchAction, I don't have to use excute method. Is that right? I can do all the processing in the respective previous and next methods. Previous methods looks like ..for ex: public

RE: Does validator work with Lookup dispatch action

2006-07-12 Thread mosho
Thanks for all the replies. Wendy, I am using struts 1.1 so I don't think I can use EventDispatchAction. Adam, what is the difference between MappingDispatchAction and LookupDispatchAction. Any advantages over LookupDispatchAction? Also, do you have an example of how to set page attribute and

Re: Does validator work with Lookup dispatch action

2006-07-12 Thread Wendy Smoak
On 7/12/06, mosho <[EMAIL PROTECTED]> wrote: I am using struts for my application. I have 3 buttons in my form i.e prev,next,clear. I read few articles and found that Lookup dispatch action will be the best option to use. There's a *much* better option in EventDispatchAction. It's available i

RE: Does validator work with Lookup dispatch action

2006-07-12 Thread Samere, Adam J
] Sent: Wednesday, July 12, 2006 10:20 AM To: Struts Users Mailing List Subject: Re: Does validator work with Lookup dispatch action mosho wrote: > I have few concerns using lookupdispatch action, 1. Will I be able to > validate using struts validator? > 2. I need to validate only when next

Re: Does validator work with Lookup dispatch action

2006-07-12 Thread David Durham
mosho wrote: I have few concerns using lookupdispatch action, 1. Will I be able to validate using struts validator? 2. I need to validate only when next button is hit, is that possible? Is there any tutorial avialable for using lookup dispatch action. I've done something similar by explicitly