Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
John Malick
Can't find my portlet to select
4. Oktober 2010 05:53
Antwort

John Malick

Rang: New Member

Nachrichten: 21

Eintrittsdatum: 14. September 2010

Neue Beiträge

Hello Everyone,

I am very new to JAVA programming and LIFERAY. I developed a portlet in Eclipse IDE using Hibernate, Springframe and Maven. A very simple "Hello World" type portlet. I have download LIFERAY 6.0+ version and installed that on my PC. This is not going to be displayed on any aplication server. Just a test to see if I can develop a simple portlet and diplay it using LIFERAY on my PC. When I start up LIFERAY (uisng Tomcat) and log into LIFERAY using the default username/password (test@liferay.com/test), I go to the Control Panel and select "Plugins Installation". I then select "Install more portlets". I select "Upload File" and browse to find my WAR file. I then select "Install" and watch the Tomcat log file. I receive no errors. I go and try to add my portlet to my portal but I can not find it anywhere (I called it "Sample PorjectTasks" so it would show up under sample). Can anyone give me a clue what I am doing wrong? HELP PLEASE!

John Malick
Malek Tarboush
RE: Can't find my portlet to select
4. Oktober 2010 06:10
Antwort

Malek Tarboush

Rang: Junior Member

Nachrichten: 30

Eintrittsdatum: 19. September 2010

Neue Beiträge

may be its in another category ?
did you check the Undefined category ?

today i got something like this today
i have a JSF project i edited it to make it as a liferay portlet
and it works fine but it went to the Undefined category not the sample
i don't know why even i specify the category as sample in the liferay-display.xml
like this
1 <display>
2     <category name="category.sample">
3         <portlet id="liferayjsf_tag_portlet" />
4     </category>
5 </display>
John Malick
RE: Can't find my portlet to select
4. Oktober 2010 07:47
Antwort

John Malick

Rang: New Member

Nachrichten: 21

Eintrittsdatum: 14. September 2010

Neue Beiträge

Hello Malek Taroush,

Thank you for the reply. I appreciate all help. Sorry but I do not see "Undefined Category" From the pull down menu "Add", I select "More". it brings me to a list of different portlet categories:

Collaboration
Community
Conten Management
Finance
Google
News
Sample
Shopping
Social
Tools
Wiki

I don't see "Undefined category". Am I looking in the wrong place? I am using Liferay 6. Are you using the same version. Please help.

John Malick
Malek Tarboush
RE: Can't find my portlet to select
5. Oktober 2010 05:45
Antwort

Malek Tarboush

Rang: Junior Member

Nachrichten: 30

Eintrittsdatum: 19. September 2010

Neue Beiträge

Hello John

yes I'm using Liferay 6.0.5 CE
hey look if its ok upload your portlet here
and i will try deploy it on my liferay
may be we can define the problem
John Malick
RE: Can't find my portlet to select
5. Oktober 2010 06:50
Antwort

John Malick

Rang: New Member

Nachrichten: 21

Eintrittsdatum: 14. September 2010

Neue Beiträge

Hello Malek,

Thank you for the reply and the offer. If you can please let me how to upload my portlet here, I will do it. I just don't know how to upload the file. Would it be easier if I emailed you the WAR file? I appreciate it. Have a good day.

John Malick