Revision history [back]

click to hide/show revision 1
initial version

answered 2013-03-02 06:21:34 +0800

progamerdotcom gravatar image progamerdotcom

yes, you are right, I dont want the validator called in search() method, but the validation must be called when save() method.

the result if I change my groupbox form became this :

<groupbox form="@id('fx') @load(vm.current)  @save(vm.current, before='save') @validator(vm.formValidator) ">

and eclipse log shows :

--- begin log eclipse --

current id null

current nama null

--- end log eclipse --

its means the current object is null when search button was pressed. how to binding textbox ( id textbox and nama textbox ) to 'current' object.

thanks.

yes, you are right, I dont want the validator called in search() method, but the validation must be called when save() method.

the result if I change my groupbox form became this :

<groupbox form="@id('fx') @load(vm.current)  @save(vm.current, before='save') @validator(vm.formValidator) ">

and eclipse log shows :

--- begin log eclipse --

current id null

current nama null

--- end log eclipse --

its means the current object is null when search button was pressed. how to binding textbox ( id textbox and nama textbox ) to 'current' object.object on search button click ( search() method ).

thanks.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More