As far as I know this only works with the Submit component...
At least what you're doing is how it's done when you use that.
-Filip
LakshithaS skrev:
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..
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]