> I have a seaside call like this:
>
> result := self call: (SurveyResponse new asComponent addValidatedForm;
> yourself).
>
> I can't figure out how to get the css to be applied to this component.
> (Having SurveryReponse implement #style doesn't do it, nor does
> having it
> defined in the class making the call do it).
I guess SurveyResponse is a model class, right?
#style has to be implemented in a subclass of WAComponent. Since you
cannot modify the component you get from Magritte (of course you can,
but that would probably be overkill in your case) it is the simples
if you put #style into the WAComponent/WATask you call it from.
Another possibility would be to use WAFileLibrary. Check out the
class comment.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki