[Seaside] [Mewa] A new instvar in an object isn't rendered in add or edit

Adrian Lienhard adi at netstyle.ch
Sun May 23 11:22:13 CEST 2004


Hi Germán

I don't understand exactly what is going wrong. If you add a new 
instance variable to a class you also have to update the construction 
of the metaobject for instances of this class so that Mewa knows how to 
deal with it. There are no other changes needed. Note, that if you have 
an editor or view open already, they will not reflect the changes 
because the metaobject of the instance they display is only created 
when they are initialized. So, you have to open the editor again or 
just start a new session.

Does this help?
Adrian

On May 22, 2004, at 10:33 PM, Germán S. Arduino wrote:

> Hi:
>
> When I add a new instance variable in an object that is controlled by 
> Mewa,
> I suppose that the new instvar must be showed automatically by the 
> editor
> when I wants to add a new object of this type (or edit an existing 
> one), but
> isn't working.
>
> I must do another thing to have my object "updated" to his new 
> instvars in
> Mewa?
>
> (Using Mewa 14 / Seaside 2.3.2)
>
> TIA.
>
> gsa.
>
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>
>
___________________
Adrian Lienhard
www.adrian-lienhard.ch
www.netstyle.ch



More information about the Seaside mailing list