[Magritte] Add text to a command view

Lukas Renggli renggli at student.unibe.ch
Mon Jul 11 20:47:33 MEST 2005



> > > How can I add text to an automatically made form ?
> >
> > 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),

Cheers,
Lukas




More information about the SmallWiki mailing list