OK, thanks for the info -- I'll try that. It's possible that the test was just recorded with some leftover state in the tag instance.

Rich

Eddie ONeil wrote:

 Yeah, I think your assessment is correct -- those should be reset in
localRelease which contains all of the un-initialization code for a
classic tag handler.

 For the _state and _hiddenState variables, try calling "clear()" and
for the _writer, just null it out.

 Not sure whether that will solve this specific problem, but that
should be the behavior of NetUI JSP tags.

Eddie



On 6/16/05, Rich Feit <[EMAIL PROTECTED]> wrote:
Hi all,

I'm seeing a sporadic failure of the 'B39552' test when running 'ant
bvt' under netui.  Here is the diff between recorded/playback results:

   R: <input type="hidden" name="wlw-checkbox_group_key:{actionForm.selectedItems}OldValue" value="true"><input 
type="checkbox" name="wlw-checkbox_group_key:{actionForm.selectedItems}" value="1" checked><span>Option 1</span><br>
*    P:* <input type="hidden" name="wlw-checkbox_group_key:{actionForm.selectedItems}OldValue" value="true"><input 
type="checkbox" name="wlw-checkbox_group_key:{actionForm.selectedItems}" value="1"><span>Option 1</span><br>

In looking at
netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBoxGroup.java,
I'm wondering if the following member variables should be nulled out
during localRelease():
   _state (nulled out or call clear())
  _hiddenState (nulled out or call clear())
  _writer

Seems like they should, but I know this is tricky code.  Anyone have
insight into this?

Thanks,
Rich


Reply via email to