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)
> -----Original Message-----
> From: Chris Kimpton [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 20, 2002 9:15 AM
> To: Jetspeed Developers List
> Subject: RE: role based psml and customiser
>
>
> Hi,
>
> --- David Sean Taylor <[EMAIL PROTECTED]> wrote:
> >
> > No problem. If I understand correctly, the customizer would
> determine
> > that the user doesn't have a personal page, and then use the
> > role-based
> > fallback to locate the role-based page, and copy it over to the
> > user's
> > personal page. From that point on, the user would no longer be
> > using
> > role-based fallback, right :/ ?
> >
>
> Yep - now to see how hard it is...
>
> Chris
>
> =====
> http://www.soccer2002.org.uk - join in and win CA$H!
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-dev-> [EMAIL PROTECTED]>
> For
> additional commands,
> e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>