http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/ClientInfrastructure.html
On Sun, Aug 21, 2011 at 6:35 AM, jqzone <jqz...@gmail.com> wrote: > thanks for reply. > I know how to add my own stylesheet like this. > Now I want to know how to add this with tapestry build in > default.css, core/tapestry-console.css > > On Sun, Aug 21, 2011 at 9:00 AM, Taha Hafeez <tawus.tapes...@gmail.com>wrote: > >> @Environmental >> private JavaScriptSupport javaScriptSupport; >> >> @Inject @Path("context:layout/mycss.css") >> private Asset mycss; >> >> void afterRender() { >> javaScriptSupport.importStylesheet(new StylesheetLink(mycss, new >> StylesheetOptions("screen", null)) ); >> } >> >> >> On Sun, Aug 21, 2011 at 6:25 AM, jqzone <jqz...@gmail.com> wrote: >> > thanks! >> > >> >> >> >> -- >> Regards >> >> Taha Hafeez Siddiqi (tawus) >> http://tawus.wordpress.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org