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
How build complete URL from el rest module
Hi! I need to build a complete URL from el rest module.
I have some elements (service builder created models) related to a friendlyURL (ex: "/specific-product-") of a Liferay Layout.
For a MVC Portlet I'm using ThemeDisplay and Layout to complete the URL for a model. The problem is in Rest module and can not use ThemeDisplay.
Any idea on how to complete the path of "host:port/web/site" or "virtualhost" ?
Thanks in advance