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 Helder Pinto <he...@dsi.uminho.pt> on 2003/03/25 18:40:25 UTC
How to programmatically modify a PSML file?
Hi all!
I would like to know how to programmatically modify a user's PSML file. Which
class is used to do this?
Imagine I want to modify users' PSML files dynamically, and I want these changes
to reflect immediately in the portal views. Do I need to restart the web server?
I've tried to manually change PSML files and the changes do not reflect until I
restart the server. Have I missed something?
Thank you for your attention.
Helder Pinto
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: How to programmatically modify a PSML file?
Posted by Ryan Christianson <ry...@echospace.com>.
If you have a jetspeed user object, get the users profile. Then on the
profile get the document. That document object is the users psml file.
If you want to save changes to it, on the profile object, call
"store()". Note, that you have configured to use a differnt psml
service, other then castor, then your changes will be in the database,
rather then an xml file.
Helder Pinto wrote:
>Hi all!
>
>I would like to know how to programmatically modify a user's PSML file. Which
>class is used to do this?
>Imagine I want to modify users' PSML files dynamically, and I want these changes
>to reflect immediately in the portal views. Do I need to restart the web server?
>I've tried to manually change PSML files and the changes do not reflect until I
>restart the server. Have I missed something?
>
>Thank you for your attention.
>
>Helder Pinto
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org