You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Robby Purnawan <ob...@hotmail.com> on 2007/03/08 02:12:21 UTC

Adding new field in rolleruser, how to calls it from Velocity

After adding new field in Database table rolleruser (groups varchar(100)), 
how to display and call it in Webdav.vm .i.e. like $user.groups?
Thanks



Re: Adding new field in rolleruser, how to calls it from Velocity

Posted by Dave <sn...@gmail.com>.
You'll have to:
- Add a new field in the UserData.java object
- Add correct XDoclet markup to that field for Hibernate
- Add correct XDoclet markup to that field for generating POJO wrapper field

And I think that's all you'll need.

- Dave


On 3/7/07, Robby Purnawan <ob...@hotmail.com> wrote:
>
> After adding new field in Database table rolleruser (groups varchar(100)),
> how to display and call it in Webdav.vm .i.e. like $user.groups?
> Thanks
>
>
>