netui:checkBoxGroup tag libraries documentation
-----------------------------------------------

         Key: BEEHIVE-666
         URL: http://issues.apache.org/jira/browse/BEEHIVE-666
     Project: Beehive
        Type: Bug
  Components: Documentation  
    Reporter: Krista Baker
     Fix For: V1


Description: 
1.  The first example contains incorrect dataBinding: <netui:checkBoxGroup 
dataSource="{actionForm.userSelections}" 
optionsDataSource="{pageFlow.availableSelections}"/>
Should be: <netui:checkBoxGroup dataSource="actionForm.userSelections" 
optionsDataSource="${pageFlow.availableSelections}"/>

2.  Dynamically Defined Checkboxes, in addition to just defining the String[] 
object in the controller file, a get method must also be defined:  
public String[] availableOptions = {"option1", "option2", "option3"}; 
public String[] getAvailableOptions() {
  return this.availableOptions;
}

Example at bottom also needs the above 2 items, for dataSource, 
optionsDataSource, and get method.

3.  Underneath the String[] declaration the line reads:  "...and reference this 
String[] from the optionDataSource attribute..." The optionDataSource should be 
optionsDataSouce.

4.  Underneath the option**s**dataSource attribute... line above, 
<netui:checkBoxGroup definition needs to be updated to the following:
<netui:checkBoxGroup dataSource="actionForm.userSelections" 
optionsDataSource="${pageFlow.availableSelections}"/>

Attributes:
5.  None of the checkBoxGroup attributes have descriptions or Data bindable: 
values.  These attribute descriptions are probably very similar to the 
netui:checkBox attribute descriptions: dataSource, defaultValue, disabled, 
style, and styleClass.
The following attributes are not in the netui:checkBox and will need defined: 
labelStyle, labelStyleClass, optionsDataSource, orientation, and repeater.

PageFlow JavaDoc information:
The same example as in 5. above also needs updated:
\docs\apidocs\classref_pageflows\index.html
file:///docs/apidocs/classref_pageflows/org/apache/beehive/netui/tags/html/CheckBoxGroup.html

bash05102005

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to