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=29563>. 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=29563 ------- Additional Comments From [EMAIL PROTECTED] 2005-06-17 22:50 ------- (In reply to comment #1) > Do you have a proposal for replacing the escaping mechanism? It would help to have enough use cases > to make a good decision. > Since TagUtils uses a singleton pattern, it ought to be possible to change the implementation of the > static "getInstance()" method to look up an implementation class somewhere. There's no extremely > convenient place to put the configuration value of the implementation class, unfortunately. Perhaps a > System property? Not my favorite approach, but nothing else is coming to mind. I think your idea of being able to define our own TagUtils class is what I was thinking as well. We could use a similar plugin mechanism as we do for the RequestProcessor. It does start to get messy, of course. There are enough of these singletons in Struts, but no real 'generic' method of handling them in a module-specific fashion. The controller definition is the way we override the RequestProcessor, but doesn't seem a proper place for TagUtils, RequestUtils, ModuleUtils, etc. -- 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]
