Fórum

Asset Publisher

thumbnail
chris kabore, modificado 11 Anos atrás.

Asset Publisher

New Member Postagens: 16 Data de Entrada: 28/03/12 Postagens Recentes
Hi everybody!!!

I am trying to publish assets in my portlet in the same fashion asset publisher does but I am getting a problem.
the titles of my assets display this way :

?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US" default-locale="en_US"><Title language-id="en_US">Junior Liferay developer position in Barcelona, at Everis</Title></root>


wish is not the way it should be. And When you click on the link it doesn't get you to the full content as it supposed to. It stays on the same page instead.

Any one encountered this problem? please help.
thumbnail
Juan Gonzalez P, modificado 11 Anos atrás.

RE: Asset Publisher

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
So you implemented assets for your custom entity, isn't it?

All of these are implemented overriding methods in your <Entity>AssetRendererFactory and <Entity>AssetRenderer, so there you have the answer.

About full content, is something is configured through same classes.

You can check your error logs.
thumbnail
chris kabore, modificado 11 Anos atrás.

RE: Asset Publisher

New Member Postagens: 16 Data de Entrada: 28/03/12 Postagens Recentes
Thank you Juan for your answer. What I want to do actually is to render assets in the same way asset publisher does in my own jsp. I want to obtain them from their classNameIds and render them inside a jsp in my portlet.

I figured out I could use the code from asset publisher but it is giving me the error I showed above. Any suggestion?

thanks in advance