PDA

View Full Version : GXT Forms



david.durham.jr
21 Jul 2009, 12:54 PM
Hi all,

I wrote a little library for form generation. The way it works is you annotate a JavaBean like so:

class MyBean {

@CharField(index = 1, maxLength=50, allowBlank=false)
private String name;

@PhoneField(index = 2)
private String phone;

@TextAreaField(index = 3)
private String comment;

...
}


And from here a GXT Form is generated rather easily.

If interested, please take a look at the source and demo: http://gxtforms.googlecode.com/


-Dave

fother
22 Jul 2009, 4:01 AM
good ideia :)

sanfengchow
21 Dec 2010, 10:42 PM
great !