An additional patch for QxWindow.js is included with a modifier method
for the caption title:
Sebastian Werner schrieb:
Hi,
thank you for your message. Can you create a patch against renderer
and send it to me? Thanks.
Sebastian
Dietrich Streifert schrieb:
Hello All!
the following methods are missing compared to the 0.1.2 release branch:
QxList:
QxList.prototype.findValue = function(vText, vStartIndex) {
return this._findItem(vText, vStartIndex || 0, "Value");
};
QxList.prototype.findValueExact = function(vText, vStartIndex) {
return this._findItem(vText, vStartIndex || 0, "ValueExact");
};
and QxListItem:
QxListItem.prototype.matchesValue = function(vText) {
return vText != QxGlobal.CORE_EMPTY &&
this.getValue().toLowerCase().indexOf(vText.toLowerCase()) == 0;
};
QxListItem.prototype.matchesValueExact = function(vText) {
return vText != QxGlobal.CORE_EMPTY && this.getValue().toLowerCase()
== String(vText).toLowerCase();
};
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
Common subdirectories: source/script/widgets.orig/CVS and
source/script/widgets/CVS
diff -u source/script/widgets.orig/QxList.js source/script/widgets/QxList.js
--- source/script/widgets.orig/QxList.js 2005-10-25 09:42:13.344007000
+0200
+++ source/script/widgets/QxList.js 2005-10-25 09:43:25.483361000 +0200
@@ -296,3 +296,10 @@
return this._findItem(vText, vStartIndex || 0, "StringExact");
};
+proto.findValue = function(vText, vStartIndex) {
+ return this._findItem(vText, vStartIndex || 0, "Value");
+};
+
+proto.findValueExact = function(vText, vStartIndex) {
+ return this._findItem(vText, vStartIndex || 0, "ValueExact");
+};
diff -u source/script/widgets.orig/QxListItem.js
source/script/widgets/QxListItem.js
--- source/script/widgets.orig/QxListItem.js 2005-10-25 09:42:13.344300000
+0200
+++ source/script/widgets/QxListItem.js 2005-10-25 09:43:15.355144000 +0200
@@ -61,6 +61,14 @@
return vText != QxGlobal.CORE_EMPTY && this.getLabel().toLowerCase() ==
String(vText).toLowerCase();
};
+proto.matchesValue = function(vText) {
+ return vText != QxGlobal.CORE_EMPTY &&
this.getValue().toLowerCase().indexOf(vText.toLowerCase()) == 0;
+};
+
+proto.matchesValueExact = function(vText) {
+ return vText != QxGlobal.CORE_EMPTY && this.getValue().toLowerCase() ==
String(vText).toLowerCase();
+};
+
diff -u source/script/widgets.orig/QxWindow.js source/script/widgets/QxWindow.js
--- source/script/widgets.orig/QxWindow.js 2005-10-25 09:42:13.388328000
+0200
+++ source/script/widgets/QxWindow.js 2005-10-25 09:43:04.579144000 +0200
@@ -701,6 +701,14 @@
return this._maximizeButtonManager();
};
+proto._modifyCaption = function(propValue, propOldValue, propData)
+{
+ if ( propValue) this._captionTitle.setHtml(propValue);
+ else this._captionTitle.setHtml(QxGlobal.CORE_EMPTY);
+
+ return true;
+};
+