Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
Operating System: other
Platform: Other
-
37486
Description
ConfigurationDynaBean says
"It also implements a Map interface so that it can be used in JSP 2.0 Expression
Language expressions."
Map interface is not implemented (in 1.2RC1) and ConfigurationDynaBean cannot be
used from EL :
<c:out value="${configuration['un.test']}"/> :
Unable to find a value for "un.test" in object of class
"org.apache.commons.configuration.beanutils.ConfigurationDynaBean" using
operator "[]" (null)
Simply implementing Map.get(Object) may solve the problem.