I didn't understand all of that, but yes, your object will need to go into the HttpSession if you want to reuse it...
> -----Original Message----- > From: Mathias Berg [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 11:13 AM > To: WebWork (E-mail) > Subject: [OS-webwork] Component object setting > > > Hi, We have some problem with our component settings. It > seems that our component object that is loaded from our > Database is replaced by another object when we submit our form. > > This how it goes. > 1. We access the action and the action load a transport > (Session Aware object )object from the database. We set this > loaded transport in the action with the setMethod. 2. The > action forwards to the view page. 3. The view loads the > transport object and put its value to the form. 4. The save > button is accessed and goes again to the action for updating > the data from the form into the transport object for later > update in the database. > > Now the problem for us is that the transport object is > reseted and only those values that was sent from the form is > set in the transport. > > Are we supposed to set the transport in the session manualy > when we load the transport from the database? Its seem now > that component interceptor set a own transport in the session > and then our action also set a own transport...And what we > get is the components transport object and not the > Actions...Is this right? > > How should this impl. be made? > > Tx for any help. > > Regards, Mathias. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, > and more! http://www.apachecon.com/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork