to reproduce the bug : my html is quite easy :
<div jwcid="[EMAIL PROTECTED]:Widget" dojoType="TabContainer" isContainer="true" style="margin-left:20px;margin-right:20px;width:500px;height:500px; "> <div jwcid="@dojo:Widget" dojoType="ContentPane" label="ognl:theId" closable="true"> </div> </div> In my class, i have defined theId. And the generated result is good for html, but bad for the javascript. The html part : <div id="tutu" style="margin-left:20px;margin-right:20px;width:500px;height:500px;"> <div id="Widget_3" style=""> 1 </div> <div id="Widget_3_0" style=""> 2 </div> <div id="Widget_3_1" style=""> 3 </div> <div id="Widget_3_2" style=""> 4 </div> <div id="Widget_3_3" style=""> 5 </div> </div> The javascript part that is not good, this is the same widget id that is added to the container !!! var tutu = dojo.widget.getWidgetById("tutu"); var child = dojo.widget.getWidgetById("Widget_3_3"); tutu.addChild(child); var child = dojo.widget.getWidgetById("Widget_3_3"); tutu.addChild(child); var child = dojo.widget.getWidgetById("Widget_3_3"); tutu.addChild(child); var child = dojo.widget.getWidgetById("Widget_3_3"); tutu.addChild(child); var child = dojo.widget.getWidgetById("Widget_3_3"); tutu.addChild(child);}); A bug ?, Someone has a solution to avoid this ? -- View this message in context: http://www.nabble.com/BUG-%3A-%40For-and-ContentPane-doesn%27t-work-tf4529617.html#a12925479 Sent from the tacos-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tacos-devel mailing list Tacos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tacos-devel