My tech notes on JAVA, J2EE and all related technologies...
Can we done IPC with AJAX in JSR286?For this can we use Server Resource method??
sorry for delayed response...had been very busy..anyways..truely speaking I never tried this but I can suggest something..you could try following steps..1) Portlet 1 : sends the ServerResouce request2) Portlet 1: state updated3) get the response on portlet 1 from server resource4) Portlet 2: there can be Java Script listener which will refresh that fragment by calling its own serverresoucewe can also fire a Java script event from portlet 1which that other portlet code might respond to and do an ajax call to its serverresouce to get refreshed viewlet me know how it goes.good luck...Cheers !!
Post a Comment