[ http://issues.apache.org/jira/browse/BEEHIVE-1091?page=all ]
Eddie O'Neil resolved BEEHIVE-1091:
-----------------------------------
Resolution: Fixed
This is fixed in SVN 391345. A test case has been added that should keep this
from breaking again.
> checkBoxGroup, radioButtonGroup, select box don't work in the data grid or
> repeater
> -----------------------------------------------------------------------------------
>
> Key: BEEHIVE-1091
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1091
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1, 1.0.1, v.next
> Reporter: Eddie O'Neil
> Assignee: Eddie O'Neil
> Fix For: v.next
>
> The NetUI checkBoxGroup, radioButtonGroup, and select JSP tags don't work
> correctly inside of the NetUI repeater or data grid. This happens because
> the "{" and "}" delimiters aren't placed around the expression when it's
> returned from get IDataAccessProvider.getDataSource interface on these tags.
> For example, this throws an expression error:
> <snip>
> <%
> pageContext.setAttribute("strings", new String[] {"red", "green",
> "blue"});
> %>
> <netui:form action="submit">
> <netui-data:repeater dataSource="pageScope.strings">
> <netui:radioButtonGroup dataSource="actionForm.color">
> <netui:radioButtonOption value="red"/>
> <netui:radioButtonOption value="green"/>
> <netui:radioButtonOption value="blue"/>
> </netui:radioButtonGroup>
> </netui-data:repeater>
> </netui:form>
> </snip>
> The problem here is that "actionForm.color" throws an exception when it is
> parsed by the repeater when it's trying to qualify an expression.
--
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