You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2006/09/24 23:46:02 UTC
svn commit: r449496 -
/myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/dojo/resource/src/widget/myfaces/ScrollableFisheyeList.js
Author: werpu
Date: Sun Sep 24 14:46:01 2006
New Revision: 449496
URL: http://svn.apache.org/viewvc?view=rev&rev=449496
Log: (empty)
Modified:
myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/dojo/resource/src/widget/myfaces/ScrollableFisheyeList.js
Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/dojo/resource/src/widget/myfaces/ScrollableFisheyeList.js
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/dojo/resource/src/widget/myfaces/ScrollableFisheyeList.js?view=diff&rev=449496&r1=449495&r2=449496
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/dojo/resource/src/widget/myfaces/ScrollableFisheyeList.js (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/resources/org/apache/myfaces/custom/dojo/resource/src/widget/myfaces/ScrollableFisheyeList.js Sun Sep 24 14:46:01 2006
@@ -81,7 +81,7 @@
maxNoDisplayItems:10000, //all items
scrollerBegin: 0, //first item beginning item
- visibleWindow:5,
+ visibleWindow:100,
persist: true, // save splitter positions in a cookie
@@ -156,14 +156,19 @@
},
- postCreate: function(args, frag) {
+ programmaticDone: function(args, frag) {
if(this.persist){
this.restoreState();
}
+
if(this.visibleWindow > this.children.length)
this.visibleWindow = this.children.length;
if(this.scrollerBegin > this.children.length)
this.scrollerBegin = this.children.length - this.visibleWindow;
+ postCreate(args, frag);
+ },
+
+ postCreate: function(args, frag) {
this.initializePositioning();