4 Replies Latest reply on Feb 12, 2008 12:33 PM by tony.herstell1

    daySlotForResourceKind is null inside the call getDateNotPas

    tony.herstell1

      daySlotForResourceKind is null inside the call getDateNotPassedAlready which afaik is not possible.

      Whats going in inside rich:columGroup?

      I have had to add a null check in the code to handle this.

      <rich:dataTable var="daySlotForResourceKind" value="#{dayForResourceKind.daySlots}">
       <f:facet name="header">
       <rich:columnGroup>
       <rich:column>
       <h:outputText id="allocation_slot" value="#{messages.allocation_slot}" />
       </rich:column>
       <rich:column>
       <h:outputText id="allocation_status" value="#{messages.allocation_status}" />
       </rich:column>
       </rich:columnGroup>
       </f:facet>
      
       <rich:columnGroup rendered="#{resourceAllocationController.getDateNotPassedAlready(dayForResourceKind, daySlotForResourceKind)}">
       <rich:column breakBefore="true">
       <h:outputText value="#{daySlotForResourceKind.slot.label}"/>
       </rich:column>
       <rich:column>
       <h:outputText value="#{daySlotForResourceKind.title}"/>
       </rich:column>
       </rich:columnGroup>
      </rich:dataTable>