This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 23550 - Form support doesn't allow choosing button
Summary: Form support doesn't allow choosing button
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: sim (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks: 21683
  Show dependency tree
 
Reported: 2002-05-15 16:57 UTC by Terry Heatlie
Modified: 2002-05-15 17:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Terry Heatlie 2002-05-15 16:57:36 UTC
HTTPForm.submit() does not provide a way for
the client to specify which button they want
to "press" to submit the form.  A form can
have any number of submit buttons, and they
might do different things - for example
one might "save values for later" while another
"commits entrys to database".
Comment 1 Terry Heatlie 2002-05-15 17:45:48 UTC
Fixed by adding a method to choose the successful button,
and by changing the argument encoding to only encode one
SUBMIT element per form.