Fórumok

Asset Publisher

thumbnail
chris kabore, módosítva 11 év-val korábban

Asset Publisher

New Member Bejegyzések: 16 Csatlakozás dátuma: 2012.03.28. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Asset Publisher

Liferay Legend Bejegyzések: 3089 Csatlakozás dátuma: 2008.10.28. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Asset Publisher

New Member Bejegyzések: 16 Csatlakozás dátuma: 2012.03.28. Legújabb bejegyzések
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