https://bz.apache.org/bugzilla/show_bug.cgi?id=64872
--- Comment #14 from Mark Thomas <ma...@apache.org> ---
Here is a first pass at a possible approach using ELInterpreter.

This doesn't address the attr="enumValue" case but my reading of the attached
patch is that it doesn't handle that case either. Since that isn't EL a
different approach is required. Enum isn't explicitly listed in JSP.1-11 but it
works because there is a default PropertyEditor for Enums. I suspect bypassing
that would be safe in most cases but there is always the possibility of custom
PropertyEditors so I think a similar hook to ELInterpreter (StringInterpreter?)
would be required.

https://github.com/markt-asf/tomcat/commit/8e7cfc707124b3bb86967d86f9220ed5ab0e5f49

Let me know what you think.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to