Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
realiste realiste
modify liferay portlet "Document libreray"
July 20, 2012 11:28 AM
Answer

realiste realiste

Rank: Junior Member

Posts: 31

Join Date: July 20, 2012

Recent Posts

Dear all
i want to modify a portlet "Document library" in order that the result of research in this portlet will be showed in another portlet that i must develop
can you give me exemple of this inter portlet communication and how to modifiy this portlet ?
can anyone help me ?
Juan Fernández
RE: modify liferay portlet "Document libreray"
July 20, 2012 6:01 PM
Answer

Juan Fernández

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1262

Join Date: October 2, 2008

Recent Posts

Hi there!
Here you have an article about inter portlet communication: http://www.liferay.com/community/wiki/-/wiki/Main/Inter-portlet+communication

You'll need to extend the Doc Lib so that you share the results with your custom portlet
Regards and good luck!
realiste realiste
RE: modify liferay portlet "Document libreray"
July 20, 2012 6:52 PM
Answer

realiste realiste

Rank: Junior Member

Posts: 31

Join Date: July 20, 2012

Recent Posts

thank you for your response
but I can not find the java source code of the portlet "libreray Document" to modify it !!!
Hitoshi Ozawa
RE: modify liferay portlet "Document libreray"
July 20, 2012 7:04 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Just download liferay source code and check the following directory.

portal-impl\src\com\liferay\portlet\documentlibrary
realiste realiste
RE: modify liferay portlet "Document libreray"
July 20, 2012 8:43 PM
Answer

realiste realiste

Rank: Junior Member

Posts: 31

Join Date: July 20, 2012

Recent Posts

thank you very much
but which java class must to change for the search result will be in another portlet
for more detail I use eclipse IDE with Liferay,
and I think it's a hook services that I must create, but I doesn't know wich service type to choose
realiste realiste
RE: modify liferay portlet "Document libreray"
July 21, 2012 2:20 AM
Answer

realiste realiste

Rank: Junior Member

Posts: 31

Join Date: July 20, 2012

Recent Posts

hello
in other way, which java class responsible of display in document library portlet ?
and which hook services(service type) must i use for modify it ?
Hitoshi Ozawa
RE: modify liferay portlet "Document libreray"
July 21, 2012 2:26 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

You'll need to extend the Doc Lib so that you share the results with your custom portlet


You'll need to ask Juan about this because he's the one who answered that it can be done by extending Doc Lib.
realiste realiste
RE: modify liferay portlet "Document libreray"
July 21, 2012 2:41 AM
Answer

realiste realiste

Rank: Junior Member

Posts: 31

Join Date: July 20, 2012

Recent Posts

i need a response from anyone
i am stuck !!!
realiste realiste
RE: modify liferay portlet "Document libreray"
July 21, 2012 4:32 AM
Answer

realiste realiste

Rank: Junior Member

Posts: 31

Join Date: July 20, 2012

Recent Posts

hello
I restate my question
which are all jsp and java files are needed to extend the document library portlet in order the result or research (in "Document libreray" portlet) will be display in an other portlet ?