Hi
I have a problem, i want to list properties of an aspect as a dropdown. I want the propertis of that aspect to appear when you select the dropdown.
The aspect i want its properties to show is attached to a file. at the moment it does not return the aspect properties but the default propertis of the file.
JAVA SCRIPT FILE
var defFile = userhome.childByNamePath("defaults.txt");
model.yrsearch = defFile;
FTL FILE
Hello ${person.properties.userName } welcome to ${companyhome.name}
<table>
<tr>
<td>
<#assign props = yrsearch.properties?keys>
<select name="idRequest" id="idRequest">
<option value="NOT SELECTED" selected="selected">[–SELECT YEAR–]</option>
<#list props as t>
<option value="${t}}">${t}</option>
</#list>
</select>
</td>
</tr>
</table>
DESCRIPTOR FILE
<webscript>
<shortname>Hello</shortname>
<description>Polite greeting</description>
<url>/sample/dropdown</url>
<authentication>user</authentication>
</webscript>
Your help will is kindly appreciated