[richfaces-svn-commits] JBoss Rich Faces SVN: r4616 - in branches/3.1.x/ui/orderingList/src/main: templates/org/richfaces and 1 other directory.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Fri Dec 7 14:47:20 EST 2007
Author: nbelaevski
Date: 2007-12-07 14:47:20 -0500 (Fri, 07 Dec 2007)
New Revision: 4616
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1563
Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-12-07 19:28:58 UTC (rev 4615)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-12-07 19:47:20 UTC (rev 4616)
@@ -1,14 +1,8 @@
if(!window.Richfaces) window.Richfaces = {};
-Richfaces.OrderingList = Class.create({
- CLASSDEF: {
- name: 'Richfaces.OrderingList',
- parent: Richfaces.ListBase
- },
-
- initialize: function(containerId, contentTableId, headerTableId, focusKeeperId,
- ids, onclickControlId, onorderchanged) {
- Richfaces.OrderingList.parentClass.constructor().call(this, containerId, contentTableId, headerTableId, focusKeeperId, onclickControlId);
+Richfaces.OrderingList = Class.create(Richfaces.ListBase, {
+ initialize: function($super, containerId, contentTableId, headerTableId, focusKeeperId, ids, onclickControlId, onorderchanged) {
+ $super(containerId, contentTableId, headerTableId, focusKeeperId, onclickControlId);
if (onorderchanged) {
this.container.observe("rich:onorderchanged", onorderchanged);
@@ -62,13 +56,13 @@
}
},
- onclickHandler : function(event) {
- Richfaces.OrderingList.parentClass.method("onclickHandler").call(this, event);
+ onclickHandler : function($super, event) {
+ $super(event);
this.controlListManager();
},
- moveActiveItem : function(action, event) {
- Richfaces.OrderingList.parentClass.method("moveActiveItem").call(this ,action, event);
+ moveActiveItem : function($super, action, event) {
+ $super(action, event);
this.saveState();
this.controlListManager();
},
Modified: branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx 2007-12-07 19:28:58 UTC (rev 4615)
+++ branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx 2007-12-07 19:47:20 UTC (rev 4616)
@@ -17,7 +17,6 @@
<h:scripts>
new org.ajax4jsf.javascript.PrototypeScript(),
- scripts/extend/extend.js,
scripts/ShuttleUtils.js,
scripts/SelectItem.js,
scripts/LayoutManager.js
More information about the richfaces-svn-commits
mailing list