Hi Isomorphic,
the docs show that serverside ErrorReport is a java.util.Map.
The class has a method getErrors(String fieldName), but no method to find the possible keys.
I could either traverse all DataSource fields (unnecessary and complicated) or use java.util.Map methods to get the keys.
I assume that this is safe, but could either doc the method or add a hint to this to the class description. I was confused until I saw the available methods in Eclipse.
Thank you & Best regards
Blama
the docs show that serverside ErrorReport is a java.util.Map.
The class has a method getErrors(String fieldName), but no method to find the possible keys.
I could either traverse all DataSource fields (unnecessary and complicated) or use java.util.Map methods to get the keys.
I assume that this is safe, but could either doc the method or add a hint to this to the class description. I was confused until I saw the available methods in Eclipse.
Thank you & Best regards
Blama
Comment