[Seaside] Re: using CSS for default Magritte-Editors

Diego Lont diego.lont at delware.nl
Fri Mar 15 09:08:51 UTC 2013


Stefan,

The accessor actually calls the "asAccessor". So If you want to know how it really works, look up the implementors of asAccessor. But yes, I think just using a symbol for a "standard" accessor, makes it much more readable.

Regards,
Diego

On Mar 15, 2013, at 9:56 AM, Stefan Krecher wrote:

> Hi Stephan,
> 
> 2013/3/14 Stephan Eggermont <stephan at stack.nl>:
>> In Magritte there are many ways to achieve this, depending on where you want
>> the responsibility to be. You could override the componentClass and override
>> the edit:. At a certain point you might want a custom form renderer.
> 
> i wasn't aware of this possibility - setting componentClass and
> overwriting edit: works perfect for me!
> 
>> Any specific reason you're not using the shorthand
>>        classes: #(HistorieArbeitsbereiche);
>>        accessor: #historieArbeitsbereiche;
> 
> i copy-pasted from another example - does the accessor really work
> this way? It is a one-to-many-relationship, where elements are added
> to a collection.
> 
> thanks,
> Stefan
> 
> 
> -- 
> Dipl.-Wirtsch.-Inf. Stefan Krecher
> Neulander Str. 17, 27374 Visselhövede
> Tel +49(0)4262 958848
> mobil +49(0)172 3608616
> http://krecher.com
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list