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

2012-04-20 Thread Howard Lewis Ship
@EagerLoad support predates @Startup support, so it's probably just a case of adding new logic at the bottom of a method somewhere. Even though the relationship is not documented, it is also not likely to change, in case some other group of developers have written code in expectation of the curren

Re: tapestry-security 0.4.4 custom login form question

2012-04-20 Thread Norman Franke
On Apr 20, 2012, at 3:01 PM, Kalle Korhonen wrote: On Fri, Apr 20, 2012 at 11:44 AM, Norman Franke wrote: I'm in the process of upgrading from tapestry-security 0.3.1 to 0.4.4. Other than the two extra dependencies, I'm having problems with my custom login form. This no longer works now t

Re: Thoughts on a Tapestry Class

2012-04-20 Thread Russell John-Baptistr
+1 Sent from my iPhone On Apr 20, 2012, at 3:18 PM, George Christman wrote: > I would be interested. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Thoughts-on-a-Tapestry-Class-tp5654982p5655111.html > Sent from the Tapestry - User mailing list archive at Nabb

Re: Thoughts on a Tapestry Class

2012-04-20 Thread George Christman
I would be interested. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Thoughts-on-a-Tapestry-Class-tp5654982p5655111.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscrib

Tapestry Jquery AjaxUpload Template

2012-04-20 Thread George Christman
Hello, does anybody know how to provide a custom template for the ajaxuploader? I'd like to restyle the button and remove the file upload list below without having to fully depend on css. Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Jquery-AjaxUpload-Temp

Re: tapestry-security 0.4.4 custom login form question

2012-04-20 Thread Kalle Korhonen
On Fri, Apr 20, 2012 at 11:44 AM, Norman Franke wrote: > I'm in the process of upgrading from tapestry-security 0.3.1 to 0.4.4. Other > than the two extra dependencies, I'm having problems with my custom login > form. > This no longer works now that it's storing the URL in a cookie. Looking at > L

tapestry-security 0.4.4 custom login form question

2012-04-20 Thread Norman Franke
I'm in the process of upgrading from tapestry-security 0.3.1 to 0.4.4. Other than the two extra dependencies, I'm having problems with my custom login form. Comments on the mailing list said to use this to redirect to the original page before the redirect to the login page: SavedRequest s

Thoughts on a Tapestry Class

2012-04-20 Thread Howard Lewis Ship
It is something to think about; setting up my own public enrollment training, and having people come to me. This might be done in Portland, OR (my home town, but also a great and easy place to visit) or a more central hub city such as Denver , Cincinnati, or Atlanta. My current materials are abou

Re: PlasticClass.getMethods() doesn't include introduced methods.

2012-04-20 Thread Howard Lewis Ship
On Fri, Apr 20, 2012 at 9:39 AM, Luke Wilson wrote: > Hi, > > The behaviour of the now deprecated ClassTransformation.matchMethods() and > related methods has changed to not include introduced Methods.  I believe > this problem also applies to fields. > > On top of this, the built in ClassTransf

PlasticClass.getMethods() doesn't include introduced methods.

2012-04-20 Thread Luke Wilson
Hi, The behaviour of the now deprecated ClassTransformation.matchMethods() and related methods has changed to not include introduced Methods. I believe this problem also applies to fields. On top of this, the built in ClassTransformationWorker2s use PlasticClass.getMethods() directly to find

Re: T5: ValidationException from validate event leads to ERROR level logger statement

2012-04-20 Thread raulmt
Thanks, Thiago. Yes, the wiki page should explain other ways of recording errors instead of this one that, as you said, it is known as bad idea. By the way, I have I doubt about this: one thing useful of this onValidateFromComponentId methods that throw Exceptions is that you can validate specific

T5: Link form elements to enclosing form after zone update?

2012-04-20 Thread Dmitriy Vsekhvalnov
Hi all, How can i return form elements as part of zone update? E.g: So i'm returning zone_1, which contains some form fields (text fields), and i'm getting client-side exception: 'Client exception processing response: TypeError: Cannot read property '_tapestry' of null' How to

Re: Tree leaf not selectable

2012-04-20 Thread Lance Java
Are you sure that you are returning consistent values for hasChildren() and getChildren(). It sounds like you might be returning true for hasChildren() but getChildren() is returning an empty list.

Re: Zone and Jquery issue in Tapestry5.2.6

2012-04-20 Thread François Facon
Hi Mahendra, Tapestry5-jquery project allows you to choose whether to include or not Prototype (and original tapestry components). jQuery will be added to the javascript stack in every case. In your AppModule, contributeApplicationDefaults method, you can add configuration.add(JQuerySymbolConstant

Zone and Jquery issue in Tapestry5.2.6

2012-04-20 Thread Athneria, Mahendra
Hi All, I am migrating my web application from tapestry version 5.1.0 to 5.2.6. I am using jquery dialog to handle popped out display (instead of a pop-up window). While using tapestry v5.1.0, I used jquery js (version 1.6.2) library with tapestry standard js library (prototype n other js) with

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

2012-04-20 Thread Dmitriy Vsekhvalnov
Thanks guys, works like a charm. On Fri, Apr 20, 2012 at 3:17 AM, Chris Mylonas wrote: > 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.

Re: Tree leaf not selectable

2012-04-20 Thread Geoff Callender
Lodged as TAP5-1911. Thanks for the workaround. On 20/04/2012, at 2:20 AM, George Christman wrote: > 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.c

Re: T 5.2.6 EventLink and confirm box

2012-04-20 Thread Geoff Callender
Does this help? http://jumpstart.doublenegative.com.au/jumpstart/together/easycrud/persons On 20/04/2012, at 4:25 PM, resign wrote: > hi, > i have a problem > > i have an EventLink to delete user, on this link a created an "onClick" > listener which ask the user if he want to delete somethi

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

2012-04-20 Thread fmaylinch
I know, Lance. :-) Yes, we already made a service that initializes the "static class" and exposes that functionality as a normal "non-static" service. Thanks for your help. So, we don't have any problem with this now. Anyway, I asked my first question just out of curiosity: is there a reason why

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

2012-04-20 Thread Lance Java
Mutable static data is the root of all evil ;) Statics are (almost) impossible to mock and make testing and clustering very difficult. Is there any way you could refactor your code to use a singleton service instead of the static? You could then @EagerLoad the singleton service or initialize it i