1 Reply Latest reply on Apr 30, 2010 3:24 PM by Nick Belaevski

    Rich:Columns help

    leandro godoy Apprentice

      Good morning everyone,
      need to use rich: columns in a project but am having the following error:

      WARNING: /pages/buscaAvancada.xhtml @187,7 var="coluna" Property 'var' is not on type: org.richfaces.component.html.HtmlColumn



      what's wrong in my code?
      Thank you.



      <rich:dataTable value="#{buscaAvancada.model}" var="protoc"
                          <f:facet name="header">
                              <h:outputText value="Rules"></h:outputText>
                          <rich:columns value="#{buscaAvancada.colunas}" var="coluna">
                              <f:facet name="header">
                                  <h:outputText value="#{coluna.text}" />


                              <h:outputText value="#{protoc[0]}" />



      private List<HtmlColumn> colunas = new ArrayList<HtmlColumn>();


          public void createColumn(String name) {
              HtmlColumn column = new HtmlColumn();       


          public List<HtmlColumn> getColunas() {
              return colunas;


          public void setColunas(List<HtmlColumn> colunas) {
              this.colunas = colunas;