I tried to integrate JForum with a
struts application that uses tiles but could not get it to display the JForum page(s). I want to be able to display the JForum page(s) within the contentarea of my struts tiles app. Any help will be appreciated.
tiles-defs.xml entry
<!-- classic-layout -->
<definition name="doc.classic.layout" path="/layouts/classic-layout.jsp">
<put name="title" value=".title" />
<put name="menu" value="/common/menu.jsp" />
<put name="contentarea" value="/common/body.jsp" />
<put name="footer" value="/common/footer.jsp" />
</definition>
<definition name="doc.forum.page" extends="doc.classic.layout">
<put name="title" value="Forum Discussions" />
<put name="contentarea" value="/forum/list.page" />
</definition>
struts-config.xml entry:
<action
<br /> path="/forum"
<br /> type="com.simpaq.common.action.ForumAction"
<br /> name="defaultForm"
<br /> scope="request"
<br /> validate="false"
<br /> input="doc.forum.page">
<forward name="success" path="doc.forum.page" redirect="false"/>
</action>
Thanks.
gtata
[originally posted on jforum.net by gtata]