actually, there is a simple way of doing it with css check this out: http://www.4guysfromrolla.com/demos/printMediaCss.html
which is actualy a link I chose randomly from this google search: http://www.google.com/search?hl=en&[EMAIL PROTECTED] On 7/13/05, Ron Piterman <[EMAIL PROTECTED]> wrote: > > You can change your border component: > > <span jwcid="@Conditional" condition="ognl:printer"> > printer layout... > <span jwcid="@RenderBody"/> > </span> > > <span jwcid="@Conditional" condition="ognl:printer" inverse="ognl:true> > Normal layout... > <span jwcid="@RenderBody"/> > </span> > > now the printer method can access a state object, a page property or > whatever. > > > > Will Scheidegger: > > 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] > >
