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 94758 - Problems using standard LinkAction with Basic form component
Summary: Problems using standard LinkAction with Basic form component
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Jayashri Visvanathan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-06 20:28 UTC by bugbridge
Modified: 2007-02-06 20:28 UTC (History)
1 user (show)

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 bugbridge 2007-02-06 20:28:31 UTC
Original status: 3-Accepted; Suggested Status: NEW

Original Target Release: mako_dev; Suggested Target Milestone : Dev

These items should be added to the Keywords: RELNOTE

Original submitter: jayashri

Description:
Came across this bug while helping out a customer who is trying use
RadioButtonGroup component to generate a ValueChangeEvent when a radio button is
selected, not when a button is clicked. This cannot be done at the moment,
because onclick and other javascript attributes set on the radiogroup component
are not being passed to options. I've suggested that the customer use the
standard radio list component instead. But this could turn out to be a common
use case, so this is a nice to fix this for Thresher.

Description (Entry 2):
1. Having a commandButton and LinkAction in the same page causes problems with
back button when I place them inside a basic form component<ui:form>. If I enter
a value in the text field, click on the link, then back button and click on the
button again, I've to click on the button twice to navigate to the next page.

2. Hidden fields for UIParameters are not generated but the javascript is
generated for these parameters as part of "onclick". This gives javascript
errors during the execution of the page.

Alternative is not use the standard LinkAction but use basic hyperlink instead.

Workaround:
Alternative is not use the standard LinkAction but use basic hyperlink instead.