论坛

主页 » Alloy UI » English

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
Devendra Patel
Re: [Liferay Forums][English] RE: Not able to submit the form using jquery
2013年2月28日 下午10:03
答复

Devendra Patel

等级: Junior Member

帖子: 71

加入日期: 2011年9月25日

最近的帖子

Hi Kiran,

assume that there are two resource url in a portlet as an example

1 : <portlet:resourceURL var="mailResourceURL" id="mailResourceId"
escapeXml="false" />

2:<portlet:resourceURL var="smsResourceURL" id="smsResourceId"
escapeXml="false" />

this statement String resourceId = request.getResourceID() will return id
of your resource url like "mailResourceId" or "smsResourceId".

so by putting if else loop on based on resource id you can put your
function code in single serveresource method if you are extending generic
portlet.

Hope this clears you.

Regards,
Dev Patel