Once again, the solution worked. Thanks a bunch.
I am learning, the good way. :)
~rk
Matt Raible-3 wrote:
>
> If you have Controller, you're not using Struts - you're using Spring MVC.
> ;-)
>
> If you look at the latest code for UserFormController.java in
> Subversion, we've changed the for
If you have Controller, you're not using Struts - you're using Spring MVC. ;-)
If you look at the latest code for UserFormController.java in
Subversion, we've changed the formBackingObject method so it
re-fetches the user from the database before populating it with
request parameters. If you chan
I think I must be missing something. I only have xdoclet tags in my User.java
and Person.java
My UserController and UserFormController don't have any tags - are those the
files you were referrign to?
They do use the request to get information. Should I change that to session?
Matt Raible-3 wro
You could do this for your person list, but it'd be a pain because
you'd have to use the tag and write out all your properties
properly. The easier thing to do is look in your XDoclet tags at the
top of your UserAction.java and change request to session.
Matt
On 2/14/07, 23455432 <[EMAIL PROTE
I am using STruts. In which case, I should put the form in session. What does
that mean? I noticed that in the form there are some hidden inputs like
Should I do the same for my personList?
thanks.
Matt Raible-3 wrote:
>
> On 2/14/07, 23455432 <[EMAIL PROTECTED]> wrote:
>>
>> I have a us
On 2/14/07, 23455432 <[EMAIL PROTECTED]> wrote:
I have a user object that contains many persons in a one-to-many bag
relationship.
The relationship is set up as follows:
// USER class
/**
* @hibernate.bag name="persons" lazy="false" cascade="save-update"
* @hibernate.collection-key
I have a user object that contains many persons in a one-to-many bag
relationship.
The relationship is set up as follows:
// USER class
/**
* @hibernate.bag name="persons" lazy="false" cascade="save-update"
* @hibernate.collection-key column="user_id"
* @hibernate.collection-one