After reading several articles on how easy it is to implement AJAX with DWR, I decided to give it a try.
"DWR allows Javascript in a browser to interact with Java on a server and helps you manipulate web pages with the results."
True enough, with sufficient knowledge of javascript, working AJAX with DWR was like snatching candy from kids.
It only took 3 pages of DWR reading to achieve my task 1 AJAX objectives:
The simple AJAX implementation with DWR also allowed polling and updating of my portlet to be done with just a if(true) loop with a setTimeOut().
Multiple Instances of Portlet
Googled for how to develop portlets which allowed multiple instances, but to no avail. So posted a msg to the liferay forums.
Add this tag
Simple as that.
Time to meet my boss.
No comments:
Post a Comment