myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Rossi (Created) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3370) f:selectItem ignores rendered attribute
Date Mon, 24 Oct 2011 14:41:32 GMT
f:selectItem ignores rendered attribute
---------------------------------------

                 Key: MYFACES-3370
                 URL: https://issues.apache.org/jira/browse/MYFACES-3370
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 2.0.9
         Environment: Jetty 6, Myfaces 2.0.9, Primefaces 3.0
            Reporter: Joe Rossi
            Priority: Minor


In the following snippet:

        <h:selectOneMenu id="selector"
          value="#{cc.attrs.backingBean[cc.attrs.property]}"
          required="#{cc.attrs.required}"
          requiredMessage="#{cc.attrs.requiredMessage}"
          disabledClass="tnui-selectDisabled"
          disabled="#{cc.attrs.disabled}"
          immediate="#{cc.attrs.immediate}"
          readonly="#{cc.attrs.readonly}"
          onchange="#{cc.attrs.onchange}"
          style="#{cc.attrs.style}">
          <f:selectItem
            itemLabel="#{cc.attrs.noSelectOptionLabel}#{sessionBean.classOfService}"
            itemValue="#{null}"
            noSelectionOption="true"
            rendered="false"/>
          <p:ajax update="#{cc.attrs.updateTargets}" disabled="#{!includeAjaxUpdate}"/>
          <composite:insertChildren />
        </h:selectOneMenu>

The embedded f:selectItem is always included even though it's rendered attribute is set to
false.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message