JSP CUSTOM TAG LIBRARIES


Examples: selectedloop and selectentry tags
The following code deletes all the selected documents in a view:

<!--Since we are deleting the documents, this needs to come BEFORE the view tag! -->
<domino:ifserverevent event="OnAction" for="DeleteDocuments">
 <domino:selectedloop viewname="myview">
   <% document.remove(true); %>
 </domino:selectedloop>
</domino:ifserverevent>



<domino:view viewname="myview" enableselect="true">
...
<domino:action name="DeleteDocuments" text="Delete Selected Documents"/>



...
<domino:viewloop>
 <domino:selectentry/><domino:viewitem name="Category"/>
   <domino:viewitem name="Title"/><br>
</domino:viewloop>
</domino:view>

See Also