struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Janarthan Sathiamurthy" <janartha...@mphasis.com>
Subject Tiles - Moving from jsps to tiles definitions
Date Wed, 09 Jun 2004 09:32:29 GMT
Hi,

I am using tiles in Struts1.1.
Earlier i used to write all the definitions in a jsp file like -

String contentURL = ...... // Is calculated using some logic in this page itself
<tiles:insert page="/templates/my_template.jsp">
	<tiles:put name="title">My Page</tiles:put>
	<tiles:put name="header" content="/includes/header.jsp"/>
	<tiles:put name="imageName" content='<%=request.getContextPath() +"/images/hdrcust_cust_care.gif"%>'
direct="true"/>
	<tiles:put name="side_menu" content="/includes/support_side_menu.jsp"/>
	<tiles:put name="contents" content="<%= contentURL %>"/>
	<tiles:put name="footer" content="/includes/footer.jsp"/>
</tiles:insert>

Now i am planning to move to definitions.
How do i handle cases like the dynamic calculated URL ?
Any Suggestions ?


Thanks & Regards,

Janarthan S.
___________________
MphasiS India Pvt. Ltd.
Architecting Value
SEI-CMM Level  5   ISO 9001
2nd Floor, The Leela Business Park,
Andheri Kurla Road, Andheri (E),
Mumbai 400 059,
Maharashtra, INDIA.
Tel: +91-22- 56777777
Fax: +91-22- 56777700 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message