Hi,

This is a tiles "how can I do this" question. Can a jsp/servlet called via the tiles 'put' tag know it's "region" name?

For example, can the 'getcontent' servlet (below) know get the 'name' attribute of the 'put' tag, is "center section"?

<definition
     name="/include/tiles/simple.jsp" page="include/tiles/simple.jsp">
 <put name="title" value="My title" direct="true"  />
<put name="center_section" direct="true" path="/servlet/getcontent"/> </definition>

I know that we can define tiles via xml or jsps. And that the 'put' can include either a jsp, servlet or another tile definition. Also that the we can use a tile controller to 'pre-load' data into the tilecontext.

What's not clear: whether the tile "body" knows 'from whence its called'.

thanks,

bill m



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to