String[] revisionValues=(String[]) requestMap.get("Revision"); String attributeValue=(String) requestMap.get(attrName); If you intend to use the method to work with an editable table component or structure browser, then you must code it differently using the paramMap: String newValue = (String) paramMap.get("New Value"); If the programmer expects multiple values for the field then use the following code: String[] newValues = (String[]) paramMap.get("New Values"); One exception where the requestMap can be used is when the field or column type is of programHTMLoutput. In this instance, it can be useful to get the values of the custom html fields given by the program. The JPOs used for updating the Web form component fields should use requestMap to get the timeZone, charSet, localeObj and languageStr values. For example: String timeZone = (String) requestMap.get("timeZone"); String charSet = (String) requestMap.get("charSet"); Locale localeObj = (Locale) requestMap.get("localeObj"); String languageStr = (String) requestMap.get("languageStr"); |