Re: [Tapestry IOC] Interfaces could be more complete - MethodAdviceReceiver and Invocation

2009-08-05 Thread Howard Lewis Ship
It might be possible to advise the interface. When advising, you may be layering advice upon a proxy to the service, in which case the service interface is the best that is known. The latter case applies to advising a service that has a different scope than the default, singleton. On Wed, Aug 5,

Re: TextField Setting Text

2009-08-05 Thread DH
Since T5's redirect after post, there needs some extra work to pass value between pages, and you have to make sure that the value must be in the activation context in the next page. In your PageToCreate.java: @PageActivationContext //make sure the value in the context @Property private String t

TextField Setting Text

2009-08-05 Thread Joshua Martin
How do I set the text for a TextField programatically? I'm redirecting to a page I create programatically like this, and I need to set the text with Strings I'm passing from my starting page: @InjectPage private PageToCreate page; Object onAction() { String textToSet = "Me the text"; re

Organisation of Tapestry documentation

2009-08-05 Thread Sebastian Hennebrueder
Hello, while working on my Tapestry evaluation article, I start to like Tapestry but get annoyed at the same time by the distribution of the documentation. Sofar I used the following sources linked from the main site Tapestry 5 Project - JavaDocs - Component Reference - FAQ Tapestry Tutorial

[Tapestry IOC] Interfaces could be more complete - MethodAdviceReceiver and Invocation

2009-08-05 Thread Sebastian Hennebrueder
Hello, I am using an advice to add a method based security. While implementing it, I were missing access to the advised classes. The MethodAdviceReceiver interface has no notion about the advised class. As a consequence, I can only check the interface not the implementation for the annotati

ZoneUpdater is Great

2009-08-05 Thread xfile80303
Hi all, I just wanted to take a moment and shine some light onto the "ZoneUpdater" mixin which appears to have been originally authored by Inge Solvoll. For those which are not familiar with it (it took some digging for me to find it), it is a mixin which will allow one to have an AJAX update oc

Re: ClassCastException after upgrading to 5.1.0.5

2009-08-05 Thread Julio Quiroz
I found it http://apache.rediris.es/tapestry/ Cheers Julio Quiroz wrote: > > Hi there, > > I've got the same problem and still can't fix it. So I want to try with > tapestry 5.0.18 to avoid all this issue stuff, but I can get a clean > version, I mean when I downloaded an read-error by winra

Re: ClassCastException after upgrading to 5.1.0.5

2009-08-05 Thread Julio Quiroz
Hi there, I've got the same problem and still can't fix it. So I want to try with tapestry 5.0.18 to avoid all this issue stuff, but I can get a clean version, I mean when I downloaded an read-error by winrar is rised. Any of you guys have this version to share with me? I'd really appreciate it.

formfragment and autofocus

2009-08-05 Thread Borut BolĨina
Hi, if form has formfragments, wouldn't it be nice if there was a property to autofocus first field in visible fragment? Right now I am trying to: @AfterRender public void afterRender() { if (step.equals(Step.CAPTCHA)) { renderSupport.addScript("Field.activate('captch

Re: AjaxFormLoop: property changes have no effect

2009-08-05 Thread Andy Pahne
You are right, that was a misunderstanding on my side. Now I got it. Thanks. For the curious, here is the working code: public ValueEncoder getVehicleEncoder(){ return new ValueEncoder() { @Override public String toClient(Object value) { return String.valueO

Custom RequestExceptionHandler. How ?

2009-08-05 Thread Nicolas Bouillon
Hi, I'm trying to override the DefaultRequestExceptionHandler. My objective is just to wrap the DefaultrequestExceptionHandler to add some reporting of the exception (for example, sending an email to the maintenance team, and saving the exception details in database). I'm follwing the cook

Re: [Announce] ioko-tapestry-commons-1.4.0

2009-08-05 Thread Inge Solvoll
Excellent. I love the convenient javascript and jquery jars! On Tue, Aug 4, 2009 at 3:04 PM, Ben Gidley wrote: > Hi, > > ioko-tapestry-commons 1.4.0 has been released. This is a bug fix release to > address issues in including the libraries. > > Full details and downloads are available at > http

T5 IDE support: what do we need?

2009-08-05 Thread Inge Solvoll
Hi! I was checking out the t4eclipse plugin, and I've been using Loom for a while. I don't think I've seen a real discussion on the mailing list about what kind of IDE support we really need. Everyone's saying that we don't really need IDE support. But there are some spots where I find myself copy