Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Bug with DynamicForm.setUpdateOperation(String)

$
0
0
Hi Isomorphic,

I have a DynamicForm (in v9.0p_2013-11-25/EVAL Deployment in FF25.0.1) configured like this:

Code:

boundFormAdressdata = new DynamicForm() {
        {
                setDataSource(addressDS);
                setAddOperation("addLead");
                setUpdateOperation("updateLead");
                .....

When I open it for the 1st time for add (=no boundFormAdressdata.fetchData(...)) and enter data and hit my apply button (executing boundFormAdressdata.saveData()) it works like expected (add-operation called).
If I subsequently press the button again, I get this error message "Attempt to call unknown operationType: updateLead".
If I close and open my window, effectively calling boundFormAdressdata.fetchData(...), everything works as expected (it calls "update<updateLead>").

Please also see the attached screenshot from the RPC-Tab of the console.

Best regards,
Blama

Attached Images
File Type: png Error.png (41.5 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles