Dialog With Event handling
Create a Class with the name of Demo Dialog and extend with RunBase class then write the following code.

Override the dialog method and fields in dialog in my case i added two fields customer account and customer name.

Override the getFromDialog method and set the value in declared variable

Override the run method write the following code.

If you want to validate then override the validate method.

The dialogPostRun() method should override like below. This will allow calling to the event methods.

Now open dialog and personalize the customer account field and check the name of field.

Then Create the modified event with field name.

Now run the class and enjoy modified event in dialog 



Tidak ada komentar:
Posting Komentar