Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
chris kabore
Asset Publisher
19 de noviembre de 2012 4:12
Respuesta

chris kabore

Ranking: New Member

Mensajes: 16

Fecha de incorporación: 28 de marzo de 2012

Mensajes recientes

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.
Juan Gonzalez
RE: Asset Publisher
19 de noviembre de 2012 7:06
Respuesta

Juan Gonzalez

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1984

Fecha de incorporación: 28 de octubre de 2008

Mensajes recientes

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.
chris kabore
RE: Asset Publisher
22 de noviembre de 2012 2:13
Respuesta

chris kabore

Ranking: New Member

Mensajes: 16

Fecha de incorporación: 28 de marzo de 2012

Mensajes recientes

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