5 Replies Latest reply on Feb 14, 2007 8:50 AM by Gavin King

    seam-issues sample

    Sam Newbie

      I am trying out the workspace example (example/issues).

      seam 1.1.5GA/CVS on Jboss 4.0.5.GA

      The "browse project" function in the switch bar keeps giving me an exception error:

      javax.servlet.ServletException: Cannot get value for expression '#{projectList.rowCount==0}'
      org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:61)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      and when I am logged in and tries to "select project" under create issues I get this:

      javax.servlet.ServletException: Could not get property value of component _idJsp1:_idJsp29:0:_idJsp41 org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:61)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      Anybody else running into this problem? Or is it just me?

      Best Regards,
      Sam

        • 1. Re: seam-issues sample
          Gavin King Master

          Its a bug in the example. Fixed in CVS.

          • 2. Re: seam-issues sample
            Sam Newbie

            The CVS version fixes the first problem. However the 2nd problem still exist.

            Register a user, click on create issue, then select project will give the following

            javax.servlet.ServletException: Could not get property value of component _idJsp1:_idJsp29:0:_idJsp41 org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:61)
            org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


            • 3. Re: seam-issues sample
              Gavin King Master

              Now also fixed.

              • 4. Re: seam-issues sample
                Tvrtko S Newbie

                If you login and select a project, then go back to home screen and select the same project again, you will as a result get two conversations: go back to home to see them.

                How can I change this behavior so that instead of creating a new conversation I end up joining the existing conversation when I select the project from project list?

                I tried all kinds of permutations of join=true and id="#{...}" on several @Begin annotations with no luck.

                Also, help me understand, why is the "Project" code split into ProjectSelectorBean, ProjectEditorBean and ProjectFinderBean (same for issue)? Could it all be inside one bean or is code split into several beans because of different life cycles or some other reasons?

                Regards,
                Tvrtko

                • 5. Re: seam-issues sample
                  Gavin King Master

                  This example is old, and no longer the recommended approach.

                  The CVS version of seam-gen gives you a more uptodate approach to ths kind of app.