Hi Ajax calls also require javascript and the zones depend on prototype.js. (btw assets usually get cached by browser in production mode, read about SymbolConstants.APPLICATION_VERSION on http://tapestry.apache.org/configuration.html)
Also you can replace the default css by creating a blank file and overriding the symbol SymbolConstants.DEFAULT_STYLESHEET with its path. http://tapestry.1045711.n5.nabble.com/How-to-remove-default-css-and-javascript-files-from-t5-td2428776.html regards Taha On Wed, Jul 13, 2011 at 2:37 PM, Bo Gao <eli...@gmail.com> wrote: > > I try a blank page, it contains many scripts like prototype.js. > I just want a clear output like > <html><body> my content </body></html> > > In fact I want to load a page using ajax, but the page returned contains > many javascript files like > /assets/0.1.0/core/scriptaculous_1_8_2/prototype.js?_=1310547743256 > This increase many requests. > And these javascript may be already loaded. I just want to remove these. > > On Jul 13, 2011, at 4:36 PM, Taha Hafeez wrote: > > > Hi > > > > Just don't include any component that uses javascript. The default > > stylesheet does get included even if you create a blank page but then you > > can always override the css rules. > > > > regards > > Taha > > > > On Wed, Jul 13, 2011 at 1:59 PM, Bo Gao <eli...@gmail.com> wrote: > > > >> Prevent a particular page from generating any javascript or css. > >> I know a method to provide a JavaScriptStack, but this will affect all > >> pages, > >> I want only one page don't render so many js files. > >> How to do this. > >> > >> -- > >> Bo Gao > >> eli...@gmail.com > >> > >> > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > -- > Bo Gao > eli...@gmail.com > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org