[Bese-devel] questions

Vladimir Sekissov svg at surnet.ru
Tue Sep 20 10:53:46 UTC 2005


Good day,

jan> Two questions, again any guidance is very much appreciated.
jan> 
jan> 1. Is there a good way to initialize form elements? At present, if I
jan>    create a form component containing a number of form elements, I can't
jan>    just use initargs to pass values to the elements when creating the
jan>    component -- obviously, since the form elements are classes
jan>    themselves.
jan> 
jan>    Basically, I'm looking for a way to do 
jan>       (call 'settings-dialog :first-name "blah" :last-name "blah")
jan>    where first-name and last-name are initargs for :component slots in
jan>    the form component settings-dialog.

(let ((comp (make-instance 'settings-dialog ...)))
  ... do some initialization for comp ...
  (call-component self comp))

or look ucw_dev/src/rerl/standard-action.lisp & Co
for other ideas.

Best Regards,
Vladimir Sekissov



More information about the bese-devel mailing list