I have a definition something like this:

<definition name="site.default"
template="/WEB-INF/views//site-template.jsp">
   <put name="top"      content="/WEB-INF/views/top.jsp" />
    <put name="left"     content="/WEB-INF/views/left.jsp" />
   <put name="content"  content="/WEB-INF/home.jsp" />
    <put name="right"    content="/WEB-INF/right.jsp" />
   <put name="bottom"   content="/WEB-INF/bottom.jsp" />
  </definition>

from within the top.jsp and left.jsp I want to obtain the "name" of the
calling compontent definition to do something.  Is this possible? short of
creating a new attribute and putting that in the definition like:

    <put name="name" content="site.default"/>

Is there a way to get a hold of this variable? Any help would be
appreciated.

Sean


Reply via email to