Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
Jeff Zhuk
Add a column to document library with init-ext.jsp and URL to the file
3 de Outubro de 2010 13:53
Resposta

Jeff Zhuk

Ranking: Junior Member

Mensagens: 64

Data de entrada: 9 de Setembro de 2009

Mensagens recentes

Hello everyone!

It looks like customization of the columns in the document_library can be done with html/portlet/document_library/init.jsp.

In the middle of this jsp file there is the following line:

<%@ include file="/html/portlet/document_library/init-ext.jsp" %>

This might be the best way to add extra columns here by including in the ext plugin this init-ext.jsp.

I think that this has been already done by someone and would highly appreciate an example of the init-ext.jsp that would add a new column.

It would be great also to have the value in this column that would allow to use another application, for example, myApp, with the URL to the file in this line, myApp(url).

Thank you for sharing,

Jeff