Yes, and as Zhiyongcui is using getRelatedParties and as auth is not defined in the service definition then it's set to false, this is the reason.

Jacques

From: "Scott Gray" <scott.g...@hotwaxmedia.com>
If auth is set to false in the service definition then the userLogin  won't be 
available in the context.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 31/12/2009, at 4:29 AM, Jacques Le Roux wrote:

It should be in the context http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=6553757 Certainly you have an issue with the context you use a this point. How did you pass it to the called service? It's needed.

Jacques

From: "zhiyongcui" <zhiyong...@gmail.com>
To: <user@ofbiz.apache.org>
Sent: Wednesday, December 30, 2009 3:05 PM
Subject: userLogin


How to get the userLogin GenericValue in a service definition  class. I used
codes as below:
GenericValue userLogin = (GenericValue) context.get("userLogin");
but I get a null object .
--
View this message in context: 
http://n4.nabble.com/userLogin-tp990922p990922.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






Reply via email to