Deleting multiple documents on the web

I have a Domino web application that I’m trying to delete multiple documents from a form with an embedded view. I’m using the @Commands [Movetotrash] and [emptytrash]. This works fine, except it only deletes the first document selected, not all the documents selected. This only allows me to delete one document at a time. Does anyone know how to fix this to delete multiple documents? Thanks!

Subject: Deleting multiple documents on the web

I wrote an article about this sort of thing for The View (http://www.eview.com/eview/viewr5.nsf/ff8165e0a7b06fd085256536001117db/866e951dda34d1e985256a55007c955f?OpenDocument). There’s a download example you can get even if you’re not a subscriber.

It might make a difference whether you’re using an HTML view or the view applet here.

What happens if you use only [Movetotrash] instead of both commands?

Subject: RE: Deleting multiple documents on the web

Hello,Well, I have the same problem.I have an embedded HTML view in a form and I basically want to delete the selected documents by using @Command([MoveToTrash]) and then @Command([EmptyTrash])…

When I press the button which includes @Command([MovetoTrash]), i can see the documents marked for deletion, and after that when I press the button (@command([EmptyTrash])), it only deletes one of the documents,and the rest is still there…

So if anyone can help me why this is happening I will be grateful…Maybe it is something to the with the HTML view ?

Thanks