sunet-commit
[Top] [All Lists]

sunet/scheme/httpd/surflets input-fields.scm surflet-input-fields.scm

To: sunet-commit@scsh.net
Subject: sunet/scheme/httpd/surflets input-fields.scm surflet-input-fields.scm
From: Andreas Bernauer <interp@users.sourceforge.net>
Date: Wed, 21 Jul 2004 22:09:49 +0200 (DFT)
List-id: <sunet-commit.list-id.scsh.net>
Update of /cvsroot/sunet/sunet/scheme/httpd/surflets
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16939/scheme/httpd/surflets

Modified Files:
        input-fields.scm surflet-input-fields.scm 
Log Message:
Design change: transformer of non-multi input-fields get two
arguments: the input-field *and* the binding value (not only the
binding value)

Rational: (a) transformers of non-multi input-fields can now access the
attribute field of the input-field record, (b) there is no real reason
why to treat multi and non-multi input-fields differently in respect
to their transformer arguments (keep design simple).

Updates of current surflets only necessary if they create their own
non-multi input-fields (with make-input-field).  Example surlfets
calculate.scm and calculate-cb.scm updated as well as standard HTML
input-fields provided by the SUrflets.


<Prev in Thread] Current Thread [Next in Thread>
  • sunet/scheme/httpd/surflets input-fields.scm surflet-input-fields.scm, Andreas Bernauer <=