Adding $webwork.htmlEncode to rewrite some values brings a serious problem
for me. For instance, when you call $!webwork.htmlEncode($itemKey) in the
select.vm template, you seem to think $itemKey is inevitably a string when
you have written the htmlEncode method. That's not the case, what about an
Integer or a Long result ?
Would it be possible to change the htmlEncode method signature, like this
one : htmlEncode(Object value) and makes the string conversion by calling
XWorkBasicConverter.getInstance().convertValue(null,null,null,null,value,Str
ing.class) ?
Bravo for your work.

Richard HALLIER
Chef de projet
[EMAIL PROTECTED]
01.40.12.41.52
www.uniclick.org
UNICLICK




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to