When I customized the page, Jetspeed doesn't call CustomizeUserPSMLFile.doSubmit() to save the change. Instead, it called the doApply / doSave in various controllerAction. Should I actually overload the doApply/doSave in xxxControllerAction?
Thanks Ben ----- Original Message ----- From: "David Sean Taylor" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Monday, February 11, 2002 10:15 AM Subject: RE: Modify PSML for anon in PSML DB > Ive started looking into supporting customization of PSML using a > ProfileLocator passed in instead of the way it works now. > > That way we can customize any PSML. My thinking was to add an option to the > Admin menu to customize the PSML of other users, including the anon user. > > For now...I recommend having a special user that you can edit with the > customizer, and then using an SQL statement to copy it over. I guess you > could modify the customizer code, and check for that username when saving, > and then put the actual SQL into the customizer. > > You would need to modify: > > org.apache.jetspeed.modules.actions.CustomizeUserPSMLFile, the doSubmit > method: > > .... > > psmlDoc.writePSMLDocument(); > removeTemp(data); > if (data.getUser().getUserName().equals("anon-user")) > { > // SQL update goes here... > { > > > -----Original Message----- > > From: Sara Camara [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 11, 2002 7:19 AM > > To: 'Jetspeed Users List' > > Subject: RE: Modify PSML for anon in PSML DB > > > > > > This is a nightmare for me. Until now what I am doing is changing my > > default.psml that is under web-inf/psml/anon/html, and re-import psml into > > db. Does anyone know a better way to do it ? > > > > Merci a tous. > > > > Sara. > > > > > > -----Original Message----- > > From: Ben Liang [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 11, 2002 9:14 AM > > To: Jetspeed Users List > > Subject: Modify PSML for anon in PSML DB > > > > > > We've been imported all psml into DB, everything works fine. Then > > we want to > > change to anon user page. How can we do that? Since there is no a actual > > anon user, we can't log in as him to customize the page. > > > > Can we create a dumy user, customize its page, then copy the psml object > > using some sql statement. Or there is some better apporach to do that? > > > > Thanks > > > > Ben > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[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]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>