The current implementation uses:
* NotNull annotation automatically sets the component to be required
(setRequired(true))
* Length annotation automatically adds a MaxLength validator *and* adds html
"maxlength" attribute to the markup.
If there are other annotations that would be useful, let me know! I'd love
leverage more hibernate metadata to help wicket projects.
On 6/23/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
This sounds very cool! Does it work with Hibernate Validator Annotations
also ?
Thanks, Paolo
On 6/23/07, Ryan Sonnek < [EMAIL PROTECTED]> wrote:
> Just sending out a quick "release announcement" for a new
> Hibernate/Wicket integration in the wicketstuff project. The
> HibernateAnnotationComponentConfigurator automatically configures a wicket
> component based on the POJO's Hibernate annotations.
>
> one especially cool feature is that you can register this behavior for
> your *entire* application, without worrying about adding this functionality
> to each page/component.
>
> Take a look and let me know what you think!
>
>
http://jroller.com/page/wireframe?entry=hibernateannotationcomponentconfigurator
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user