[GLASSFISH-18164] [508] Duplicate labels in Form Elements Created: 10/Jan/12  Updated: 20/Mar/13

Status: Open
Project: glassfish
Component/s: admin_gui
Affects Version/s: None
Fix Version/s: future release

Type: Bug Priority: Minor
Reporter: andriy.zhdanov Assignee: andriy.zhdanov
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All


Issue Links:
Duplicate
is duplicated by GLASSFISH-19888 [508] Empty and Multiple labels in Fo... Reopened
Related
is related to GLASSFISH-14944 [508] Empty and Duplicate labels in F... Closed
Tags: 3_1_2-508

 Description   

Derived from GLASSFISH-14944

OGHAG toolbar Form output reports indicate the duplicate labels and Multiple labels on the buttons. To be accessible the, Form elements should not have duplicate, empty or multiple labels.
The below elements in the console have Multiple Labels:

Form elements Domain/Applications configuration page :
Reload Enabled ERROR: Multiple Labels found: Reload Enabled
Auto Deploy Enabled ERROR: Multiple Labels found: Auto Deploy Enabled
Verifier Enabled ERROR: Multiple Labels found: Verifier Enabled
Precompile Enabled ERROR: Multiple Labels found: Precompile Enabled

Form elements in JVM General Settings:
Debug: Enabled ERROR: Multiple Labels found: Debug: Enabled

Form elements in Logger Settings
Write to system log: Enabled ERROR: Multiple Labels found: Write to system log: Enabled
Log to Console: Enabled ERROR: Multiple Labels found: Log to Console: Enabled

The below elements in the console have Duplicate Labels:

Form elements in DOmain/Applications Configuration
Save WARNING: Duplicate Label

Form elements in Module Log Levels
Save WARNING: Duplicate Label

Form elements in server Instance Properties
Save WARNING: Duplicate Label
Cancel WARNING: Duplicate Label

Form elements in server System Properties
Save WARNING: Duplicate Label
Cancel WARNING: Duplicate Label

Multiple Labels problem for checkboxes like "Reload Enabled" is because two labels (e.g. 'Reload' and 'Enabled') have identical 'for' element, pointing to checkbox. Fix would be to remove 'for' in 'Enabled' label rendered by CheckboxComponent from woodstock, however this is problematic to determine whether checkbox has separate label. It might be possible to look in JSF component tree for label element that has 'for' pointing to this checkbox component and if found render static text instead of label element.

Reason of Duplicate Labels problem for buttons like Save is not clear.



 Comments   
Comment by Tom Mueller [ 07/Mar/12 ]

Bulk update to set Fix Version to "not determined" for issues that had it set to a version that has already been released.

Generated at Fri Sep 04 17:06:07 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.