Message Boards

How build complete URL from el rest module

thumbnail
Joaquin Cabal, modified 2 Years ago.

How build complete URL from el rest module

Regular Member Posts: 106 Join Date: 9/7/09 Recent Posts

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