4 Replies Latest reply on May 3, 2007 6:10 AM by tony.herstell1

    Doco possible error. (Minor)

    tony.herstell1

      I think there is a comma missing after scope=SESSION)

      3.2.9. Components with multiple roles

      @Name("user")
      @Entity
      @Scope(CONVERSATION)
      @Roles({@Role(name="currentUser", scope=SESSION)
      @Role(name="tempUser", scope=EVENT)})
      public class User {
      ...
      }
      



        • 1. Re: Doco possible error. (Minor)
          pmuir

          Thanks :) Feel free to raise JIRA issues for documentation bugs

          • 2. Re: Doco possible error. (Minor)
            tony.herstell1

            I will once I know its really a BUG.
            If you dont mind the "It hink its a bug cluttering up the Jira then I will from now on"...
            And on that note... the conversation picker seems to have stopped working!!! in that it nevers lists conversations.. or is this just ME!

            • 3. Re: Doco possible error. (Minor)
              pmuir

              Can you replicate this in an example?

              • 4. Re: Doco possible error. (Minor)
                tony.herstell1

                This is in my template which is psrt of every page.
                I have 2 projects and I never see anything displayed.
                (I used to aoroung 2 drops of Seam ago.. and it was quite neat to jump around the conversations - and slo useful for debugging!).


                <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                <div xmlns="http://www.w3.org/1999/xhtml"
                 xmlns:c="http://java.sun.com/jstl/core"
                 xmlns:ui="http://java.sun.com/jsf/facelets"
                 xmlns:f="http://java.sun.com/jsf/core"
                 xmlns:h="http://java.sun.com/jsf/html">
                
                 <h:dataTable value="#{conversationList}" var="entry"
                 rendered="#{not 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>
                </div>
                


                I will create a small app on Tuesday (insanly busy till then) which should show it.