On 20.08.13 21:14, Damien Cassou wrote:
I'm not sure what you want to achieve but I guess
it will be possible
without too much additional code (and without duplicating code). Could
you please tell us in more details what you want as a result?
Basically a way to render Magritte Descriptions for Seaside using the
bootstrap html structure; i.e completely changing the appearance (or the
emitted HTML - in comparison to the MAComponentRenderer and friends)
while keeping it's behavior.
Unfortunately it's not as easy as it seems (at least for me) as the
current MAComponents emit a specific html structure which is not easily
usable for Bootstrap by adding CSS classes alone. Even subclassing
MAComponentRenderer has only limited effect because if opens a whole new
can of worms which basically leads to the need to subclass several (if
not most) MAComponent subclasses.
Maybe it's just my personal feeling - but subclassing most classes in a
hierarchy doesn't seem right to me.
Thanks,
Udo