sunet-commit
[Top] [All Lists]

[Sunet-commit] sunet/httpd/surflets/web-server/root/surflets byte-input.

To: sunet-commit@lists.sourceforge.net
Subject: [Sunet-commit] sunet/httpd/surflets/web-server/root/surflets byte-input.scm test.scm
From: Andreas Bernauer <interp@users.sourceforge.net>
Date: Thu May 22 06:33:09 2003
List-id: <sunet-commit.lists.sourceforge.net>
Sender: sunet-commit-admin@lists.sourceforge.net
Update of /cvsroot/sunet/sunet/httpd/surflets/web-server/root/surflets
In directory sc8-pr-cvs1:/tmp/cvs-serv21052/web-server/root/surflets

Modified Files:
        byte-input.scm test.scm 
Log Message:
Remove image button bug (thanks to Eric Knauel for reporting this): Image
buttons return the coordinates where the user clicked à la
imgbtn321.x=13&imgbtn321.y=12. Thus, we cannot search for the
input-field-name of the image button. To remove this bug, we introduce
following changes:

surflet-input-fields.scm: 

+ make-image-button returns a multi-input-field that searches for its
  coordinates in the bindings, returning a pair (x y) of it (numbers).
+ Adapt select-input-fields to interface changes of multi-input-fields:  
  transformers get also their input-fields.

returned-via.scm: 
Don't simply check for the input field name in the binding. Use
input-field-value to check for existance of the input field in the
bindings

input-fields.scm: 
multi-input-fields get also their input-field as argument

web-server/root/surflets/byte-input.scm: 
Adapt to interface change of multi-input-fields: transformers get also
their input-field

web-server/root/surflets/test.scm: 
Check the image-button feature  correctly.




<Prev in Thread] Current Thread [Next in Thread>
  • [Sunet-commit] sunet/httpd/surflets/web-server/root/surflets byte-input.scm test.scm, Andreas Bernauer <=