Skip to main content


 

Symptoms


On a specific form the a button click event was no longer firing the save method from one of the views.

 

Diagnoses


n/a

 

Resolution

I am always a little reserved about setting up rules on forms with steps that needn't be.

For example:

When button is clicked
->Then execute View's save method

This rule is using a button click to tell a View to tell a smartobject to fire the save method.

A better way to do this would be

When button is clicked
->Then execute Smartobject Method

This example uses a button click to tell a smartobject to fire the save method thus removing the view from the scenario and resolved the issue above.




 
Be the first to reply!

Reply