Foros de discusión

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

Rui Maciel, modificado hace 11 años.

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

Junior Member Mensajes: 36 Fecha de incorporación: 23/07/12 Mensajes recientes
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 hace 11 años.

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

Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
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 hace 11 años.

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

Junior Member Mensajes: 36 Fecha de incorporación: 23/07/12 Mensajes recientes
Oh that's bad news =C
Many Thanks for the help =)