struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Takhar <sandeep_tak...@yahoo.com>
Subject Re: Using tiles outside of Struts
Date Thu, 10 Jul 2003 20:51:08 GMT
from the docs:

definition

 Name of the definition to insert. Definition are
defined in a centralized file. For now, only
definition from factory can be inserted with this
attribute. To insert a definition defined with tag
<template:definition>, use beanName="". (RT EXPR)  

sandeep
--- "White, Joshua A (HTSC, CASD)"
<Joshua.White@thehartford.com> wrote:
> I format all of my applications pages using Tiles. 
> Jsp's are all accessed
> through struts with the exception of my JSP error
> handler.  I am not sure
> how to make use of my existing tiles-defs.xml file
> in a stand alone jsp.  I
> would like to make user of an existing tile
> definition to display in the
> jsp.  Could anyone give me a heads up on how to do
> this?  The documentation
> shows how to declare a new definition using the
> tiles tags:
> 
> <tiles:insert
> page="../layouts/storefrontDefaultLayout.jsp"
> flush="true">
>   <tiles:put name="header"
> value="../common/header.jsp"/>
>   <tiles:put name="menubar"
> value="../common/menubar.jsp"/>
>   <tiles:put name="body-content"
> value="../security/signin-body.jsp"/>  
>   <tiles:put name="copyright"
> value="../common/copyright.jsp"/>
> </tiles:insert>
> 
> How can I reuse my existing xml tiles definitions in
> a standalone jsp?
> 
> Joshua
> 
> 
> 
> 
> This communication, including attachments, is for
> the exclusive use of 
> addressee and may contain proprietary, confidential
> or privileged 
> information. If you are not the intended recipient,
> any use, copying, 
> disclosure, dissemination or distribution is
> strictly prohibited. If 
> you are not the intended recipient, please notify
> the sender 
> immediately by return email and delete this
> communication and destroy all copies.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Mime
View raw message