liferay-6

How to submit form using Ajax request in Liferay?

非 Y 不嫁゛ 提交于 2019-11-27 18:51:11
I am newbie in liferay portal. I have developed one portlet in liferay for demo. I used inter portlet communication in this example. What i am doing is:- I have one search portlet in which i am having one textfield for search. When i click on search button it fetches the data from the database and display that data using search-contained in another portlet. I used ProcessEvent and ActionEvent annotation for this project. Now what i want is when i click on the search button then the page should not be refresh(i.e i wish to use the concept of AJAX) and data should be displayed on the other

memberOf vs. groupMembership in LDAP (Liferay)

女生的网名这么多〃 提交于 2019-11-27 18:20:21
问题 What is the difference b/n memberOf attribute and groupMembership attribute when used in LDAP Authentication settings in Liferay? The users are imported successfully. The groups are also imported successfully. But the users are not assigned to the groups automatically. And when I changed the group variable from 'groupMembership' to 'memberOf', several users are not able to login to Liferay. What exactly are memberOf and groupMembership variables? 回答1: memberOf is not a "variable", it is an

ERROR: application/pdf is not a supported mime type [duplicate]

假装没事ソ 提交于 2019-11-27 08:08:57
问题 This question already has answers here : File is not downloading from server (3 answers) Closed 6 years ago . I am using Struts2 and Liferay for developing an application. My struts.xml is as follows: <action name="download" class="com.stp.portal.view.DownloadAction"> <result name="success" type="stream"> <param name="contentType">application/pdf</param> <param name="inputName">fileInputStream</param> <param name="contentDisposition">attachment;filename="abc.pdf"</param> <param name=

Serve PDF in Spring Portlet MVC Architecture - Liferay 6.0.6

我们两清 提交于 2019-11-27 02:27:55
问题 I was looking for a way to send a PDF (direct display) file to the browser through Liferay Portal. Found many solutions - the most popular one being writing a Servlet that does the job. I've read about Portlet Resource Serving in JSR 286 Specification, can someone please elaborate on that for Spring 3.0 Portlet MVC? <servlet> <display-name>DownloadServlet</display-name> <servlet-name>DownloadServlet</servlet-name> <servlet-class>com.liferay.portal.pdf.DownloadServlet</servlet-class> </servlet

How to submit form using Ajax request in Liferay?

牧云@^-^@ 提交于 2019-11-26 19:38:02
问题 I am newbie in liferay portal. I have developed one portlet in liferay for demo. I used inter portlet communication in this example. What i am doing is:- I have one search portlet in which i am having one textfield for search. When i click on search button it fetches the data from the database and display that data using search-contained in another portlet. I used ProcessEvent and ActionEvent annotation for this project. Now what i want is when i click on the search button then the page