[Seaside] WATableReport + Checkbox
renggli at gmail.com
Fri Dec 3 16:46:42 UTC 2010
Do you have a #form: around your table?
On 3 December 2010 13:02, alexandre bp <abalonpe at ulb.ac.be> wrote:
> I have a problem with checkboxes. I'm trying to add a checkbox at each line
> of a table.
> I have tried several things(the last tries are in comments):
> ((WAReportColumn new)
> title: '';
> valueBlock: [ :row :html |
> html span
> "checked ifTrue:[BibliList bibliCollection add: row]."
> html checkbox
> value: checked;
> onTrue:[BibliList bibliCollection add: row]
> "onClick: [checked := true]"
> "callback:[:value | value ifTrue: [BibliList bibliCollection add: row]]"
> Unfortunately, nothing seems to work...when I click on the checkbox, nothing
> happen and my list bibliCollection (which is an OrderedCollection) is still
> Thx for your help
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside