Found it at http://s.apache.org/Iuo Every component tries to resolve the dynamic attributes through the value stack which converts the value to the appropriate type. Unfortunately this gives some trouble to the XHTMLTagSerializer. Take a look at the row 62 of http://s.apache.org/xml there is no writer.write(Integer), obviously I could wrap with string.valueOf but I suspect that change might introduces similar issues. So, if there are no objections, I'm going to substitute findValue with findString, such that dynamic attributes becomes again a map of String value.
Maurizio Cucchiara On 12 August 2011 17:28, Dave Newton <[email protected]> wrote: > Any library updates across the commits? > On Aug 12, 2011 11:26 AM, "Maurizio Cucchiara" <[email protected]> > wrote: >> Does anybody know why the latest Struts version every dynamic >> attribute was passed as String (even the numeric values) and now, >> using the trunk, the numeric attributes are magically converted to >> Integer? >> I took a quick look at the recent commit logs, but I still have no idea. >> >> Maurizio Cucchiara >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
