All,
I am trying to do a jsp:setProperty. The method in the bean is
defined as setMaxColumnsDefault (int maxColumns). So I setup my jsp file to
look like
<jsp:setProperty name="viewReport" property="maxColumnsDefault" value=20
/>. For some reason this won't work, no errors or anything. If I change
the definition of the method to setMaxColumnsDefault (String maxColumns) and
change my jsp to look like
<jsp:setProperty name="viewReport" property="maxColumnsDefault" value="20"
/> the value will get passed in but it is a string, and then I have to
convert it. Does setProperty only work with strings arguments?
Jeff Krueger
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html