DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36794>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36794

           Summary: Enhance DynaActionForm and sub-classes to allow normal
                    property access in JSPs
           Product: Struts
           Version: 1.3.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Controller
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to