« Return to Thread: [Trinidad]: is there a way to get an "onLoad" from a partial submit?

Re: [Trinidad]: is there a way to get an "onLoad" from a partial submit?

by Abhijit Ghosh :: Rate this Message:

Reply to Author | View in Thread

Hi Dave,
There is a 'TrPage.getInstance().getRequestQueue().addStateChangeListener(myCallback);'
and a
'TrPage.getInstance().addDomReplaceListener(myCallback);' which might help you.

More information here:
http://myfaces.apache.org/trinidad/devguide/ppr.html#Javascript%20APIs%20for%20PPR

HTH,
Abhi

On 10/9/07, Dave Syer <david_syer@...> wrote:

Is there a way to get an "onLoad" from a partial submit?  It seems like there
should be a way to get a client-side callback when the Ajax request is
complete, so I can show a hidden panel.  Is it possible?

Alternatively, is there a way to add an actionListener to a panelPopup
component, which would probably be the most direct way to do what I want?  I
find it quite strange that it is not exposed as a standard attribute of that
component anyway.  Is there a reason why it wouldn't be possible to expose
as an attribute (or facet)?
--
View this message in context: http://www.nabble.com/-Trinidad-%3A-is-there-a-way-to-get-an-%22onLoad%22-from-a-partial-submit--tf4593436.html#a13113193
Sent from the MyFaces - Users mailing list archive at Nabble.com .


 « Return to Thread: [Trinidad]: is there a way to get an "onLoad" from a partial submit?