Fixed and deployed (as 4.1.1-SNAPSHOT) at the nightly repo...

See 
http://tacos.sourceforge.net/tacos4.1/tacos-core/quick-start/downloading.html



lolowok wrote:
> yes that's it, 
>
> (it's a bug of nabble too, when i wrote my message with span the spans was
> not displayed...)
>
> The right html :
>
>         <div jwcid="[EMAIL PROTECTED]:Widget" dojoType="TabContainer"
> isContainer="true"
> style="margin-left:20px;margin-right:20px;width:500px;height:500px; "> 
> <div jwcid="@For" source="ognl:{1, 2, 3, 4, 5}" value="ognl:theId"
> renderTag="false"> 
>   <div  jwcid="@dojo:Widget" dojoType="ContentPane" label="ognl:theId"
> closable="true"> 
>   <div jwcid="@Insert" value="ognl:theId" /> 
>   </div>   
>   </div> 
>         </div> 
>
> Thanks for your quick response, i hope that the correction will be done
> quickly too ;)
>
>
>
> Andreas Andreou-4 wrote:
>   
>> yep, a bug indeed !
>>
>> So, you're using a For inside the TabContainer, right? Cause i dont see 
>> the loop
>> in the example... anyway, i think we can fix this soon :)
>>
>>
>> lolowok wrote:
>>     
>>> 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 ?
>>>
>>>   
>>>       
>> -- 
>> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
>> Tapestry / Tacos developer
>> Open Source / JEE Consulting
>>
>>
>> -------------------------------------------------------------------------
>> 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
>>
>>
>>     
>
>   

-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting


-------------------------------------------------------------------------
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

Reply via email to