Can we pass the ActionListener as a URL parameter to a given page?

So we have a GET form with two submit buttons:

<input type="submit" name="submit" id="form_submit" value="Submit"/>            
<input type="submit" name="fancy" id="form_fancy" value="Fancy Submit"/>

How do I pass the specific form submit button to the .htm page so that it
would know which listener to execute?

mypage.htm?param1=value&[?]

so that Mypage.class#fancy() listener would execute?

It is assumed that the page is set up correctly, it's only the ULR format
that I'm curious about.

And if the POST is default, can I change a page form's method to GET
dynamically?

What I am looking for is to re-use the same page in various scenarios
without writing a new page/form. (I am aware that METHOD can be set with
Ajax calls, when needed).

Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Using-the-ActionListener-as-a-URL-param-in-a-GET-form-submit-tp2174211p2174211.html
Sent from the click-user mailing list archive at Nabble.com.

Reply via email to