portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Spencer <pau...@apache.org>
Subject Re: role based psml and customiser
Date Wed, 20 Mar 2002 21:17:08 GMT


David Sean Taylor wrote:

> The profiler can find the psml file using its fallback.
> Look at the PSMLManager service:
> 
>     public PSMLDocument createDocument( Profile profile )
> 
> So just get the role-profile normally, clone it, and then modify the
> parameters:
> 
> 	Profile userProfile = profile.clone();
> 	userProfile.setRole(null);
> 	userProfile.setUser( current user );
> 
> And then call
> 
> 	PSMLManager.createDocument(userProfile)
> 
> 


Make sure the PEIDs are regenerated!

Paul Spencer



--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message