Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-17 Thread Sielm
rated by > the database (please make sure the appropriate columns in the database are > set to auto-increment). > > Mike. > > On 7/16/07, Sielm <[EMAIL PROTECTED]> wrote: >> >> >> Yes, the controller extends SimpleFormController. I was using the onBind &

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
objects anywhere else in your controller? > > Also worth checking (I have been caught out with this many, many times) > that > changes you are making to annotations, etc are propogating down to the > actual code being run in the container? I have not used XDoclet in a > while, > bu

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
s completely wrong, but i think this should be correct...any ideas? Thanks again and please don't kill me yet! ;) Best regards Sielm wrote: > > Thank you very much for your kind and very quick answer! I will try this > right now. You are right on the navegability on that associa

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
e user mailing list on binding custom property > editors: > http://tinyurl.com/2f68de (just look down the list for discussion on using > Spring form tags). > > Mike. > > > On 7/16/07, Sielm <[EMAIL PROTECTED]> wrote: >> >> >> By the way, i forgot

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
By the way, i forgot to mention that the Activity row is actually saved into the database correctly, but i get the error when trying to persist the WeekActivity entity, so the WeekActivity table is always empty... Best regards. Sielm wrote: > > Hi again. Here are the details i've w

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-16 Thread Sielm
k trying to solve this...I'm pretty new to J2EE and much more to Hibernate and Spring so please bear with me and my ugly code ;) but i'm desperate! Ther must be something i am doing wrong...maybe not just one thing but more... Thanks a lot for reading and lending a hand, you are the be

Re: [appfuse-user] How to insert a new object from another object (command) form

2007-07-14 Thread Sielm
; Thanks > > Mike. > > On 7/13/07, Sielm <[EMAIL PROTECTED]> wrote: >> >> >> Hi all. I'm new to J2EE and AppFuse and have been tinkering with it for a >> while now. The main thing is this: i have a "big" object called >> WeekActivit

[appfuse-user] How to insert a new object from another object (command) form

2007-07-13 Thread Sielm
Hi all. I'm new to J2EE and AppFuse and have been tinkering with it for a while now. The main thing is this: i have a "big" object called WeekActivity which represents an activity made by an user in a week, and i need to be able to make a form to create new rows in the database for this object. Th