Daniel M Garland wrote:
> Hi
> 
>> The only real downsides are that the contents must
>> be static and relative links should be avoided (or handled).
>>
>>  
>>
> 
> If I want a consistent navigation bar throughout the website that uses
> directlinks and other tapestry components what are my options then?
> Cut+paste is bound to lead to issues....

I would suggest a "Border" component.

Border.html

<html jwcid="@Shell" title="'My App'">
<body jwcid="@Body">
<div id="menu">
  <ul>
   <li><a href="#" jwcid="@DirectLink">Nav1</a></li>
   ...
  </ul>
</div>
<div id="content">
  <span jwcid="@RenderBody"/>
</div>
</body>
</html>

Then, in each of your pages, you can do:

<body jwcid="@Border">
  Some page text.
</body>

Voila, Everything is included nicely. :)

Robert

> 
> TIA
> Cheers
> Dan
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to