« Return to Thread: Apache Struts Bridge and eXo Portal - url rewrite

Apache Struts Bridge and eXo Portal - url rewrite

by Massimiliano Cuccia :: Rate this Message:

Reply to Author | View in Thread

Hi all
Im using Apache Struts Bridge to integrate a struts application into exo portal as a portlet.

At now I can see my application's first page into a portlet, this is fine!!

but i have a problem: the taglib for url-rewrite doesn't work!
infact all the link in the application refer to external-to-the-portal destination even if I'm using the struts tags replacements.

i'm using the taglib from the bridge, this is the line that substitute original struts taglib
<%@ taglib uri="http://portals.apache.org/bridges/struts/tags-portlet-html" prefix="html" %>

this is the line that render the link
<html:link action="/TestRegistrazione">Test registrazione</html:link>

this link will refer to http://localhost/Demo/TestRegistrazione.do
but i will expect something like http://localhost/portal/portal/Demo/TestRegistrazione.do

the same happens for the html:form tag destination.

I had done some tests in the jBoss portal obtaining correct and functioning urls into link and form tags!!
Anyone has tested the bridge into eXo Portal?
is there a workaround for the problem i'm experiencing?

thanks

 « Return to Thread: Apache Struts Bridge and eXo Portal - url rewrite