Full width home advertisement

Post Page Advertisement [Top]

Dialog With Event handling


Create a Class with the name of Demo Dialog and extend with RunBase class then write the following code.
dialog_1
Override the dialog method and fields in dialog in my case i added two fields customer account and customer name.
dialog_2
Override the getFromDialog method and set the value in declared variable
dialog_3
Override the run method write the following code.
dialog_4
If you want to validate then override the validate method.
dialog_5
The dialogPostRun() method should override like below. This will allow calling to the event methods.
dialog_6
Now open dialog and personalize the customer account field and check the name of field.
dialog_8
Then Create the modified event  with field name.
dialog_7
Now run the class and enjoy modified event in dialog ðŸ™‚

Tidak ada komentar:

Posting Komentar

Bottom Ad [Post Page]