users@woodstock.java.net

Re: postreplace problem in Ajax Transaction

From: Matthew Bohm <Matthew.Bohm_at_Sun.COM>
Date: Wed, 20 Feb 2008 11:36:44 -0800

Are you using woodstock within visual web pages in NetBeans, or are you
using woodstock standalone?

Matt

autozoom wrote:
> hello,
> I am using Ajax Transaction of dynamic faces to dynamically update a field.
> My goal is to update the field when the transaction has finished.
> I tried to set the "asynchronous" attribute to false but with no success.
>
> First issue, because the ajax transaction needs a non-null "render"
> attribute, I set it to a fake element (which wouldn't need to be refreshed).
>
> Then I am using the "postreplace" attribiute, setting it to a javascript
> function that performs a $(field).refresh() on the "real" field I need to
> update.
>
> The problem is that when this function gets called, the "fake" element
> disappears from the DOM tree.
>
> I remind this being a problem in the 4.1.1 version of Woodstock, and now it
> pops out again
>
> any ideas?
>