Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Rui Maciel
Search container href on liferay-ui:search-container-row
August 28, 2012 9:43 AM
Answer

Rui Maciel

Rank: Junior Member

Posts: 36

Join Date: July 23, 2012

Recent Posts

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:
1<a href="myLink">
2<liferay-ui:search-container-column-text name="columnName1" property="property1" />
3<liferay-ui:search-container-column-text name="columnName2" property="property2" />
4</a>


but no effect.
Can anyone help me?
Many thanks to all
Pankaj Kathiriya
RE: Search container href on liferay-ui:search-container-row
August 28, 2012 11:04 PM
Answer

Pankaj Kathiriya

Rank: Liferay Master

Posts: 645

Join Date: August 4, 2010

Recent Posts

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
RE: Search container href on liferay-ui:search-container-row
August 29, 2012 1:35 AM
Answer

Rui Maciel

Rank: Junior Member

Posts: 36

Join Date: July 23, 2012

Recent Posts

Oh that's bad news =C
Many Thanks for the help =)