Yes, I use addResource for the scriptlet, when I was working on the sandbox.
Since there is not an extended form renderer in tomahawk(for now), I am using my own custom renderer for testing purposes in my workspace.
I've packed the current "unrefactored" code at my homepage,
www.cagataycivici.com/clientvalidationstuff.rar
Includes all the classes used in the client validation. Simply text renderers create clientvalidatorcalls by looking at the validators and queues them in request scope. Then the form renderer renders the script calls by iterating the queued calls.
Cheers,
Cagatay
On 7/14/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
Hi!
>
> Maybe I can have a look at the ClientConverter stuff?
>
>
> Sure, that would be great Mario.
Here is a proposal for the client converter stuff.
http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/common/converter/
Once we approved it, I'll implement it on the tomahawk-sandbox
convertNumber stuff.
Cagatay, how to you render the client validator scriptlet? Do you use
addResource? Is there some source code you can point me to?
Ciao,
Mario
