Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

STRUTS--Tiles Display Link in Page Body ---Please Help!!!

843840Feb 6 2008 — edited Feb 7 2008
I am developing a WebApp and utilizing Tiles . I have a regular classic layout similar to :
<tiles:insert page="/layouts/classicLayout.jsp" flush="true">
<tiles:put name="title" value="Browser Title" />
<tiles:put name="header" value="/header.jsp" />
<tiles:put name="footer" value="/footer.jsp" />
<tiles:put name="menu" value="site.menu.links" />
<tiles:put name="body" value="definition.name" />
</tiles:insert>

Below is the mapping for the links in  site.menu.links

<definition name="site.menu.links" path="/web/layouts/menuLayout.jsp" >
	<put name="title" value="Links" />
		<putList name="menuItems" >
			<item value=" Template Definition"
				link="/templateAction.do" />
			<item value="Application Definition"
				link="/examples/myPortalSettings.jsp" />
			<item value="Progress Report"
				link="/examples/myMenuSettings.jsp" />
			<item value="Exception Report"
				link="/examples/myMenuSettings.jsp" />
		</putList>
	</definition>


----------------------------------------
---------------------------------------
I have all the necessary mappings done for each part of the page.In the menu, I have links to other pages which are to be displayed in the body.

How can I go about ensuring that when any link in the menu is clicked, it is dispayed in the body.

Thanks in anticipation of your response.

JLearner
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 6 2008
Added on Feb 6 2008
2 comments
112 views