issue in Orbeon with Tiles

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

issue in Orbeon with Tiles

Ingoba
This post was updated on .
Hi,
First of all thank you guys for your kind support. I’m new to Orbeon  and have setup a test-environment. Everything is working like it should, when I request a page with “/xforms-jsp” in the URL, the page is processed by the Orbeon engine and I get the expected form. However, at work, we use sturts (1.1) and tiles. I tried adding a “/xforms-jsp/some-app/index.jsp” to my tiles-defs.xml config which looks something like this:

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<tiles:insert page="/tiles/template.jsp" flush="true">
        <tiles:put name="title" type="string" value="Welcome" />
        <tiles:put name="header" value="/tiles/header.jsp" />
        <tiles:put name="menu" value="/tiles/menu.jsp" />
        <tiles:put name="body" value="/xforms-jsp/ss60/index.jsp" />
        <tiles:put name="bottom" value="/tiles/footer.jsp" />       
</tiles:insert>

Then when I go to:  http://my-server/some-context/jsp/home.jsp, I get the correct header/footer/menu and body layout, but I get the raw XHTML output from the JSP in the body instead of the interpreted form of the orbeon engine.
If I access with http://my-server/some-context/xforms-jsp/ss60/index.jsp, I got the proper xform page with all the styles and data.
Why is the server not taking the <tiles:put name="body" value="/xforms-jsp/ss60/index.jsp" /> as an Xform stuff?


Please anybody help me.

Thanks,
Ingoba