Re: Insert Stylesheet to the Head top

2011-11-02 Thread Eugene Zhulkov
It works! Thank you all very much! Code: Overall processing time for main page of http://kindershopping.ru hasn't changed: before - min 149ms, mean 165ms, max 195ms after - min 144ms, mean 163ms, max 365ms -- View this message in context: http://tapestry.1045711.n5.nabble.com/Insert-Stylesh

Re: Insert Stylesheet to the Head top

2011-11-02 Thread Eugene Zhulkov
I used "after:*" parameter so filter is called last in the chain of filters according to debugger's info. Also I tried to override last filter - DefaultValidationDecorator, with no results. It seems tapestry resources are inserted after these filters. Outside MarkupRendererFilter routines -- Vie

Re: Insert Stylesheet to the Head top

2011-11-02 Thread Eugene Zhulkov
I've tried this code: So as you can see I've added new filter which inserts element after html/head element. It works fine - this link appears in the resulting page. But system resources (css and js) are being processed later by tapestry and inserted before my resources... Any ideas? -- View

Re: Insert Stylesheet to the Head top

2011-11-01 Thread Eugene Zhulkov
Sure I will :) I'll try to do this tomorrow -- View this message in context: http://tapestry.1045711.n5.nabble.com/Insert-Stylesheet-to-the-Head-top-tp4952484p4955381.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Insert Stylesheet to the Head top

2011-11-01 Thread Eugene Zhulkov
Thank you for reply, I'll try it but think it will drastically increase overall processing time... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Insert-Stylesheet-to-the-Head-top-tp4952484p4955357.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Insert Stylesheet to the Head top

2011-10-31 Thread Eugene Zhulkov
quot;Martin Strand-4 [via Tapestry]" написал(а): > On Mon, 31 Oct 2011 18:58:31 +0100, Thiago H. de Paula Figueiredo <[hidden > email]> wrote: > > > On Mon, 31 Oct 2011 11:48:04 -0200, Eugene Zhulkov <[hidden email]> > > wrote: > > > >> De

Insert Stylesheet to the Head top

2011-10-31 Thread Eugene Zhulkov
Dear community! I'm facing a trouble that I can't solve. But I think it's solvable :) So I need to insert css stylesheet link to the top of the HEAD tag. Even before Tapestry resources. I use @Import and Stacks to collect all needed resources for every page but they are inserted by tapestry right

Re: Dynamically changу attribute set

2009-08-21 Thread Eugene Zhulkov
Thx for reply Yes - the easiest but the worst decision... What if the form contains 1000 lines of tml code? Copy&Paste and support 2 identical blocks? :) No :) I've solved this problem with Java code in component: public void afterRender() { if(needZoneSupport){ Link link = resources.createF

Re: Dynamically changу attribute set

2009-08-21 Thread Eugene Zhulkov
in the template u specify the template using a "prop" prefix > > > > > in java i have > @Parameter(allowNull=true,defaultPrefx=defaultPrefix=BindingConstants.LITERAL) > @Property > private String zone; > > have a nice day > On Fri, Aug 21, 2009 at 9:16

Dynamically changу attribute set

2009-08-21 Thread Eugene Zhulkov
Good day! Is there any way to dynamically change attributes set in some TML element? Like XSLT element does To be more presize - I have 1 component with element. In some cases I want to add t:zone attribute or omit it. Thank for responses! -- View this message in context: http://www.nabble