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

Stefan Krecher stefan.krecher at googlemail.com
Fri Mar 15 08:56:54 UTC 2013


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


More information about the seaside mailing list