JBoss Rich Faces SVN: r6277 - trunk/sandbox/ui/inplaceSelect/src/main/templates.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-21 13:41:10 -0500 (Thu, 21 Feb 2008)
New Revision: 6277
Modified:
trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
Modified: trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-02-21 18:40:20 UTC (rev 6276)
+++ trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-02-21 18:41:10 UTC (rev 6277)
@@ -66,7 +66,7 @@
<img id="#{clientId}inplaceStrut" src="#{spacer}" class="rich-inplace-select-strut" style="display: none"/>
<input id="#{clientId}inplaceTmpValue"
readonly="readonly"
- type="Text"
+ type="text"
style='display:none;'
value="#{fieldValue}"
autocomplete="off"
16 years, 11 months
JBoss Rich Faces SVN: r6276 - trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-02-21 13:40:20 -0500 (Thu, 21 Feb 2008)
New Revision: 6276
Modified:
trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
Log:
component's corrected
Modified: trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-02-21 18:34:38 UTC (rev 6275)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-02-21 18:40:20 UTC (rev 6276)
@@ -27,7 +27,7 @@
listClickHandler : function(event) {
this.tempValueKeeper.focus();
- this.inputProcessing();
+ //this.inputProcessing();
this.comboList.hideWithDelay();
},
@@ -79,7 +79,9 @@
this.tempValueKeeper.value = userValue;
this.comboList.selectedItem = this.comboList.activeItem;
}
- $super();
+ if (!this.comboList.isList || this.clickOnBar) {
+ $super();
+ }
},
deleteViewArtifacts : function () {
Modified: trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js 2008-02-21 18:34:38 UTC (rev 6275)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselectlist.js 2008-02-21 18:40:20 UTC (rev 6276)
@@ -43,7 +43,7 @@
//this.listParent.childNodes[1].firstChild.replaceChild(tempList, this.list);
//this.list = $(tempList.id);
this.activeItem = null;
- this.isList = false;
+ //this.isList = false;
},
getEventItem : function(event) {
16 years, 11 months
JBoss Rich Faces SVN: r6275 - in trunk/sandbox/ui/inplaceSelect/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-21 13:34:38 -0500 (Thu, 21 Feb 2008)
New Revision: 6275
Modified:
trunk/sandbox/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
add standart html events
Modified: trunk/sandbox/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-02-21 18:26:43 UTC (rev 6274)
+++ trunk/sandbox/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-02-21 18:34:38 UTC (rev 6275)
@@ -140,6 +140,7 @@
<description></description>
<defaultvalue>"200px"</defaultvalue>
</property>
+ &html_events;
</properties>
</component>
</components>
Modified: trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-02-21 18:26:43 UTC (rev 6274)
+++ trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-02-21 18:34:38 UTC (rev 6275)
@@ -60,7 +60,8 @@
</jsp:scriptlet>
<f:resource var="spacer" name="images/spacer.gif"/>
-<span id="#{clientId}" class="rich-inplace-select-default-state">
+<span id="#{clientId}" class="rich-inplace-select-default-state"
+ x:passThruWithExclusions="id,styleClass,class,style">
<input id="#{clientId}tabber" type="button" value="" style="width: 1px; position: absolute; left: -32767px;" />
<img id="#{clientId}inplaceStrut" src="#{spacer}" class="rich-inplace-select-strut" style="display: none"/>
<input id="#{clientId}inplaceTmpValue"
16 years, 11 months
JBoss Rich Faces SVN: r6274 - in trunk/sandbox/ui/inplaceInput/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-21 13:26:43 -0500 (Thu, 21 Feb 2008)
New Revision: 6274
Modified:
trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml
trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx
Log:
add satndart html events
Modified: trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-02-21 17:59:50 UTC (rev 6273)
+++ trunk/sandbox/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2008-02-21 18:26:43 UTC (rev 6274)
@@ -155,9 +155,9 @@
<name>controlHoverClass</name>
<classname>java.lang.String</classname>
</property>
+ &html_events;
-
</properties>
</component>
</components>
Modified: trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx
===================================================================
--- trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-02-21 17:59:50 UTC (rev 6273)
+++ trunk/sandbox/ui/inplaceInput/src/main/templates/inplaceinput.jspx 2008-02-21 18:26:43 UTC (rev 6274)
@@ -59,7 +59,8 @@
]]>
</jsp:scriptlet>
- <span id="#{clientId}" class='rich-inplace rich-inplace-view #{component.attributes["styleClass"]}'>
+ <span id="#{clientId}" class='rich-inplace rich-inplace-view #{component.attributes["styleClass"]}'
+ x:passThruWithExclusions="id,styleClass,class,style">
<input id="#{clientId}tabber" type="button" value="" style="width: 1px; position: absolute; left: -32767px;" />
<img id="#{clientId}strut" src="#{spacer}" class="is_strut"/>
<input id='#{clientId}tempValue'
16 years, 11 months
JBoss Rich Faces SVN: r6272 - in trunk/sandbox/ui/inplaceSelect/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-02-21 12:57:35 -0500 (Thu, 21 Feb 2008)
New Revision: 6272
Modified:
trunk/sandbox/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
Log:
Modified: trunk/sandbox/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-02-21 17:47:36 UTC (rev 6271)
+++ trunk/sandbox/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-02-21 17:57:35 UTC (rev 6272)
@@ -132,7 +132,7 @@
<property>
<name>listWidth</name>
<classname>java.lang.String</classname>
- <description>"100px"</description>
+ <description>"200px"</description>
</property>
<property>
<name>listHeight</name>
Modified: trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-02-21 17:47:36 UTC (rev 6271)
+++ trunk/sandbox/ui/inplaceSelect/src/main/templates/inplaceselect.jspx 2008-02-21 17:57:35 UTC (rev 6272)
@@ -146,8 +146,8 @@
LIST : {CLASSES :{ACTIVE : "rich-inplace-select-list-scroll rich-inplace-select-list-decoration rich-inplace-select-list-position #{listClass}"},
STYLE : {ACTIVE: "#{listStyle}"}
},
- ITEM : {NORMAL : "rich-inplace-select-item #{itemClass}",
- SELECTED : "rich-inplace-select-item rich-inplace-select-selected-item #{itemSelectedClass}"
+ ITEM : {NORMAL : "rich-inplace-select-item rich-inplace-select-font #{itemClass}",
+ SELECTED : "rich-inplace-select-item rich-inplace-select-font rich-inplace-select-selected-item #{itemSelectedClass}"
}
},
COMPONENT : {CHANGED : {NORMAL : 'rich-inplace rich-inplace-select-default-state rich-inplace-select-changed-state #{component.attributes["changedClass"]}', HOVERED : '#{component.attributes["changedHoveredClass"]}'},
16 years, 11 months
JBoss Rich Faces SVN: r6271 - branches/3.1.x/framework/impl/src/main/javascript/jquery.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-02-21 12:47:36 -0500 (Thu, 21 Feb 2008)
New Revision: 6271
Modified:
branches/3.1.x/framework/impl/src/main/javascript/jquery/patches.js
Log:
RF-2224
some cosmetic
Modified: branches/3.1.x/framework/impl/src/main/javascript/jquery/patches.js
===================================================================
--- branches/3.1.x/framework/impl/src/main/javascript/jquery/patches.js 2008-02-21 17:46:42 UTC (rev 6270)
+++ branches/3.1.x/framework/impl/src/main/javascript/jquery/patches.js 2008-02-21 17:47:36 UTC (rev 6271)
@@ -4,7 +4,7 @@
// calling jQuery(jQuery) makes memory leaks
//if (jQuery(jQuery) != jQuery) {
-if (!window.RichFaces.jQueryWrapper) {
+if (!window.RichFaces.isJQueryWrapped) {
var oldJQuery = jQuery;
jQuery = function() {
if (arguments[0] == arguments.callee) {
@@ -21,5 +21,5 @@
}
});
}
- window.RichFaces.jQueryWrapper = true;
+ window.RichFaces.isJQueryWrapped = true;
};
\ No newline at end of file
16 years, 11 months
JBoss Rich Faces SVN: r6270 - trunk/framework/impl/src/main/javascript/jquery.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-02-21 12:46:42 -0500 (Thu, 21 Feb 2008)
New Revision: 6270
Modified:
trunk/framework/impl/src/main/javascript/jquery/patches.js
Log:
RF-2224
some cosmetic
Modified: trunk/framework/impl/src/main/javascript/jquery/patches.js
===================================================================
--- trunk/framework/impl/src/main/javascript/jquery/patches.js 2008-02-21 17:22:53 UTC (rev 6269)
+++ trunk/framework/impl/src/main/javascript/jquery/patches.js 2008-02-21 17:46:42 UTC (rev 6270)
@@ -4,7 +4,7 @@
// calling jQuery(jQuery) makes memory leaks
//if (jQuery(jQuery) != jQuery) {
-if (!window.RichFaces.jQueryWrapper) {
+if (!window.RichFaces.isJQueryWrapped) {
var oldJQuery = jQuery;
jQuery = function() {
if (arguments[0] == arguments.callee) {
@@ -21,5 +21,5 @@
}
});
}
- window.RichFaces.jQueryWrapper = true;
+ window.RichFaces.isJQueryWrapped = true;
};
\ No newline at end of file
16 years, 11 months
JBoss Rich Faces SVN: r6269 - trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-02-21 12:22:53 -0500 (Thu, 21 Feb 2008)
New Revision: 6269
Modified:
trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
component's corrected
Modified: trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-02-21 17:13:44 UTC (rev 6268)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-02-21 17:22:53 UTC (rev 6269)
@@ -77,6 +77,7 @@
if (this.comboList.activeItem) {
var userValue = this.comboList.activeItem.innerHTML;
this.tempValueKeeper.value = userValue;
+ this.comboList.selectedItem = this.comboList.activeItem;
}
$super();
},
16 years, 11 months
JBoss Rich Faces SVN: r6268 - trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-02-21 12:13:44 -0500 (Thu, 21 Feb 2008)
New Revision: 6268
Modified:
trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
Log:
component's corrected
Modified: trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js
===================================================================
--- trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-02-21 17:11:07 UTC (rev 6267)
+++ trunk/sandbox/ui/inplaceSelect/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceselect.js 2008-02-21 17:13:44 UTC (rev 6268)
@@ -73,6 +73,14 @@
}
},
+ inputProcessing : function($super) {
+ if (this.comboList.activeItem) {
+ var userValue = this.comboList.activeItem.innerHTML;
+ this.tempValueKeeper.value = userValue;
+ }
+ $super();
+ },
+
deleteViewArtifacts : function () {
var text = this.inplaceInput.childNodes[6];
if (text) {
16 years, 11 months