Hi, --- "Turley, Michael" <[EMAIL PROTECTED]> wrote: > I'd like to customise the User in Jetspeed so that I could ask for > a few > more fields when creating a new user. The user should also be able > to edit > these new fields. I would like to add a few more methods (get/set > for each > field). What is the best way to go about doing this? >
Extend the BaseJetspeedUser class. Add your get/set methods - sticking the new attributes into the getPerm/setPerm hashmap. This will have your new columns saved in the objectdata column of the turbine_user table. If you want to extend the table, I would suggest the turbine extend user how to - http://jakarta.apache.org/turbine/turbine-2/howto/extend-user-howto.html I have not tried it myself, so I am not sure how uptodate/if it works with jetspeed. HTH, Chris ===== http://www.soccer2002.org.uk - join in and win CA$H! __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>