Liferay maven dependency could not be resolved

夙愿已清 提交于 2020-01-06 14:14:14
问题 I am using liferay enterprise edition with maven.while deploying it with maven clean package commad I got below error. The following artifacts could not be resolved: com.liferay.portal:portal-service:jar:, com.liferay.portal:util-bridges:jar:, com.liferay.portal:util-taglib:jar:, com.liferay.portal:util-java:jar: Could not find artifact com.liferay.portal:portal-service:jar: in central ( -> [Help 1] I have

Users and organization creation form

醉酒当歌 提交于 2019-12-25 04:19:16
问题 I have added portal directory inside a public page contains users and organization Q1>> I need to add portlet allow users depending on their roles to add edit organization and users depending on their roles outside the control panel "inside my new portlet in public page"? OR Inside portal directory portlet allow users depending on their roles to add edit organization and roles outside the control panel "inside my new portlet"? Q2>> How to make custom fields required fields? I'm new to liferay

Liferay Web-Service: method in *LocalServiceImpl not getting build in *LocalServiceUtil

℡╲_俬逩灬. 提交于 2019-12-25 03:34:08
问题 Methods I am defining in *LocalServiceImpl is not getting defined by service builder in *LocalServiceUtil. Have gone through this question,but didn't work for me Liferay: Any method written in *LocalServiceImpl not found in *LocalServiceUtil service log: build-service: [echo] Loading jar:file:/home/rayon/shi/liferay%20bundle%2020th%20may/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/ [echo] 8 Jun, 2015 8:18:28 AM com.liferay.portal.kernel

Liferay 7 Eclipse IDE override default categories filters query

若如初见. 提交于 2019-12-24 23:04:45
问题 I’m looking for a way to override the default category filter behaviour for Asset Publisher widgets (point 3 of my previous question here). As far as I understand in the Setup > Asset Section > Filter a rule based on categories will look for all source > asset type components which match the selected categories. I would like to know where is default query stored and how it is possible to modify it in order to introduce other custom criteria. Update: I can create a Liferay module project

How to use custom mysql query from my liferay custom portlet?

房东的猫 提交于 2019-12-24 13:07:03
问题 I am using Liferay and developing my custom portlet, now I want to use custom query to retrieve some data from multiple table with joins etc. I have googled the things for my problem but can't find the simple way to understand the step-by-step procedure. So if any one can guide me or give me any tutorial to create Custom SQL query for my custom portlet. after this 4th step i have built my service in eclipse,and its showing successfully.there are two file created in service/persistence package

How to develop Liferay project in Eclipsce juno and built it on on Jboss

廉价感情. 提交于 2019-12-24 03:56:07
问题 I have downloaded the Liferay 6.1 with jboss 7.1.1 Bundle and Liferay IDE(Eclipsce Juno).All I have to do is to develop Liferay Project and running it on Jboss server. I can able to run and open liferay portal in localhost:8080/ I am having issues in developing Liferay portal project.As default server adapter for Liferay in IDE is Tomcat 7.0 and I couldn't able to find Jboss server adapter.I tried by running and deploy it on Tomcat and running the Jboss server by running standalone.bat file.

Remove java exception breakpoints when debugging Liferay in eclipse

三世轮回 提交于 2019-12-20 10:58:08
问题 By debugging of Liferay Portal, that is tomcat application, eclipse make usual stop at ThreadPoolExecutor$ line: 912 although I don't set a breakpoint at this class. The ThreadPoolExecutor isn't a class of my application, I think that belongs to tomcat. My Question is: what is wrong here, and why eclipse stopt here? And is it possible to set such "external breakpoints" in eclipse to ignore? 回答1: You can fix this immediately by opening the Markers view and delete the Java Exception

Liferay 7 Eclipse IDE override default categories behaviour

天大地大妈咪最大 提交于 2019-12-14 03:17:02
问题 I need to create a portlet in order to change the default category behaviour/interface in Liferay 7. My objective is to duplicate assetcategory table, expand and change its columns, and use this new table as a reference for categories within Liferay backend. Therefore there are three key points my portlet has to update: The category organization UI to create/update category tables on DB. I’m able to create a new Liferay module project ( panel-app template) which can present the UI backend

Liferay Maven Service Builder Portlet(Developer Studio)

瘦欲@ 提交于 2019-12-13 14:33:07
问题 I am new in Liferay platform. I am trying to implement CRUD in Liferay using portlet. I am using liferay 6.2 and IDE as a developer studio. I am creating project with below values (In Image) in developer studio. When I am creating project in Developer studio I am getting 3 project in my Liferay project explorer which are shown in below image. So my question is that why its three project are created when I only want to create one service builder portlet. What are the use of that? Anyone can

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 =; columnVal = columnVal.trim()