What about some code like this:

RegularView.html:

<span jwcid="@Conditional" condition="xxx1">
  <span jwcid="@Border1"><span jwcid="@RenderBody"/></span>
</span>
<span jwcid="@Conditional" condition="xxx2">
  <span jwcid="@Border2"><span jwcid="@RenderBody"/></span>
</span>
<span jwcid="@Conditional" condition="xxx3">
  <span jwcid="@Border3"><span jwcid="@RenderBody"/></span>
</span>

where condition is evaluated at runtime? 


El Mér, 13-07-2005 a las 12:00 +0200, Will Scheidegger escribió:
> I've got a "RegularView" component that is being wrapped around a 
> BasePage subclass with the RenderBody component. This RegularView 
> component makes up the page frame, is responsible for the navigation 
> and so on.
> 
> Now I would like to display the same content with a different component 
> wrapped around it - a printer friendly view without the navigation and 
> other stuff. Is there any way to choose at request time what component 
> to wrap around a BasePage subclass?
> 
> Cheers,
> Will
> 
> 
> ---------------------------------------------------------------------
> 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