Why @EagerLoad services come before @Startup methods?

2012-04-19 Thread fmaylinch
Hello, We've seen that @EagerLoad services are instantiated before @Startup methods are executed? Why that? Wouldn't make more sense the other way? What should we do if an @EagerLoad service needs initialization provided by a @Startup method? Thanks! -- View this message in context:

Re: Why @EagerLoad services come before @Startup methods?

2012-04-19 Thread Lance Java
Instead of initializing your @EagerLoad service in it's constructor, you could add an init() method to the service. Then you call init() inside a @Startup method after you have initialized any dependencies. http://tapestry.apache.org/registry-startup.html Lance.

Tree leaf not selectable

2012-04-19 Thread Geoff Callender
I can't make a tree leaf selectable. When I click on a leaf there's a _javascript_ error in tree.js:function doAnimate(element) {var sublist = $(element).up('li').down("ul");var dim = sublist.getDimensions();tree.js:52TypeError: 'undefined' is not an object (evaluating

Re: Tree leaf not selectable

2012-04-19 Thread Lance Java
Hi Geoff, from what I've seen, the tree nodes don't do anything when selected. You can set the label parameter if you'd like to do something special. t:tree model=... id=myTree p:label t:if myTree.node.leaf t:eventlink event=leafSelected context=myTree.node.value / t:else

Re: tapestry-security w/ Remote Login

2012-04-19 Thread George Christman
Hi Kalle, I know it's been some time since we last spoke about this project. I'm getting started with it again and had a question for you. When you said I could call Subject.login in my isAuthorized method, were you referring to something like this? @Override protected boolean

Re: Tree leaf not selectable

2012-04-19 Thread George Christman
I essentially had to do the same thing Lance suggested. This bug exist in the Tapestry-Jquery implementation too. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tree-leaf-not-selectable-tp5651521p5652216.html Sent from the Tapestry - User mailing list archive at

Re: tapestry-security w/ Remote Login

2012-04-19 Thread Kalle Korhonen
On Thu, Apr 19, 2012 at 9:10 AM, George Christman gchrist...@cardaddy.com wrote: Hi Kalle, I know it's been some time since we last spoke about this project. I'm getting started with it again and had a question for you. When you said I could call Subject.login in my isAuthorized method, were

Is there such thing as a Tapestry class?

2012-04-19 Thread George Christman
Does anybody know of a training center that offers Tapestry training? I just recently did some java training using some distant learning tools at a local New Horizon Center. I was surprised to find how much I got out of that class and wondered if something similar existed for Tapestry? I feel as

Re: Is there such thing as a Tapestry class?

2012-04-19 Thread gricker
I would also be interested in some sort of online learning for Tapestry. Greg -- View this message in context: http://tapestry.1045711.n5.nabble.com/Is-there-such-thing-as-a-Tapestry-class-tp5652475p5652493.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Is there such thing as a Tapestry class?

2012-04-19 Thread Thiago H. de Paula Figueiredo
On Thu, 19 Apr 2012 15:43:33 -0300, gricker ricke...@gmail.com wrote: I would also be interested in some sort of online learning for Tapestry. http://tapestry.apache.org/about.html -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and

Re: Is there such thing as a Tapestry class?

2012-04-19 Thread George Christman
Would you guys consider offering an organized web based class? I'm currently the only one in my organization that would be taking the class, so it wouldn't make economical sense to have someone on site. Perhaps we could put together a small class? My recent java training consisted of 15 remote

Re: Why @EagerLoad services come before @Startup methods?

2012-04-19 Thread Ferran Maylinch
Thanks Lance. But we have several @EagerLoads so we would have to call all their init() methods! On Apr 19, 2012 1:36 PM, Lance Java [via Tapestry] ml-node+s1045711n5651506...@n5.nabble.com wrote: Instead of initializing your @EagerLoad service in it's constructor, you could add an init()

Re: Handling component's actionlink on the enclosing page?

2012-04-19 Thread Thiago H. de Paula Figueiredo
On Thu, 19 Apr 2012 16:36:58 -0300, Dmitriy Vsekhvalnov dvsekhval...@gmail.com wrote: Hi all, Hi! i have simple custom component within loop on the page: t:loop source=units value=unit t:uniteditor value=unit /t:loop UnitEditor.tml contains couple ActionLinks: t:actionlink

Re: Why @EagerLoad services come before @Startup methods?

2012-04-19 Thread Thiago H. de Paula Figueiredo
On Thu, 19 Apr 2012 16:38:09 -0300, Ferran Maylinch ferranmayli...@gmail.com wrote: Thanks Lance. But we have several @EagerLoads so we would have to call all their init() methods! I'd say that if you need specific service initiation ordering, you should contribute to the

Re: Handling component's actionlink on the enclosing page?

2012-04-19 Thread Thiago H. de Paula Figueiredo
On Thu, 19 Apr 2012 16:59:33 -0300, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Yes, if you change from ActionLink to EventLink. Ooops, it missed the explanation: Tapestry component ids are local to the component or page in which they were declared, so, outside it, you cannot

Re: Is there such thing as a Tapestry class?

2012-04-19 Thread Russell John-Baptistr
I would be interested in an event like this. For tapestry to take its marketing to the next level there needs to be more docs and tutorials that are accessible to an audience that is less senior such as junior developers (such as myself) in the beginning of their careers... On Apr 19,

Re: Communication with the server failed: undefined

2012-04-19 Thread ytsurk
FYI for me this error also occurs when i set the HTTP-HEADER x-requested-with to XMLHttpRequest, (with modifyHeaders in FF) and do (or intend) a normal request pagerequest. -- View this message in context:

Re: 5.3.0 java.lang.IncompatibleClassChangeError: Implementing class

2012-04-19 Thread trsvax
I know this is a bit old but I just ran into this problem. For me it was dependency groupIdorg.chenillekit/groupId artifactIdchenillekit-tapestry/artifactId version1.3.0/version /dependency Which brings in the tapestry 5.2 functions jar file -- View this message

Re: Is there such thing as a Tapestry class?

2012-04-19 Thread Howard Lewis Ship
The good news is that I have a pretty comprehensive Tapestry course ... however, I have not structured it for remote presentation; instead, I've been providing training on-site for clients. I know this means I've been missing out on opportunities to train smaller shops, such as yours. Reworking

Re: Why @EagerLoad services come before @Startup methods?

2012-04-19 Thread fmaylinch
Thanks Thiago, The order in which the @EagerLoad services are instantiated is not important (I mean, the order between them); they just need to be instantiated after a @Startup method that initializes something for them, because those services use a utility class with static methods that requires

Re: Is there such thing as a Tapestry class?

2012-04-19 Thread George Christman
Hi Howard, if your unable to prepare the materials for an online course, do you think there's a chance a class could be organized at a selected location? I'm pretty sure you'll find smaller organizations wouldn't mind getting training without having to layout the full expense of bringing you on

Re: tapestry5-highcharts available

2012-04-19 Thread Chris Mylonas
Cool - will do. Have a good weekend, Chris On 18/04/2012, at 6:45 PM, Emmanuel DEMEY wrote: You're welcome. You can improve the documentation by yourself, and send to me a github pull request ;).

Re: Handling component's actionlink on the enclosing page?

2012-04-19 Thread Chris Mylonas
that is an awesome one or two line explanation of an event bubble! this was a little too hard to take in whilst i mucked around with custom components and totally missed the point (https://tapestry.apache.org/component-events.html) the jumpstart example looks good too