Areyou sure? That's has changed then, because it's not what I read in the OFBiz Framework Quick Reference Book revision 1.6.2
(Service Definition p.3) and also the XMLcompletion default to false
Jacques
From: "Scott Gray" <[email protected]>
auth defaults to true
Regards
Scott
On 2/01/2010, at 10:35 AM, Jacques Le Roux wrote:
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" <[email protected]>
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" <[email protected]>
To: <[email protected]>
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.