Hey, I'm the "other chap" mentioned with the wicket-groovy builder
implementation work.  Its been on the shelf recently due to personal
obligations (new job, new company, new apartment).  Those are clearing
up, so I was getting back to it soon.  Having Grails integration will
raise the interest level in the builder implementation by orders of
magnitude, so the "soon" mentioned above will be this weekend.  I hope
to have something usable in the very near future.

I think the grails-wicket integration is great.  I like a lot of the
concepts in Wicket, but having worked on the builder for a while,
Wicket's design is very Java-centric and needs something like the
builder to work well with Groovy.  Specifically, The builder does
"work", but its still fairly early stage.  Don't judge my coding
ability on how it was done ;)  There's a long list of things I plan on
changing.

As for the try-catch block in the example, its not about making Java
look bad.  Its just giving you an example of what some java code might
look like.  Its showing how Groovy coding makes life easier for a very
real situation.  I like Java.  I wouldn't be doing this stuff if I
didn't, right?  So, how would you handle that situation if your model
objects threw app-specific exceptions?  I think with good IDE support
(auto-imports, etc), having Java and Groovy sitting next to each other
will be a fantastic combo.

As for the onSubmit in a closure, I was just working with what's
available.  You could also subclass Form and use that directly, rather
than use a closure.  At a conceptual level, and anonymous inner class
is doing the same thing (yeah, I know, closures are different.  Search
for the wicket thing in the groovy mailing list).

Anyway, good work on the integration.  I'll be giving that a spin asap.

-Kevin

On 5/18/07, graemer <[EMAIL PROTECTED]> wrote:
>
> Yes that is a shame, someone needs to write a iBatis Grails plugin ;-)
>
> We do plan to support JPA one day so maybe that will introduce more
> deployment options, unfortunately with any enterprisey stuff you can't
> always satisfy everyone
>
> Cheers
> Graeme
>
>
> Thomas R. Corbin-2 wrote:
> >
> > On Friday 18 May 2007 8:09 am, graemer escreveu:
> >> That's great, glad to hear Wicket has improved the landscape of Java web
> >> frameworks. What is great about Grails (and potentially Grails+Wicket) is
> >> that it spans all tiers, Wicket seems to be helping improve the web layer
> >> experience for Java web frameworks which is excellent. If only we didn't
> >> need persistence ;-)
> >
> >       For me, one of the problems with grails is that my client has outlawed
> > hibernate so we are using ibatis instead.
> >
> >       I'm currently using a mixture of wicket and groovy and will look at 
> > your
> > cool
> > grails-wicket stuff this weekend or next week.   I'm certainly a huge fan
> > of
> > both groovy and wicket.
> >
> >>
> >> Cheers
> >> Graeme
> >>
> >> ptrthomas wrote:
> >> > On 5/18/07, graemer <[EMAIL PROTECTED]> wrote:
> >> >> Haha, sorry but it seems some of the Wicket community are still living
> >> >> in Lala land with regards to believing everything deployed to
> >> production
> >> >> has to
> >> >> be written in Java. It is 2007, the realisation that Java is not the
> >> >> best language for web apps has hit home for years now. A good language
> >> >> for writing a lot of your business logic yes, but your business logic
> >> >> and web logic are two different things and if you're mixing them
> >> you're
> >> >> already making mistakes right there.
> >> >
> >> > Personally for me, Wicket has made using Java for web-applications
> >> > exciting
> >> > and fun again.  Maybe its a case of "teaching an old dog new tricks"
> >> but
> >> > I get a headache when I look at the sample at your link and see the
> >> > "closures"
> >> > for the onSubmit.  I guess I'm one of those retarded folks who avoids
> >> > learning new syntax :P
> >> >
> >> > About the wiki page [
> >> > http://wicketstuff.org/confluence/display/STUFFWIKI/WicketBuilder ] I
> >> > have to complain that I think that the try / catch block is there just
> >> to
> >> > make the pure java code look bad in comparison - which is bogus, please
> >> > remove it.
> >> >
> >> > BTW I'm also having great results with the ReloadingWicketFilter - so
> >> it
> >> > is
> >> > possible to change your view code - refresh and it works.  So I don't
> >> > really
> >> > miss a scripting language that much.  If I'm productive with Java why
> >> > should
> >> > I change?  Just my 2c.
> >> >
> >> > Regards,
> >> >
> >> > Peter.
> >> >
> >> >
> >> -------------------------------------------------------------------------
> >> > 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
> >> > [email protected]
> >> > 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Gricket%3A-The-Love-Child-of-Grails-and-Wicket-tf3772804.html#a10683723
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to