留言板
how to proecess Ajax request when implements ConfigurationAction interface
Wen Liang,修改在12 年前。
how to proecess Ajax request when implements ConfigurationAction interface
New Member 发布: 1 加入日期: 12-3-2 最近的帖子
I would like to process an ajax request in a class that implements ConfigurationAction, the ConfigurationAction has no JSR286
GenericPortlet's serveResource() to handle ResourceRequest. Are there ways to handle the ajax in this class?
GenericPortlet's serveResource() to handle ResourceRequest. Are there ways to handle the ajax in this class?
Ravi Kumar Gupta,修改在12 年前。
RE: how to proecess Ajax request when implements ConfigurationAction inter
Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
Well, I did not know that it has no serveResource() method. Anyways, you can always use Action phase. Use processAction for ajax. See my portlet here http://sourceforge.net/projects/ajaxjqueryportl/files/. It shows both ways, using resource and action phase.
HTH
HTH