QCubed 2.0.0 and QAutoCompleteTextBox plugin FIX
QCubed saved me a lot of time, and now i feel in debt with of this community because of the effort and invested time.
While testing QCubed 2.0.0 with the QAutoCompleteTextBox plugin, i noticed that this plugin needs to be modified due to the inclusion of JQuery so i got working this way:
In QAutoCompleteTextBoxBase.class.php modified the GetEndScript() method, added GetActionAttributes because it uses jquery event binding, and it puts all this code at the end of the script:
<?php
public function GetEndScript() {
if(!$this->blnVisible || !$this->blnEnabled ) {
return '';
}
$strToReturn = $this->GetScript()."\r\n";
$strToReturn.= $this->GetActionAttributes();
return $strToReturn;
}
?>In QJavaScriptAutoCompleteTextBox.class.php modified the return string of GetScript() method (noticed that the framework uses jquery in compatibility mode so $ becomes $j):
<?php
return sprintf('$j("#%s").autocomplete(%s,{%s%s%s%s%s%s%s});',
$this->strControlId,
$strJavascriptArray,
"minChars:" . $this->intMinChars,
(($this->blnAutoFill) ? ",autoFill:true" : ""),
(($this->blnMatchContains) ? ",matchContains:true" : ""),
(($this->blnMatchCase) ? ",matchCase:true" : ""),
(($this->blnMustMatch) ? ",mustMatch:true" : ""),
(($this->Width) ? ",width:" . $this->Width :""),
(($this->strTextMode == QTextMode::MultiLine) ? ",multiple:true" : "")
);
?>The same patch works for QAjaxAutoCompleteTextBox. If i lost something i would appreciate all the comments.
Josue Balbuena / MX

Great, if you could create a ticket in trac we can have the community contribute / review the work. It's very simple, just click tickets, and add a new ticket. :)
commited ticket #559
Correction: ticket #559 is NOT committed to the SVN yet, it's just opened, and has some great details in there
woops! who can commit to SVN ?
I think it's just a terminology mix-up. :) Commit means that the code is now live in our main branch, and will be part of the next release.
Creating tickets, and even submitting patches to them do not cause an automatic commit.