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

Summary: Problems using standard LinkAction with Basic form component
Product: obsolete Reporter: bugbridge <bugbridge>
Component: visualwebAssignee: Jayashri Visvanathan <jayashri>
Status: NEW ---    
Severity: blocker CC: jayashri
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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.