JBoss Rich Faces SVN: r1505 - branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-07-05 15:01:59 -0400 (Thu, 05 Jul 2007)
New Revision: 1505
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGridColumn.java
Log:
remove cellClass cellStyle from UI
Modified: branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGridColumn.java
===================================================================
--- branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGridColumn.java 2007-07-05 19:00:45 UTC (rev 1504)
+++ branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGridColumn.java 2007-07-05 19:01:59 UTC (rev 1505)
@@ -14,10 +14,6 @@
*/
public abstract class UIScrollableGridColumn extends UIColumn implements SortSource{
- private String cellStyle;
-
- private String cellClass;
-
public Iterator getChildIterator(){
return getChildren().iterator();
}
@@ -41,14 +37,4 @@
public abstract boolean isSortable();
public abstract void setSortable(boolean sortable);
-
- public abstract String getCellStyle();
-
- public abstract void setCellStyle(String cellStyle);
-
- public abstract String getCellClass();
-
- public abstract void setCellClass(String cellClass);
-
-
}
17 years, 5 months
JBoss Rich Faces SVN: r1504 - branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-07-05 15:00:45 -0400 (Thu, 05 Jul 2007)
New Revision: 1504
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
Log:
remove debugger
Modified: branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
===================================================================
--- branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2007-07-05 19:00:16 UTC (rev 1503)
+++ branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2007-07-05 19:00:45 UTC (rev 1504)
@@ -156,7 +156,7 @@
},
restoreScrollState: function(scrollPos, start, end) {
- debugger;
+
var body = this.getBody();
body.scrollBox.getElement().scrollTop = scrollPos;
body.currentPos = scrollPos;
@@ -175,7 +175,6 @@
},
restoreScrollPos: function(){
- //debugger;
var body = this.getBody();
var start = body.currRange.start;
var end = body.currRange.end;
17 years, 5 months
JBoss Rich Faces SVN: r1503 - branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-07-05 15:00:16 -0400 (Thu, 05 Jul 2007)
New Revision: 1503
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js
Log:
fix replaceNodes
Modified: branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js
===================================================================
--- branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js 2007-07-05 18:53:58 UTC (rev 1502)
+++ branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js 2007-07-05 19:00:16 UTC (rev 1503)
@@ -89,9 +89,14 @@
var innerHTML = [];
var k;
for(k=0, l=0; k<tcount; k++, l++) {
- if(!childs[l].tagName) {
- l++;
+
+ if(childs[l]){
+ if(!childs[l].tagName) {
+ l++;
+ }
}
+
+
tdSrc = l<ccount ? childs[l] : null;
innerHTML.push("<td class='");
innerHTML.push(target.childNodes[k].className);
17 years, 5 months
JBoss Rich Faces SVN: r1502 - in trunk: cdk/generator/src/test/config and 7 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-07-05 14:53:58 -0400 (Thu, 05 Jul 2007)
New Revision: 1502
Added:
trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.resource.InternetResourceBuilder
trunk/framework/impl/src/main/resources/META-INF/services/org.richfaces.skin.SkinFactory
Removed:
trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.resource.InternetResourceBuilder
trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.skin.SkinFactory
Modified:
trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/elements/vcp/HeaderResourceElement.java
trunk/cdk/generator/src/test/config/faces-config.ent
trunk/docs/userguide/en/src/main/docbook/master.xml
trunk/docs/userguide/pom.xml
trunk/framework/impl/src/main/java/org/ajax4jsf/framework/resource/cached/CachedResourceBuilder.java
trunk/ui/datascroller/src/main/java/org/richfaces/renderkit/html/DataScrollerRenderer.java
trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx
trunk/ui/panelbar/src/main/java/org/richfaces/renderkit/html/PanelBarItemRendererBase.java
trunk/ui/panelbar/src/main/java/org/richfaces/renderkit/html/PanelBarRendererBase.java
Log:
restore project build with refactored API
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/elements/vcp/HeaderResourceElement.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/elements/vcp/HeaderResourceElement.java 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/templatecompiler/elements/vcp/HeaderResourceElement.java 2007-07-05 18:53:58 UTC (rev 1502)
@@ -94,7 +94,7 @@
this.resourcePaths = (String[]) paths.toArray(new String[paths.size()]);
}
componentBean
- .addToImport("org.ajax4jsf.framework.resource.InternetResource");
+ .addToImport("org.ajax4jsf.resource.InternetResource");
componentBean.addToDeclaration(getContent());
}
Modified: trunk/cdk/generator/src/test/config/faces-config.ent
===================================================================
--- trunk/cdk/generator/src/test/config/faces-config.ent 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/cdk/generator/src/test/config/faces-config.ent 2007-07-05 18:53:58 UTC (rev 1502)
@@ -2,8 +2,8 @@
<render-kit-factory>com.exadel.vcp.framework.renderer.ChameleonRenderKitFactory</render-kit-factory>
</factory>
<application>
- <variable-resolver>com.exadel.vcp.framework.skin.SkinVariableResolver</variable-resolver>
- <property-resolver>com.exadel.vcp.framework.skin.SkinPropertyResolver</property-resolver>
+ <variable-resolver>org.richfaces.skin.SkinVariableResolver</variable-resolver>
+ <property-resolver>org.richfaces.skin.SkinPropertyResolver</property-resolver>
</application>
<lifecycle>
<phase-listener>com.exadel.vcp.framework.renderer.BeforeRenderListener</phase-listener>
Modified: trunk/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/master.xml 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/docs/userguide/en/src/main/docbook/master.xml 2007-07-05 18:53:58 UTC (rev 1502)
@@ -68,8 +68,9 @@
<title>The RichFaces Components</title>
<para>The library encompasses ready-made components built based on the <emphasis role="italic"><property>Ajax4jsf Component Factory</property></emphasis>. To find out more about the Component Factory, go to the
<ulink url="http://www.jboss.org/projects/jbossajax4jsf">Ajax4jsf project</ulink>.</para>
+<!--
&richfaces_table;
-<!--
+ -->
&dataFilterSlider_table;
&dataScroller_table;
&dataTable_table;
@@ -91,7 +92,6 @@
&tree_table;
&dropDownMenu_table;
&menuComponents_table;
- -->
</chapter>
&rfcidesupport;
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/docs/userguide/pom.xml 2007-07-05 18:53:58 UTC (rev 1502)
@@ -70,6 +70,168 @@
</version>
</artifactItem>
<artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ drag-drop
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ dropdown-menu
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ gmap
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ inputnumber-slider
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ inputnumber-spinner
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ menu-components
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ modal-panel
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ paint2D
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ panel
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ panelbar
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ simpleTogglePanel
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ separator
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ spacer
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ suggestionbox
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ tabPanel
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ togglePanel
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ toolBar
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>
+ tree
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ </artifactItem>
+ <artifactItem>
<groupId>
org.richfaces.docs
</groupId>
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/framework/resource/cached/CachedResourceBuilder.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/framework/resource/cached/CachedResourceBuilder.java 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/framework/resource/cached/CachedResourceBuilder.java 2007-07-05 18:53:58 UTC (rev 1502)
@@ -29,12 +29,7 @@
import javax.faces.context.FacesContext;
import org.ajax4jsf.Messages;
-import org.ajax4jsf.framework.resource.CachedResourceBuilder;
-import org.ajax4jsf.framework.resource.DualLRUMap;
-import org.ajax4jsf.framework.resource.ResourceBean;
import org.ajax4jsf.framework.resource.ResourceBuilderImpl;
-import org.ajax4jsf.framework.resource.ResourceBytesDataBean;
-import org.ajax4jsf.framework.resource.ResourceDataBean;
import org.ajax4jsf.resource.InternetResource;
import org.ajax4jsf.resource.ResourceNotFoundException;
import org.apache.commons.logging.Log;
Deleted: trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.resource.InternetResourceBuilder
===================================================================
--- trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.resource.InternetResourceBuilder 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.resource.InternetResourceBuilder 2007-07-05 18:53:58 UTC (rev 1502)
@@ -1 +0,0 @@
-org.ajax4jsf.framework.resource.ResourceBuilderImpl
Deleted: trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.skin.SkinFactory
===================================================================
--- trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.skin.SkinFactory 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.skin.SkinFactory 2007-07-05 18:53:58 UTC (rev 1502)
@@ -1 +0,0 @@
-org.ajax4jsf.framework.skin.SkinFactoryImpl
Copied: trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.resource.InternetResourceBuilder (from rev 1483, trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.resource.InternetResourceBuilder)
===================================================================
--- trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.resource.InternetResourceBuilder (rev 0)
+++ trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.resource.InternetResourceBuilder 2007-07-05 18:53:58 UTC (rev 1502)
@@ -0,0 +1 @@
+org.ajax4jsf.framework.resource.ResourceBuilderImpl
Copied: trunk/framework/impl/src/main/resources/META-INF/services/org.richfaces.skin.SkinFactory (from rev 1483, trunk/framework/impl/src/main/resources/META-INF/services/org.ajax4jsf.framework.skin.SkinFactory)
===================================================================
--- trunk/framework/impl/src/main/resources/META-INF/services/org.richfaces.skin.SkinFactory (rev 0)
+++ trunk/framework/impl/src/main/resources/META-INF/services/org.richfaces.skin.SkinFactory 2007-07-05 18:53:58 UTC (rev 1502)
@@ -0,0 +1 @@
+org.ajax4jsf.framework.skin.SkinFactoryImpl
Modified: trunk/ui/datascroller/src/main/java/org/richfaces/renderkit/html/DataScrollerRenderer.java
===================================================================
--- trunk/ui/datascroller/src/main/java/org/richfaces/renderkit/html/DataScrollerRenderer.java 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/ui/datascroller/src/main/java/org/richfaces/renderkit/html/DataScrollerRenderer.java 2007-07-05 18:53:58 UTC (rev 1502)
@@ -33,7 +33,7 @@
import org.ajax4jsf.framework.renderer.ComponentVariables;
import org.ajax4jsf.framework.renderer.ComponentsVariableResolver;
import org.ajax4jsf.framework.renderer.HeaderResourcesRendererBase;
-import org.ajax4jsf.framework.util.javascript.JSFunction;
+import org.ajax4jsf.javascript.JSFunction;
import org.richfaces.component.UIDatascroller;
import org.richfaces.event.DataScrollerEvent;
Modified: trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx
===================================================================
--- trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx 2007-07-05 18:53:58 UTC (rev 1502)
@@ -39,7 +39,7 @@
variables.setVariable("facet", component.FIRST_FACET_NAME);
facet=component.FIRST_FACET_NAME;
}else{
- variables.setVariable("color", "color: " + org.ajax4jsf.framework.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
+ variables.setVariable("color", "color: " + org.richfaces.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
variables.setVariable("onclick", "");
variables.setVariable("facet", component.FIRST_DISABLED_FACET_NAME);
facet=component.FIRST_DISABLED_FACET_NAME;
@@ -79,7 +79,7 @@
variables.setVariable("facet", component.FAST_REWIND_FACET_NAME);
facet=component.FAST_REWIND_FACET_NAME;
}else{
- variables.setVariable("color", "color: " + org.ajax4jsf.framework.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
+ variables.setVariable("color", "color: " + org.richfaces.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
variables.setVariable("onclick", "");
variables.setVariable("facet", component.FAST_REWIND_DISABLED_FACET_NAME);
facet=component.FAST_REWIND_DISABLED_FACET_NAME;
@@ -121,7 +121,7 @@
facet=component.PREVIOUS_FACET_NAME;
}else{
variables.setVariable("onclick", "");
- variables.setVariable("color", "color: " + org.ajax4jsf.framework.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
+ variables.setVariable("color", "color: " + org.richfaces.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
variables.setVariable("facet", component.PREVIOUS_DISABLED_FACET_NAME);
facet=component.PREVIOUS_DISABLED_FACET_NAME;
}
@@ -175,7 +175,7 @@
facet=component.NEXT_FACET_NAME;
}else{
variables.setVariable("onclick", "");
- variables.setVariable("color", "color: " + org.ajax4jsf.framework.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
+ variables.setVariable("color", "color: " + org.richfaces.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
variables.setVariable("facet", component.NEXT_DISABLED_FACET_NAME);
facet=component.NEXT_DISABLED_FACET_NAME;
}
@@ -215,7 +215,7 @@
}
else{
variables.setVariable("onclick", "");
- variables.setVariable("color", "color: " + org.ajax4jsf.framework.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
+ variables.setVariable("color", "color: " + org.richfaces.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
variables.setVariable("facet", component.FAST_FORWARD_DISABLED_FACET_NAME);
facet=component.FAST_FORWARD_DISABLED_FACET_NAME;
}
@@ -256,7 +256,7 @@
facet=component.LAST_FACET_NAME;
}else{
variables.setVariable("onclick", "");
- variables.setVariable("color", "color: " + org.ajax4jsf.framework.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
+ variables.setVariable("color", "color: " + org.richfaces.skin.SkinFactory.getInstance().getSkin(context).getParameter(context, "panelBorderColor", "gray")+ ";");
variables.setVariable("facet", component.LAST_DISABLED_FACET_NAME);
facet=component.LAST_DISABLED_FACET_NAME;
}
Modified: trunk/ui/panelbar/src/main/java/org/richfaces/renderkit/html/PanelBarItemRendererBase.java
===================================================================
--- trunk/ui/panelbar/src/main/java/org/richfaces/renderkit/html/PanelBarItemRendererBase.java 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/ui/panelbar/src/main/java/org/richfaces/renderkit/html/PanelBarItemRendererBase.java 2007-07-05 18:53:58 UTC (rev 1502)
@@ -21,14 +21,7 @@
package org.richfaces.renderkit.html;
-import java.io.IOException;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-
import org.ajax4jsf.framework.renderer.RendererBase;
-import org.ajax4jsf.framework.skin.Skin;
-import org.ajax4jsf.framework.skin.SkinFactory;
-import org.ajax4jsf.framework.util.HtmlDimensions;
import org.richfaces.component.UIPanelBarItem;
public abstract class PanelBarItemRendererBase extends RendererBase {
Modified: trunk/ui/panelbar/src/main/java/org/richfaces/renderkit/html/PanelBarRendererBase.java
===================================================================
--- trunk/ui/panelbar/src/main/java/org/richfaces/renderkit/html/PanelBarRendererBase.java 2007-07-05 18:43:20 UTC (rev 1501)
+++ trunk/ui/panelbar/src/main/java/org/richfaces/renderkit/html/PanelBarRendererBase.java 2007-07-05 18:53:58 UTC (rev 1502)
@@ -32,17 +32,13 @@
import org.ajax4jsf.framework.ajax.AjaxScript;
import org.ajax4jsf.framework.ajax.ImageCacheScript;
-
import org.ajax4jsf.framework.renderer.HeaderResourcesRendererBase;
-
-import org.ajax4jsf.framework.resource.InternetResource;
import org.ajax4jsf.framework.resource.PrototypeScript;
+import org.ajax4jsf.resource.InternetResource;
import org.richfaces.component.UIPanelBar;
import org.richfaces.component.UIPanelBarItem;
import org.richfaces.event.SwitchablePanelSwitchEvent;
-import com.sun.org.apache.bcel.internal.generic.INSTANCEOF;
-
public abstract class PanelBarRendererBase extends HeaderResourcesRendererBase {
public static final String PANEL_BAR_RESOURCES = "PANEL_BAR_RESOURCES";
17 years, 5 months
JBoss Rich Faces SVN: r1501 - branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-07-05 14:43:20 -0400 (Thu, 05 Jul 2007)
New Revision: 1501
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
Log:
remove cellStyle cellClass
Modified: branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
===================================================================
--- branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-07-05 18:42:43 UTC (rev 1500)
+++ branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-07-05 18:43:20 UTC (rev 1501)
@@ -55,10 +55,6 @@
private List ranges;
- private String cellStyle;
-
- private String cellClass;
-
private Collection responseData = new ArrayList();
private int reqRowsCount = -1;
@@ -370,13 +366,5 @@
public void setScrollPos(String scrollPos) {
this.scrollPos = scrollPos;
}
-
- public abstract String getCellStyle();
-
- public abstract void setCellStyle(String cellStyle);
-
- public abstract String getCellClass();
-
- public abstract void setCellClass(String cellClass);
-
+
}
17 years, 5 months
JBoss Rich Faces SVN: r1500 - branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-07-05 14:42:43 -0400 (Thu, 05 Jul 2007)
New Revision: 1500
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGridColumn.java
Log:
add attributes cellStyle ?\208?\184 cellClass
Modified: branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGridColumn.java
===================================================================
--- branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGridColumn.java 2007-07-05 18:31:18 UTC (rev 1499)
+++ branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGridColumn.java 2007-07-05 18:42:43 UTC (rev 1500)
@@ -14,7 +14,10 @@
*/
public abstract class UIScrollableGridColumn extends UIColumn implements SortSource{
+ private String cellStyle;
+ private String cellClass;
+
public Iterator getChildIterator(){
return getChildren().iterator();
}
@@ -39,4 +42,13 @@
public abstract void setSortable(boolean sortable);
+ public abstract String getCellStyle();
+
+ public abstract void setCellStyle(String cellStyle);
+
+ public abstract String getCellClass();
+
+ public abstract void setCellClass(String cellClass);
+
+
}
17 years, 5 months
JBoss Rich Faces SVN: r1499 - branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-07-05 14:31:18 -0400 (Thu, 05 Jul 2007)
New Revision: 1499
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
Log:
Modified: branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
===================================================================
--- branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-07-05 18:30:29 UTC (rev 1498)
+++ branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-07-05 18:31:18 UTC (rev 1499)
@@ -57,7 +57,7 @@
private String cellStyle;
- private String cellClasses;
+ private String cellClass;
private Collection responseData = new ArrayList();
@@ -375,8 +375,8 @@
public abstract void setCellStyle(String cellStyle);
- public abstract String getCellClasses();
+ public abstract String getCellClass();
- public abstract void setCellClasses(String cellClasses);
+ public abstract void setCellClass(String cellClass);
}
17 years, 5 months
JBoss Rich Faces SVN: r1498 - branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-07-05 14:30:29 -0400 (Thu, 05 Jul 2007)
New Revision: 1498
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
Log:
add abstract getter/setter methods for cellStyle and cellClasses
Modified: branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java
===================================================================
--- branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-07-05 18:23:22 UTC (rev 1497)
+++ branches/3.0.2/sandbox/scrollable-grid/src/main/java/org/richfaces/component/UIScrollableGrid.java 2007-07-05 18:30:29 UTC (rev 1498)
@@ -55,6 +55,10 @@
private List ranges;
+ private String cellStyle;
+
+ private String cellClasses;
+
private Collection responseData = new ArrayList();
private int reqRowsCount = -1;
@@ -366,4 +370,13 @@
public void setScrollPos(String scrollPos) {
this.scrollPos = scrollPos;
}
+
+ public abstract String getCellStyle();
+
+ public abstract void setCellStyle(String cellStyle);
+
+ public abstract String getCellClasses();
+
+ public abstract void setCellClasses(String cellClasses);
+
}
17 years, 5 months
JBoss Rich Faces SVN: r1497 - branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils.
by richfaces-svn-commits@lists.jboss.org
Author: dmorozov
Date: 2007-07-05 14:23:22 -0400 (Thu, 05 Jul 2007)
New Revision: 1497
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js
Log:
Fix typo
Modified: branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js
===================================================================
--- branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js 2007-07-05 18:15:32 UTC (rev 1496)
+++ branches/3.0.2/sandbox/scrollable-grid/src/main/javascript/ClientUI/common/utils/Utils.js 2007-07-05 18:23:22 UTC (rev 1497)
@@ -92,7 +92,7 @@
if(!childs[l].tagName) {
l++;
}
- tdSrc = k<ccount ? childs[l] : null;
+ tdSrc = l<ccount ? childs[l] : null;
innerHTML.push("<td class='");
innerHTML.push(target.childNodes[k].className);
innerHTML.push("'>");
17 years, 5 months
JBoss Rich Faces SVN: r1496 - branches/3.0.2/sandbox/scrollable-grid/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-07-05 14:15:32 -0400 (Thu, 05 Jul 2007)
New Revision: 1496
Modified:
branches/3.0.2/sandbox/scrollable-grid/src/main/config/component/scrollable-grid.xml
Log:
add cellClass and cellStyle
Modified: branches/3.0.2/sandbox/scrollable-grid/src/main/config/component/scrollable-grid.xml
===================================================================
--- branches/3.0.2/sandbox/scrollable-grid/src/main/config/component/scrollable-grid.xml 2007-07-05 18:14:26 UTC (rev 1495)
+++ branches/3.0.2/sandbox/scrollable-grid/src/main/config/component/scrollable-grid.xml 2007-07-05 18:15:32 UTC (rev 1496)
@@ -172,8 +172,18 @@
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
- </property>
+ </property>
+ <property>
+ <name>cellStyle</name>
+ <classname>java.lang.String</classname>
+ </property>
+
+ <property>
+ <name>cellClass </name>
+ <classname>java.lang.String</classname>
+ </property>
+
&ui_component_attributes;
&html_style_attributes;
</component>
17 years, 5 months