ICEfaces
  1. ICEfaces
  2. ICE-1113

Inconsistent rendered attribute handling on <ice:outputText>

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      noted in the forum http://www.icefaces.org/JForum/posts/list/3182.page

      The following will show the "Always there":

      <ice:outputText rendered="false" value="Not there"><div>Always
      there</div></ice:outputText>

      The following won't show it:
      <ice:panelGroup rendered="true">
         <ice:outputText rendered="false" value="Not there">
              <div>Always there</div>
         </ice:outputText>
      </ice:panelGroup>

      So there's a couple of questions here:

      1. What is the expected behaviour on an outputText whose rendered attribute is
      false in rendering any nested tags (and would that change in a Facelets context
      where nested <div>s would be first-class components)?

      2. Why does the rendering behaviour of the outputText vary depending on its
      container (even if that container is set to rendered="true")?

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: