My Latest linkage of data to GUI is related to a Bag Relation
On the DB side I have
(class +Monster +Entity)
(rel skills (+List +Bag) (((+String)) ((+Number))))
and on the Web side I Have
(gui '(+E/R +Chart) '(skills : home obj) 2)
(<grid> 2
"Skill" "level"
(do (+ (length (get *ID 'skills)) 1)
(gui 1 '(+TextField) *Skills)
(gui 2 '(+TextField) diestr diestr 5)))
Note diestr translates between the Number and a string representation
of the number. Like other such functions
found in standard picolisp it works in both directions.
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe