Page 1 of 1

Applet Save dialog on close

Posted: Wed Jul 11, 2012 9:47 am
by neon096
Is there any way to change the dialog message on the close? When we use the API AuthorAccess.getEditorAccess().close(true);

Currently we see

Save cms://127.0.0.1/document/access/46?

What we want is

Save <Title of document>?

Re: Applet Save dialog on close

Posted: Wed Jul 11, 2012 10:26 am
by Radu
Hi Neil,

You cannot take control over that message dialog.

But how about this?

When the user wants to close, you use the API to check if the editor is modified (AuthorEditorAccess.isModified()), if so, you show your own dialog.
If the user chooses to save, you use our API to save and then you use our API to close.

Regards,
Radu

Re: Applet Save dialog on close

Posted: Wed Jul 11, 2012 10:30 am
by neon096
Thanks,

Thats what I thought I would have to do.