liferay jquery ajax跳转页面
生活随笔
收集整理的這篇文章主要介紹了
liferay jquery ajax跳转页面
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1 jsp代碼
<portlet:actionURL var="help" name="help"> </portlet:actionURL><script type="text/javascript">$(function(){$("#help_href").attr("href","${help}");});</script>2 ?action 代碼
? 2.1 類(lèi)代碼
public class UserAlertMvcPortlet extends MVCPortlet? 2.2 類(lèi)方法代碼
@ProcessAction(name="help")public void help( ActionRequest actionRequest,ActionResponse actionResponse){System.out.println("help test");actionResponse.setRenderParameter("jspPage", "/jsp/help/download_help_PDF.jsp");};總結(jié)
以上是生活随笔為你收集整理的liferay jquery ajax跳转页面的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: eclipse下的tomcat内存设置大
- 下一篇: 王爽汇编习题 : 给定段地址为0001H