I use the PSMLDocument, i.e. the Portal, as part of a unique identifier
(session, portal, portlet) for information related to a portlet.
 
I use rundata.getProfile().getDocument().getName() to get the portal name.
This, when hooked to the file system, gives me a nice long string like this:
 
C:\Program Files\Apache Tomcat
4.0\webapps\jetspeed\WEB-INF\psml\user\aUser\html\default.psml
 
Does anyone know what this would give if PSML docs were stored in the
database?  I can use it, as long as it's a unique "key" for the Portal.
 
I wonder if we could enhance BasePSMLDocument so there's a getID() that
gives the unique name portion (or key), which would not include the common
root or extension.  It would return in the above example something like
this:

user\aUser\html\default
 
This would be a simpler key to work with!
 
Thanks.

- Glenn
 
--------------------------------------------
Glenn R. Golden, Systems Research Programmer
University of Michigan School of Information
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>                734-615-1419
http://www-personal.si.umich.edu/~ggolden/
<http://www-personal.si.umich.edu/~ggolden/> 
--------------------------------------------

 

Reply via email to