beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers (JIRA)" <>
Subject [jira] Reopened: (BEEHIVE-842) netui:attribute's on the checkBoxOption tag are not being set or overriden
Date Fri, 12 Aug 2005 15:22:01 GMT
     [ ]
Carlin Rogers reopened BEEHIVE-842:

     Assign To: Carlin Rogers  (was: Krista Baker)

Reopenning this issue...

I'd like to add specific support for the labelStyle and
labelStyleClass attributes through the netui:attribute tag.
I plan to use the current design pattern of using the facet. 
We could implement the checkBoxOption and
radioButtonOption such that if facet="label" then the style
and class attributes could be set on the inner span tag that
we write out for the response HTML.

Using this pattern is consistent with how the tags have been
implemented in beehive, for example the imageAnchor tag. Then,
we won't have a special case of checking for a specific
attribute name of labelStyle and labelStyleClass and don't
introduce something inconsistent in the current implementation.

> netui:attribute's on the checkBoxOption tag are not being set or overriden
> --------------------------------------------------------------------------
>          Key: BEEHIVE-842
>          URL:
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1, V1Beta, V1Alpha
>     Reporter: Krista Baker
>     Assignee: Carlin Rogers
>      Fix For: V1
>  Attachments:, J842_patch1.txt, index.jsp,
> 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:
For more information on JIRA, see:

View raw message