I've been working on a groovy builder implementation for the Wicket web
component framework.  The short story is that groovy doesn't have anonymous
inner classes, and without those, Wicket component building would be
difficult.

However, the Wicket component structure is tree based, and similar to
Swing's model, so a builder works well (see SwingBuilder).

The code right now is very preliminary, and I'm not sure if the closure
usage is right, but its does generally work.  Originally it was a separate
project, but now its been included with the wicket-groovy project at
wicketstuff.org.

General Overview from my blog:
http://bigheadco.blogspot.com/2007/03/wicket-and-groovy.html

Code (only in the 1.3 branch right now):
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-groovy


Setup guide:
http://www.kgalligan.com/wicketgroovy-setup

The documentation is very bad.  Over the next few days I'm going to try to
update the docs and wiki at Wicket stuff.

Right now, I wouldn't try to put it in a real project, but its coming
along.  If any groovy or wicket experts want to take a look, please do.  In
groovy, I'm concerned mainly with the dynamic class generation and closure
usage.  From the Wicket side, I haven't even looked at the extensions
portion of the api.  I've also not tried replication.  I think there may be
some issues there.

Also, if anybody would like to get involved, let me know.

Thanks,
-Kevin
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to