[Seaside] Using a component both using WAComponent>>call: and
using WAHtmlRenderer>>render:
Yar Hwee Boon
hboon at motionobj.com
Fri Nov 5 19:46:47 CET 2004
Thanks. Assuming I had a Save and Cancel button, how about:
WAFormDialog>>buttons: anArray
| d formDecoration |
d := self decoration.
[d owner ~~ self]
whileTrue: [d := d owner].
formDecoration := d.
formDecoration buttons: anArray
and then
myComponent buttons: #(#save)
It works, but assumes that WAFormDialog's "innermost" decoration is the
WAFormDecoration.
--
Regards
HweeBoon
MotionObj
More information about the Seaside
mailing list