how about firing two separate events? and have independent handlers
for them?

On Jan 14, 3:48 pm, Vik <[email protected]> wrote:
> Hie
>
> I have an address component which is a vertical panel with state, district,
> city and area  and a search button.
>
> In two different situations, I have to fire different code on click of
> search button.
>
> So, is there a generic way to deal with this instead of writing in the
> onClick  of button if(case1) else case2 thing ?
>
> Thankx and Regards
>
> Vik
> Founderwww.sakshum.comwww.sakshum.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to