I don't know about the error, but I do know that this won't work:
employeeSrv.send();
s = employeeSrv.result.locale.country;
Data Service calls are asynchronous and the result does not exist yet
when you are trying to reference it.
You MUST use a resultHandler called by the result event.
Not sure why you’re not getting an
Accept-Language header. Maybe you can go through all of the headers and print
out their values to see what’s being passed? You may be able to tell
simply by turning on debugging in the flex-config.xml file (under
http-service-proxy).
Matt
2 matches
Mail list logo