[EMAIL PROTECTED] ha scritto:
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>

Short answer: no. But the question is: what do you want it for? I mean, I don't see anything obviously useful, except of some debugging information...

Ciao
Antonio

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

Reply via email to