Hi all,
Having problem with Parsing HashMap from RPC, here is the error
message:
Analyzing 'com.sun.dmt.admin.client.login.LoginService' for
serializable types
Analyzing methods:
public abstract
com.sun.dmt.admin.client.domain.AdminPrivilege userIsValid
(java.util.HashMap<java.lang.String, java.lang.String> loginData)
throws com.sun.dmt.admin.client.exception.LdapException,
com.sun.dmt.admin.client.exception.LDAPValidationException,
com.sun.dmt.admin.client.exception.UserAuthorityException
Return type:
com.sun.dmt.admin.client.domain.AdminPrivilege
com.sun.dmt.admin.client.domain.AdminPrivilege
[ERROR] Type
'com.sun.dmt.admin.client.domain.AdminPrivilege' was not serializable
and has no concrete serializable subtypes
Having Problem with AdminPrivilege Object that contains a HashMap --
public class BaseDomain implements IsSerializable {
public BaseDomain() {
}
}
public class AdminPrivilege extends BaseDomain {
/*
* @gwt.typeArgs <java.lang.String,
com.client.domain.TabPrivilege>
*/
private HashMap<String,TabPrivilege> tabPrivileges;
public AdminPrivilege(ArrayList<HashMap> privilegeList) {
setTabPrivileges(new HashMap<String, Integer>());
}
}
I don't know why it doesn't work, can anyone help?? It is urgent!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---