1 Reply Latest reply on Aug 31, 2007 7:27 AM by kewldude

    error in verbatim in dataTable?

    kewldude Newbie

      Hi. I just want to ask if I can use div inside rich:dataTable. Here is my code:

      <rich:dataTable width="100%" id="dataModelTable" rows="10" columnClasses="tableRowMiddleAligned" rowClasses="rowIp1,rowIp2"
      value="#{dataModel.tableModel}" var="item" binding="#{dataModel.table}" >
      <f:facet name="header">
      <rich:columnGroup>

      <h:column>
      <h:outputText value="Image" />
      </h:column>
      </rich:columnGroup>

      </f:facet>

      <f:verbatim> </f:verbatim>
      <rich:column >
      <h:graphicImage url="image-url_here"
      width="120px" height="60px" />
      </rich:column>

      <f:verbatim>





      </f:verbatim>
      </rich:dataTable>

      Take note that the div tag is already enclosed in verbatim tags. When I look at the rendered text, i cant seem to find the tags that was wrapped by verbatim. Why is that so? I thought you just have to use verbatim when you need to use html tags around the jsf components.

      Environment
      richfaces-3.0.1.jar
      myfaces-api-1.1.5.jar
      myfaces-impl-1.1.5.jar
      ajax4jsf-1.1.1.jar
      JBoss 4.0.4