Fórum

Search container href on liferay-ui:search-container-row

Rui Maciel, modificado 11 Anos atrás.

Search container href on liferay-ui:search-container-row

Junior Member Postagens: 36 Data de Entrada: 23/07/12 Postagens Recentes
Hi all, I know it is possible to set a href atribute in liferay-ui:search-container-column-text.
But in my case, i want the entire row to be a link. How can i do this? i already tried:
<a href="myLink">
<liferay-ui:search-container-column-text name="columnName1" property="property1" />
<liferay-ui:search-container-column-text name="columnName2" property="property2" />
</a>


but no effect.
Can anyone help me?
Many thanks to all
thumbnail
Pankaj Kathiriya, modificado 11 Anos atrás.

RE: Search container href on liferay-ui:search-container-row

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
Hi Rui,

<liferay-ui:search-******** /> are custom tags provided by Liferay , it uses structure of html tags table tr td etc.

Now to incorporate anchor <a> tag in entire row its not possible to have anchor on table-row.

Option left is to use href attribute for all <liferay-ui:search-container-column-text of row.


Thanks,
Pankaj
Rui Maciel, modificado 11 Anos atrás.

RE: Search container href on liferay-ui:search-container-row

Junior Member Postagens: 36 Data de Entrada: 23/07/12 Postagens Recentes
Oh that's bad news =C
Many Thanks for the help =)