Hallo JBoss Team :)
I just started to evaluate JBoss Portal Server. You did a good job and i am looking
forward to help you in improving Portal.
XML import
"thomas.heute(a)jboss.com" wrote :
| - Change datasource (copy data over)
| - Pages definition export from database to XML (-objects.xml, -instances.xml).
WPS (WebSphere Portal Server) has very nice XML import/export interface (XMLAccess) that
allows developers and administrators to import/export entire portal configuration or
desired parts of the configuration (portlet instances, pages, users and so on). Such
robust xml import/export alows you to migrate to new version of the portal, switch from
one DB/LDAP to another (without creating some DB-specific scripts or dumps), reproduce
portal environment to local development and so on.
So the idea is quite simple:
- all the data that is stored in DB should be also configurable via xml.
- unique names (not DB ids) must be provided/generated for all portal objects.
- unique names offer common and simple lookup in xml scripts, render-url generation (can
be used in Themes or CMS portlets for linking to portal pages/portlets).
It is possible to merge contents of the -object.xml and -instances.xml and extend it with
additional data for exporting user/group information. Such "config.xml" can
evolve with the new versions of the portal, but will still contain data in quite abstract
format in order to provide backward compatibility between portal versions.
Portal Model
In object.xml developer may specify custom properties for dirrerent portal nodes. Is it
possible to provide read access to these properties via PortalNode interface? In this case
developer can access these helpfull properties in jsp (via taglib?) or portlet without
using PortalObjectContainer.
Layout
Is it possible to use JSP in order to create custom RenderSet? This will keep layout
element consistent as jsp's. Some jsp tags can be provided to access custom properties
and other objects that are important for rendering.
Bogdan.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972704#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...