I am new to portlet . I wish to know how to use ajax with portlets. Scenarios is, i have two drop downs in a jsp page. Based on the value in the first drop down i have to populate second drop down list.
I am using lifefray 6, and JSR 168.
Thanks for replay , we are thinking bout that . Between i got solution to use ajax with JSR 168. I use a servlet to process asynchronous request . Its working . I don't know its a good aproach or not.
Joined: Nov 20, 2000
The servlet lies outside the portal security infrastructure, therefore, you'll need to separately secure it, which could be additional overhead. I would suggest using JSR 286 portlets as the AJAX support is built-in, which will save lot of your effort that goes in securing servlets from unauthorized access. Also, all your controller logic remains inside your portlet class, instead of spread across portlets and servlets.
Joined: Feb 20, 2010
Thanks providing this information . Its nice to point out the issues .