-
1. Re: Using Dashboard only
xantos92 Nov 28, 2011 2:32 AM (in response to xantos92)Does nobody know what i need to extract from the Framework for the Dashboard?
-
2. Re: Using Dashboard only
theute Nov 28, 2011 8:50 AM (in response to xantos92)1 of 1 people found this helpfulThe dashboard requires many services from the portal to operate for its personalization including page management, user memberships, security, application registry.
Nothing is impossible with software, but that would be difficult to extract like that, portals are actually made for the other way around (include Seam applications in a aggregation infrascruture (the portal))
-
3. Re: Using Dashboard only
eduardo.mello.cantu Dec 6, 2011 12:32 PM (in response to xantos92)Actually I've managed to do that, but it's not fully completed, because I'm not abble to run portlets made up with seam/richfaces/portletbridge.
But if you want to know anyway, what i do was download GateIn Portal source and extract only the things that I judge necessary.
-
4. Re: Using Dashboard only
xantos92 Dec 6, 2011 4:01 PM (in response to eduardo.mello.cantu)Very interesting. Can you tell me what you have extracted exactly?
You can never run portlets on the dashboard, can you?
-
5. Re: Using Dashboard only
eduardo.mello.cantu Dec 7, 2011 5:11 AM (in response to xantos92)As said:
Thomas Heute wrote:
The dashboard requires many services from the portal to operate for its personalization including page management, user memberships, security, application registry.
The case is that my application already have all the users and securty stuff, so the only thing that I need was the dashboard thing.
I can actually run portlets, the problem laid on portlets devoloped with richfaces, but that happens because my application uses richfaces, so I have a classcastexception. But if you don't bother in using plain jsf portlets, this is perfect for you.
In order to extract what I needed I went through GateIn Portal source and GateIn Portlet Container bundled with JBoss AS.
My application is packed like this (It's only listing non trivial stuff):
application.ear
-lib
--ccpp.jar
--pc-api.jar (portlet container stuff, download from GateIn Portlet Container)
--pc-controller.jar (also, portlet container stuff)
--pc-portal.jar (also, portlet container stuff)
--pc-portlet.jar (also, portlet container stuff)
-META-INF
-jboss-seam-2.2.2.Final.jar
-application.jar (EJB)-application.war (WEB)
--WEB-INF
---context.xml (copied from simple portal demo downloaded from GateIn Portlet Container bundled with JBoss AS)
---jboss-portal-beans.xml (copied from simple portal demo)
---portal.tld (copied from simple portal demo)
---web.xml (modified to add properties found on the simple portal demo)
---tags (dir copied from simple portal demo)
---lib
----common-mc.jar (JBoss microkernel stuff, also copied from de simple portal demo)
----jboss-common-core.jar (JBoss microkernel stuff, also copied from de simple portal demo)
----jboss-dependency.jar (JBoss microkernel stuff, also copied from de simple portal demo)
----jboss-kernel.jar (JBoss microkernel stuff, also copied from de simple portal demo)
----jboss-mdr.jar (JBoss microkernel stuff, also copied from de simple portal demo)
----jboss-reflect.jar (JBoss microkernel stuff, also copied from de simple portal demo)
----jbossxb.jar (JBoss microkernel stuff, also copied from de simple portal demo)
----pc-controller.jar (portlet container stuff, also copied from de simple portal demo)
----pc-mc.jar (portlet container stuff, also copied from de simple portal demo)
JBoss lib
-wci-tomcat.jar (gatein portal stuff, also copied from de simple portal demo)
-wci-wci.jar (gatein portal stuff, also copied from de simple portal demo)
-portlet-api.jar (portlet api, also copied from de simple portal demo)
All these were what I've extracted.
Now, in order to build your portal page, the one that is going to contain all the portlets, you have also to extract and adapt some jsp from the simple portal demo. But basically you need the portal and xportal tags.
Hope that this little/confusing "tutorial" could help you.
-
6. Re: Using Dashboard only
xantos92 Dec 7, 2011 6:44 AM (in response to eduardo.mello.cantu)That is very nice, i thank you very much.
I think i'll work with the dashboard again in April or later, atm just portletdeveloping. But when the time has come this will help me very much.
-
7. Re: Using Dashboard only
antoine_h Dec 8, 2011 9:50 AM (in response to eduardo.mello.cantu)nice !
very interesting to know that this kind of things can be done... and have the tutorial to do it.
thanks,
Antoine
JBoss Portal and GateIn (JSR-286), JSF, Richfaces, J2EE, Drools, BRMS.
http://www.sysemo.com/Sysemo-expertise-portails-jboss-portal.php