users@woodstock.java.net

Re: postreplace problem in Ajax Transaction

From: autozoom <cioni_mauro_at_yahoo.com>
Date: Thu, 21 Feb 2008 00:50:46 -0800 (PST)

I am using Netbeans 6.0.1 updated with Woodstock 4.2 build 2 components


mbohm wrote:
>
> 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?
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/postreplace-problem-in-Ajax-Transaction-tp15584962p15606846.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.