0 Replies Latest reply on May 30, 2007 8:55 AM by grdzeli_kaci

    problem datascroller, datatable and Checkboxes

      i tried to use datatable and datascriller,
      all works fine, but if i add h:selectBooleanCheckbox component into rich:column i got an error and datascroller does not works :(
      code :

       <rich:datascroller for="myList" maxPages="2000" />
       <rich:dataTable id="myList" rows="10"
       onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
       onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
       cellpadding="0" cellspacing="0"
       width="700" border="0" var="recordInbox" value="#{reportMail.initReport.records}">
      
       <f:facet name="header">
       <rich:columnGroup>
       <rich:column>
       <h:outputText value="check" />
       </rich:column>
       <rich:column>
       <h:outputText value="subject" />
       </rich:column>
       </rich:columnGroup>
       </f:facet>
      
       <rich:subTable
       onRowMouseOver="this.style.backgroundColor='#F8F8F8'"
       onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
       var="inbox" value="#{recordInbox}">
       <rich:column>
       <h:selectBooleanCheckbox id="checkEd"
       value="#{inbox.check}"/>
       </rich:column>
       <rich:column>
       <h:outputText value="#{inbox.subject}"></h:outputText>
       </rich:column>
       </rich:subTable>
       </rich:dataTable>
      
      

      error :
      04:56:45,089 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
      sourceId=j_id57:myList:j_id81:showedImage[severity=(ERROR 2), summary=(/maillist.xhtml @159,82 value="#{inbox.showImage}": Target Unreachable, identifier 'inbox' resolved to null), detail=(/maillist.xhtml @159,82 value="#{inbox.showImage}": Target Unreachable, identifier 'inbox' resolved to null)]
      sourceId=j_id57:myList:j_id81:checkEd[severity=(ERROR 2), summary=(/maillist.xhtml @155,78 value="#{inbox.check}": Target Unreachable, identifier 'inbox' resolved to null), detail=(/maillist.xhtml @155,78 value="#{inbox.check}": Target Unreachable, identifier 'inbox' resolved to null)]
      




      Regards,
      Paata.