Forums de discussion

#{liferay.themeImagesURL} parse the wrong url

thumbnail
Manuel Miklo, modifié il y a 11 années.

#{liferay.themeImagesURL} parse the wrong url

New Member Publications: 20 Date d'inscription: 30/01/10 Publications récentes
I would use the EL "#{liferay.themeImagesURL}/common/edit.png" in Icefaces. The problem is, that this EL parse the wrong path in the browser.
The output is follow: http://localhost:8080http://localhost:8080/html/themes/classic/images/common/delete.png

Is this a bug in the Liferayfaces that http://localhost:8080 is twice there?

Greats
Manu
thumbnail
Neil Griffin, modifié il y a 11 années.

RE: #{liferay.themeImagesURL} parse the wrong url

Liferay Legend Publications: 2655 Date d'inscription: 27/07/05 Publications récentes
I just added the following to the icefaces3-compat-portlet as a test and the image rendered OK in both cases:

<img src="#{liferay.themeImagesURL}/common/edit.png">
<ice:graphicimage value="#{liferay.themeImagesURL}/common/edit.png" />


(Note that I had to add the liferay-faces-portal dependency to the project)

Do you have a different use-case?