Re: ValidatorTool: getDynamicJavascript does not produce output

2005-02-25 Thread Marino A. Jonsson
: Thursday, February 17, 2005 4:57 PM Subject: Re: ValidatorTool: getDynamicJavascript does not produce output Hi Florin, You also may want to check if your Struts is 1.2.x. If so, you'd be better off using the (afaik not released yet) velocity-tools-1.2. Get the latest sources, compile

ValidatorTool: getDynamicJavascript does not produce output

2005-02-17 Thread James Carlyle
Hi I am using the Velocity ValidatorTool to do client side javascript validation for my Struts application. I have placed calls to $validator.getStaticJavascript() and getDynamicJavascript() in my .vm template. For example $validator.getDynamicJavascript(${formName}) The static call works

Re: ValidatorTool: getDynamicJavascript does not produce output

2005-02-17 Thread Florin Vancea
] To: velocity-user@jakarta.apache.org Sent: Thursday, February 17, 2005 3:30 PM Subject: ValidatorTool: getDynamicJavascript does not produce output Hi I am using the Velocity ValidatorTool to do client side javascript validation for my Struts application. I have placed calls

Re: ValidatorTool: getDynamicJavascript does not produce output

2005-02-17 Thread James Carlyle
Florin Thanks for your prompt suggestions. 1. form-bean name=userWizardForm type=org.apache.struts.validator.DynaValidatorActionForm form-property name=userId type=java.lang.Integer/ I've noticed that I am using DynaValidatorActionForm - might that make a difference? 2. action

Re: ValidatorTool: getDynamicJavascript does not produce output

2005-02-17 Thread Shinobu Kawai
Hi Florin, You also may want to check if your Struts is 1.2.x. If so, you'd be better off using the (afaik not released yet) velocity-tools-1.2. Get the latest sources, compile and use. It's really stable (at least that's what I currently use). Thanks for the report. Nice to hear word from

Re: ValidatorTool: getDynamicJavascript does not produce output

2005-02-17 Thread Florin Vancea
: getDynamicJavascript does not produce output Hi Florin, You also may want to check if your Struts is 1.2.x. If so, you'd be better off using the (afaik not released yet) velocity-tools-1.2. Get the latest sources, compile and use. It's really stable (at least that's what I currently use

Re: ValidatorTool: getDynamicJavascript does not produce output

2005-02-17 Thread Nathan Bubna
! :) Florin - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Velocity Users List velocity-user@jakarta.apache.org Sent: Thursday, February 17, 2005 4:57 PM Subject: Re: ValidatorTool: getDynamicJavascript does not produce output Hi Florin, You also may want