It's working great so far. It has allowed me to put the core issue on hold
and move on to other items. I will come back to it later and investigate it
with a fresh frame of mind.
Here is the code i am using under case GOOGLE_APPS_DOMAIN:
if (NamespaceManager.getGoogleAppsNamespace().equals("")) {
Object userOrganizationObject;
String userOrganization;
userOrganizationObject = com.google.apphosting.api.ApiProxy
.getCurrentEnvironment()
.getAttributes()
.get(
"com.google.appengine.api.users.UserService.user_organization");
if
(userOrganizationObject == null) {
userOrganization = "";
} else {
userOrganization = userOrganizationObject.toString();
}
NamespaceManager.set(userOrganization);
} else {
NamespaceManager.set(NamespaceManager
.getGoogleAppsNamespace());
}
break;
}
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/YjKjFNL1W2UJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.