… and I seeing a log of small details that teach me that probably 
TabManagerModel, etc. are not being really used, more than a basic usage 
(otherwise, I do not understand how can be working). 

Why i’m trying to do is dynamic add/remove of tabs. 

Esteban

On 04 Jan 2014, at 16:44, Esteban Lorenzano <[email protected]> wrote:

> 
> On 04 Jan 2014, at 16:39, Benjamin <[email protected]> 
> wrote:
> 
>> The should be a dispatch to not expose widget in:
>>> aTab buildWidget widget
>> 
>> Then, this 
>>>  aTab ensureMorphicAdapter asWidget 
>> 
>> looks really weird.
>> 
>> Could you provide more info about the DNU or should I try to read your mind? 
>> :P
> 
> it just says that aTab (which is a TabModel) DNU buildWidget.
> 
> btw… I think it MorphicTabManagerAdapter also misses: 
> 
> removeTab: aTab
>       aTab ensureMorphicAdapter asWidget delete.
> 
> (or something like that)
> 
>> Ben
>> 
>> On 04 Jan 2014, at 12:36, Esteban Lorenzano <[email protected]> wrote:
>> 
>>> Hi, 
>>> 
>>> I was playing with Spec and I ran into a DNU problem when trying to add 
>>> dynamically tabs. Looks for me that this: 
>>> 
>>> addTab: aTab
>>> 
>>>     self widgetDo: [ :w | w addTab: aTab buildWidget widget ]
>>> 
>>> should instead be: 
>>> 
>>> addTab: aTab
>>> 
>>>     self widgetDo: [ :w | w addTab: aTab ensureMorphicAdapter asWidget ]
>>> 
>>> but not sure about… 
>>> The problem is that original form works fine if adding static (on original 
>>> initialisation)… 
>>> 
>>> Esteban
>> 
> 

Reply via email to