Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread nycsailor
Thanks, that worked. I'm not a subversion expert. I was able to checkout code without any authentication, but I guess you could try with guest, and blank password? I tried the command svn export --force https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src and I get a

Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread Michael Horwitz
Sorry - typing too fast! ;-) The command should read: svn export --force https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src --username guest Mike On 2/23/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: Use guest as the password: svn export --force https://appfuse.d

Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread Michael Horwitz
Use guest as the password: svn export --force https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src --guest Mike On 2/23/07, viggo <[EMAIL PROTECTED]> wrote: I was able to checkout code without any authentication, but I guess you could try with guest, and blank passwo

Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread viggo
I was able to checkout code without any authentication, but I guess you could try with guest, and blank password? nycsailor wrote: > > I tried the command > svn export --force > https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src > > and I get a challenge. How do I a

Re: [appfuse-user] Extending AppFuse User

2007-02-23 Thread nycsailor
I tried the command svn export --force https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0_M3/data/common/src and I get a challenge. How do I authenticate? mraible wrote: > > On 2/22/07, viggo <[EMAIL PROTECTED]> wrote: >> >> I haven't had time to do any more work on this for a while,

Re: [appfuse-user] Extending AppFuse User

2007-02-22 Thread Matt Raible
On 2/22/07, viggo <[EMAIL PROTECTED]> wrote: I haven't had time to do any more work on this for a while, but I guess you have to create a new Manager, PersonManager which extends UserManager to do CRUD operations on the new Person class. Do you agree Matt? Yes, either that or simply modify the

Re: [appfuse-user] Extending AppFuse User

2007-02-22 Thread viggo
I haven't had time to do any more work on this for a while, but I guess you have to create a new Manager, PersonManager which extends UserManager to do CRUD operations on the new Person class. Do you agree Matt? sionsmith wrote: > > Firstly matt i'm using version 2 release M3! Yes i changed the

Re: [appfuse-user] Extending AppFuse User

2007-02-22 Thread sionsmith
Firstly matt i'm using version 2 release M3! Yes i changed the mappings in the hibernate.cfg.xml but that is my point, the tableis not being created as there is no way of adding a dependency to my inukUser class. I'm going to try viggo's solution and i'll let you know how i get on. One thing that

Re: [appfuse-user] Extending AppFuse User

2007-02-21 Thread dusty
You may try Composition rather than Inheritance. You can make a User a property of your other People objects. So you have a Person root class that you can extend (if you have a tree-like domain need) and then you encapsulate the User property as that Person's userAccount property. I think I

Re: [appfuse-user] Extending AppFuse User

2007-02-21 Thread viggo
I've also been thinking of extending the original User class by adding more properties to it. The way I did it was to extract the core model classes from appfuse, add @Inheritance(strategy=InheritanceType.JOINED) to the User.java, and then create a new class which extends User, and add @Entity to

Re: [appfuse-user] Extending AppFuse User

2007-02-21 Thread Bryan Noll
I assume you're using 2.0 because of the annotations. Did you change the mapping in the hibernate.cfg.xml file so it is looking for InukUser instead of org.appfuse.model.User? Matt Raible wrote: Which version of AppFuse are you using? Matt On 2/21/07, sionsmith <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] Extending AppFuse User

2007-02-21 Thread Matt Raible
Which version of AppFuse are you using? Matt On 2/21/07, sionsmith <[EMAIL PROTECTED]> wrote: Hi all, I've been playing around with this for a few hours now and i cant seem to get it working, the users in my system have a number of added entities compared with that of the stand appfuse one. I

[appfuse-user] Extending AppFuse User

2007-02-21 Thread sionsmith
Hi all, I've been playing around with this for a few hours now and i cant seem to get it working, the users in my system have a number of added entities compared with that of the stand appfuse one. I thought i could just extend the class and place the new attributes in the new class. ===