Details
Description
When using DynaActionForm and its sub-classes, it is necessary to use a
specialized syntax to refer to the bean's properties in JSPs and JSP 2.0 tag
files (e.g. form.map['property']). This makes it difficult to create re-usable
components that must access form beans (and is of particular concern in JSP 2.0
tag files) since every property access must accomodate both dyna bean access and
regular property access (e.g. form.property).
It would improve the usability of DyanBean-based action forms if the dynamically
generated bean supported regular property access syntax. The attachd patch uses
CGLIB to provide that capability.
Also attached are a JSP demonstrating what is possible with this patch applied,
together with sample configuration and test action code to excercise it.