You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by David Just <Ju...@visionsolutions.com> on 2010/01/12 20:03:33 UTC
Folder/page templates when storing PSML in a database
Is it possible to create and use templates for folder/pages/etc when
storing the PSML in a database?
Re: Folder/page templates when storing PSML in a database
Posted by David Sean Taylor <d....@onehippo.com>.
On Wed, Jan 13, 2010 at 6:01 AM, David Just <JustDDavidJust/Rochester/
LTI@visionsolutions.com> wrote:
> The follow on to this question is, If set up for database, is there a
> way to add new templates without creating them programaticly?
>
> What I'd really like to do is to drop a new template folder into
> Pages/_user/ and have that loaded into the database. Is this possible?
> Is there an API I can call to add a physical folder into the database
> schema.
>
> Take a look at the Site Manager administrative portlet
http://localhost:8080/jetspeed/portal/Administrative/site.psml
Navigator to the /_user/ folder and from there you can import either single
PSML files or zips of folders containing files
And yes, there is also an API -- you will need to do a deep copy from the
file system page manager to the database page manager. This code is actually
used in the import/export feature of the site manager, as well as in the
build task that automatically imports pages from the file system into the
dbpsml during the build
RE: Folder/page templates when storing PSML in a database
Posted by David Just <Ju...@visionsolutions.com>.
The follow on to this question is, If set up for database, is there a
way to add new templates without creating them programaticly?
What I'd really like to do is to drop a new template folder into
Pages/_user/ and have that loaded into the database. Is this possible?
Is there an API I can call to add a physical folder into the database
schema.
-----Original Message-----
From: David Sean Taylor [mailto:d.taylor@onehippo.com]
Sent: Tuesday, January 12, 2010 3:34 PM
To: Jetspeed Users List
Subject: Re: Folder/page templates when storing PSML in a database
On Tue, Jan 12, 2010 at 11:03 AM, David Just <JustDDavidJust/Rochester/
LTI@visionsolutions.com> wrote:
> Is it possible to create and use templates for folder/pages/etc when
> storing the PSML in a database?
>
>
Yes, all page and folder features should work uniformly whether storing
to
database or file system
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Folder/page templates when storing PSML in a database
Posted by David Sean Taylor <d....@onehippo.com>.
On Tue, Jan 12, 2010 at 11:03 AM, David Just <JustDDavidJust/Rochester/
LTI@visionsolutions.com> wrote:
> Is it possible to create and use templates for folder/pages/etc when
> storing the PSML in a database?
>
>
Yes, all page and folder features should work uniformly whether storing to
database or file system