Igor Beslic Vor 10 Jahren Hi Meera,nice example, keep doing good job!Just wanted to suggest you two things. It is more natural that dependent plugin (one that declares dependencies via required-deployment-contexts) is called child. Also it would be easier for audience if you format your source-code statements with code formatting.Best regards! Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen meera prince Igor Beslic Vor 10 Jahren thank you Igor Beslic i will follows your suggestion... Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Umer Sayeed meera prince Vor 10 Jahren I am not able to get the Impl() in parent portlet, other all methods are comming good. where did i made a mistake?? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Sanketh Iyer Umer Sayeed Vor 8 Jahren Hi Umer, I am facing the same issue . Were you able to resolve your problem?Thanks and regards,Sanketh Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
meera prince Igor Beslic Vor 10 Jahren thank you Igor Beslic i will follows your suggestion... Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Umer Sayeed meera prince Vor 10 Jahren I am not able to get the Impl() in parent portlet, other all methods are comming good. where did i made a mistake?? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Sanketh Iyer Umer Sayeed Vor 8 Jahren Hi Umer, I am facing the same issue . Were you able to resolve your problem?Thanks and regards,Sanketh Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Umer Sayeed meera prince Vor 10 Jahren I am not able to get the Impl() in parent portlet, other all methods are comming good. where did i made a mistake?? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Sanketh Iyer Umer Sayeed Vor 8 Jahren Hi Umer, I am facing the same issue . Were you able to resolve your problem?Thanks and regards,Sanketh Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Sanketh Iyer Umer Sayeed Vor 8 Jahren Hi Umer, I am facing the same issue . Were you able to resolve your problem?Thanks and regards,Sanketh Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Martin Kruse Vor 9 Jahren Things I found out in at least Liferay 6.2 EE:1. Do not let your entity end with "Service" (e.g. MyJournalService). It will break the generator for the <Entity>LocalService-Interface. It will not generate the method to get the entity by primary key/composit key. So the service builder will generate broken code as the LocalServiceBaseImpl will override the method not existing in the interface.2. The package-paths for the two services must be different! Otherwise you will only be able to call one service. Calling the second service will result in a "NoSuchBeanDefinitionException". Try calling the ParentLocalServiceUtil.getParent(1) in your example Parent-Portlet's view.jsp. It will throw this exception.Those two things took me half a day to find out :-/ So I thought I should share. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Meera Prince Martin Kruse Vor 9 Jahren its very helpful.. thanks for sharing.. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen David Lee Martin Kruse Vor 9 Jahren I have two portlets and I want to share a service between them. They are created in their own liferay project folder/path. So I think they are in different package-paths. And the service that I want to share is placed in the tomcat\lib\ext folder. But I get the "NoSuchBeanDefinitionException" error. I am using 6.2 CE. I think I got the service to be shared when I was using 6.1 CE. But I am having a hard time with 6.2. CE. Any help provided is greatly appreciated. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Hardik Pathak David Lee Vor 9 Jahren I guess remove jar from the tomcat/lib/ext folder.Make sure two things. 1. Add your service jar into ROOT/WEB-INF/lib folder.2. In your consumer portlet's liferay-plugin-package.xml file under "Portal Dependency Jars" click on Add and select the custom service jar. And under "Required Deployment Context" select your custom service project.Redeploy custom portlets and hopefully that should work. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Quang Anh Ngô Martin Kruse Vor 7 Jahren I got NoSuchBeanDefinitionException when place services at the same package path.Thank you! Helpful reply. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Meera Prince Martin Kruse Vor 9 Jahren its very helpful.. thanks for sharing.. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
David Lee Martin Kruse Vor 9 Jahren I have two portlets and I want to share a service between them. They are created in their own liferay project folder/path. So I think they are in different package-paths. And the service that I want to share is placed in the tomcat\lib\ext folder. But I get the "NoSuchBeanDefinitionException" error. I am using 6.2 CE. I think I got the service to be shared when I was using 6.1 CE. But I am having a hard time with 6.2. CE. Any help provided is greatly appreciated. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Hardik Pathak David Lee Vor 9 Jahren I guess remove jar from the tomcat/lib/ext folder.Make sure two things. 1. Add your service jar into ROOT/WEB-INF/lib folder.2. In your consumer portlet's liferay-plugin-package.xml file under "Portal Dependency Jars" click on Add and select the custom service jar. And under "Required Deployment Context" select your custom service project.Redeploy custom portlets and hopefully that should work. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Hardik Pathak David Lee Vor 9 Jahren I guess remove jar from the tomcat/lib/ext folder.Make sure two things. 1. Add your service jar into ROOT/WEB-INF/lib folder.2. In your consumer portlet's liferay-plugin-package.xml file under "Portal Dependency Jars" click on Add and select the custom service jar. And under "Required Deployment Context" select your custom service project.Redeploy custom portlets and hopefully that should work. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Quang Anh Ngô Martin Kruse Vor 7 Jahren I got NoSuchBeanDefinitionException when place services at the same package path.Thank you! Helpful reply. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
manasa chandri Vor 8 Jahren Hi,How many child portlets we can add in one parent portlet.for example: required-deployment-contexts=Child-portlet1,Child-portlet2we can add like above example? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Quang Anh Ngô Vor 7 Jahren But if you try this:Child-portlet requires Parent-portlet services and Parent-portlet requires Child-portlet servicesthen the deployment will block foreverboth portlets will wait each other in queue till one of them be deployed.This is my problem. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen