as an AEM newbie developer I'm trying to close an AEM page programmatically. What I'd like to do is to simulate the closure of the page without clicking on the close button using mouse.
But, after a lot of retries, I decided to ask help to you ( the forum ).
Any suggestion ?
I wish to create a page that behaves as a dialog box which contains 2 textbox field, an action button field and a close button.
What I'd like to reach is as follow:
The user press action buton on opened dialog box to make a few calc based on the contents of the textbox fields.
If the calculation will end correctly the dialog box window close itself automatically otherwise it remains displayed on the screen until the user press the close button.