You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Krista Baker (JIRA)" <de...@beehive.apache.org> on 2005/08/24 01:22:08 UTC

[jira] Closed: (BEEHIVE-842) netui:attribute's on the checkBoxOption tag are not being set or overriden

     [ http://issues.apache.org/jira/browse/BEEHIVE-842?page=all ]
     
Krista Baker closed BEEHIVE-842:
--------------------------------


Verified that the attribute bvts are passing.  Also manually checked that the new facet="label" attribute of the netui:attribute tag works for both the checkBoxOption and radioButtonOption tags to allow the setting of the label style and class attributes on the inner span tag.

> netui:attribute's on the checkBoxOption tag are not being set or overriden
> --------------------------------------------------------------------------
>
>          Key: BEEHIVE-842
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-842
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1, V1Beta, V1Alpha
>     Reporter: Krista Baker
>     Assignee: Krista Baker
>      Fix For: V1
>  Attachments: Controller.java, J842_patch1.txt, index.jsp, j842-patch.zip, j842-patch2.txt
>
> Attributes added to the netui:checkBoxOption tag in the jsp are not rendered in the html.
> Example:
> <netui:checkBoxOption value="${pageFlow.optionOne}">
>      <netui:attribute name="anotherCustomAttr" value="anotherCustomValue"/>
> </netui:checkBoxOption>
> Expected Result:
> <input type="checkbox" name="wlw-checkbox_group_key:{actionForm.checkedBoxes}" anotherCustomAttr="anotherCustomValue"><span>One</span>
> Actual Result:  Same as though no attributes were set:
> <input type="checkbox" name="wlw-checkbox_group_key:{actionForm.checkedBoxes}"><span>One</span>
> Will attach a broader repro that includes attributes which are not allowed, attributes that override in-tag attributes, and custom attributes.
> Attributes which are not allowed to be overridden by using setAttribute/<netui:attribute>'s do cause a tag error as expected.

-- 
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