Re: HTML_OOH_Form bug

From: Date: Sat, 31 Aug 2002 08:41:14 +0000
Subject: Re: HTML_OOH_Form bug
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8770@lists.php.net to get a copy of this message
Am Fre, 2002-08-30 um 15.36 schrieb Pierre-Alain Joye: > Hello, > > setOptions() is here for that no ? > > The need of addOption() method is for combobox, which is still broken and will be fix in with > the first package release. > > Or do you need it for a custom object you have build ? > > > hth > > pa Hello, with setOptions() you can only set the whole options array at once. I use it to initialize some default options via an xml file and later dynamically add options which come from the db. You could make setOptions() work with this, but looking at the code I found addOption() which seems to be the one to go with. As select is marked capable of addOption() it should be there, I guess. Jan

« previous php.pear.dev (#8770) next »