I already went through this sample app but unfortunately it uses old
components (<ui:> instead of <webuijsf:>) so I am not sure whether
postreplace() shows a different behaviour with newer ones or not
mbohm wrote:
>
> autozoom wrote:
>> I am again trying to use the postreplace attribute to call a custom JS
>> function when the Ajax Transaction completes.
>> Whatever code I put in my functions, what I get is that the UI element
>> refreshed by the transaction disappears from the page
>> Can we have a sample of the correct way to use postreplace?
>>
> Check out the Currency Trader sample application:
> http://www.netbeans.org/kb/60/web/instcurrencytrader.html
>
> When looking at the customPostReplace function in currencytrader.js,
> keep in mind that useClosure is false, so the logic is fairly
> straightforward.
>
> ---------------------------------------------------------------------
> 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/how-does-postReplace-attribute-for-AjaxTransaction-work--tp16094824p16116472.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.