PDA

View Full Version : JavaBeans and Fields


avrecko
04-23-2008, 06:20 AM
I am very curios on what is the rationale behind using public fields in Field class that is the fieldLabel is public field, wheras things like emptyText is not.

What happend to constructor like

new TextField("First name","firstname");?

need to do

tf = new TextField();
tf.fieldLabel = "First name";

that is just ridiculus.

I like the fact that in ExtJs you can do form.load(yourRecord), it this planned for extgwt?

darrellmeyer
04-23-2008, 09:44 AM
Please take a look at:

http://extjs.com/forum/showthread.php?t=33443