Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to create primefaces project in liferay workspace in LR 7.1/DXP
Hi everyone
Newbie in LR DXP has worked on the LR 6.2 . LR DXP has replaced sdk with liferay workspace using microserivces architecture ,its really great.
I've created the primefaces project follow the Liferayfaces as well as Liferay JSF Projet in liferay developer studio but not going in the liferay workspace and
whenever i want to create new portlet of Jsf,primefaces in project but its giving me the Error .
Actually want to create workspace for Jsf,primefaces.
Any body have an idea about this. Please help.
Thanks !!!!!
Bilal
- Kyle
Hi Bilal,
 It seems that you are attempting to use the New
    JSF Portlet wizard. Instead you should use the New JSF
  Project wizard. Sorry for the confusion. I’ve
  opened an issue to get the New JSF Portlet option removed: IDE-4464.
You also mentioned that you weren’t able to add a Liferay JSF Portlet to an existing workspace. Here’s how you can do that:
- Right-click on your 
      
your-workspace-warsfolder. - Select New > Other… > Liferay > Liferay JSF Project.
 - Select Next >
 - Add a project name.
 - Uncheck Use default location.
 - Select 
      
your-workspace/warsas your location. - Select your preferred Build type.
 - Select your preferred Component Suite.
 - Click Finish
 
Your new JSF Portlet WAR will be added to your project under the 
    wars folder.
Please let me know if you need any more information.
- Kyle
Hi Bilal, this post inspired me to write a feature request so that JSF projects can more easily be nested in Liferay Workspace projects: IDE-4465. Thanks for the feedback.
- Kyle
Thanks Kyle for sharing information.
By following your steps  Jsf project created and went into 
    workspace/wars successfully . But facing
  issues are 
- Jsf project is not deployed when i try to deploy
 - created Jsf project goes out from workspace ang gives error ,click here
 
Note : Other project like mvc portlet deploy and run seamlessly. I've configured the liferay home directory workspace through gradle.properties
Hi Bilal, I'm glad you were able to generate a Liferay Faces project inside your Liferay Workspace project. Could you provide some more info so I can help debug your 2 new problems:
- Did you select the "Gradle" option for the Liferay Faces project?
 - What's the error that you are getting in Liferay IDE for the generated Liferay Faces project?
 - Do you get any errors when you attempt to deploy the project?
 
- Kyle