Content update in Ajax Portal is executing using ajax4all library.
The easiest way is find form id of another portlet (as Web
application), get DOM object and execute submit method.
Or direct usage of ajax4all library (see real code of the demo):
//////////////////////////////////////////////////////////////////////////////////////////////////////
var portletId = "portlet" + generateId();
var portlet = new
com.sokolov.portal.Portlet(portletId, "Photos", DEFAULT_CONTAIER,
null, DEFAULT_ICON);
portlet.init();
try {
portlet.setDraggable(true);
ajaxCall("http://blablabla.com/socnet/photos.html", 'post',
getCharset(), '', portlet.getContentId());
refreshRegion(DEFAULT_CONTAIER);
} catch (e) {}
//////////////////////////////////////////////////////////////////////////////////////////////////////
Best regards,
Sergei Sokolov
2011/6/22, Dmitriy Ivanov <johns...@gmail.com>: