RE: Accessing PO session data from business objects
"Thorsten Hilker" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <000a01c31adb$f8087650$6500a8c0@kronos> |
I think it is not possible. You have to pass the HttpPresentationComms objekt which is only available in a PO to the save - method. (Or pass only the data you need in the save - method) So the save - method should look like this: save(HttpPresentationComms comms) or save(ClassYouNeed xyz) HTH Thorsten > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Oleg Lebedev > Sent: Wednesday, May 14, 2003 10:26 PM > To: [email protected] > Cc: [email protected] > Subject: Enhydra: Accessing PO session data from business objects > > > > Question: Does anyone know if it is possible to access data > of the PO session that invoked a method in a business object > from inside the business object? > > Example: Suppose a user clicks Save button on a webpage, > which triggers invocation of save() method in the > corresponding business object. Can I access this user session > information from within the save() method of this business > object? Thanks. > > Oleg > > ************************************* > > This e-mail may contain privileged or confidential material > intended for the named recipient only. If you are not the > named recipient, delete this message and all attachments. > Unauthorized reviewing, copying, printing, disclosing, or > otherwise using information in this e-mail is prohibited. We > reserve the right to monitor e-mail sent through our network. > > ************************************* > > > _______________________________________________ > Enhydra mailing list > [email protected] > http://www.enhydra.org/mailman/listinfo.cgi/en> hydra >