Hi all,
I'm working with Portal 2.4, Seam, MyFaces, Facelets, JBoss4.0.4 and mySql 5.0.
I'm trying to build some JSF components that are specific to JSF usage in portlets (like the Portlet Tag Library, but for JSF). The simplest example is a version of HtmlOutputLink that will render a link that is relative to the portal that the portlet is part of.
My first question is: Is this the right approach or am I misunderstanding something about HtmlOutputLink that makes it not use Portal Container relative links ?
Secondly, I'm having some trouble in getting the Portal Request URL, and I think it comes down to a decision about the specification - as indicated by the comments in org.jboss.portal.portlet.impl.jsr168.PortletRequestImpl's getContextPath() method, as follows:
// PLT.11.1.5 public String getContextPath() { // Fixme : should use the incoming request ? return invocation.getContainer().getWebApp().getContextPath(); } // PLT.11.1.6