offtopic: javaassist for injecting annotations?

2010-02-26 Thread Alfonso Quiroga
Hi! I need to inject annotations to some classes at runtime, I know this is possible. Is javaassist the best choice? Is it hard to accomplish this? thanks!

Re: Question: any schedule for the new 5.1 release?

2010-02-26 Thread based2
You mean this one http://issues.apache.org/jira/browse/TAP5-815 so it should be in the 5.2-SNAPSHOT. Yunhua Sang wrote: > > Hi all, > > Is there any plan for the new official release of 5.1? It's supposed to > have > the fix of > *TAP5-815* Asset

Re: Question: any schedule for the new 5.1 release?

2010-02-26 Thread Howard Lewis Ship
We're still working out a proper fix for this in the 5.2 release (trunk) before backporting. On Fri, Feb 26, 2010 at 9:03 AM, Yunhua Sang wrote: > Hi all, > > Is there any plan for the new official release of 5.1? It's supposed to have > the fix of > *TAP5-815*

Question: any schedule for the new 5.1 release?

2010-02-26 Thread Yunhua Sang
Hi all, Is there any plan for the new official release of 5.1? It's supposed to have the fix of *TAP5-815* Asset dispatcher allows any file inside the webapp visible and downloadable ? Thanks, Yunhua

Re: About configuration override

2010-02-26 Thread Howard Lewis Ship
On Fri, Feb 26, 2010 at 4:55 AM, Christian Riedel wrote: > I think it could be useful to add a method like configuration.exists(key) Yes, but what if module A wants to perform that check and override, and the value for that key is added by module B? If module A is processed before module B, ther

Re: Expires-Header not set for assets

2010-02-26 Thread Ulrich Stärk
if (productionMode) response.setDateHeader("Expires", lastModified + InternalConstants.TEN_YEARS); Are you in production mode? Uli On 26.02.2010 14:51, Stephan Windmüller wrote: On 26.02.2010 14:45, Thiago H. de Paula Figueiredo wrote: Hello! Hi! Your reply time is incredible

Re: [T5] How can I validate cross component in a form submit?

2010-02-26 Thread Thiago H. de Paula Figueiredo
On Fri, 26 Feb 2010 11:20:34 -0300, martijn.list wrote: I can defer a Runnable but I cannot see how I can validate the component values. Runnable#run doesn't allow an exception to be thrown. Instead of throwing an exception, something that can only be done when handling the validation ev

Re: [T5] How can I validate cross component in a form submit?

2010-02-26 Thread martijn.list
Thiago H. de Paula Figueiredo wrote: Oops, I though you were talking about a form inside your component, not outside. According to Howard's posting it can be done using FormSupport? https://issues.apache.org/jira/browse/TAPESTRY-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tab

Re: [T5] How can I validate cross component in a form submit?

2010-02-26 Thread Thiago H. de Paula Figueiredo
On Fri, 26 Feb 2010 10:53:59 -0300, martijn.list wrote: Thiago H. de Paula Figueiredo wrote: I have a component with multiple fields. Because validation of the component depends on multiple fields I would like to validate the component after all the field have been set. Just handle the

Re: [T5] How can I validate cross component in a form submit?

2010-02-26 Thread martijn.list
Thiago H. de Paula Figueiredo wrote: I have a component with multiple fields. Because validation of the component depends on multiple fields I would like to validate the component after all the field have been set. Just handle the validateForm event from Form. Yes that I know :) but it kind

Re: Expires-Header not set for assets

2010-02-26 Thread Stephan Windmüller
On 26.02.2010 14:45, Thiago H. de Paula Figueiredo wrote: Hello! Hi! Your reply time is incredible. :) I already saw a tapestry application which set the Expires header to ten years in the future. What am I doing wrong? Are you using the context or asset:classpath bindings? ${context:lay

Re: [T5] How can I validate cross component in a form submit?

2010-02-26 Thread Thiago H. de Paula Figueiredo
On Fri, 26 Feb 2010 10:45:04 -0300, martijn.list wrote: Hi, Hi! I have a component with multiple fields. Because validation of the component depends on multiple fields I would like to validate the component after all the field have been set. Just handle the validateForm event from Fo

Re: Expires-Header not set for assets

2010-02-26 Thread Thiago H. de Paula Figueiredo
On Fri, 26 Feb 2010 10:40:00 -0300, Stephan Windmüller wrote: Hello! Hi! I already saw a tapestry application which set the Expires header to ten years in the future. What am I doing wrong? Are you using the context or asset:classpath bindings? -- Thiago H. de Paula Figueiredo Indepen

[T5] How can I validate cross component in a form submit?

2010-02-26 Thread martijn.list
Hi, I have a component with multiple fields. Because validation of the component depends on multiple fields I would like to validate the component after all the field have been set. According to this Jira entry I should use @Environmental FormSupport: https://issues.apache.org/jira/browse/TA

Expires-Header not set for assets

2010-02-26 Thread Stephan Windmüller
Hello! In the Tapestry Guide I found this: - Assets are expected to be entirely static (not changing while the application is deployed). When Tapestry generates a URL for an asset, either on the classpath or from the context, the URL includes a version number (as discussed in the previou

Re: About configuration override

2010-02-26 Thread Robin Komiwes
Yes, that is often the reality: it reveals the conception problems of an application. But in my case, it was to change the behavior of Tapestry, for example, replacing the DefaultValidationDecorator by another one for a component library. If I use configuration override, it means that no one else

Re: About configuration override

2010-02-26 Thread Christian Riedel
I think it could be useful to add a method like configuration.exists(key) Once I had a problem where this feature would have helped me but I had to improve the architecture of the application instead (which was actually a good thing ^^ ) Am 25.02.2010 um 13:23 schrieb Robin Komiwes: > Yes, I w

Re: Is Testify supposed to work with Tapestry 5.1.0.5?

2010-02-26 Thread Alexander Kiel
Hi Paul, the problem was Javassist 3.4.GA. Hibernate Entitymanager 3.4.0.GA has an dependency on Javassist 3.4.GA. So I manually added a dependency to Javassist 3.8.0.GA and it worked. My dependency to Tapestry 5.2-SNAPSHOT is also resolved as I found a way to use 5.1.0.5 with Spring 3.0. So I ca

Re: Check this out

2010-02-26 Thread Inge Solvoll
Guys, guys. Life is too short to be fighting over stupid and meaningless things. Let's discuss perfect IOC-code instead, this gorgeous concept that resembles a beautiful woman on a warm summer day. On Fri, Feb 26, 2010 at 6:07 AM, Alfonso Quiroga wrote: > Banchi Liko or Gerald Bauer: I think you