IOC Advice Chaining

2011-02-08 Thread Dave Dombrosky
I'm trying to figure out how to chain advice together, and I'm having trouble finding a good example. Basically what I want to do is insert my advice after some existing advice from the Tynamo tapestry-security module. I'm hoping this will allow me to run my own logic whenever the existing advice

Re: [T5 5.0.18] java.lang.IllegalStateException: Cannot create a session after the response has been committed

2009-03-09 Thread Dave Dombrosky
Looks like this is a bug in 5.0.18 that has been fixed in 5.1.0.0. See http://issues.apache.org/jira/browse/TAP5-413 for details. -Dave On Mon, Mar 9, 2009 at 6:11 PM, Dave Dombrosky wrote: > Sorry I may have jumped the gun.  I thought I had this fixed, but I > must have been testing on

Re: [T5 5.0.18] java.lang.IllegalStateException: Cannot create a session after the response has been committed

2009-03-09 Thread Dave Dombrosky
Sorry I may have jumped the gun. I thought I had this fixed, but I must have been testing on Jetty and not Tomcat. Still broken in Tomcat. -Dave On Mon, Mar 9, 2009 at 5:49 PM, Dave Dombrosky wrote: > Peter, returning true "works", but it does not redirect the user to a > dif

Re: [T5 5.0.18] java.lang.IllegalStateException: Cannot create a session after the response has been committed

2009-03-09 Thread Dave Dombrosky
loading, after an > invalidate, I could not initialize a new page because a new session could not > be instantiated at that point, simply setting the property before the > invalidate fixed that, the second issue was the use of the Response Tapestry > service rather than HttpSer

Re: [T5 5.0.18] java.lang.IllegalStateException: Cannot create a session after the response has been committed

2009-03-08 Thread Dave Dombrosky
I'm also getting an exception after a session.invalidate() from an ActionLink and can confirm that it works in Jetty but fails in Tomcat. It would be nice to know if there is a workaround. Here's the exception: java.lang.IllegalStateException: Cannot create a session after the response has been

Re: [T5] my form does not update page properties

2008-09-05 Thread Dave Dombrosky
I have also noticed this. It only seems to happen when the form accesses variables stored inside the @Persisted class. I'm not sure if this is a bug or just a limitation of @Persist. Only workaround I have for now is to move all the variables into the tapestry component, and then add @Persist to

[T5] How to use email validator?

2008-08-12 Thread Dave Dombrosky
I'm trying to add the email validator to some of my TextFields, and I am running into an issue. I thought I just had to use validate="email" as the parameter, but I am getting this error: java.lang.IllegalArgumentException Validator 'email' requires a validation constraint (of type java.lang.Void

[T5] Return HTTP Error from AJAX Call

2008-06-25 Thread Dave Dombrosky
I would like to return an HTTP error from an AJAX call, so that it will be interpreted as a failed request by my response handlers. Is there any way to bypass Tapestry's ExceptionReport and instead have an Exception bubble up to Tomcat (so that a 500 Error is generated)? -Dave --

Re: Strange behavior when instantiating properties directly in the page

2008-06-17 Thread Dave Dombrosky
I also came across this issue. It was very tricky to troubleshoot. I have added a documentation bug to JIRA so that other people can avoid this problem. Here is the link to the issue: https://issues.apache.org/jira/browse/TAPESTRY-2463 -Dave On Tue, Jun 17, 2008 at 1:16 AM, Dmitry Shyshkin <[E

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-16 Thread Dave Dombrosky
Christian, It looks like on Kubuntu, the Ctrl-Alt-X key combo is already bound to "Enable/Disable Clipboard Actions". I would be nice if a different key combo could be used to work around this. Sorry to make you change it yet again! -Dave On Mon, Jun 16, 2008 at 12:35 PM, zack1403 <[EMAIL PROT

Re: How to override a service create with @Marker

2008-04-08 Thread Dave Dombrosky
Is there still no solution to this problem? I am also trying to override the default SaltSource, but the tapestry5-acegi package always wants to use the one it defines. I tried using contributions to Alias and AliasOverrides, and also annotating my own buildMySaltSource() method with @Marker(Aceg