Message Boards

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Cannot view portlet generated
Answer
7/6/12 5:36 AM
Hey guys i am all new to liferay. I have been trying to explore xml portlet factory. I have seen installation video for creating portlet.I guess portlet over here creates a skelton which is to be edited in eclipse.
My portlet is created through UI using to-do.xml (xml file picked from 'How to create your XML definition file
'example)and specifying location,all its source files are created but my question is once this is done what is the next step how it is added in eclipse and viewed in liferay server.

i have seen 'Eclipse edit your generated portlet' example and tried to import the portlet including sdk & tomcat but my portlet is not seen in projects to import checkbox. I cannot view either in 'install more application' of liferay server->add-> more->install more application.

Please help i guess i am missing something.

RE: Cannot view portlet generated
Answer
7/9/12 7:57 AM as a reply to sonam kanhaiya burde.
Hola Sonam,


Yes, seems that something is missing, maybe something with installation configuration. I have been thinking that you might bypass this by executing XMLPortletFactory as standalone app.

Try to double-click your XMLPortletFactory.jar (XMLPortletFactory folder inside liferay-plugins-sdk folder) and see if a window pops up asking you for your xml file definition and portlet SDK folder, choose versions, and you should come up with the ready-to-service-build portlet.

Saludos, Jack.

Pd.: Please attach your xml definition file if you are having some generation issue.