Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Bobby Hopkins
Can someone give me an example portlet with a config page?
22. März 2012 03:29
Antwort

Bobby Hopkins

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 22. März 2012

Neue Beiträge

Hi,

Can someone give me an example portlet with a configuration page for Liferay 6.1 please? I followed some guides already but I can't get it to work.

Thanks a lot.
Venkat Koppavolu
RE: Can someone give me an example portlet with a config page?
22. März 2012 03:51
Antwort

Venkat Koppavolu

Rang: Junior Member

Nachrichten: 85

Eintrittsdatum: 25. Juli 2010

Neue Beiträge

Check out the Flash port-let which implements configuration action

1. Go to URL - http://www.liferay.com/downloads/liferay-portal/official-plugins
2. Download Flash plug-in portlet

Thanks,
Venkat
David H Nebinger
RE: Can someone give me an example portlet with a config page?
22. März 2012 05:12
Antwort

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 11288

Eintrittsdatum: 1. September 2006

Neue Beiträge

Bobby Hopkins:
Hi,

Can someone give me an example portlet with a configuration page for Liferay 6.1 please? I followed some guides already but I can't get it to work.

Thanks a lot.



Yes, it's called "liferay source code", and it's available from the download page.
Hitoshi Ozawa
RE: Can someone give me an example portlet with a config page?
22. März 2012 05:35
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

There's nothing special about configuration pages. The wiki pages should provide enough information. What kind of problems are you having?
Bobby Hopkins
RE: Can someone give me an example portlet with a config page?
22. März 2012 15:54
Antwort

Bobby Hopkins

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 22. März 2012

Neue Beiträge

Sorry if this sounds a bit stupid, but I am not sure where to place the files exactly. I mean, in the portlet folders in the ROOT folder, there are only 3 files for a portlet i found which has a config page, "configuration.jsp", "view.jsp", "edit.jsp". The wiki is telling me to edit other files even though I don't see them in the final product.
David H Nebinger
RE: Can someone give me an example portlet with a config page?
22. März 2012 16:18
Antwort

David H Nebinger

Community Moderator

Rang: Liferay Legend

Nachrichten: 11288

Eintrittsdatum: 1. September 2006

Neue Beiträge

Hmm, basic google search yields:



The list goes on...
Andrew Jardine
RE: Can someone give me an example portlet with a config page?
22. März 2012 17:52
Antwort

Andrew Jardine

Community Moderator

Rang: Liferay Legend

Nachrichten: 1062

Eintrittsdatum: 22. Dezember 2010

Neue Beiträge

Hey Bobby,

If you're not already doing so, I would suggest downloading the Liferay IDE or installing the plugins for eclipse. They make it much easier to get the structure of a project in place. Once you have that up and running you should check out the SAMPLE porlets that Liferay provides. They're available in the SVN. They cover a lot of different topics. If you've never worked with portlets before then be prepared to commit some time -- it's not a concept you're going to pick up in a couple of hours and be an expert at.
Hitoshi Ozawa
RE: Can someone give me an example portlet with a config page?
22. März 2012 20:56
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

Agree with Andrew. I'm using Liferay IDE too.

When creating a project, I only have to check in the "Create custom portlet class" -> "Next" button -> "Next" button 0> Check "Config" in the "Liferay Portlet Modes" . Necessary files and settings are all done for you!
Bobby Hopkins
RE: Can someone give me an example portlet with a config page?
22. März 2012 21:39
Antwort

Bobby Hopkins

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 22. März 2012

Neue Beiträge

Thank you for the reply. How would I do this in Eclipse with Liferay 6.0.5? My current project is based on 6.0.5 so I can't download the new Liferay IDE as it is for Tomcat 7.0 and Liferay 6.1
Harish Kumar
RE: Can someone give me an example portlet with a config page?
22. März 2012 22:32
Antwort

Harish Kumar

Rang: Expert

Nachrichten: 472

Eintrittsdatum: 31. Juli 2010

Neue Beiträge

check out http://liferayzone.wordpress.com/2011/05/07/adding-portlet-preferences-to-custom-portlet/
Hitoshi Ozawa
RE: Can someone give me an example portlet with a config page?
24. März 2012 01:54
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

Thank you for the reply. How would I do this in Eclipse with Liferay 6.0.5? My current project is based on 6.0.5 so I can't download the new Liferay IDE as it is for Tomcat 7.0 and Liferay 6.1


Where did you get that information. There latest release "supports" the latest release of Liferay but it's also possible to set it up for past version by just selecting the older version files. I'm doing it because my users are still using the older versions.
Andrew Jardine
RE: Can someone give me an example portlet with a config page?
8. Mai 2012 09:01
Antwort

Andrew Jardine

Community Moderator

Rang: Liferay Legend

Nachrichten: 1062

Eintrittsdatum: 22. Dezember 2010

Neue Beiträge

I'm using the IDE and we're on 6.0 SP1 EE. You just need to configure multiple runtime environments and sdks in eclipse.