10 Replies Latest reply on Nov 11, 2005 2:17 AM by marius.oancea

    Facelets?

    gavin.king

      Hi, yes, facelets is what we are using for our demo app here:

      http://seam.demo.jboss.com

      and Jacob Hookom is pretty deeply involved in the Seam project :-)

      Cheers,
      Gavin

        • 1. Re: Facelets?

          Unlike all the other annotation suggestions for JSF, Seam is focused on your business model-- the glue of your domain. This focus/separation allows Seam to work 'correctly' with the JSF framework and all of its flavors/implementations, including Facelets.

          -- jacob

          • 2. Re: Facelets?
            andyd

            Great stuff!

            I've not looked into, but am aware of support in MyFaces for portlets. So, I guess by what your saying, it would be possible to develop portlet applications with Seam? It would be nice if you could use the same development technology for the complete stack, i.e. BPM, Portal, etc.

            Andy.

            • 3. Re: Facelets?
              gavin.king

              Portal integration is one of the very next things we plan to tackle. Basically it just means adding a new (portlet) context to Seam - assuming I understand enough about what a JSF/Portal application works like.

              By the way, I just finished releasing 1.0 beta.

              We'll be announcing this stuff in the morning.

              • 4. Re: Facelets?
                ssilvert

                 

                "gavin.king@jboss.com" wrote:
                Portal integration is one of the very next things we plan to tackle. Basically it just means adding a new (portlet) context to Seam - assuming I understand enough about what a JSF/Portal application works like.


                It should already work out of the box unless there is something in Seam that is tied to the Servlet API. As long as the integration point is the JSF API then it should be fine.

                And yes, MyFaces works with portlets. That's my code. :-)

                • 5. Re: Facelets?
                  gavin.king

                  Currently, Seam uses the servlet API for startup and context listeners, so not quite that easy...

                  • 6. Re: Facelets?
                    andyd

                    Guys,
                    Got it working in a MyEclipse project now based on the Registration example.
                    Have replaced the files in jsf-libs with the myfaces 1.1 files and so far it seems to work, though some javascript problems with the inputDate component at the moment.

                    MyEclipse adds the myfaces jars to /WEB-INF/lib which seems to be a problem, so removing them has helped.

                    Andy.

                    • 7. Re: Facelets?

                       

                      "andyd" wrote:
                      Guys,
                      Got it working in a MyEclipse project now based on the Registration example.
                      Have replaced the files in jsf-libs with the myfaces 1.1 files and so far it seems to work, though some javascript problems with the inputDate component at the moment.

                      MyEclipse adds the myfaces jars to /WEB-INF/lib which seems to be a problem, so removing them has helped.

                      Andy.


                      That's great. Please contribute to the Facelets Wiki, or if you've like to contribute to the Facelets developer documentation, just contact the facelets dev list.

                      Cheers, Jacob

                      • 8. Re: Facelets?
                        andyd

                        Hi Jacob,
                        Will do. I'll do a little more this week to polish things up and then take a look at the wiki.

                        Andy.

                        • 9. Re: Facelets?
                          redeeze

                          where is this wiki?

                          • 10. Re: Facelets?
                            marius.oancea

                            Hey. I had the calendar problem (javascript err) too. I solved by adding ExtensionsFilter in my web.xml. This is adding the necessary javascript into the page