I'm using PPR extensively in an ipad web app I'm developing but there is one
part of the application where I'm using a jquery ajax technique to load data
dynamically. I use this for showing search results as you type and i found
it much for responsive. I get the jquery ajax request top work correctly
with JSf by including ?_afPfm= on the request (along with the correct value
from the current page).

This all works extremely well and I just pass a couple of params to give
context to my request. However, what I find is that if any components are
returned from the request that are PPR enabled themselves, such as a
selectOneListBox with autosubmit, then the autosubmit fails to work. 

I guess i need to execute some TrPage javascript function to correctly
incorporate the updated elements into the page so the trinidad parts work
correctly again. 

I have a workaround in mind that I don't really want to do (use a non
trinidad list box and click hidden buttons in the part of the page that
wasn't updated). I know this will work as I use this technique on the page
already for selecting an item from the result set.


-- 
View this message in context: 
http://old.nabble.com/-TRINIDAD--non-PPR-ajax-update-tp31592524p31592524.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to