4 Replies Latest reply on Mar 19, 2009 11:39 AM by swd847

    list tag with rendered-attribute

    sw_bpel
      hello everybody,

      i'm now working for a couple of days with seam and facelets. but now i have a problem, yet i can't find a solution for. i want to have in my rendered html page something like this:

      <ul>
        <li></li>
        <li></li>
          <ul>
            <li></li>
            <li></li>
          </ul>
        <li></li>
      </ul>

      but some list elements should only be rendered, if a parameter is true. so i should define something like <li rendered="#{param_element1}"> but the standard html <li>-tag of course doesn't support a rendered-attribute. but in the faclet/seam/richfaces/jsf tab libraries i can't find anything which renders a <li>. hopefully somebody can help me here.

      thanks!!!