HI.. all, 
I have a situation like this, i have a single form and two image buttons
(actually i am using <input type="image" instead of  <input type="submit").
The problem is identify the which image button has done the form submission.
Coz i am doing two tasks from these two image buttons.  one is for data
saving and one is for image uploading. Is there a way to find which button
has done the form submission? 

i tried like this
component Id's are upload and next respectively

        public void onSelectFromUpload(){
                System.out.println("onSelectFromUpload >>>");
                nextPage = null;
        }
        
        public void onSelectFromNext(){
                System.out.println("onSelectFromNext >>>");
                nextPage = "RegistrationStepTwo";
        }

any idea ? thanks in millions.. 
-- 
View this message in context: 
http://www.nabble.com/how-to-capture-the-submit-event-which-occured-from-a-input-type%3Dimage-tp17511184p17511184.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to