Support Requests item #1054854, was opened at 2004-10-26 22:46
Message generated for change (Settings changed) made by henryju
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497983&aid=1054854&group_id=61302
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Jacob Kjome (jacobk)
Assigned to: Nobody/Anonymous (nobody)
Summary: need support for multiple submit buttons with same name
Initial Comment:
It is a common thing in Struts (and I've seen this
elsewhere as well) to have multiple submit buttons with
the same name. The differentiator is the value of each
submit button. So, I think there needs to be a new
method such as...
submit(String name, String value);
for instance...
<input type="submit" name="method" value="Process">
<input type="submit" name="method" value="Search">
<input type="submit" name="method" value="Back">
submit("method", "Search");
Might this feature get in the next release?
Jake
----------------------------------------------------------------------
>Comment By: Julien HENRY (henryju)
Date: 2007-03-07 19:43
Message:
Logged In: YES
user_id=1235926
Originator: NO
Should be fixed now.
----------------------------------------------------------------------
Comment By: fred (ftherrie)
Date: 2005-02-18 20:28
Message:
Logged In: YES
user_id=1199711
Why you don't use the method clickButton. You juste have to
give an Id to each button and you will be able to click on
the one you want. Submit is good if you only have 1 button
but more than that, I think the clickButton have been create
for this.
----------------------------------------------------------------------
Comment By: Jacob Kjome (jacobk)
Date: 2004-10-26 23:42
Message:
Logged In: YES
user_id=517746
Ok, I found a report that is supposed to have addressed this
issue...
http://sourceforge.net/tracker/index.php?func=detail&aid=745868&group_id=61302&atid=497984
However, what's the actual fix? I looked at the source and
neither the supplied patch nor the comment about adding the
submitFormByLabel(label) method seem to exist in the 1.2
release. Nevertheless, the last comment says "This is fixed
in release 1.2". So, again, what's the fix. Did it never
actually make it into source control or am I just missing
something???
Jake
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497983&aid=1054854&group_id=61302
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development