>>> I would suggest that you create a custom component that
is
>>> rendering the
>>> text string and the Magritte form as a child.
>>>
>> I think I will try this solution. But a SW2Command isn't a
>> Seaside
>> WAComponent. How can I render a Command within a Component ?
>>
> Have a look at the code, the view command also uses a custom
> component.
> Indeed, every MADescription might have its own custom Seaside
> component
> (#componentClass),
>
>
Can you explain it because I am reading this code for 3 hours now
(maybe more) and I still do not understand how to include a Command
representation into a Component ?
Have a look at the senders and implementors of #componentClass and
#componentClass: in the source code of SmallWiki and maybe some of
the student projects (Calendar, Security, Gallery, ...).
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch