Re: How to use event to send session parameter

2008-03-27 Thread Mridul Pathak
supported conversions are > for > simple types like Double, Integer, etc. > > Note that the url parameter is passed as > [EMAIL PROTECTED] > > Hopefully, there is something I am missing. > > Skip > > -Original Message----- > From: [EMAIL PROTECTED] [ma

RE: How to use event to send session parameter

2008-03-26 Thread [EMAIL PROTECTED]
ROTECTED] Behalf Of Mridul Pathak Sent: Monday, March 24, 2008 9:14 PM To: user@ofbiz.apache.org Subject: Re: How to use event to send session parameter Nattanicha, You have just added the session object as an IN parameter in your service. You will also need to pass the session object to

Re: How to use event to send session parameter

2008-03-24 Thread Mridul Pathak
Nattanicha, You have just added the session object as an IN parameter in your service. You will also need to pass the session object to the service. I mean to say that wherever you are preparing the input map for this service/request, may be from some form or some other event, you will get t

Re: How to use event to send session parameter

2008-03-24 Thread Nattanicha Rittammanart
Dear Miridul, I use Service engine and I tried follows your suggestion. But I got problem like this: 2008-03-24 20:03:16,468 (http-0.0.0.0-8080-Processor3) [ AssetServices.java:37 :INFO ] session : null but in log file I can see: 2008-03-24 20:03:16,437 (http-0.0.0.0-8080-Processor3)

Re: How to use event to send session parameter

2008-03-23 Thread Mridul Pathak
There can be two cases: 1) In the request-map you are using Java Engine. In this case of a Java Event you can get the session object from a request object available to you in the event by useing *getSession()* method on request object. Now you can get all your required session infromation from th

How to use event to send session parameter

2008-03-21 Thread Nattanicha Rittammanart
Dear all, I need to work with session information. I knew that we can send session information to Java engine by using event. Anyway, I don't know how to do this. Who used to do this please tell me or tell me where I can read this is also OK. Thanks in advance. Nattanicha