good question we made this like 16 months ago, so i gotta remember how it works. this stomps out the shell and replaces it with your own custom. we did this so we can easily incorporate a DB driven meta generator, as well as full control of the head. really it wasn't that bad to make it. took about 6 hours to replicate the head of the document.

within your component to handle this are you rendering the Body using RenderBody() i believe this is what triggers the actually rendering of the page components and page class.

whats the specific lines of

org.apache.tapestry.html.Shell.renderComponent(Shell.java:63)
org.trails.demo.components.LayoutAssets.renderComponent(LayoutAssets.java:96)

try tracing the problem back though rthe inetrnals that might lead you to whats not being set. for some reason i dont think super.renderComponent(writer, cycle); is working the way it should. cuz if that doesn't render or get triggered then your base component wont put in the correct markup for tap to work. try writting out the entire head manually usuing the writer rather then extending it.

evan



----- Original Message ----- From: "Ken nashua" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <users@tapestry.apache.org>
Sent: Thursday, June 28, 2007 2:14 PM
Subject: RE: is ognl usable inside *.css files ?


Evan I appreciate your assistance and knew you had the best solution.

But does your derivative completely stomp/override and replace default Shell.renderComponent? Or does the default Shell.renderComponent get executed somewhere?

I am just wondering if you had to go thru th epain of copying out of Shell.renderComponent all it's guts and instrumenting them in place within your Hacks.renderComponent or whether you found a way to utilize/operate the base class in some rendering capacity in conjunction with your override.

Could you elaborate? I know it sounds like basic inheritence stuff but I have tried to execute super.renderComponent within my overridden version and could not get it to work and do not understand why it crashes with nullpointerexception... or whether the base class execution of renderComponent needs to be avoided altogether for some strange reason.

Best regards
Ken in nashua



----Original Message Follows----
From: "Ken nashua" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], users@tapestry.apache.org
Subject: RE: is ognl usable inside *.css files ?
Date: Thu, 28 Jun 2007 12:55:58 -0400

Also, is it possible for someone to offer a snippet as how to actually implement the instrumentation of the CSS logic? is this specified in a template? Or do I have to write it out to the writer?

Thanks for any assistance.

Best regards
Ken in nashua

_________________________________________________________________
Get a preview of Live Earth, the hottest event this summer - only on MSN http://liveearth.msn.com?source=msntaglineliveearthhm

_________________________________________________________________
Get a preview of Live Earth, the hottest event this summer - only on MSN http://liveearth.msn.com?source=msntaglineliveearthhm


---------------------------------------------------------------------
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