Title: Message
How hard would it be to implement a group of actions on a column without having to write custom decorator classes.
Writing a "One off/non-generic" custom decorator for this purpose is extemely non-productive.
 
see line 11. 
 
http://www.sutternow.com/CodeStuff/jsp/grids/jstlgrid.jsp
 
  1:<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
   2:<%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %>
   3:<%@ page import="com.sutternow.xmlSelect"%>
   4:<%
   5: xmlSelect objXML = new xmlSelect();
   6: objXML.setJndiname("java:comp/env/jdbc/sutterdb");
   7: objXML.setQuery("select * from Customers");
   8:%>
   9:<c:import url="/includes/xslt/sortablegrid.xslt" var='xslt'/>
  10:<x:transform xslt="${xslt}">
  11:<x:param name="hreflist" value="edit,edit.jsp;delete,delete.jsp"/>
  12:<%=objXML.getXml().toString().trim()%>
  13:</x:transform>
Is there some way to implement a hreflist attribute that gets parsed or implement extra item sub tags?
 
The source for the xslt template is here.
http://www.sutternow.com/includes/xslt/sortablegrid.xslt
 
Matthew Payne

Reply via email to