[Seaside] Usage of Canvas' #select and #labels

Rick Flower rickf at ca-flower.com
Sun Apr 8 06:10:17 UTC 2007


Philippe Marschall wrote:
> html select
>    beOptional
>    list: orgs;
>    on: #orgId of: self;
>    labels: [:org | org name ];
>    optionalLabel: 'Select One...'.
>
Well.. This works fine for regular times when using regular callbacks 
but fails when using a liveCallback (care of SeasideAsync) as the index 
is off by 1.. I'll see about making a fix to do the right thing when I'm 
a bit less tired..  I guess we need to teach it about the use of 
beOptional and friends.  Once that is done then it should work ok.


More information about the Seaside mailing list