RE: [PEAR-DEV] RE: [PEAR] [ANNOUNCEMENT] HTML_QuickForm-3.2.2(stable) Released.
| From: | Daniel Kopp | Date: | Mon, 22 Mar 2004 23:42:54 +0000 |
| Subject: | RE: [PEAR-DEV] RE: [PEAR] [ANNOUNCEMENT] HTML_QuickForm-3.2.2(stable) Released. | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-26644@lists.php.net to get a copy of this message | ||
Hi!
> I have sent this report to Herim Vasquez who wrote the new hierselect.
> It would also be nice from you if you could send a little piece of code to
> reproduce the bug. Thanks,
where? Here?
I fixed my version like described and it works now. The code I am using
(which made the error-messages come up) is:
$sel =& $this->addElement('hierselect',
'zimmer','Zimmer','',
'</td><td> </td>
<td class="text">', array('id' => 'zimmer'));
$haus=$values['haus']+$art;
$zimmer=$values['zim']+$unter;
$sel->setMainOptions($haus);
$sel->setSecOptions($zimmer);
Another thing that is kind of bc-break is that you cannot pass the
hierselect values by reference any more ...
Before I did:
$sel->setMainOptions($values['haus']+$art);
$sel->setSecOptions($values['zim']+$unter);
This does not work any more. That is not a problem but - maybe should be
listed somewhere ...
regards
Daniel