As a remote object, your GenericDelegator will be null, you can use
getAllFields().get(fieldName) to get a field from GenericValue.

在 2010-06-28一的 17:47 +0300,Muhammad Aamir写道:
> It was a silly mistake. Instead of getting value from Map (context), I was
> doing getAttribute() on DispatchContext.
> 
> On Mon, Jun 28, 2010 at 8:52 AM, Shi Jinghai <[email protected]> wrote:
> 
> > How do you know your userLogin is null?
> >
> > 在 2010-06-27日的 23:57 +0300,Muhammed Aamir写道:
> > > I implemented a simple service in java and made sure in declaration auth
> > is true. However while calling this service I get null when I get userLogin
> > from context.
> > >
> > > Plz note that I am calling this service from RMI client.
> > >
> > > Regards
> > >
> >
> >

Reply via email to