seges / acris

AcrIS is a modern framework serving as a base for applications, web sites and portals. It provides various tools and libraries to ease daily development. Build on top of Google web toolkit and provides sophisticated solution for security, beans binding, JSON protocol and usefull project skelets integrated with maven, hibernate, spring and gilead. You will get a prepared solution in box ready to use in your own project.
4 stars 1 forks source link

Check default value for null values in binding #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If binding is provided on null values, exception is thrown.
Please add posibility to BindingField to specif default value for binding
if value is null.

Sample:
@BindingField(value=User.NAME, defaultValue="Enter name here")
protected TextBox nameTextBox = GWT.create(TextBox.class)

Now, when name field in User object is null, then "Enter name here" is
textBox is displayed

Original issue reported on code.google.com by nejakyus...@gmail.com on 4 Dec 2009 at 2:46

GoogleCodeExporter commented 9 years ago

Original comment by ladislav...@gmail.com on 28 Jun 2010 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by ladislav...@gmail.com on 20 Jul 2010 at 5:14

GoogleCodeExporter commented 9 years ago

Original comment by ladislav...@gmail.com on 21 Aug 2010 at 9:10

GoogleCodeExporter commented 9 years ago

Original comment by ladislav...@gmail.com on 21 Aug 2010 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by ladislav...@gmail.com on 9 May 2011 at 10:55