The JSP code below prints out a nice list of company names, with links called Edit and Delete which call a suitable form with a pair of parameters, one being the action, the other being an identifying property of the company to played with.
<logic:iterate name="CompanyProfile" property="candidateSystems" id="aSystem"> <bean:write name="aSystem" property="fullName"/> <% // Assemble a hashmap of args for the html:link java.util.HashMap editMap = new java.util.HashMap(); java.util.HashMap delMap = new java.util.HashMap(); editMap.put("action", "Edit"); editMap.put("system", ((CandidateSystem) aSystem).getFullName()); delMap.put("action", "Delete"); delMap.put("system", ((CandidateSystem) aSystem).getFullName()); pageContext.setAttribute("editMap", editMap); pageContext.setAttribute("delMap", delMap); %> <html:link page="/editCompanySystem.do" name="editMap"><bean:message key="button.edit"/></html:link> <html:link page="/editCompanySystem.do" name="delMap"><bean:message key="button.delete"/></html:link> </logic:iterate> It all works fine, but I'd much rather have two proper buttons, rather than links. Is this even possible? Regards, Stuart McGrigor --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]