Fórum
adding image in searchContainer[RESOLVED]
kamalkant rajput, modificado 15 Anos atrás.
adding image in searchContainer[RESOLVED]
Expert Postagens: 266 Data de Entrada: 10/04/08 Postagens Recentes
Hi ,
I wanted to add image for each result obtained from SeachContainer , is there any way to do that?
thanks
I wanted to add image for each result obtained from SeachContainer , is there any way to do that?
thanks
Xavi Fibla Agustín, modificado 14 Anos atrás.
RE: adding image in searchContainer[RESOLVED]
New Member Postagens: 24 Data de Entrada: 15/03/09 Postagens Recentes
Did you get it ? I have the same problem.
Thank's
Thank's
kamalkant rajput, modificado 14 Anos atrás.
RE: adding image in searchContainer[RESOLVED]
Expert Postagens: 266 Data de Entrada: 10/04/08 Postagens Recentes
Hi,
I have done like this .
String imageURL = "<img border='2' src='[$image_url$]' width='50px' height='50px'>";
Here [$image_url$] is your image path .
then in ResultRow object I have added like this
here I am taking row as ResultRow object.
Thanks
KamalKant
I have done like this .
String imageURL = "<img border='2' src='[$image_url$]' width='50px' height='50px'>";
Here [$image_url$] is your image path .
then in ResultRow object I have added like this
row.addText(imageURL);
here I am taking row as ResultRow object.
Thanks
KamalKant
Xavi Fibla Agustín, modificado 14 Anos atrás.
RE: adding image in searchContainer[RESOLVED]
New Member Postagens: 24 Data de Entrada: 15/03/09 Postagens Recentes
Perfect.
Thanks.
Thanks.
Feilong Chen, modificado 12 Anos atrás.
RE: adding image in searchContainer[RESOLVED]
New Member Postagens: 18 Data de Entrada: 20/04/11 Postagens Recentes
Is there a way to access ResultRow in javascript?
KK rajput, modificado 12 Anos atrás.
RE: adding image in searchContainer[RESOLVED]
Expert Postagens: 266 Data de Entrada: 10/04/08 Postagens Recentes
check below link
http://issues.liferay.com/browse/LPS-121
http://issues.liferay.com/browse/LPS-121