Jenkins build is back to stable : Struts2 ยป XWork: Core #341
See https://builds.apache.org/job/Struts2/org.apache.struts.xwork$xwork-core/341/changes - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Jenkins build is back to stable : Struts2 #341
See https://builds.apache.org/job/Struts2/341/changes - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Dynamics Attribute as integer
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: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: Dynamics Attribute as integer
Any library updates across the commits? On Aug 12, 2011 11:26 AM, Maurizio Cucchiara mcucchi...@apache.org 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: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: Dynamics Attribute as integer
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 davelnew...@gmail.com wrote: Any library updates across the commits? On Aug 12, 2011 11:26 AM, Maurizio Cucchiara mcucchi...@apache.org 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: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org