struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael" <>
Subject RE : [Tiles] - Definition inheritence question
Date Mon, 02 Sep 2002 14:02:33 GMT
I have found a way to do this using an "intermediate" definition:

  <definition name="plant_status_page"
    <put name="body" value="plant_status_body"/>

  <definition name="plant_status_body"


  <!-- Header Page Information -->
  <tiles:insert definition="plant_list" />
  <tiles:insert definition="subsystem_list"/>

Therefore requesting plant_status_page gives me the page I want.  If I
request plant_status_body directly, I don't get the nested behavior that
I'm looking for (my page is missing the header & footer).  I'm not sure
this is the cleanest approach, because there seems to be an extra
definition (plant_status_page), but at the same time I'm not sure if
there's a way to avoid it.  Is there another way??


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

View raw message