AnsweredAssumed Answered

Use type d:any in a Webscript

Question asked by dranakan on Jul 22, 2009
Latest reply on Oct 9, 2009 by rsulliv1
Hello :)

Can someone give me an example or link to use the type "d:any" in a Webscript ? The type "d:any" can store Java Object. I would like to store an array of int.

In Java, it's easy to add value.

int [] listIntTest={2,3,4,6};

Map<QName, Serializable> aspectProps = new HashMap<QName, Serializable>();

// Add the properties (the array)

// Add the aspect with its properties

How can I get these properties in a Webscript ? (Do you have the syntaxe to get the result in a ftl file ?)  :?:
I take value like this :

<#if['sc:documentNb']?exists & (['sc:documentNb']?length !=0)>
   <#assign val = "${['sc:documentNb']?c}"/>
But how take with an array ?
How can I show this value with the web-client-config ?  :?: