Hi, I can't figure out how to remove multiple rows with this action within a single request. Am I using the right syntax in HTML? :
<form method="post" action="delete.html"> <input type="checkbox" name="inventory.id" value="10"> <input type="checkbox" name="inventory.id" value="11"> <input type="checkbox" name="inventory.id" value="12"> </form> This seems to remove only one row from the table. Also tried... <form method="post" action="delete.html"> <input type="checkbox" name="inventory.id[10]" value="10"> <input type="checkbox" name="inventory.id[11]" value="11"> <input type="checkbox" name="inventory.id[12]" value="12"> </form> and in database.xml: <table name="inventory"> <keys> <key name="id" type="int" autoincrement="true"> <mode name="request" parameter="inventory.id[*]" type="request"/> <mode name="auto" type="autoincr"/> </key> </keys> <values> <value name="displayname" type="string"></value> </values> </table> table is accessed from the sitemap with this set: <table-set name="inventory"> <table name="inventory" others-mode="request"/> </table-set> ...But doesn't work either, only throws with a nullpointer exception. Cocoon 2.03 (dev) Tomcat 4.04 JDK 1.4.1 MS SQL2000 Has anyone done this? Help needed. Tuomo --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>