Created
January 22, 2013 12:12
-
-
Save d1rtym0nk3y/4594196 to your computer and use it in GitHub Desktop.
coldspring 2 util:map bug on Railo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.coldspringframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:util="http://www.coldspringframework.org/schema/util" | |
xsi:schemaLocation="http://www.coldspringframework.org/schema/beans http://coldspringframework.org/schema/coldspring-beans-2.0.xsd | |
http://www.coldspringframework.org/schema/util http://coldspringframework.org/schema/coldspring-util-2.0.xsd"> | |
<util:map id="mapBean"> | |
<entry key="keya" value="key a value"/> | |
<entry key="keyb" value="key b value"/> | |
</util:map> | |
</beans> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
beanFactory = new coldspring.beans.xml.XmlBeanFactory(expandpath("./coldspring.xml")); | |
dump(beanfactory.getBean("mapBean")); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment