Hello,

I am building a Wicket Application that I want to run as a standalone app
and and as an open social gadget (as proxied content, see 
http://wiki.opensocial.org/index.php?title=Social_Application_Tutorial here 
if you are interested).

As I learned from 
http://www.mail-archive.com/[email protected]/msg33521.html this 
post, to make ajax calls work, I need to bridge the wicket ajax xhr to use
the opensocial makeRequest call. Therefore I need to overwrite that certain
part of js code in wicket-ajax.js (with the script provided).

So my question is: How can I add this script in the least invasive way, so I
can access my app either with the xhr overwritten or not overwritten? 
I thought perhaps that for the opensocial gadget version, I could wrap the
apps panel in a wrapper-panel with an additional header contribution
providing the overwrite script. However, all header contributions seem to be
added _above_ wicket-ajax.js, for overwriting i would need it to be added
below. Can I influence that in any way?

Do you have any better / easier ideas?

Thank you, Kai
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Howto-overwrite-Wicket-s-ajax-transport-tp2230473p2230473.html
Sent from the Wicket - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to