im trying to use a custom ognl converter but it doesnt get called when trying to convert the object to String.class
heres the mailing list thread i started last month:
https://webwork.dev.java.net/servlets/BrowseList?listName=dev&from=95493&to=95493&count=12&by=thread&paged=false
never found a solution, i thought that maybe i was writing the converter incorrectly but that doesnt seem to be the case
calling OgnlValueStack.findValue("tempModel", String.class) always returns null, so the property tag never displays anything for a property that uses a converter, for now I have to always use value="foo.toString()" , foo being a property that uses a custom converter
heres the output of the example im attaching that displays the problem
OgnlValueStack.findValue("tempModel", String.class):null
OgnlValueStack.findValue("tempModel"):pkg.TempModel.hashCode: 31416097, pkg.TempModel.data: TempModelData
OgnlValueStack.findValue("tempModel").toString():pkg.TempModel.hashCode: 31416097, pkg.TempModel.data: TempModelData
OgnlValueStack.findValue("tempModel", TempModel.class):null
ww:property value="tempModel == null":false
ww:property value="tempModel":
ww:property value="tempModel.getClass()":class pkg.TempModel
ww:property value="tempModel.toString()":pkg.TempModel.hashCode: 31416097, pkg.TempModel.data: TempModelData