How to create action for Save document from web application

How can I create a “Save document” action on my Lotus Domino web application?

Subject: How to create action for Save document from web application

If you don’t deselect the “Use JavaScript to generate pages” option on the database properties, it’s

@Command([FileSave]);

@Command([FileCloseWindow])