2007/3/5, Sébastien Julliand <sebjulliand(a)gmail.com>om>:
Hi,
I don't understand why but I can't add checkboxes to my MAReport.
I try to use something like:
report addColumn: (MACheckboxColumn new).
But it keeps telling:
MessageNotUnderstood: WARenderCanvas>>anchorWithAction:do:
I think I missed something but it doesn't sound trivial to me. Any
ideas?
Thanks in advance, cheers!
The MAActionColumn uses the old renderer that was deprecated in
Seaside 2.7 and removed in Seaside 2.8. A short term fix is to add
rendererClass
^WAHtmlRenderer
to MAActionColumn
Philippe
--
Sébastien JULLIAND
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Thanks Philippe, but that didn't fix my problem. But I found another
solution:
I replaced:
html checkboxWithValue: (self isSelected: anObject) callback: [ :value |
self select: anObject value: value ]
By:
html checkbox value: (self isSelected: anObject); callback:[ :value | self
select: anObject value: value ]
In MACheckBoxColumn>>renderCellFormContent:on:, and now it works properly.
--
Sébastien JULLIAND