Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
chris kabore
Asset Publisher
November 19, 2012 4:12 AM
Answer

chris kabore

Rank: New Member

Posts: 16

Join Date: March 28, 2012

Recent Posts

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
November 19, 2012 7:06 AM
Answer

Juan Gonzalez

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1841

Join Date: October 28, 2008

Recent Posts

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
November 22, 2012 2:13 AM
Answer

chris kabore

Rank: New Member

Posts: 16

Join Date: March 28, 2012

Recent Posts

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