Skip to main content

change jMaki.doAjax to use weblogic portlet aware xhr

1 reply [Last post]
karthikcmpj
Offline
Joined: 2009-03-13

We are using embolic portal 10.3, portal suggests to use portlets aware XmlHttpRequest object to use for asynch communication. The reason for that is for portal framework to differentiate which portlet instance on the client
issued the request.

We plan to write custom jMaki widgets based on dojo 1.2.3 and tweak jMaki.doAjax to use portlet Xhr .

Q. Do you guys think will something like this work?
Q. If yes how do you suggest of doing it?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31

Hi,

Generally with portal containers you can host different portions of the view from different web applications. Which can be done with jMaki but I would suggest hosting the Dojo and your widgets from a single context and setting the webroot to use the single location.

I've detailed this out to an extent here:

https://ajax.dev.java.net/servlets/ReadMsg?listName=dev&msgNo=2592

For setting the webroot you can see more here:

http://forums.java.net/jive/thread.jspa?messageID=315566

I would also suggest you look at the xmlhttpproxy for doing service communication. This should help with the integration and will work across contexts.

https://ajax.dev.java.net/xmlhttpproxy.html

-Greg