You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jeremy Thomerson (JIRA)" <ji...@apache.org> on 2008/12/25 16:56:46 UTC

[jira] Commented: (WICKET-160) Use GWT javascript generation for client side validations

    [ https://issues.apache.org/jira/browse/WICKET-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659201#action_12659201 ] 

Jeremy Thomerson commented on WICKET-160:
-----------------------------------------

As part of a demonstration for a customer, I created the "client and server validation" project in Wicket Stuff.  It is not complete, but I believe it already has drop-in replacements for all of the String validators.  They are simply added as a behavior in place of adding the equivalent server-side validator.  Then, the behavior in turn generates the JS needed for client side validation and also adds the server side validator automatically.

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/client-and-server-validation/

> Use GWT javascript generation for client side validations
> ---------------------------------------------------------
>
>                 Key: WICKET-160
>                 URL: https://issues.apache.org/jira/browse/WICKET-160
>             Project: Wicket
>          Issue Type: New Feature
>            Reporter: Martijn Dashorst
>             Fix For: 1.5-M1
>
>
> GWT uses java to javascript compilation to generate code that runs inside the browser. Using the same technology (it is Apache Licensed!) we can automatically transform the serverside validators to client side.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.