Generalizes by using countries.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1040440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -133,10 +133,7 @@ under the License.
|
||||
</select>
|
||||
<#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "COUNTRY"/>
|
||||
<select name="${questionFieldName}">
|
||||
<#assign countries = Static["org.ofbiz.common.CommonWorkers"].getCountryList(delegator)>
|
||||
<#list countries as country>
|
||||
<option value='${country.geoId}'>${country.get("geoName",locale)?default(country.geoId)}</option>
|
||||
</#list>
|
||||
${screens.render("component://common/widget/CommonScreens.xml#countries")}
|
||||
</select>
|
||||
<#else/>
|
||||
<div class="tabletext">Unsupported question type : ${surveyQuestionAndAppl.surveyQuestionTypeId}</div>
|
||||
|
||||
Reference in New Issue
Block a user