-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
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.
2 | No.2 Revision |
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.