struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghuveer" <>
Subject Struts tiles layout by tiles-config
Date Mon, 10 Apr 2006 16:05:35 GMT

Is there facility to restrict some tile in my base configration.


In "page.error" how to use only header part of my base configration.

tiles-config xml file

<!-- base tiles definition -->
	<definition name="base.definition" path="/jsp/siteLayout.jsp" >
		<put name="header" value="/jsp/banner.jsp" />
		<put name="footer" value="/jsp/footer.jsp" />
	<!-- tiles definition of apllication error page -->
	<definition name="page.error" extends="base.definition">
	<put name="title" value="Aeroquote - Error Page" />
	<put name="header" value="/jsp/banner.jsp" />
	<put name="body" value="/jsp/error.jsp" />

<html:html locale="true">
    <html:base />
    <title><tiles:getAsString name="title" /></title>

  <body >
<table border="1" cellpadding="0" cellspacing="0" width="98%" id="table1"
height="100%" align="center">
      <td  width="100%" valign="top" height="85">
     <tiles:insert attribute="header"  />
	   <td bgcolor="#FFFFFF" width="100%"  valign="top">
<!-- Start Working Table -->
      <tiles:insert attribute="body" />
<!-- End Working Table -->
      <td width="100%" valign="bottom" height="25">
     <tiles:insert attribute="footer" />

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message