[OFBiz] SVN: r6856 - trunk/applications/content/template/survey
byersa@svn.ofbiz.org
byersa at svn.ofbiz.org
Mon Feb 27 11:09:33 CST 2006
Author: byersa
Date: 2006-02-27 11:09:30 -0600 (Mon, 27 Feb 2006)
New Revision: 6856
Modified:
trunk/applications/content/template/survey/genericsurvey.ftl
Log:
Committing genericsurvey.ftl that does not blowup.
Modified: trunk/applications/content/template/survey/genericsurvey.ftl
===================================================================
--- trunk/applications/content/template/survey/genericsurvey.ftl 2006-02-27 16:50:51 UTC (rev 6855)
+++ trunk/applications/content/template/survey/genericsurvey.ftl 2006-02-27 17:09:30 UTC (rev 6856)
@@ -192,7 +192,7 @@
<#else/>
<#-- special formatting for select boxes -->
<#assign align = "left"/>
- <#if (surveyQuestionAndAppl.surveyQuestionTypeId?has_content>
+ <#if surveyQuestionAndAppl?exists && surveyQuestionAndAppl.surveyQuestionTypeId?has_content>
<#if (surveyQuestionAndAppl.surveyQuestionTypeId == "BOOLEAN" || surveyQuestionAndAppl.surveyQuestionTypeId == "CONTENT" || surveyQuestionAndAppl.surveyQuestionTypeId == "OPTION")>
<#assign align = "right"/>
</#if>
@@ -203,7 +203,7 @@
</#if>
<tr>
- <#if (surveyQuestionAndAppl.surveyQuestionTypeId?has_content>
+ <#if surveyQuestionAndAppl?exists && surveyQuestionAndAppl.surveyQuestionTypeId?has_content>
<#-- seperator options -->
<#if surveyQuestionAndAppl.surveyQuestionTypeId == "SEPERATOR_TEXT">
<td colspan="5"><div class="tabletext">${surveyQuestionAndAppl.question?if_exists}</div></td>
@@ -224,12 +224,8 @@
</td>
<td width="20%"> </td>
</#if>
- <#else>
- <td>
- Question type missing from question: ${surveyQuestionAndAppl.surveyQuestionId}
- </td>
- </#else>
</#if>
+
</tr>
</#if>
</#list>
More information about the Svn
mailing list