Revision history [back]

click to hide/show revision 1
initial version

answered 2014-03-21 15:14:38 +0800

sitansu gravatar image sitansu

http://java91.blogspot.in...

You just try it:

@NotifyChange({"myForm"})
@Command("select_recent")
public void selectRecent(){
    myForm.setField("name", "recent_product_name");
    myForm.setField("description", "recent_product_name");
    myForm.setField("price", new Double(100.0));
BindUtils.postNotifyChange(null, null, TestViewModel .this, "myForm");// here notify 
}

You just try it:

@NotifyChange({"myForm"})
@Command("select_recent")
public void selectRecent(){
    myForm.setField("name", "recent_product_name");
    myForm.setField("description", "recent_product_name");
    myForm.setField("price", new Double(100.0));
BindUtils.postNotifyChange(null, null, TestViewModel .this, "myForm");// here notify 
}
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More