Re: [PEPr] Proposal for HTML::HTML_QuickForm_advmultiselect
| From: | Laurent Laville | Date: | Fri, 10 Jun 2005 07:42:44 +0000 |
| Subject: | Re: [PEPr] Proposal for HTML::HTML_QuickForm_advmultiselect | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-38065@lists.php.net to get a copy of this message | ||
Justin,
I've just run a test with first example , and added
to the second multi list
$pool->setJsElement('example_');
I got *no error notices*, but i've discovered a potential problem.
When you've two advmultiselect widget on the same page, and set only once
set JsElement, the 2nd widget won't work because the javascript is include once per page.
and in this case the javascript included is :
moveSelections()
and not example_moveSelections()
At least, a problem to solve, at least some work to do ;-)
More tests will perharps open others problem. Please, tests again and report to me !
I'll put online a tarball package soon
Laurent
Justin Patrin wrote:
And are you setting a js prefix in your test code? If you don't thes enotices should come up as (I believe) $this->_jsPrefix = null is the same as not setting it at all.