Specifically, I am trying to use the define tag to define a variable based on a property of the FormBean as follows: (the getLocalDate is my own tag for rendering dates.
<bean:define id="postDate" name="editRegForm" property="postDate" type="java.util.Date"/> <mir:getLocalDate date="<%=postDate%>" style="long"/> -----Original Message----- From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 11:33 AM To: '[EMAIL PROTECTED]' Subject: Problem with bean:define? I am using the bean:define tag to make a variable available ... he's the wierd part ... it works the "first time" I enter the form ... but if I return to the form because of a validation error ... it fails with a NullPointerException in the pageContext.setAttribute method ... it seems to me the second time around it is not finding the value for some reason ... any ideas? Bill Siggelkow eBusiness Lead Developer 678.579.6458 Mirant http://www.mirant.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

