Author: konstantin.mishin
Date: 2010-07-29 14:33:08 -0400 (Thu, 29 Jul 2010)
New Revision: 18285
Modified:
root/cdk/trunk/plugins/generator/src/main/resources/META-INF/templates/java/write-boolean-attribute.ftl
Log:
fix encoding of boolean attributes
Modified:
root/cdk/trunk/plugins/generator/src/main/resources/META-INF/templates/java/write-boolean-attribute.ftl
===================================================================
---
root/cdk/trunk/plugins/generator/src/main/resources/META-INF/templates/java/write-boolean-attribute.ftl 2010-07-29
17:07:39 UTC (rev 18284)
+++
root/cdk/trunk/plugins/generator/src/main/resources/META-INF/templates/java/write-boolean-attribute.ftl 2010-07-29
18:33:08 UTC (rev 18285)
@@ -8,6 +8,6 @@
<#else>
if(Boolean.valueOf(String.valueOf(${value}))) {
</#if>
-
${responseWriterVariable}.writeAttribute("${attributeName}",${attributeName},null);
+
${responseWriterVariable}.writeAttribute("${attributeName}","${attributeName}",null);
}
</#if>