Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
chris kabore
Asset Publisher
19 novembre 2012 4.12
Risposta

chris kabore

Punteggio: New Member

Messaggi: 16

Data di Iscrizione: 28 marzo 2012

Messaggi recenti

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 novembre 2012 7.06
Risposta

Juan Gonzalez

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 2221

Data di Iscrizione: 28 ottobre 2008

Messaggi recenti

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 novembre 2012 2.13
Risposta

chris kabore

Punteggio: New Member

Messaggi: 16

Data di Iscrizione: 28 marzo 2012

Messaggi recenti

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