In this article, the pop-up/confirmation dialog has two properties :
id: "CANCEL",
text: "CANCEL",
and
id: "SUBMIT",
text: "SUBMIT",
We do not want this[basically referring to CANCEL and SUBMIT here] to be hardcoded, but to be fetched from say a config file or something of that sort.
Any thoughts on how this can be done.
Any pointers/code snippet/reference articles will be helpful.