liferay-6

Access values displayed in Search Container in another jsp

左心房为你撑大大i 提交于 2019-12-13 03:59:52
问题 I have a jsp where I display some data of some people say employees. The data of each employee is displayed as a row. I have made each row as a link so that when a user clicks on any row which gives details of a particular employee, the user is directed to a jsp which displays the same data of the employee so that further processing could be done. My question is how should I pass the data of an employee when a user clicks on the row which contains that particular employee information? What I

Kaleo designer and Liferay 6.1

旧城冷巷雨未停 提交于 2019-12-13 03:01:37
问题 I'm looking for information about kaleo and if i should implement it in my system. A.T.M. i have a custom workflow implemented but some of my co-workers say that a kaleo workflow is easier to maintain. I would like to have some opinions about my issue. Thanks in advance. I think that there might be a problem with the way that my system is build. I have multiple portlets that all have web content(Journal Articles) as there resource. Every portlet has a different workflow with custom update

Display data on jsp based on selected date from Liferay datepicker

こ雲淡風輕ζ 提交于 2019-12-13 02:54:48
问题 I have a datepicker. What I want to achieve is: based on the date selected by user, the data for that day should be displayed on the jsp. I have used a serveResource function for displaying some data in some other form. Should I create another such function such that based on selected date, data is displayed for that particular data? 回答1: You are using serveResource so you want to fetch data using ajax. Unfortunately you can't have resourceURL behave the same as actionURL in otherwords you

Issue while saving the dynamic field values in the preferences

五迷三道 提交于 2019-12-13 00:42:15
问题 I have already posted one question on the same issue. But I'm not able to solve my issue and not able to move forward in my task. I have created a editable portlet where in the configuration page I am showing he dynamic questions which are fetching form the database. So for the same reason I am iterating my array list and creating the input fields dynamically as follows, Iterator<String> itr = al.iterator(); while(itr.hasNext()) { String columnVal = itr.next(); columnVal = columnVal.trim()

Liferay with LDAP

妖精的绣舞 提交于 2019-12-13 00:22:42
问题 I am configuring Liferay with my organization LDAP. 1.While configuring LDAP, I specify "ldap.security.principal" and "ldap.security.credentials" as my user id and password to authenticate against LDAP and test connection succeeds. Are these mandatory attributes? As in production ,I will not be able to specify my own credentials in portal-ext.properties. Do I need separate user created in LDAP to specify in portal-ext for production? I unfortunately do not have control over configuring LDAP

Display data in Liferay Search Container from different database tables : Liferay

别说谁变了你拦得住时间么 提交于 2019-12-12 18:26:30
问题 I have been using search container in liferay to display data from a table. Works well!! here is a snippet of code: <% List<testapp> pendingApprovals = ActionClass.getPendingLeaveApplications(); %> <liferay-ui:search-container delta="20" emptyResultsMessage="No Results Found"> <liferay-ui:search-container-results total="<%= pendingApprovals.size() %>" results="<%= ListUtil.subList(pendingApprovals , searchContainer.getStart(), searchContainer.getEnd()) %>" /> <liferay-ui:search-container-row

How to reduce deployment time with Liferay Tomcat

家住魔仙堡 提交于 2019-12-12 12:07:40
问题 I am using Liferay 6 with the combination of Struts2. I am using Liferay Bundled Tomcat 7. Its working fine . My question , whenever a change in the resource (portlet.xml or a java file ) and when i click the build.xml , the deployment takes a lot of time . Please tell me how to decrease deployment time INFO: Server startup in 60602 ms 14:04:00,328 INFO [AutoDeployDir:167] Processing HelloStruts2-portlet-6.0.6.1.war 14:04:00,375 INFO [PortletAutoDeployListener:71] Copying portlets for E:

Perform workflow transition programmatically in liferay?

只谈情不闲聊 提交于 2019-12-12 09:57:16
问题 I have two transition named "approved" and "reject" at the lastest step of my workflow, but i want to controll the workflow action from my portlet. Anybody know How to Perform workflow transition programmatically in liferay ? 回答1: my current code JournalArticle journalArticle = JournalArticleLocalServiceUtil.getArticle(id); getPermissionChecker().init(u.getUser(), true); WorkflowInstanceLink wil= WorkflowInstanceLinkLocalServiceUtil.getWorkflowInstanceLink(companyId, journalArticle.getGroupId

How do I get Sites of which the user is a member in Liferay theme?

邮差的信 提交于 2019-12-12 09:16:18
问题 In Liferay 6.1 custom theme - How can I get Sites for a user that it is a member of in a theme? I have seen how the dockbar Go to/My sites gets generated via the Liferay UI taglib. However, I want to get a list of user's sites and list them as part of super navigation bar separate from the dockbar options. Is this possible and what is the API call to get the user's sites in a list? Thanks in advance. 回答1: From the user object you can retrieve the groups he belongs to: $user.mySites This

primefaces :dialog does not show 4

三世轮回 提交于 2019-12-12 06:18:42
问题 I have a problem with this component when I clik on this button, nothing appears,My Problem is p:dialog is not getting displayed,Please I need your help , I worked on primefaces 5.2 Liferay 6.2 , SDK 6.2 . <p:commandButton id="selectButton" icon="ui-icon-search" title="View" oncomplete="introViewDialog.show()" update=":form:displayForm" immediate="true" value="lister" > <f:setPropertyActionListener target="#{introBean.selectedIntro}" value="#{intro}"/> </p:commandButton> my form : <h:form id=