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


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From [EMAIL PROTECTED]  2005-11-15 02:04 -------
Good points Niall; caching the Enhancers definately makes sense and I'm leaning
toward making the behaviour configurable given your points here and Hubert's
concerns posted to the dev list.

On the use of reflection, it does simplify the code sligtly in that I don't have
to figure out the right get/set method to call and marshal the arguments
appropriately -- and it also makes indexed and mapped access work transparently,
as in:

<%-- indexed/mapped properties --%>
form.stringArray: ${DynaTest.stringArray}
form.stringArray[0]: ${DynaTest.stringArray[0]}

form.stringList: ${DynaTest.stringList}
form.stringList[0]: ${DynaTest.stringList[0]}

form.stringMap: ${DynaTest.stringMap}
form.stringMap[0]: ${DynaTest.stringMap[0]}
form.stringMap['one']: ${DynaTest.stringMap['one']}

Actually, I'm not sure if JSTL is relying on the plain getStringArray(void) /
getStringMap(void) methods in these cases; I'll check whether the interceptor
ever sees extra args and perhaps can simplify here.

-- 
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