Delete Multipal documents From Web Browser

i am showing one view on web using its property “Allow document selection” or “Using Applet” so that one can select multipal document at a time through web browser now i want to delete these selected documents by clicking on button.

so please help me how to make it.

Subject: Delete Multipal documents From Web Browser

Add a button:

@Command([MoveToTrash]);

@Command([EmptyTrash])