AnsweredAssumed Answered

multiple=true iterate in a WebScript

Question asked by lpgc on Nov 24, 2012
Latest reply on Nov 25, 2012 by lpgc
Hi, ive defined a new aspect that includes


<multiple>true</multiple>
and im trying to access and iterate it from a webscript with no sucess. The aspect is defined as:


<aspect name="building:actions">
   <properties>
   </property>
      <property name="building:need">
      <type>d:boolean</type>
   </property>
   </property>
      <property name="building:worker">
      <type>d:text</type>
   </property>
   <property name="building:floor">
      <type>d:text</type>
      <multiple>true</multiple>
   </property>
   <property name="building:action">
      <type>d:text</type>
      <multiple>true</multiple>
   </properties>
</aspect>
and my webscript:


${result.properties['building:need']?string} // works
${result.properties['building:worker']} //works
${result.properties['building:floor(0)']} // doesnt work
${result.properties['building:floor[0]']} // doesnt work
Right now i cant even access a  single element directly, so i cant try to iterate it :-(

Any ideas ??  :?:

Thanks in advance for any help  :idea:

Outcomes