admin@glassfish.java.net

Re: Code fix for 4226, 4237

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Tue, 26 Feb 2008 03:53:48 -0800

Hi Irfan,

I just provided a fix in JSFTemplating.  I'd rather have you pick up a new version of jsftemplating.jar.  Can you try the latest jsftemplating.jar file and see if this works instead of this fix?  I am worried that there are other areas in the application that may also be effected by the regression in JSFT.  I published the latest jsft.jar files on jsft's web site and the maven repository.

If this works for you, we can re-stage jsftemplating.jar.

Thanks!

Ken

Irfan Ahmed wrote:
Hi Anissa and Ken,

The bugs 4226 and 4237 are failing because of the same issue where the variable for edit is set in the attribute and not in the pageSession. This causes it to throw a NPE when the page is processed after display, i.e., when the OK button is clicked.

I am attaching a fix for both the bugs and if you are OK with the fix I will go ahead and check it in.

Thanks and Warm Rgds
Irfan.
--
<a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:irfan@sun.com">"mailto:irfan@sun.com"</a>><a class="moz-txt-link-abbreviated" href="mailto:irfan@sun.com">irfan@sun.com</a></a>
Irfan Ahmed
9180-66927726, Sun Microsystems Inc., Bangalore, India.