Foros de discusión

Showing the custom content at abstract level asset publisher

sri p, modificado hace 12 años.

Showing the custom content at abstract level asset publisher

Junior Member Mensajes: 85 Fecha de incorporación: 22/01/11 Mensajes recientes
Hi Everyone,

I have created a "template" and "structure" to show the added web content in Asset Publisher portlet.

TEM[LATE:
#if ($readmore)
<p>$abstract.getData()</p>
<div class="wc-table-data"> <b>Price: $price.getData()</b></div>
#else
<div class="wc-table-data"> <b>Price: $price.getData()</b></div>

Question :
so in my template at abstract level (if part) , the abstract description (out of the box field) can be displayed, but not "Price".
at detail level (else part) : the "Price" is displaying.

I am not sure where I need to make changes to Liferay code (jsp/java) so that "Price" will be displayed at abstract level too.

Any help is really appreciated.

Thank you,
Sri