4 Replies Latest reply on Feb 26, 2009 11:15 AM by stgarp

    Facelets & Xhtml: how to use the portlet: taglib to create a

      Hi,

      I'm willing to create a portlet url in my *.xhtml file, using the portlet taglib, like:

      <portlet:renderUrl>
      <portlet:actionUrl>
      <portlet:param>


      Is there anyway to combine these tags and the use of facelets in xhtml files, or am I facing a problem and need to turn back to JSP's excluding facelets ?
      In that last case, will I still be able to use richfaces 3.3.0 ?

      If there's a need to extract those url generation using a Helper managed bean, any sample on how to retrieve an actionUrl programmatically in a managed bean is welcome.

      Thanks in advance, I'm knew to these frameworks and my head's hurting !!

        • 1. Re: Facelets & Xhtml: how to use the portlet: taglib to crea
          wesleyhales

          If you're using the portlet bridge, the proper urls are encoded in the bridge through navigation rules defined in your faces-config.xml.

          • 2. Re: Facelets & Xhtml: how to use the portlet: taglib to crea

            Great ! It seems this bridge is powerfull. As a fresh new user, I have then another question:
            Does that mean I am able to use event and public render parameters and that kind of stuff with my faces portlets ?
            Is there any doc / example / tuto about this (richfaces + JSR 286 + portlet bridge) ?

            Thanks in advance for your time and for the first answer you gave me.

            • 3. Re: Facelets & Xhtml: how to use the portlet: taglib to crea
              wesleyhales

              we are currently working on eventig

              • 4. Re: Facelets & Xhtml: how to use the portlet: taglib to crea

                Arrg ! I was planning to use this features along with richfaces for a prototype at work ! Seems I need to look for other ways to combine RIA/Portal/Eventing. I think it will be real hard for me now, I already spent 15 days developping my portlets before implementing eventing, and I'm turning low budget now !!
                Portlet bridge not supporting JSR 286 needs to be clearly define somewhere else instead of forums. I was mistaken by the InfoQ tutorial and some others !!

                Anyway, you're doing a great job and I hope the community will release a 2.0 Bridge version soon.

                Do I really need the bridge if i'm working only with JSF/Richfaces excluding Seam ? In the case I don't need it, does the eventing work ?

                Anyway, thanks again for your answers and for your good job.