[jboss-cvs] jboss-profiler/java/webapp/lps/components/base ...
Takuro Okada
t2-okada at nri.co.jp
Mon Nov 6 02:42:27 EST 2006
User: tokada
Date: 06/11/06 02:42:27
Modified: java/webapp/lps/components/base Tag:
JBossProfiler_Expansion basecombobox.lzx
Log:
Fixed some bugs.
Revision Changes Path
No revision
No revision
1.1.2.2 +6 -6 jboss-profiler/java/webapp/lps/components/base/Attic/basecombobox.lzx
(In the diff below, changes in quantity of whitespace are not shown.)
Index: basecombobox.lzx
===================================================================
RCS file: /cvsroot/jboss/jboss-profiler/java/webapp/lps/components/base/Attic/basecombobox.lzx,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- basecombobox.lzx 26 Oct 2006 09:00:55 -0000 1.1.2.1
+++ basecombobox.lzx 6 Nov 2006 07:42:27 -0000 1.1.2.2
@@ -134,20 +134,20 @@
<method name="setupText" >
var txt = classroot.cblist.getText();
// HACK begin
- //if ( !txt ) {
+ if (txt==null) {
//if ( classroot.defaultselection ) {
- if ( classroot.defaultselection != null ) {
+ if (classroot.defaultselection != null) {
if ( classroot.cblist._contentview != null ) {
- classroot.cblist.selectItemAt( classroot.defaultselection );
+ classroot.cblist.selectItemAt(classroot.defaultselection);
txt = classroot.cblist.getText();
}
} else {
txt = classroot.defaulttext;
}
- //}
+ }
+ if (this.cbtext != null) this.cbtext.setText( txt );
+ if (this._dsblfield != null) this._dsblfield.setText( txt );
// HACK end
- if (this.cbtext) this.cbtext.setText( txt );
- if (this._dsblfield) this._dsblfield.setText( txt );
parent._applystyle( parent.style );
</method>
More information about the jboss-cvs-commits
mailing list