[T5.0.15] how to read specials chars in an iso-8859-1 properties file

2008-11-03 Thread Liang Huai
Hello We migrate our application ( in French) from 5.0.13 to 5.0.15 recently. In the application, all .properties localization files is in ISO-8859-1, with lots of special charactors "é ç à è ô..." in plain text. the problem with T5.0.15, these characters are no more correctly loaded. Is

Re: Port Redirect problem

2008-11-03 Thread abangkis
Hi jecky it work out wonderfully , thanks a lot :D On Mon, Nov 3, 2008 at 10:31 AM, abangkis <[EMAIL PROTECTED]> wrote: > Thanks a lot jecky, I will try it when i got home from work today. > > Cheers > > abangkis > > On Sat, Nov 1, 2008 at 11:44 AM, Jecki <[EMAIL PROTECTED]> wrote: >> Hi, >> >> It

RE: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Jonathan Barker
Keith, My rationale is that I only ever create / populate a UserState ASO if a user logs in. This is for a site where only the Login and PasswordResetRequest pages can be accessed without being logged in to the application. Since I will only ever create the ASO once a user is authenticated, I kn

Re: [T5] Creating Links At Runtime

2008-11-03 Thread Marcel Sammut
Thanks for all your support. I managed to figure out what I was doing wronge and got it working. A fix to the way I was using ComponentResources.createEventLink() as well as updating my @OnEvent to use "value" parameter instead of "component" did the trick. Cheers, Marcel Howard Lewis Ship

Re: How do I get a hold of ComponentInvocation

2008-11-03 Thread Howard Lewis Ship
Currently, there is not a way to accomplish this. You can put filters on the ComponentEventRequestHandler pipeline to intercept and track the details of the current component event request. On Mon, Nov 3, 2008 at 2:39 PM, Keith Bottner <[EMAIL PROTECTED]> wrote: > How do I get a hold of Componen

How do I get a hold of ComponentInvocation

2008-11-03 Thread Keith Bottner
How do I get a hold of ComponentInvocation that I can use with LinkImpl from within a page's onSuccess method? Anyone? Keith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] Creating Links At Runtime

2008-11-03 Thread Howard Lewis Ship
It is subtle and powerful, and you missed one minor detail. On Mon, Nov 3, 2008 at 1:57 PM, Robert Zeigler <[EMAIL PROTECTED]> wrote: > As a follow-up: > > Tutorials show this binding done >>> through the @OnEvent annotation and specifying the event name via the >>> "component" attribute in the

Re: [T5] Creating Links At Runtime

2008-11-03 Thread Robert Zeigler
As a follow-up: Tutorials show this binding done through the @OnEvent annotation and specifying the event name via the "component" attribute in the annotation or the "id" attribute of the element. This is not quite correct. The component attribute of the @OnEvent annotation identifies which /

Re: [T5] chenilekit or t5components

2008-11-03 Thread Sven Homburg
Hi Harald, - we will stop the development for the t5components-project at least after howard releasing the tapestry 5.0 - all components and services from the t5components project joined into the chenillekit project. - the first public release schedule has been announced for next w

Re: [T5] Creating Links At Runtime

2008-11-03 Thread Robert Zeigler
Hi Marcel, The binding of the listener to the event is done automatically by tapestry based either on the @OnEvent annotation or by naming convention. The context argument is simply used to allow for additional information to be encoded into the url which will be provided to the handler

T4: use a custom service after a form post ?

2008-11-03 Thread leonelag
Hello, fellow Tapestry users, I'm using Tap 4.0 here. The most common way to find a page after a post is to inject the page and use a listener method, which usually returns IPage: @InjectPage("ResultPage") public abstract ResultPage getResultPage(); public IPage doUpdate() { ResultPage pag

Re: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Keith Bottner
Jonathan, You are correct. I am really attempting to retrieve the authentication information from the Acegi security and set my @ApplicationState fields that I use throughout my application. To do this I was going to try to override the filter, retrieve the Acegi security information and

Re: T5: One static initializer script for mixin

2008-11-03 Thread Konstantin
Thanks! Nice and interesting approach, I would look into MarkupRenderFilter thing. But I would like a simple solution for my simple problem :-) kristian.marinkovic wrote: > > hi, > > i have a service in my environment that collects the ids > of the components that need to be enhanced by some s

Re: T5: One static initializer script for mixin

2008-11-03 Thread Konstantin
Thanks for your reply Howard. I was thinking of some "external sync". But is it a "Tapestry way" ? Maybe it would make sense to add kind of RenderSupport.addInitSingleton(...) or open up RenderSupport.getInit(String name) and check if it by yourself ? I would then write one liner Tapestry.Initiali

Re: [T5] Creating Links At Runtime

2008-11-03 Thread Marcel Sammut
I'm aware of the large gap between 3 and 5 and may require some redesign on my part. That is why I'm using native tapestry links. In 5.0.15, the ComponentResources class has the createActionLink deprecated in favor of createEventLink. There are only 2 difference between ActionLink and EventLink

RE: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Jonathan Barker
Keith, It sounds like you're trying to do something similar to what I was trying to do with Acegi. Basically, I wanted to populate a UserState object with sensible information after a successful authentication. I contributed to the Application State Manager, and pulled the info from Acegi, rathe

