users@woodstock.java.net

postreplace problem in Ajax Transaction

From: autozoom <cioni_mauro_at_yahoo.com>
Date: Wed, 20 Feb 2008 01:09:10 -0800 (PST)

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?
-- 
View this message in context: http://www.nabble.com/postreplace-problem-in-Ajax-Transaction-tp15584962p15584962.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.