<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,&nbsp;<div><br></div><div>in my applications based on seaside 2.8 i use the method script: <span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;to create the data &nbsp;in the page .</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        aCanvas script:&nbsp;</span></div><div><span class="Apple-tab-span" style="white-space:pre"> ' var iconData = {
  "Lg": { width: 16, height: 16 },
  "Default": { width: 24, height: 24 },
 
};
var officeLayer = [ {  "zoom":[0,0], "places":[{"name":"Solare","icon":["Lg","house-shadow"],"posn":[45.89198705802847, 9.95023369789124],"ancor":""},{"name":"Terra","icon":["Lg","house-shadow"],"posn":[38.27268853598097, 0.703125],"ancor":""},]},{  "zoom":[1,1], "places":[{"name":"Europa","icon":["Lg","house-shadow"],"posn":[45.89198705802847, 9.95023369789124],"ancor":""},]},{  "zoom":[2,2], "places":[{"name":"Europea","icon":["Lg","house-shadow"],"posn":[48.45835188280866</span>.</div><div>&nbsp;...........</div><div>.............</div><div>.........</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Now when i call directly my application , subclass of WAApplication, all work fine.</div><div><br></div><div>The script create right data.</div><div><br></div><div>For example:&nbsp;</div><div>&nbsp;<span class="Apple-style-span" style="font-family: monospace, sans-serif; ">Object</span></div><span class="Apple-style-span" style="font-family: monospace, sans-serif; white-space: pre-wrap; "><ol class="properties" style="-webkit-box-sizing: border-box; padding-left: 6px; display: block; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 6px; padding-bottom: 3px; list-style-type: none; list-style-position: initial; list-style-image: initial; background-color: white; "><li title="" class="parent" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">places</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">Array</span></li><li title="" class="parent expanded" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">zoom</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">Array</span></li><ol class="children expanded" style="-webkit-box-sizing: border-box; display: block; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; -webkit-padding-start: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; "><li title="" style="-webkit-box-sizing: border-box; margin-left: 12px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">0</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">0</span></li><li title="" style="-webkit-box-sizing: border-box; margin-left: 12px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">1</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">0</span></li></ol></ol></span><div><br></div><div><br></div><div>But when i call it from one SUComponent subclass i found some problem.</div><div><br></div><div>In this case the script: <span class="Apple-tab-span" style="white-space:pre">                </span>add some other data to my data.</div><div><br></div><div>The same upon object now is &nbsp;:</div><div><br></div><div><span class="Apple-style-span" style="font-family: monospace, sans-serif; white-space: pre-wrap; "><div class="header" style="-webkit-box-sizing: border-box; padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 0px; border-top-width: 1px; border-top-style: none; border-top-color: rgb(145, 160, 192); background-image: none; min-height: 0px; white-space: nowrap; -webkit-background-origin: padding; -webkit-background-clip: padding; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; "><div class="title" style="-webkit-box-sizing: border-box; color: black; font-weight: normal; word-wrap: break-word; white-space: normal; ">Object</div></div><ol class="properties" style="-webkit-box-sizing: border-box; padding-left: 6px; display: block; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 2px; padding-right: 6px; padding-bottom: 3px; list-style-type: none; list-style-position: initial; list-style-image: initial; background-color: white; "><li title="" class="parent" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">places</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">Array</span></li><li title="" class="parent expanded" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">zoom</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">Array</span></li><ol class="children expanded" style="-webkit-box-sizing: border-box; display: block; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; -webkit-padding-start: 12px; list-style-type: none; list-style-position: initial; list-style-image: initial; "><li title="" style="-webkit-box-sizing: border-box; margin-left: 12px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">0</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">0</span></li><li title="" style="-webkit-box-sizing: border-box; margin-left: 12px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">1</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">0</span></li><li title="" class="parent" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">_each</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">function forEach() {</span></li><li title="" class="parent" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">_reverse</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">function reverse() {</span></li><li title="" class="parent" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">all</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">function (C, B) {C=C?C.bind(B):Prototype.K;var A=true;this.each(function(E,D){A=A&amp;&amp;!!C(E,D);if(!A){throw $break}});return A;}</span></li><li title="" class="parent" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">any</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">function (C, B) {C=C?C.bind(B):Prototype.K;var A=false;this.each(function(E,D){if(A=!!C(E,D)){throw $break}});return A;}</span></li><li title="" class="parent" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><span class="name" style="-webkit-box-sizing: border-box; color: rgb(136, 19, 145); ">clear</span>:&nbsp;<span class="value" style="-webkit-box-sizing: border-box; ">function () {this.length=0;return this;}</span></li><li title="" class="parent" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><font class="Apple-style-span" color="#881391">......</font></li><li title="" class="parent" style="-webkit-box-sizing: border-box; margin-left: 1px; white-space: nowrap; text-overflow: ellipsis; overflow-x: hidden; overflow-y: hidden; -webkit-user-select: text; cursor: auto; "><font class="Apple-style-span" color="#881391">......</font></li></ol></ol><div><font class="Apple-style-span" color="#881391"><span class="Apple-style-span" style="white-space: nowrap;"><br></span></font></div></span><div>And this create some problem.</div><div><br></div><div>Any idea about this?&nbsp;</div><div><br></div><div>I wrong something ?</div><div><span class="Apple-style-span" style="font-family: Times; "><pre>

Thanks,

        Dario
</pre><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre;"><br></span></font></div></span></div><div><br></div></div></body></html>