Re: Inheritance and the order of loaded JS

2012-07-12 Thread Steve Eynon
> wouldn't it be generally better if the @Import obeys the parent child order Possibly, but I believe it's quite an edge case you have there. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

Re: Inheritance and the order of loaded JS

2012-07-12 Thread mem
It's not only our own components, we're using GoT5 and wanna extend some components, as they use @Import on the class i can't use placeholder methods. For some of our own components it's worth considering. Generally we've the paradigm to only use @Import except the JS needs to be loaded due to some

Re: Async process ComponentRequestHandler and JavaScriptSupport

2012-07-12 Thread Lance Java
To answer my own question I needed to use AjaxResponseRenderer instead of JavaScriptSupport and it all just works. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Async-process-ComponentRequestHandler-and-JavaScriptSupport-tp5714401p5714441.html Sent from the Tapestry - Use

Re: T5 APPLICATION_VERSION

2012-07-12 Thread Joost Schouten (mailing lists)
This should do the trick: @Inject @Symbol(SymbolConstants.APPLICATION_VERSION) private String appVersion; Cheers, Joost On Jul 12, 2012, at 8:58 PM, Norman Franke wrote: > I give up. How do I programmatically get the value of the APPLICATION_VERSION > that I set in the AppModule? In my login

Tapestry social images

2012-07-12 Thread Muhammad Gelbana
Has anyone created a tapestry desktop wallpaper ? facebook cover\profile pic ? anything ? If yes, please share it :) -- *Regards,* *Muhammad Gelbana Java Developer*

T5 APPLICATION_VERSION

2012-07-12 Thread Norman Franke
I give up. How do I programmatically get the value of the APPLICATION_VERSION that I set in the AppModule? In my login page, I'd like to display the version. I'm not sure what to inject. I've tried a number of things, but nothing seems to work. Where is it stored? Norman Franke Answering Servic

Re: Inheritance and the order of loaded JS

2012-07-12 Thread Howard Lewis Ship
Or have the parent class invoke a "placeholder" method that is overridden in the subclass to add further scripts after the base class has added its scripts. Part of the design of Tapestry is that it does not force you to use specific base classes, so you are free to design your own that fit your n

Re: Inheritance and the order of loaded JS

2012-07-12 Thread Lance Java
This sounds familiar... I think that the solution was to use different render phases to control the ordering of imports. Instead of putting @Import statements at the class level, put them on render phase methods (eg setupRender and beginRender) to control the ordering. -- View this message in cont

Re: Inheritance and the order of loaded JS

2012-07-12 Thread Steve Eynon
I would imagine, similar to specifying the order of CSS, the scripts that get added in the later render methods get added later. e.g. scripts added in setupRender() will appear before scripts added in afterRender() On 12 July 2012 21:40, mem wrote: > Hello, > > i've two Tapestry components whe

Re: Tapestry with unit since the begin

2012-07-12 Thread William Lopes
My apologies, I left a little of the focus this mailing list. Won't happen again. But my intention don't was create conflict, like you can see in all my e-mails sent. I did part of other community similary, where our focus was Invision Power Board (CMS in PHP), but we helped in PHP, HTML, CSS e S

Inheritance and the order of loaded JS

2012-07-12 Thread mem
Hello, i've two Tapestry components where one inherits from the other one. The same dependency exists in their JS which is realized by using the jQuery UI Widget Factory. The problem i have is the order in which the @Import loads the JS, first the JS of the child class, which relies on the availab