> I currently define a single action, forward
> all the [operation] buttons to the action and let
> the action distinguish between the various operations
> based on a property name.

Another way of doing this is by utilising an "action" property on your form 
bean and for declare a setters method for the buttons to set the action 
properly. For example:


In you form bean:

public class FormBean {

        int action;

        public setOperation1(String ignore) {
                action = ONE;
        }

        public setOperation2(String ignore) {
                action = TWO;
        }

        
}

And assuming your buttons named operation1 and operation2 you can check based 
on the action content which button the user clicks;

HTH,

-- 
Victor Hadianto
---------------
Don't tell me what you dreamed last night for I've been reading Freud.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to