7 Replies Latest reply on May 7, 2011 7:48 AM by Lukáš Fryč

    How to set id in <h:selectBooleanCheckbox> within <rich:column>?

    raid3n Newbie

      Hi!

       

      <rich:dataTable id="trucks_datatable" value="#{truckBeans.trucks}"

                                              var="tb" iterationStatusVar="t"

                                              onrowclick="selectTruck(#{tb.id}); toggleTruckCheckbox(#{tb.id})">

       

      <rich:column>

                                                        <h:selectBooleanCheckbox id="#{tb.id}" />

                                              </rich:column>

       

       

      </rich:dataTable>

       

       

      javax.servlet.ServletException: Empty id attribute is not allowed

      javax.faces.webapp.FacesServlet.service(FacesServlet.java:422)