Refer the blog http://suneesh-adf.blogspot.in/2013/12/setting-default-value-of-eo-attribute.html for the db design and BC objects.
Create the UserDetailVOImpl class and add the method :
public String getHello() {
return " Hello Suneesh";
}
Provide the groovy expression to the default value of the transient attribute
Run the BC tester and add new row.You can see "Hello Suneesh" defaulted.
Thanks a lot. That's really good idea
ReplyDelete