Fóruns

Início » Alloy UI » English

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Sameer Shaik
export/import
10 de Agosto de 2012 23:42
Resposta

Sameer Shaik

Ranking: New Member

Mensagens: 19

Data de entrada: 1 de Agosto de 2012

Mensagens recentes

How to export data of a custom portlet into a LAR file programatically ?
Hitoshi Ozawa
RE: export/import
11 de Agosto de 2012 01:16
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Are you asking how to add export/import to your portlet?
The first step is to add Configuration to your portlet so when a user select Options, Export/Import will show up in the menu.
The next step is to implement export/import. Check the following wiki for more information.

http://www.liferay.com/community/wiki/-/wiki/Main/Portlet+DataHandlers
Sameer Shaik
RE: export/import
11 de Agosto de 2012 03:55
Resposta

Sameer Shaik

Ranking: New Member

Mensagens: 19

Data de entrada: 1 de Agosto de 2012

Mensagens recentes

hi hitoshi,

Thanks for the reply...

Can you please tell me how to link export/import tab as shown in the following (export-import.png) with (export.import.png)..i mean how to get "export" button and "cancel" button in (export.import.png)
Anexo

Anexo

Anexos: export-import.png (8,0k), export.import.png (100,8k)
Hitoshi Ozawa
RE: export/import
11 de Agosto de 2012 03:59
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Just specify PorletDataHandlerImpl you've created in <portlet-data-handler-class> tag in the liferay-portlet.xml file.

Example:
<portlet-data-handler-class>com.liferay.portlet.calendar.lar.CalendarPortletDataHandlerImpl</portlet-data-handler-class>
Sameer Shaik
RE: export/import
11 de Agosto de 2012 04:06
Resposta

Sameer Shaik

Ranking: New Member

Mensagens: 19

Data de entrada: 1 de Agosto de 2012

Mensagens recentes

yeah i got export/import tab but how to display "export button" and "cancel button" in the following page and how to link "export button " with exportdata() method
Anexo

Anexos: export.import.png (100,8k)
Hitoshi Ozawa
RE: export/import
11 de Agosto de 2012 05:50
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Have you looked at the source for Calendar's export/import

portal-impl\src\com\liferay\portlet\calendar\lar
Sameer Shaik
RE: export/import
11 de Agosto de 2012 08:40
Resposta

Sameer Shaik

Ranking: New Member

Mensagens: 19

Data de entrada: 1 de Agosto de 2012

Mensagens recentes

hi hitoshi,

Thanks a lot dude..everything is working fine now..
Hitoshi Ozawa
RE: export/import
11 de Agosto de 2012 17:41
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Great! Liferay's source code offers one of the best examples around to develop liferay portlets. I goes through them often myself when I get stuck from just reading the documentation.
Sameer Shaik
RE: export/import
13 de Agosto de 2012 07:18
Resposta

Sameer Shaik

Ranking: New Member

Mensagens: 19

Data de entrada: 1 de Agosto de 2012

Mensagens recentes

hi hitoshi,

Can you please tell me where the control is flowing after clicking export/import tab,and also i need the total control flow till the LAR File creation ,i am getting confused.