[Seaside] WATableReport + Checkbox
abalonpe at ulb.ac.be
Fri Dec 3 16:51:59 UTC 2010
Thx for your answer
yes I do have a #form around it.
2010/12/3 Lukas Renggli <renggli at gmail.com>
> Do you have a #form: around your table?
> On 3 December 2010 13:02, alexandre bp <abalonpe at ulb.ac.be> wrote:
> > Hi,
> > I have a problem with checkboxes. I'm trying to add a checkbox at each
> > of a table.
> > I have tried several things(the last tries are in comments):
> > addActionColumn
> > columns
> > add:
> > ((WAReportColumn new)
> > title: '';
> > valueBlock: [ :row :html |
> > html span
> > with:[
> > "checked ifTrue:[BibliList bibliCollection add: row]."
> > html checkbox
> > value: checked;
> > onTrue:[BibliList bibliCollection add: row]
> > onFalse:.
> > "onClick: [checked := true]"
> > "callback:[:value | value ifTrue: [BibliList bibliCollection add:
> > ]]).
> > Unfortunately, nothing seems to work...when I click on the checkbox,
> > happen and my list bibliCollection (which is an OrderedCollection) is
> > empty.
> > Thx for your help
> > alex
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> Lukas Renggli
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside