Lizann Epley wrote:
Hey all,

I have another question... Does anyone know if there is a way to specify the id to be used for a portlet in the psml? In other words, can the id be specified in the database instead of generated when the portlet is deployed?

I am using Derby with jetspeed2.

I would think that there is since the jetspeed portlets are referenced by specific ids instead of generated, however I recognize that it may just be a matter of properly inserting into the database on initialization as well...

Just thought I'd check!
-- lizann

The id for a fragment can be specified in the PSML file.
With the default File System impl of the Page Manager, if you provide your own fragment IDs, you must take care yourself to not duplicate the IDs.

One thing to note: if you import the pages into the database, the PSML fragment IDs will be discarded and new ids will be generated. This means that any code relying on the IDs from the PSML file will no longer properly refernence the fragment by ID.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to