EL expression in expanded attribute of panelMenuGroup
-----------------------------------------------------

                 Key: RF-8547
                 URL: https://jira.jboss.org/jira/browse/RF-8547
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-menu
    Affects Versions: 3.3.3.CR1, 3.3.2.SR1, 3.3.2.GA
            Reporter: Jethro Borsje


I am using an EL expression in the "expand" attribute of a panelMenuGroup which 
results in the following error:
25-mrt-2010 11:51:16 javax.faces.component.UIInput updateModel
SEVERE: /test.xhtml @82,68 expanded="#{true}": Illegal Syntax for Set Operation

This is my code:
        <rich:panel header="#{navigation.selectedHoofdTab.naam}" 
headerClass="hoofdTab" bodyClass="hoofdTabContent" style="width: 250px; height: 
500px;" id="subtabs">
                <!-- Subtabs -->
                <rich:panelMenu mode="ajax" iconExpandedGroup="disc" 
iconCollapsedGroup="disc" iconExpandedTopGroup="chevronUp" 
iconGroupTopPosition="right" iconCollapsedTopGroup="chevronDown"
                        topGroupClass="subTab" itemClass="taak" 
styleClass="subTabContainer">
                        <c:forEach 
items="#{navigation.selectedHoofdTab.subTabs}" var="subTab">
                                <rich:panelMenuGroup label="#{subTab.naam}" 
expanded="#{true}">

                                        <!-- Taken -->
                                        <c:forEach items="#{subTab.taken}" 
var="taak">
                                                <rich:panelMenuItem 
label="#{taak.naam}">
                                                        <f:param name="current" 
value="#{taak.naam}" />
                                                </rich:panelMenuItem>
                                        </c:forEach>
                                        <!-- Einde taken -->

                                </rich:panelMenuGroup>
                        </c:forEach>
                </rich:panelMenu>
                <!-- Einde subtabs -->
        </rich:panel>

The RichFaces documentation says the following about the "expand" attribute: 
"If true group will be displayed expanded initially. Default value is "false"". 
This leads me to believe the attribute is NOT read / write, so why does 
RichFaces try to set the value?

A similar bug is marked as resolved and has been closed: 
https://jira.jboss.org/jira/browse/RF-2922, perhaps this is regression?

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to