Hi Kris,

Since PageRenderSupport uses DocumentHeadBuilder to write the scripts, I am
thinking of extending DocumentHeadBuilder, but it does not register:

binder.bind(DocumentHeadBuilder.class, MyDocumentHeadBuilderImpl.class); 

any idea?


kristian.marinkovic wrote:
> 
> replace PageRenderSupport or add another service like PageRenderSupport 
> that renders JQuery specific javascript :)
> 
> 
> 
> 
> Angelo Chen <[EMAIL PROTECTED]> 
> 14.03.2008 15:56
> Bitte antworten an
> "Tapestry users" <users@tapestry.apache.org>
> 
> 
> An
> users@tapestry.apache.org
> Kopie
> 
> Thema
> T5: using jQuery with PageRenderSupport
> 
> 
> 
> 
> 
> 
> 
> 
> Hi,
> 
> When you use  _pageRenderSupport.addScript(jsFunc) to add some 
> javascripts,
> it will always be put inside following block:
> 
> Tapestry.onDOMLoaded(function() {
> 
>   ... js functions added here
> });
> 
> is it possible not to include javascript in the above block? if you use
> jQuery, putting inside that block will not work, any idea?
> -- 
> View this message in context: 
> http://www.nabble.com/T5%3A-using-jQuery-with-PageRenderSupport-tp16048164p16048164.html
> 
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-using-jQuery-with-PageRenderSupport-tp16048164p16062067.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to