1 2 3 4 Previous Next 56 Replies Latest reply on Sep 18, 2007 5:27 AM by Pete Muir Go to original post
      • 30. Re: Seam 2.0 BETA
        Shane Bryzak Master

        I don't think that SSO integration will make it into Seam 2.0. I've been communicating with Anil from the security team about this and it seems that they're making some big changes to security at the moment. Once this settles down we'll look at SSO integration.

        • 31. Re: Seam 2.0 BETA
          Leo Baschy Novice

          Is http://jira.jboss.com/jira/browse/JBSEAM-1009 going to make it into 2.0? Already breaking compatibility, good time for fix to that old problem.

          If not the code of JBSEAM-1009, then equivalent functionality?

          Main point: Allow restrictions to be set per wildcard and per page without "accumulating" those from shorter path (aka from parent directory).

          • 32. Re: Seam 2.0 BETA
            ilhami visne Newbie

            Seam 2 Beta is out there since ~two weeks. i read about the new features, but first yesterday accidentally i have discovered "Parameterized Value Bindings". You can't know, how much i needed this feature. i was tired of writing wrapper classes(This was the only way, i could think). Thank you for this great feature.

            I think that this must be listed under the "new features" too, because there was many question here and the answer was always same: "You can't use EL enhancements for value bindings!".

            Thank you again.

            • 33. Re: seam-gen new-action : test fails
              Ning Zhao Apprentice

               

              "koenhandekyn" wrote:
              i created a new project using seam-gen. next i created an action using seam new-action. the test fails as follows:

              any comments?

              test:
              ...
              org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
               [testng] at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
               [testng] at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:919)
               [testng] at e]===
              



              http://www.jboss.com/index.html?module=bb&op=viewtopic&t=111930

              • 34. Re: Seam 2.0 BETA
                Clint Popetz Apprentice

                Is there any timeline or roadmap for 2.0? Or can someone from the JBoss team wager a guess and when 2.0 will be final? Quarter-year accuracy would be enough for me.

                We've been considering transitioning a rather large codebase to Seam, as it seems to do a lot of things that we've rolled internal code to do over the past 4 years. But I don't want to start 1.2 adoption if the migration path to 2.0 is difficult, or if 2.0 is right around the corner.

                Thanks in advance.

                • 35. Re: Seam 2.0 BETA
                  Ning Zhao Apprentice

                   

                  "cpopetz" wrote:
                  Is there any timeline or roadmap for 2.0? Or can someone from the JBoss team wager a guess and when 2.0 will be final? Quarter-year accuracy would be enough for me.

                  We've been considering transitioning a rather large codebase to Seam, as it seems to do a lot of things that we've rolled internal code to do over the past 4 years. But I don't want to start 1.2 adoption if the migration path to 2.0 is difficult, or if 2.0 is right around the corner.

                  Thanks in advance.


                  You can have a look here:

                  http://jira.jboss.com/jira/secure/BrowseProject.jspa?id=10071

                  And see how many open issues are still there. Especially the blocker issues and critical issues. If you want a more accurate guess yourself, you can browse the important open issues and estimate the complexity of fixing them....



                  • 36. Re: Seam 2.0 BETA
                    Gavin King Master

                    Migrating from 1.2 to 2.0 is not very difficult, maybe a couple of days work, I guess.

                    I would like to get Seam2 out in 2 months, but I can't promise. We'll see how we go.

                    • 37. Re: Seam 2.0 BETA
                      Adrian Mitev Master

                      I don't know if this is the right place but is it in the plans for implementing PagedDataModel. Like this example:

                      http://wiki.apache.org/myfaces/WorkingWithLargeTables

                      • 38. Re: Seam 2.0 BETA
                        Gavin King Master

                        The next version of RichFaces has an Ajax-paginated table.

                        • 39. Re: Seam 2.0 BETA
                          Adrian Mitev Master

                          Which solves that problem?

                          • 40. Re: Seam 2.0 BETA
                            Arbi Sookazian Master

                            Where can we find guidelines concerning best practices when designing/developing SEAM apps (e.g., when to use stateless SB's rather than stateful as it seems conversations require stateful SB's).

                            And the SEAM books don't cover IDE integration much at all...

                            • 41. Re: Seam 2.0 BETA
                              Arbi Sookazian Master

                              and what about integration with JBoss federated SSO or other SSO frameworks/software like PingFederated and Quest Vintela???

                              • 42. Re: Seam 2.0 BETA
                                Pete Muir Master

                                 

                                "asookazian" wrote:
                                Where can we find guidelines concerning best practices when designing/developing SEAM apps (e.g., when to use stateless SB's rather than stateful as it seems conversations require stateful SB's).


                                Use a SFSB when you need to maintain state between calls to the bean.

                                and what about integration with JBoss federated SSO


                                This is a roadmap item, look in JIRA.

                                • 43. Re: Seam 2.0 BETA
                                  Venkatesa Prasannaa Selvaraj Newbie

                                  Hi,

                                  I'm creating a reference application for a project with Jboss Seam. I'm using Seam2.0 beta & Glassfish server 9.1. I'm using Netbeans IDE5.5.1.
                                  I'd created a sample application with Jboss Seam, JSF & EJB3.0 & it works fine. But I need to render Facelet & Ajax4Jsf support to my application. I searched for support documents, but nothing worked. When I add facelet & Seam, I always get,

                                  WebModule[/SVPSeam-war]PWC1275: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
                                  java.lang.NullPointerException
                                  at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:100)............


                                  error.
                                  Kindly provide me exact procedure for creating Jboss Seam Application with Facelet.

                                  My faces-config.xml looks like this,

                                  <?xml version='1.0' encoding='UTF-8'?>

                                  <!-- =========== FULL CONFIGURATION FILE ================================== -->

                                  <faces-config version="1.2"
                                  xmlns="http://java.sun.com/xml/ns/javaee"
                                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">


                                  <phase-listener>
                                  org.jboss.seam.jsf.SeamPhaseListener
                                  </phase-listener>



                                  <view-handler>
                                  com.sun.facelets.FaceletViewHandler
                                  </view-handler>


                                  <!-- seam on JSF 1.2 -->
                                  <!--

                                  <el-resolver>
                                  org.jboss.seam.jsf.SeamELResolver
                                  </el-resolver>

                                  -->

                                  </faces-config>


                                  & my web.xml is like this,

                                  <?xml version="1.0" encoding="UTF-8"?>
                                  <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">


                                  <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>


                                  <context-param>
                                  <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
                                  <param-value>com.sun.facelets.FaceletViewHandler</param-value>
                                  </context-param>

                                  <context-param>
                                  <param-name>org.ajax4jsf.SKIN</param-name>
                                  <param-value>blueSky</param-value>
                                  </context-param>

                                  <context-param>
                                  <param-name>com.sun.faces.verifyObjects</param-name>
                                  <param-value>true</param-value>
                                  </context-param>
                                  <context-param>
                                  <param-name>com.sun.faces.validateXml</param-name>
                                  <param-value>true</param-value>
                                  </context-param>
                                  <context-param>
                                  <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
                                  <param-value>.xhtml</param-value>
                                  </context-param>
                                  <context-param>
                                  <param-name>facelets.DEVELOPMENT</param-name>
                                  <param-value>false</param-value>
                                  </context-param>
                                  <context-param>
                                  <param-name>facelets.SKIP_COMMENTS</param-name>
                                  <param-value>true</param-value>
                                  </context-param>

                                  <servlet-name>Faces Servlet</servlet-name>
                                  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                                  <load-on-startup>1</load-on-startup>

                                  <servlet-mapping>
                                  <servlet-name>Faces Servlet</servlet-name>
                                  <url-pattern>*.jsf</url-pattern>
                                  </servlet-mapping>
                                  <session-config>
                                  <session-timeout>
                                  30
                                  </session-timeout>
                                  </session-config>
                                  <welcome-file-list>
                                  <welcome-file>
                                  index.jsp
                                  </welcome-file>
                                  </welcome-file-list>

                                  <context-param>


                                  <param-name>org.jboss.seam.core.init.jndiPattern</param-name>
                                  <param-value>java:comp/env/SVPSeam/#{ejbName}/local</param-value>
                                  </context-param>



                                  <ejb-local-ref>
                                  <ejb-ref-name>SVPSeam/SVPHelloBean/local</ejb-ref-name>
                                  <ejb-ref-type>Session</ejb-ref-type>
                                  com.java.SVPHelloLocal
                                  <ejb-link>SVPHelloBean</ejb-link>
                                  </ejb-local-ref>


                                  <!--<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>-->
                                  <listener-class>com.sun.faces.config.ConfigureListener</listener-class>



                                  </web-app>


                                  Thanks,
                                  Venkates

                                  • 44. Re: Seam 2.0 BETA
                                    Mikael Andersson Master

                                    Not sure this is relevant to the exception you mentioned, but....

                                    You should remove the view-handler config from faces-config.xml.

                                    Ajax4jsf requires it to be defined like this in web.xml

                                     <context-param>
                                     <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
                                     <param-value>com.sun.facelets.FaceletViewHandler</param-value>
                                     </context-param>
                                    


                                    Optionally you can also add these facelets specific params to web.xml
                                     <context-param>
                                     <param-name>facelets.REFRESH_PERIOD</param-name>
                                     <param-value>2</param-value>
                                     </context-param>
                                     <!-- add this for tomahw and your own taglibs-->
                                     <context-param>
                                     <param-name>facelets.LIBRARIES</param-name>
                                     <param-value>
                                     /WEB-INF/tomahawk.taglib.xml;
                                     /WEB-INF/source-tags.taglib.xml
                                     </param-value>
                                     </context-param>
                                     <!-- gives you a nicer error page -->
                                     <context-param>
                                     <param-name>facelets.DEVELOPMENT</param-name>
                                     <param-value>true</param-value>
                                     </context-param>
                                     <context-param>
                                     <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
                                     <param-value>.xhtml</param-value>
                                     </context-param>
                                    


                                    Hope this helps,
                                    Mike