: 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
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
]
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
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
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
: 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
!
:)
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