liferay-ide

Not able to update database due to pre-marked attendance(values) Liferay

≡放荡痞女 提交于 2019-12-12 04:38:45
问题 I have the following functions to mark attendance of an employee: public void updateDailyAttendance(ActionRequest areq, ActionResponse aRes) throws Exception { int totalEmployees = EmployeeLocalServiceUtil.getEmployeesCount(); List<Employee> employeeAttendanceDetails = MISPortalActionUtil.getEmployeeData(); String datt = areq.getParameter("datt"); String Imatt = areq.getParameter("matt"); String yatt = areq.getParameter("yatt"); int Lmatt = Integer.parseInt(Imatt); String matt = Integer

Liferay: Any method written in *LocalServiceImpl not found in *LocalServiceUtil

自作多情 提交于 2019-12-11 23:26:40
问题 Any method I write in *LocalServiceImpl is not found in *LocalServiceUtil . I re-run service builder every time and nothing. The methods are recognized on local server but not found in production server. All old methods are working, just new written methods are not found. What could be the problem? Thanks. I am using Liferay 6.1.1 GA2 on both servers. this is my service builder log [echo] Loading jar:file:/C:/sbl-workspace-1/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib

How Deploy Our WebApp into Liferay

大憨熊 提交于 2019-12-11 20:44:24
问题 I am new to Liferay, I have a webapp (built with Struts/Spring/Hibernate). My question is how to deploy this WebApp into Liferay 6.2 Environment. Is this possible? 回答1: If you want to run it as a liferay portlet - first of all you have to convert your web application into a portlet application. Which means at least creating a few additional configuration files (liferay-display.xml, liferay-portlet.xml, etc). Not difficult but best to read some docs first. If you want to simply run it along

Liferay With Multiple Server Instances

一曲冷凌霜 提交于 2019-12-08 18:26:09
问题 I'm working with multiple Liferay Projects (different Portal, plugins, user and usergroups etc ) in the same time, and often have to switch between them. This switch requires lots of steps like Editing the portal-ext.properties (to change the Liferay Database, and edit some custom project-specific properties), and edit 'portal-setup-wizard.properties' Add/remove portlets themes and hooks from the Eclipse Server instance, sometimes clean the Tomcat's 'data' 'Webapps' and 'work' folder Go to