Why a relative path doesn't work in my Seam code to redirect to a page in Gatein portal environment?

Solution Verified - Updated -

Issue

File download (i.e. exporting datatable results to Excel/PDF) is a critical requirement for us with the portal.  Just about every portlet we are using in the current 4.x version of the portal provides this functionality.  We are beginning to work on porting to Gate-In 3.0 and I cannot get the file download function to work.  Our datatable bean needs to perform a redirect to a FileDownloadServlet.  The portletbridge reference indicates we should be able to do this by using:

<h:commandLink actionListener="#{yourBean.yourListenr}">
 <f:param name="javax.portlet.faces.DirectLink" value="true"/>
</h:commandLink>

But I can't seem to redirect out of the portal.

Environment

  • Gatein 3.0.0.GA
  • JBoss Portlet Bridge 2.0.0.GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content