Re: Injection javascript code - AjaxResponseRenderer vs JavaScriptSupport

2013-06-13 Thread Paul Stanton
Just further to this, here is the utility service I use to wrap JS calls from any context (which helps leverage re-usable code). ie using this avoids having to change between AjaxResponseRenderer and JavaScriptSupport depending on the context (XHR/phase). public class JavaScriptHelperImpl imp

Re: Disabling filling form with old values on validation failure

2013-06-13 Thread Ryan How
It's really simple to make a validation tracker!. I'd just make your own one to do what you want. Will take you less than 5 minutes I'm sure! But yes the tapestry auto tracking thing is a pain in the bum sometimes, I've always struggled with it being too smart and not being able to turn it off

Re: [t5.3.7] Why is tapestry reloading a service being instantiated ?

2013-06-13 Thread Muhammad Gelbana
It's the initial load, the first run on the application in eclipse. On Thu, Jun 13, 2013 at 6:48 PM, Howard Lewis Ship wrote: > Is that a reload, or just the initial load? The "[3] Reloading" line may, > or may not, be accurate. > > > On Thu, Jun 13, 2013 at 4:52 AM, Muhammad Gelbana >wrote:

Re: [t5.3.7] Why is tapestry reloading a service being instantiated ?

2013-06-13 Thread Howard Lewis Ship
Is that a reload, or just the initial load? The "[3] Reloading" line may, or may not, be accurate. On Thu, Jun 13, 2013 at 4:52 AM, Muhammad Gelbana wrote: > I'm trying to resolve a contribution error due to a class casting exception > but I find the following highlighted message very strange.

Re: Disabling filling form with old values on validation failure

2013-06-13 Thread Muhammad Gelbana
I haven't tried this but in your validation method, have you tried clearing the variable bound to your field ? On Thu, Jun 13, 2013 at 6:24 PM, Ryon Day wrote: > I have a situation where the old form values are absolutely NOT helpful in > any way after a validation failure; I cannot find a way

Disabling filling form with old values on validation failure

2013-06-13 Thread Ryon Day
I have a situation where the old form values are absolutely NOT helpful in any way after a validation failure; I cannot find a way to prevent tapestry from autofilling the old form values. Is this a possibility or am I going to have to subclass the validation tracker implementation to provide v

Re: [T 5.3] Everything annotated with @Startup called twice

2013-06-13 Thread Muhammad Gelbana
Have you resolved this ? I'm facing the same situation. On Mon, Sep 3, 2012 at 1:04 AM, Christian Riedel wrote: > Hello, > > I'm currently looking at a strange problem. Every module method annotated > with @Startup (from all available modules, for example also > JpaModule#startupEarly) are being

[t5.3.7] Why is tapestry reloading a service being instantiated ?

2013-06-13 Thread Muhammad Gelbana
I'm trying to resolve a contribution error due to a class casting exception but I find the following highlighted message very strange. Why would tapestry reload a class being instantiated ? I understand there are tapestry concepts such as reloading services, pages\components or templates during dev

Re: symbol not defined

2013-06-13 Thread John
The docs say this: If the tapestry.execution-mode is not declared, Tapestry will automatically look for the tapestry.production-modules parameter, because "production" is the default tapestry.exection-mode value. So the execution mode should be production since I didn't set is explicitly? Or d

Re: symbol not defined

2013-06-13 Thread John
But my hope was that without being set it would be null rather than blow up at runtime? - Original Message - From: Dmitry Gusev To: Tapestry users Sent: Wednesday, June 12, 2013 4:44 PM Subject: Re: symbol not defined Just set the value of the symbol, try adding this via s