Re: [T5] no more class and template reloading after JDK update

2008-11-03 Thread Andy Pahne
Took a few clean build, some Eclipse restarting, but now it works again... Andy Andy Pahne schrieb: Termplate and class reloading (using mvn jetty:run) does not work anymore since today. The only notable change that I can think of was a JDK update (from 1.6.3 to 1.6.10). Anybody else w

Re: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Keith Bottner
This is the hardest part about grasping Tapestry 5, knowing what you can do and how you can do it when there seems to be an endless way to tie things together that are loosely if at all documented. So I apologize if the additional details to my original question lead to one of these solutio

aggressive flash variables?

2008-11-03 Thread Fernando Padilla
https://issues.apache.org/jira/browse/TAP5-320 So I was wondering if anyone had any thoughts on this issue? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Javascript frameworks

2008-11-03 Thread Onno Scheffers
Hi César, on the most popular setup (Windows XP with IE or Firefox), Prototype and YUI are really slow compared to the other frameworks (2x-3x as slow as JQuery). On OSX Prototype actually seems to be a little faster than JQuery. It's actually quite shocking how slow Javascript runs on Firefox/OS

Re: T5: One static initializer script for mixin

2008-11-03 Thread Howard Lewis Ship
I have a few cases like this. What I do is use a Request attribute to determine if I've added the "static" initialization yet. You can see an example of this, in trunk, for the DateField component, which only wants to pass down the localization data once per render. On Mon, Nov 3, 2008 at 3:03 A

[T5] no more class and template reloading after JDK update

2008-11-03 Thread Andy Pahne
Termplate and class reloading (using mvn jetty:run) does not work anymore since today. The only notable change that I can think of was a JDK update (from 1.6.3 to 1.6.10). Anybody else with this problem? Andy - To unsub

Re: T5: One static initializer script for mixin

2008-11-03 Thread Kristian Marinkovic
hi, i have a service in my environment that collects the ids of the components that need to be enhanced by some sort of javascript. this service is contributed to the Environment by a MarkupRendererFilter. after render.renderMarkup i call my service to generate the necessary javascript using the R

Re: Access to T5 Services - how to get a handle on to Registry?

2008-11-03 Thread Joel Halbert
OK, i figured it out, I didn;t realise you can inject services into the contribute methods: something like... public static void contributeBindingSource( MappedConfiguration configuration, BindingSource bindingSource,

T5: One static initializer script for mixin

2008-11-03 Thread Konstantin
I've created AjaxLoader mixin that I use on EventLink with zone param. It will add nice animated gif inside zone while zone content will be loading. JS part creates Tapestry.AjaxLoader class. I've also added Tapestry.Initializer.ajaxLoader with (linkId, zoneId, loaderURL) params which will simply

Access to T5 Services - how to get a handle on to Registry?

2008-11-03 Thread Joel Halbert
Hi, I am writing a binding for looking up symbols. In my binding factory I need access to the SymbolSource service. How can you access a T5 Service within a class that is not managed by Tap IoC (thus the dependency can not be injected) and does not have access to the ServletContext (thus th

[ANN] JumpStart site has changed address

2008-11-03 Thread Geoff Callender
Tapestry JumpStart has a new home: http://jumpstart.doublenegative.com.au . The old site is shutting down very soon - possibly within a week - so please update your bookmarks. My apologies for the short notice but it's unavoidable. The demo site has not moved, but now it has a dom

Re: Support for external assets ?

2008-11-03 Thread Joel Halbert
Just realised that you can use: RenderSupport.addScriptLink(String url) Joel Halbert wrote: Hi, Can an asset reference an external resource? e.g. @IncludeJavaScriptLibrary(value={"url:http://www.myurl.com/resource.js"}) If it's not supported was there a reason for this? (If there's no particu

Support for external assets ?

2008-11-03 Thread Joel Halbert
Hi, Can an asset reference an external resource? e.g. @IncludeJavaScriptLibrary(value={"url:http://www.myurl.com/resource.js"}) If it's not supported was there a reason for this? (If there's no particular reason I might raise a ticket) Thx, Joel -- SU3 Analytics Ltd 61b Oxford Gardens W10 5U

Ajax update of a zone using javascript

2008-11-03 Thread Patrick Klein
Hello, i'm having the following problem: In case a link is used, i want to put an overlay over the page to prevent the user from clicking on links on the page till the actual process is done. In case of a "classic" request this works just fine. In case of an ajax enabled link there is the problem

[T5] chenilekit or t5components

2008-11-03 Thread Harald Geritzer
hi all, which of those two libraries will be maintained in future? harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [T5] Creating Links At Runtime

2008-11-03 Thread Peter Stavrinides
Hi Marcel Tapestry 5 is not like 3, most of the boilerplate code is gone, it appears to me that you are trying to do too much... have you gone through the tutorials yet? I think you will be pleasantly surprised how simple yet powerful T5 is. You also haven't quite grasped the difference between

Re: Accessing ApplicationStateManager from within a Filter

2008-11-03 Thread Peter Stavrinides
Hi Howard > So MyFilter > doesn't have to be a service but can still be injected. Contributing > an object instance to a filter does not do any injection, but > autobuild() does. This is the type of information that you can't find in the docs, how about adding a few lines in the cookbook on this