2 Replies Latest reply on Aug 29, 2006 5:18 PM by Andre Fernando Salvati

    Where are my conversations?

    Andre Fernando Salvati Novice

      I tryed to show conversationList on my sreens but it didn't work. Seems there is nothing in conversationList, in spite of Seam Debug show me several conversations.

      JSP file

      <h1><h:outputText rendered="#{not empty conversationList}" value="Workspaces with conversations"/></h1>
       <h1><h:outputText rendered="#{empty conversationList}" value="Workspaces wihout conversations"/></h1>
       <h:dataTable value="#{conversationList}" var="entry" rendered="#(empty conversationList}">
       <h:column>
       <f:facet name="header">Workspace</f:facet>
       <h:commandLink action="#{entry.select}" value="#{entry.description}" />
       <h:outputText value="[current]" rendered="#{entry.current}" />
       </h:column>
       <h:column>
       <f:facet name="header">Activity</f:facet>
       <h:outputText value="#{entry.startDatetime}">
       <f:convertDateTime type="time" pattern="hh:mm a" />
       </h:outputText>
       <h:outputText value=" - " />
       <h:outputText value="#{entry.lastDatetime}">
       <f:convertDateTime type="time" pattern="hh:mm a" />
       </h:outputText>
       </h:column>
       <h:column>
       <f:facet name="header">Action</f:facet>
       <h:commandButton action="#{entry.select}" value="#{msg.Switch}" />
       <h:commandButton action="#{entry.destroy}" value="#{msg.Destroy}" />
       </h:column>
       </h:dataTable>
      
      


      I've got this on my server.log file:

      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.Component] instantiating Seam component: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.contexts.Contexts] found in page context: conversationList
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      2006-08-29 16:37:13,069 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component
      


      Something wrong?

      Thanks.