Hi Kris, so far the approach works, it's just a workaround, I'm eagerly waiting for T5's Ajax support. a little curious as well, how framework provides Ajax support? T5 is loading around 200k js files, that's far bigger than jQuery's 20k, might be better T5's core should not deal with Javascripts, an add on module will, if user does not use those features that requires js, it will save around 200k.
A.C. kristian.marinkovic wrote: > > hi angelo, > > you reached a point where you have to digg a little deeper :) > > in order to achieve what you want you'll have to > provide your own DocumentScriptBuilder ( 5.0.5) > or DocumentHeadBuilder (>= 5.0.6) > > please checkout the source and search for the class > you'll see it is not that complicated :) > > g, > kris > > > > > Angelo Chen <[EMAIL PROTECTED]> > 05.11.2007 07:23 > Bitte antworten an > "Tapestry users" <[email protected]> > > > An > [email protected] > Kopie > > Thema > Re: T5: disable javascript > > > > > > > > > found a workaround on this, surround the <body> with <div> > > <div> > <body> > </body> > </div> > > T5 will not include javascript in the rendered page, but not sure if this > works with 5.06. > > > Angelo Chen wrote: >> >> Hi, >> >> Is there a way to disable or exclude those default javascripts(that's >> around 200k in size)? I notice if there is form in a page T5 will > include >> some javascript files. I disable the browser's javascript and the page >> still works with those validations done in the server, that means we > don't >> really need javascript for the form, right? >> >> The reason I will disable the javascript is, when you load a page using >> jQuery/Thickbox, if the page has form with javascript, it will fail, >> Firebug reports 6 errors on those js files, I have to use pure html form >> now for that so I can't use the onValidate event in the server side for >> validation, any idea? Thanks, >> >> A.C. >> > > -- > View this message in context: > http://www.nabble.com/T5%3A-disable-javascript-tf4749556.html#a13581860 > 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-disable-javascript-tf4749556.html#a13584093 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
