View Full Version : Portal: HowTo create Portlets
guillaumeh
20 Feb 2009, 7:33 AM
Hi all,
First, sorry for the title ... I have no idea of what I can put :-/
So.. I'm starting with Ext Gxt.
My goal is to write many Java applications, with Eclipse, and have all of them in one portal.
My idea was to develop all applications as Portlet, and add them in portal.
How can I do, to create a project in Eclipse, build a Portlet for it, and implement it in my portal ?
Maybe something like an XML file, containing all informations about available Portlet... ?
Thanks in advance for your help ! =;
guillaumeh
23 Feb 2009, 11:51 PM
Up :D
guillaumeh
24 Feb 2009, 6:04 AM
Okay... so How build a portal with portlets ?
Have you looked at the samples? There you find the complete sourcecode ofthe porttal example too.
guillaumeh
24 Feb 2009, 7:02 AM
Yes I did... And there is not the complete project Portal in GXT ( not Ext Js ! )
I have no idea on Project Architecture.. and i search help on it.
I have try to run the example... but as is not use GWT, I can't run it...
So, I was checking for the complete project in GXT sources ... but there is not.
Sure there is http://extjs.com/explorer/#portal
guillaumeh
24 Feb 2009, 7:09 AM
To make it running, should I create project with google web toolkit command line tools ?
Because, actually, I'm using Eclipse, with Cypal plugin to create project.
And then, I create a new GWT module.
Then, I have the complete structure, but when I try to launch the code of the Portal example, compiler ask me for the onModuleLoaded() ... something like this.
And this is, normally, done by GWT projects.
So, have you, may be, an archive with complet Eclipse project ? :D
guillaumeh
24 Feb 2009, 10:23 PM
I think, my problem is that I don't know how to execute a simple, ExtJs project.
Until now, I only work with GWT, and the GwtShell...
gtg489w
26 Feb 2009, 1:14 PM
Create the project using the GWT command line tools (make sure you have the -eclipse option)
Import the project just as you would any GWT project. Add the GXT JAR file to your build path (add external JARs).
Add a link to your GXT css file
<link rel="stylesheet" type="text/css" href="css/ext-all.css" />
Add a reference to GXT in the XML file
<module>
<inherits name='com.extjs.gxt.ui.GXT'/>
<entry-point class='com.extjs.gxt.sample.client.Sample />
</module>
see http://extjs.com/helpcenter/index.jsp
guillaumeh
2 Mar 2009, 5:02 AM
Thanks for your help ! :)
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.