JBoss Rich Faces SVN: r9239 - in trunk: framework/impl/src/main/resources/META-INF and 11 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-06-26 09:43:53 -0400 (Thu, 26 Jun 2008)
New Revision: 9239
Added:
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconDown.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconUp.java
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconConstants.java
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconConstants.java
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconDown.java
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconUp.java
Removed:
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconDown.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconUp.java
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconBasic.java
Modified:
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconBase.java
trunk/framework/impl/src/main/resources/META-INF/resources-config.xml
trunk/sandbox/ui/extendedDataTable/
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortAsc.java
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortDesc.java
trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortNone.java
trunk/ui/dataTable/src/test/java/org/richfaces/renderkit/SortableHeaderRenderingTest.java
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopy.java
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopyAllDisabled.java
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopyDisabled.java
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemove.java
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemoveAllDisabled.java
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemoveDisabled.java
trunk/ui/listShuttle/src/test/java/org/richfaces/renderkit/ListShuttleRenderingTest.java
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentControlsHelper.java
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconBottom.java
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconBottomDisabled.java
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconDownDisabled.java
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconTopDisabled.java
trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconUpDisabled.java
trunk/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/iconimages/ScrollableDataTableIconSplit.java
trunk/ui/scrollableDataTable/src/test/java/org/richfaces/renderkit/html/iconimages/ScrollableDataTableIconBasicTest.java
Log:
http://jira.jboss.com/jira/browse/RF-3726
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconBase.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconBase.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconBase.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -47,11 +47,11 @@
private static final Dimension DIMENSION = new Dimension(15, 15);
protected static final String ICON_COLOR = "generalTextColor";
- protected static final String BACKGROUND_COLOR = "tabBackgroundColor";
+ //protected static final String BACKGROUND_COLOR = "tabBackgroundColor";
protected static final String BORDER_COLOR = "generalBackgroundColor";
protected static final String DISABLED_ICON_COLOR = "tabDisabledTextColor";
- protected static final String DISABLED_BACKGROUND_COLOR = "tabBackgroundColor";
+ //protected static final String DISABLED_BACKGROUND_COLOR = "tabBackgroundColor";
protected static final String DISABLED_BORDER_COLOR = "generalBackgroundColor";
public TriangleIconBase() {
@@ -71,8 +71,7 @@
Color [] data = (Color[]) restoreData(context);
Color textColor = data[0];
- Color backgroundColor = data[1];
- Color borderColor = data[2];
+ Color borderColor = data[1];
g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
g2d.setRenderingHint(RenderingHints.KEY_STROKE_CONTROL, RenderingHints.VALUE_STROKE_NORMALIZE);
@@ -85,11 +84,7 @@
// g2d.setRenderingHint(RenderingHints.KEY_DITHERING, RenderingHints.VALUE_DITHER_DISABLE);
// g2d.setRenderingHint(RenderingHints.KEY_COLOR_RENDERING, RenderingHints.VALUE_COLOR_RENDER_QUALITY);
- /*Dimension dim = getDimensions(context);
- g2d.setColor(backgroundColor);
- g2d.fillRect(0, 0, dim.width, dim.height);*/
-
- if (textColor != null && backgroundColor != null && g2d != null) {
+ if (textColor != null && borderColor != null && g2d != null) {
paintImage(context, g2d, textColor, borderColor);
}
@@ -106,52 +101,67 @@
* @param data - pass icon color and background color
*/
protected Object getDataToStore(FacesContext context, Object data) {
- return storeData(context, ICON_COLOR, BACKGROUND_COLOR, BORDER_COLOR);
+ return getDataToStore(context, null, ICON_COLOR, null,
+ BORDER_COLOR);
}
+
+ protected String getParameterValue(FacesContext context, Skin skin, Skin defaultSkin,
+ String parameterName, String defaultParameterName) {
- protected Object storeData(FacesContext context, String colorSkinParam, String backgroundSkinParam, String borderSkinParam) {
- Skin skin = SkinFactory.getInstance().getSkin(context);
- Skin defaultSkin = SkinFactory.getInstance().getDefaultSkin(context);
+ String value = null;
- byte [] ret = new byte[9];
+ if (parameterName != null && parameterName.length() != 0) {
+ value = (String) skin.getParameter(context, parameterName);
+ if (value == null || value.length() == 0) {
+ value = (String) defaultSkin.getParameter(context, parameterName);
+ }
+ }
+
+ if (value == null || value.length() == 0) {
+ if (defaultParameterName != null && defaultParameterName.length() != 0) {
+ value = (String) skin.getParameter(context, defaultParameterName);
+ if (value == null || value.length() == 0) {
+ value = (String) defaultSkin.getParameter(context, defaultParameterName);
+ }
+ }
+ }
+ if (value == null) {
+ return "#FFFFFF";
+ }
+
+ return value;
+ }
+
+ protected Object getDataToStore(FacesContext context,
+ String iconColorParam,
+ String defaultIconColorParam,
+ String borderColorParam,
+ String defaultBorderColorParam) {
+ SkinFactory skinFactory = SkinFactory.getInstance();
+ Skin skin = skinFactory.getSkin(context);
+ Skin defaultSkin = skinFactory.getDefaultSkin(context);
+
+ byte [] ret = new byte[6];
+
Color color = null;
Zipper2 zipper = new Zipper2(ret);
- String color1 = (String) skin.getParameter(context, colorSkinParam);
- if (null == color1 || "".equals(color1))
- color1 = (String) defaultSkin.getParameter(context, colorSkinParam);
+ String color1 = getParameterValue(context, skin, defaultSkin,
+ iconColorParam,
+ defaultIconColorParam);
- if (color1 == null) {
- color1 = "#FFFFFF";
- }
-
color = HtmlColor.decode(color1);
zipper.addColor(color);
- String color2 = (String) skin.getParameter(context, backgroundSkinParam);
- if (null == color2 || "".equals(color2))
- color2 = (String) defaultSkin.getParameter(context, backgroundSkinParam);
+ String color2 = getParameterValue(context, skin, defaultSkin,
+ borderColorParam,
+ defaultBorderColorParam);
- if (color2 == null) {
- color2 = "#000000";
- }
-
color = HtmlColor.decode(color2);
zipper.addColor(color);
- String color3 = (String) skin.getParameter(context, borderSkinParam);
- if (null == color3 || "".equals(color3))
- color3 = (String) defaultSkin.getParameter(context, backgroundSkinParam);
-
- if (color3 == null) {
- color3 = "#000000";
- }
-
- color = HtmlColor.decode(color3);
- zipper.addColor(color);
-
return ret;
}
@@ -162,7 +172,7 @@
Zipper2 zipper = new Zipper2(objectArray);
- return new Color[] {zipper.nextColor(), zipper.nextColor(), zipper.nextColor()};
+ return new Color[] {zipper.nextColor(), zipper.nextColor()};
}
public boolean isCacheable() {
Deleted: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconDown.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconDown.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconDown.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -1,49 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces - Ajax4jsf Component Library
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.renderkit.html.images;
-
-import java.awt.Color;
-import java.awt.Graphics2D;
-
-import org.ajax4jsf.resource.ResourceContext;
-
-/**
- * @author Siarhej Chalipau
- *
- */
-public class TriangleIconDown extends TriangleIconBase {
-
- protected void paintImage(ResourceContext context, Graphics2D g2d,
- Color textColor, Color borderColor) {
-
- g2d.setColor(textColor);
- g2d.translate(7, 5);
- paintBaseTriangle(g2d);
- g2d.translate(-7, -5);
-
- g2d.setColor(borderColor);
- g2d.drawLine(4, 5, 10, 5);
- g2d.drawLine(11, 6, 7, 10);
- g2d.drawLine(7, 10, 3, 6);
- }
-
-}
Added: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconDown.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconDown.java (rev 0)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconDown.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -0,0 +1,49 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit.html.images;
+
+import java.awt.Color;
+import java.awt.Graphics2D;
+
+import org.ajax4jsf.resource.ResourceContext;
+
+/**
+ * @author Siarhej Chalipau
+ *
+ */
+public class TriangleIconDown extends TriangleIconBase {
+
+ protected void paintImage(ResourceContext context, Graphics2D g2d,
+ Color textColor, Color borderColor) {
+
+ g2d.setColor(textColor);
+ g2d.translate(7, 5);
+ paintBaseTriangle(g2d);
+ g2d.translate(-7, -5);
+
+ g2d.setColor(borderColor);
+ g2d.drawLine(4, 5, 10, 5);
+ g2d.drawLine(11, 6, 7, 10);
+ g2d.drawLine(7, 10, 3, 6);
+ }
+
+}
Deleted: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconUp.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconUp.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconUp.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -1,44 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces - Ajax4jsf Component Library
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.renderkit.html.images;
-
-import java.awt.Color;
-import java.awt.Graphics2D;
-
-import org.ajax4jsf.resource.ResourceContext;
-
-/**
- * @author Siarhej Chalipau
- *
- */
-public class TriangleIconUp extends TriangleIconDown {
-
- protected void paintImage(ResourceContext context, Graphics2D g2d,
- Color textColor, Color borderColor) {
-
- g2d.translate(0, 14);
- g2d.scale(1, -1);
-
- super.paintImage(context, g2d, textColor, borderColor);
- }
-
-}
Added: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconUp.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconUp.java (rev 0)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/TriangleIconUp.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -0,0 +1,44 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit.html.images;
+
+import java.awt.Color;
+import java.awt.Graphics2D;
+
+import org.ajax4jsf.resource.ResourceContext;
+
+/**
+ * @author Siarhej Chalipau
+ *
+ */
+public class TriangleIconUp extends TriangleIconDown {
+
+ protected void paintImage(ResourceContext context, Graphics2D g2d,
+ Color textColor, Color borderColor) {
+
+ g2d.translate(0, 14);
+ g2d.scale(1, -1);
+
+ super.paintImage(context, g2d, textColor, borderColor);
+ }
+
+}
Modified: trunk/framework/impl/src/main/resources/META-INF/resources-config.xml
===================================================================
--- trunk/framework/impl/src/main/resources/META-INF/resources-config.xml 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/framework/impl/src/main/resources/META-INF/resources-config.xml 2008-06-26 13:43:53 UTC (rev 9239)
@@ -43,13 +43,6 @@
<name>org.richfaces.renderkit.html.BaseGradient</name>
</resource>
- <resource class="org.richfaces.renderkit.html.images.TriangleIconDown">
- <name>org.richfaces.renderkit.html.images.TriangleIconDown</name>
- </resource>
- <resource class="org.richfaces.renderkit.html.images.TriangleIconUp">
- <name>org.richfaces.renderkit.html.images.TriangleIconUp</name>
- </resource>
-
<resource>
<name>jquery.js</name>
<path>org/richfaces/renderkit/html/scripts/jquery/jquery.js</path>
Property changes on: trunk/sandbox/ui/extendedDataTable
___________________________________________________________________
Name: svn:ignore
+ bin
target
.project
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/AbstractTableRenderer.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -42,9 +42,9 @@
import org.richfaces.component.Row;
import org.richfaces.component.UIDataTable;
import org.richfaces.model.Ordering;
+import org.richfaces.renderkit.html.iconimages.DataTableIconSortAsc;
+import org.richfaces.renderkit.html.iconimages.DataTableIconSortDesc;
import org.richfaces.renderkit.html.iconimages.DataTableIconSortNone;
-import org.richfaces.renderkit.html.images.TriangleIconDown;
-import org.richfaces.renderkit.html.images.TriangleIconUp;
/**
* @author shura
@@ -633,13 +633,13 @@
if (null != col.getSortIconAscending()) {
imageUrl = col.getSortIconAscending();
} else {
- imageUrl = getResource(TriangleIconUp.class.getName()).getUri(context, null);
+ imageUrl = getResource(DataTableIconSortAsc.class.getName()).getUri(context, null);
}
} else if (Ordering.DESCENDING.equals(col.getSortOrder())) {
if (null != col.getSortIconDescending()) {
imageUrl = col.getSortIconDescending();
} else {
- imageUrl = getResource(TriangleIconDown.class.getName()).getUri(context, null);
+ imageUrl = getResource(DataTableIconSortDesc.class.getName()).getUri(context, null);
}
} else if (col.isSelfSorted()) {
if (null != col.getSortIcon()) {
Deleted: trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconBasic.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconBasic.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconBasic.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -1,103 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces - Ajax4jsf Component Library
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.renderkit.html.iconimages;
-
-import java.awt.Color;
-import java.awt.Dimension;
-import java.util.Date;
-
-import javax.faces.context.FacesContext;
-
-import org.ajax4jsf.resource.GifRenderer;
-import org.ajax4jsf.resource.InternetResourceBuilder;
-import org.ajax4jsf.resource.Java2Dresource;
-import org.ajax4jsf.resource.ResourceContext;
-import org.ajax4jsf.util.HtmlColor;
-import org.ajax4jsf.util.Zipper;
-import org.richfaces.skin.Skin;
-import org.richfaces.skin.SkinFactory;
-
-public abstract class DataTableIconBasic extends Java2Dresource {
-
- public DataTableIconBasic() {
- setRenderer(new GifRenderer());
- setLastModified(new Date(InternetResourceBuilder.getInstance().getStartTime()));
- }
-
- public Dimension getDimensions(FacesContext facesContext, Object data) {
- return calculateDimensions();
- }
- protected Dimension getDimensions(ResourceContext resourceContext) {
- return calculateDimensions();
- }
-
- protected Object deserializeData(byte[] objectArray) {
- if (objectArray == null) {
- return null;
- }
-
- Object [] stored = new Object[2];
- stored[0] = new Color(Zipper.unzip(objectArray, 0));
- stored[1] = new Color(Zipper.unzip(objectArray, 3));
-
- return stored;
- }
-
- public abstract Dimension calculateDimensions();
-
-
- protected Object getDataToStore(FacesContext context, Object data) {
- Skin skin = SkinFactory.getInstance().getSkin(context);
- Skin defaultSkin = SkinFactory.getInstance().getDefaultSkin(context);
-
- Color col = null;
-
- String skinParameter = "headerTextColor";
- String headerTextColor = (String) skin.getParameter(context, skinParameter);
- if (null == headerTextColor || "".equals(headerTextColor))
- headerTextColor = (String) defaultSkin.getParameter(context, skinParameter);
-
- if (headerTextColor == null) {
- return null;
- }
-
- col = HtmlColor.decode(headerTextColor);
-
- byte[] ret = new byte[6];
- Zipper.zip(ret, col.getRGB(), 0);
-
- skinParameter = "headerBackgroundColor";
- String headerBackgroundColor = (String) skin.getParameter(context, skinParameter);
- if (null == headerBackgroundColor || "".equals(headerBackgroundColor))
- headerBackgroundColor = (String) defaultSkin.getParameter(context, skinParameter);
-
- if (headerBackgroundColor == null) {
- return null;
- }
-
- col = HtmlColor.decode(headerBackgroundColor);
-
- Zipper.zip(ret, col.getRGB(), 3);
-
- return ret;
- }
-}
Added: trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconConstants.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconConstants.java (rev 0)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconConstants.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -0,0 +1,30 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit.html.iconimages;
+
+
+class DataTableIconConstants {
+
+ public static final String SORT_ICON_COLOR = "dataTableSortIconColor";
+ public static final String SORT_ICON_BORDER_COLOR = "dataTableSortIconBorderColor";
+
+}
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortAsc.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortAsc.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortAsc.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -21,34 +21,17 @@
package org.richfaces.renderkit.html.iconimages;
-import java.awt.Color;
-import java.awt.Dimension;
-import java.awt.Graphics2D;
-import java.awt.RenderingHints;
-import java.awt.geom.GeneralPath;
+import static org.richfaces.renderkit.html.iconimages.DataTableIconConstants.SORT_ICON_BORDER_COLOR;
+import static org.richfaces.renderkit.html.iconimages.DataTableIconConstants.SORT_ICON_COLOR;
-import org.ajax4jsf.resource.ResourceContext;
+import javax.faces.context.FacesContext;
-public class DataTableIconSortAsc extends DataTableIconBasic {
+import org.richfaces.renderkit.html.images.TriangleIconUp;
+
+public class DataTableIconSortAsc extends TriangleIconUp {
- public Dimension calculateDimensions() {
- return new Dimension(13, 4);
+ protected Object getDataToStore(FacesContext context, Object data) {
+ return super.getDataToStore(context, SORT_ICON_COLOR, ICON_COLOR,
+ SORT_ICON_BORDER_COLOR, BORDER_COLOR);
}
-
- protected void paint(ResourceContext context, Graphics2D g2d) {
- g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
- g2d.setRenderingHint(RenderingHints.KEY_COLOR_RENDERING, RenderingHints.VALUE_COLOR_RENDER_QUALITY);
- g2d.setRenderingHint(RenderingHints.KEY_DITHERING, RenderingHints.VALUE_DITHER_ENABLE);
- GeneralPath path = new GeneralPath();
-
- path.moveTo(1,4);
- path.lineTo(4,0);
- path.lineTo(8,4);
- path.closePath();
- Object [] data = (Object[]) restoreData(context);
- Color col = (Color)data[0];
-
- g2d.setColor(col);
- g2d.fill(path);
- }
}
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortDesc.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortDesc.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortDesc.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -21,34 +21,17 @@
package org.richfaces.renderkit.html.iconimages;
-import java.awt.Color;
-import java.awt.Dimension;
-import java.awt.Graphics2D;
-import java.awt.RenderingHints;
-import java.awt.geom.GeneralPath;
+import static org.richfaces.renderkit.html.iconimages.DataTableIconConstants.SORT_ICON_BORDER_COLOR;
+import static org.richfaces.renderkit.html.iconimages.DataTableIconConstants.SORT_ICON_COLOR;
-import org.ajax4jsf.resource.ResourceContext;
+import javax.faces.context.FacesContext;
-public class DataTableIconSortDesc extends DataTableIconBasic {
+import org.richfaces.renderkit.html.images.TriangleIconDown;
- public Dimension calculateDimensions() {
- return new Dimension(13, 4);
+public class DataTableIconSortDesc extends TriangleIconDown {
+
+ protected Object getDataToStore(FacesContext context, Object data) {
+ return super.getDataToStore(context, SORT_ICON_COLOR, ICON_COLOR,
+ SORT_ICON_BORDER_COLOR, BORDER_COLOR);
}
-
- protected void paint(ResourceContext context, Graphics2D g2d) {
- g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
- g2d.setRenderingHint(RenderingHints.KEY_COLOR_RENDERING, RenderingHints.VALUE_COLOR_RENDER_QUALITY);
- g2d.setRenderingHint(RenderingHints.KEY_DITHERING, RenderingHints.VALUE_DITHER_ENABLE);
- GeneralPath path = new GeneralPath();
-
- path.moveTo(1,0);
- path.lineTo(4,4);
- path.lineTo(8,0);
- path.closePath();
- Object [] data = (Object[]) restoreData(context);
- Color col = (Color)data[0];
-
- g2d.setColor(col);
- g2d.fill(path);
- }
}
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortNone.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortNone.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/renderkit/html/iconimages/DataTableIconSortNone.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -21,10 +21,15 @@
package org.richfaces.renderkit.html.iconimages;
+import static org.richfaces.renderkit.html.iconimages.DataTableIconConstants.SORT_ICON_BORDER_COLOR;
+import static org.richfaces.renderkit.html.iconimages.DataTableIconConstants.SORT_ICON_COLOR;
+
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics2D;
+import javax.faces.context.FacesContext;
+
import org.ajax4jsf.resource.ResourceContext;
import org.richfaces.renderkit.html.images.TriangleIconBase;
@@ -56,4 +61,8 @@
g2d.drawLine(3, 8, 6, 5);
}
+ protected Object getDataToStore(FacesContext context, Object data) {
+ return super.getDataToStore(context, SORT_ICON_COLOR, ICON_COLOR,
+ SORT_ICON_BORDER_COLOR, BORDER_COLOR);
+ }
}
Modified: trunk/ui/dataTable/src/test/java/org/richfaces/renderkit/SortableHeaderRenderingTest.java
===================================================================
--- trunk/ui/dataTable/src/test/java/org/richfaces/renderkit/SortableHeaderRenderingTest.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/dataTable/src/test/java/org/richfaces/renderkit/SortableHeaderRenderingTest.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -43,6 +43,7 @@
import org.richfaces.component.UIColumn;
import org.richfaces.component.UIDataTable;
import org.richfaces.model.Ordering;
+import org.richfaces.renderkit.html.iconimages.DataTableIconSortAsc;
import com.gargoylesoftware.htmlunit.html.DomText;
import com.gargoylesoftware.htmlunit.html.HtmlElement;
@@ -190,7 +191,7 @@
String src = img.getAttributeValue(HTML.src_ATTRIBUTE);
assertNotNull(src);
- assertTrue(src.contains("org.richfaces.renderkit.html.images.TriangleIconUp"));
+ assertTrue(src.contains(DataTableIconSortAsc.class.getName()));
}
/**
Modified: trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopy.java
===================================================================
--- trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopy.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopy.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -5,8 +5,7 @@
import org.ajax4jsf.resource.ResourceContext;
-
-public class ListShuttleIconCopy extends TriangleIconUp {
+public class ListShuttleIconCopy extends OrderingListIconUp {
protected void paintImage(ResourceContext context, Graphics2D g2d,
Color textColor, Color borderColor) {
Modified: trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopyAllDisabled.java
===================================================================
--- trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopyAllDisabled.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopyAllDisabled.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -1,10 +1,14 @@
package org.richfaces.renderkit.html.images;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_ICON_COLOR;
+
import javax.faces.context.FacesContext;
public class ListShuttleIconCopyAllDisabled extends ListShuttleIconCopyAll {
+
protected Object getDataToStore(FacesContext context, Object data) {
- return storeData(context, DISABLED_ICON_COLOR, DISABLED_BACKGROUND_COLOR,
- DISABLED_BORDER_COLOR);
+ return super.getDataToStore(context, SELECT_LIST_DISABLED_ICON_COLOR, DISABLED_ICON_COLOR,
+ SELECT_LIST_DISABLED_BORDER_COLOR, DISABLED_BORDER_COLOR);
}
}
Modified: trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopyDisabled.java
===================================================================
--- trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopyDisabled.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconCopyDisabled.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -1,10 +1,14 @@
package org.richfaces.renderkit.html.images;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_ICON_COLOR;
+
import javax.faces.context.FacesContext;
public class ListShuttleIconCopyDisabled extends ListShuttleIconCopy {
+
protected Object getDataToStore(FacesContext context, Object data) {
- return storeData(context, DISABLED_ICON_COLOR, DISABLED_BACKGROUND_COLOR,
- DISABLED_BORDER_COLOR);
+ return super.getDataToStore(context, SELECT_LIST_DISABLED_ICON_COLOR, DISABLED_ICON_COLOR,
+ SELECT_LIST_DISABLED_BORDER_COLOR, DISABLED_BORDER_COLOR);
}
}
Modified: trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemove.java
===================================================================
--- trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemove.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemove.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -5,7 +5,7 @@
import org.ajax4jsf.resource.ResourceContext;
-public class ListShuttleIconRemove extends TriangleIconDown {
+public class ListShuttleIconRemove extends OrderingListIconDown {
protected void paintImage(ResourceContext context, Graphics2D g2d,
Color textColor, Color borderColor) {
Modified: trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemoveAllDisabled.java
===================================================================
--- trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemoveAllDisabled.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemoveAllDisabled.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -1,10 +1,14 @@
package org.richfaces.renderkit.html.images;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_ICON_COLOR;
+
import javax.faces.context.FacesContext;
public class ListShuttleIconRemoveAllDisabled extends ListShuttleIconRemoveAll {
+
protected Object getDataToStore(FacesContext context, Object data) {
- return storeData(context, DISABLED_ICON_COLOR, DISABLED_BACKGROUND_COLOR,
- DISABLED_BORDER_COLOR);
+ return super.getDataToStore(context, SELECT_LIST_DISABLED_ICON_COLOR, DISABLED_ICON_COLOR,
+ SELECT_LIST_DISABLED_BORDER_COLOR, DISABLED_BORDER_COLOR);
}
}
Modified: trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemoveDisabled.java
===================================================================
--- trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemoveDisabled.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/html/images/ListShuttleIconRemoveDisabled.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -1,10 +1,14 @@
package org.richfaces.renderkit.html.images;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_ICON_COLOR;
+
import javax.faces.context.FacesContext;
public class ListShuttleIconRemoveDisabled extends ListShuttleIconRemove {
+
protected Object getDataToStore(FacesContext context, Object data) {
- return storeData(context, DISABLED_ICON_COLOR, DISABLED_BACKGROUND_COLOR,
- DISABLED_BORDER_COLOR);
+ return super.getDataToStore(context, SELECT_LIST_DISABLED_ICON_COLOR, DISABLED_ICON_COLOR,
+ SELECT_LIST_DISABLED_BORDER_COLOR, DISABLED_BORDER_COLOR);
}
}
Modified: trunk/ui/listShuttle/src/test/java/org/richfaces/renderkit/ListShuttleRenderingTest.java
===================================================================
--- trunk/ui/listShuttle/src/test/java/org/richfaces/renderkit/ListShuttleRenderingTest.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/listShuttle/src/test/java/org/richfaces/renderkit/ListShuttleRenderingTest.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -72,7 +72,7 @@
javaScripts.add("scripts/ListShuttle.js");
javaScripts.add("scripts/ListBase.js");
- imageClasses.add("org.richfaces.renderkit.html.images.TriangleIconUp");
+ imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconUp");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconTop");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconBottom");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconUpDisabled");
@@ -87,7 +87,7 @@
imageClasses.add("org.richfaces.renderkit.html.images.ListShuttleIconRemoveAll");
imageClasses.add("org.richfaces.renderkit.html.images.ListShuttleIconRemoveDisabled");
imageClasses.add("org.richfaces.renderkit.html.images.ListShuttleIconRemoveAllDisabled");
- imageClasses.add("org.richfaces.renderkit.html.images.TriangleIconDown");
+ imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconDown");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconBottomDisabled");
imagePNGClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListButtonGradient");
Modified: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentControlsHelper.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentControlsHelper.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/OrderingComponentControlsHelper.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -3,14 +3,13 @@
import javax.faces.context.FacesContext;
import org.richfaces.component.UIOrderingBaseComponent;
-import org.richfaces.component.UIOrderingList;
import org.richfaces.renderkit.html.images.OrderingListIconBottom;
import org.richfaces.renderkit.html.images.OrderingListIconBottomDisabled;
-import org.richfaces.renderkit.html.images.TriangleIconDown;
+import org.richfaces.renderkit.html.images.OrderingListIconDown;
import org.richfaces.renderkit.html.images.OrderingListIconDownDisabled;
import org.richfaces.renderkit.html.images.OrderingListIconTop;
import org.richfaces.renderkit.html.images.OrderingListIconTopDisabled;
-import org.richfaces.renderkit.html.images.TriangleIconUp;
+import org.richfaces.renderkit.html.images.OrderingListIconUp;
import org.richfaces.renderkit.html.images.OrderingListIconUpDisabled;
public class OrderingComponentControlsHelper {
@@ -93,7 +92,7 @@
}
},
- new OrderingComponentRendererBase.ControlsHelper("up", "RICH_SHUTTLES_UP_LABEL", DEFAULT_LABEL_UP, TriangleIconUp.class.getName(), FACET_UP,
+ new OrderingComponentRendererBase.ControlsHelper("up", "RICH_SHUTTLES_UP_LABEL", DEFAULT_LABEL_UP, OrderingListIconUp.class.getName(), FACET_UP,
"-up", ATTRIBUTE_CLASS_UP_CONTROL, "",
CONTROL_ID_UP, ATTRIBUTE_CE_ONUPCLICK ,true, "up".concat(CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
@@ -111,7 +110,7 @@
}
},
- new OrderingComponentRendererBase.ControlsHelper("down", "RICH_SHUTTLES_DOWN_LABEL", DEFAULT_LABEL_DOWN, TriangleIconDown.class.getName(), FACET_DOWN,
+ new OrderingComponentRendererBase.ControlsHelper("down", "RICH_SHUTTLES_DOWN_LABEL", DEFAULT_LABEL_DOWN, OrderingListIconDown.class.getName(), FACET_DOWN,
"-down", ATTRIBUTE_CLASS_DOWN_CONTROL, "",
CONTROL_ID_DOWN, ATTRIBUTE_CE_ONDOWNCLICK, true, "down".concat(CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
Modified: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconBottom.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconBottom.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconBottom.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -21,9 +21,14 @@
package org.richfaces.renderkit.html.images;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_ICON_COLOR;
+
import java.awt.Color;
import java.awt.Graphics2D;
+import javax.faces.context.FacesContext;
+
import org.ajax4jsf.resource.ResourceContext;
/**
@@ -73,4 +78,8 @@
g2d.drawLine(4, 6, 10, 6);
}
+ protected Object getDataToStore(FacesContext context, Object data) {
+ return super.getDataToStore(context, SELECT_LIST_ICON_COLOR, ICON_COLOR,
+ SELECT_LIST_BORDER_COLOR, BORDER_COLOR);
+ }
}
Modified: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconBottomDisabled.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconBottomDisabled.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconBottomDisabled.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -21,15 +21,21 @@
package org.richfaces.renderkit.html.images;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_ICON_COLOR;
+
import javax.faces.context.FacesContext;
+
/**
* @author Siarhej Chalipau
*
*/
public class OrderingListIconBottomDisabled extends OrderingListIconBottom {
+
protected Object getDataToStore(FacesContext context, Object data) {
- return storeData(context, DISABLED_ICON_COLOR, DISABLED_BACKGROUND_COLOR,
- DISABLED_BORDER_COLOR);
+ return super.getDataToStore(context, SELECT_LIST_DISABLED_ICON_COLOR, DISABLED_ICON_COLOR,
+ SELECT_LIST_DISABLED_BORDER_COLOR, DISABLED_BORDER_COLOR);
}
+
}
Added: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconConstants.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconConstants.java (rev 0)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconConstants.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -0,0 +1,32 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit.html.images;
+
+class OrderingListIconConstants {
+
+ public static final String SELECT_LIST_ICON_COLOR = "selectListIconColor";
+ public static final String SELECT_LIST_BORDER_COLOR = "selectListIconBorderColor";
+
+ public static final String SELECT_LIST_DISABLED_ICON_COLOR = "selectListDisabledIconColor";
+ public static final String SELECT_LIST_DISABLED_BORDER_COLOR = "selectListDisabledIconBorderColor";
+
+}
Added: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconDown.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconDown.java (rev 0)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconDown.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -0,0 +1,39 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit.html.images;
+
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_ICON_COLOR;
+
+import javax.faces.context.FacesContext;
+
+/**
+ * @author Siarhej Chalipau
+ *
+ */
+public class OrderingListIconDown extends TriangleIconDown {
+
+ protected Object getDataToStore(FacesContext context, Object data) {
+ return super.getDataToStore(context, SELECT_LIST_ICON_COLOR, ICON_COLOR,
+ SELECT_LIST_BORDER_COLOR, BORDER_COLOR);
+ }
+}
Modified: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconDownDisabled.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconDownDisabled.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconDownDisabled.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -21,15 +21,19 @@
package org.richfaces.renderkit.html.images;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_ICON_COLOR;
+
import javax.faces.context.FacesContext;
/**
* @author Siarhej Chalipau
*
*/
-public class OrderingListIconDownDisabled extends TriangleIconDown {
+public class OrderingListIconDownDisabled extends OrderingListIconDown {
+
protected Object getDataToStore(FacesContext context, Object data) {
- return storeData(context, DISABLED_ICON_COLOR, DISABLED_BACKGROUND_COLOR,
- DISABLED_BORDER_COLOR);
+ return super.getDataToStore(context, SELECT_LIST_DISABLED_ICON_COLOR, DISABLED_ICON_COLOR,
+ SELECT_LIST_DISABLED_BORDER_COLOR, DISABLED_BORDER_COLOR);
}
}
Modified: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconTopDisabled.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconTopDisabled.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconTopDisabled.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -21,6 +21,9 @@
package org.richfaces.renderkit.html.images;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_ICON_COLOR;
+
import javax.faces.context.FacesContext;
/**
@@ -28,8 +31,9 @@
*
*/
public class OrderingListIconTopDisabled extends OrderingListIconTop {
+
protected Object getDataToStore(FacesContext context, Object data) {
- return storeData(context, DISABLED_ICON_COLOR, DISABLED_BACKGROUND_COLOR,
- DISABLED_BORDER_COLOR);
+ return super.getDataToStore(context, SELECT_LIST_DISABLED_ICON_COLOR, DISABLED_ICON_COLOR,
+ SELECT_LIST_DISABLED_BORDER_COLOR, DISABLED_BORDER_COLOR);
}
}
Added: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconUp.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconUp.java (rev 0)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconUp.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -0,0 +1,39 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit.html.images;
+
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_ICON_COLOR;
+
+import javax.faces.context.FacesContext;
+
+/**
+ * @author Siarhej Chalipau
+ *
+ */
+public class OrderingListIconUp extends TriangleIconUp {
+
+ protected Object getDataToStore(FacesContext context, Object data) {
+ return super.getDataToStore(context, SELECT_LIST_ICON_COLOR, ICON_COLOR,
+ SELECT_LIST_BORDER_COLOR, BORDER_COLOR);
+ }
+}
Modified: trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconUpDisabled.java
===================================================================
--- trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconUpDisabled.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/orderingList/src/main/java/org/richfaces/renderkit/html/images/OrderingListIconUpDisabled.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -21,15 +21,19 @@
package org.richfaces.renderkit.html.images;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_BORDER_COLOR;
+import static org.richfaces.renderkit.html.images.OrderingListIconConstants.SELECT_LIST_DISABLED_ICON_COLOR;
+
import javax.faces.context.FacesContext;
/**
* @author Siarhej Chalipau
*
*/
-public class OrderingListIconUpDisabled extends TriangleIconUp {
+public class OrderingListIconUpDisabled extends OrderingListIconUp {
+
protected Object getDataToStore(FacesContext context, Object data) {
- return storeData(context, DISABLED_ICON_COLOR, DISABLED_BACKGROUND_COLOR,
- DISABLED_BORDER_COLOR);
+ return super.getDataToStore(context, SELECT_LIST_DISABLED_ICON_COLOR, DISABLED_ICON_COLOR,
+ SELECT_LIST_DISABLED_BORDER_COLOR, DISABLED_BORDER_COLOR);
}
}
Modified: trunk/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java
===================================================================
--- trunk/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/orderingList/src/test/java/org/richfaces/renderkit/OrderingListRenderingTest.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -65,14 +65,14 @@
javaScripts.add("scripts/OrderingList.js");
javaScripts.add("scripts/ListBase.js");
- imageClasses.add("org.richfaces.renderkit.html.images.TriangleIconUp");
+ imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconUp");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconTop");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconBottom");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconUpDisabled");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconDownDisabled");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconTopDisabled");
imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconBottomDisabled");
- imageClasses.add("org.richfaces.renderkit.html.images.TriangleIconDown");
+ imageClasses.add("org.richfaces.renderkit.html.images.OrderingListIconDown");
imagePNGClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListHeaderGradient");
imagePNGClasses.add("org.richfaces.renderkit.html.gradientimages.OrderingListClickedGradient");
Modified: trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/iconimages/ScrollableDataTableIconSplit.java
===================================================================
--- trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/iconimages/ScrollableDataTableIconSplit.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/iconimages/ScrollableDataTableIconSplit.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -4,11 +4,26 @@
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
+import java.util.Date;
+import javax.faces.context.FacesContext;
+
+import org.ajax4jsf.resource.GifRenderer;
+import org.ajax4jsf.resource.InternetResourceBuilder;
+import org.ajax4jsf.resource.Java2Dresource;
import org.ajax4jsf.resource.ResourceContext;
+import org.ajax4jsf.util.HtmlColor;
+import org.ajax4jsf.util.Zipper;
+import org.richfaces.skin.Skin;
+import org.richfaces.skin.SkinFactory;
-public class ScrollableDataTableIconSplit extends DataTableIconBasic {
+public class ScrollableDataTableIconSplit extends Java2Dresource {
+ public ScrollableDataTableIconSplit() {
+ setRenderer(new GifRenderer());
+ setLastModified(new Date(InternetResourceBuilder.getInstance().getStartTime()));
+ }
+
public Dimension calculateDimensions() {
return new Dimension(2, 13);
}
@@ -28,4 +43,59 @@
g2d.drawLine(1, 0, 1, 12);
}
+ public Dimension getDimensions(FacesContext facesContext, Object data) {
+ return calculateDimensions();
+ }
+ protected Dimension getDimensions(ResourceContext resourceContext) {
+ return calculateDimensions();
+ }
+
+ protected Object deserializeData(byte[] objectArray) {
+ if (objectArray == null) {
+ return null;
+ }
+
+ Object [] stored = new Object[2];
+ stored[0] = new Color(Zipper.unzip(objectArray, 0));
+ stored[1] = new Color(Zipper.unzip(objectArray, 3));
+
+ return stored;
+ }
+
+ protected Object getDataToStore(FacesContext context, Object data) {
+ Skin skin = SkinFactory.getInstance().getSkin(context);
+ Skin defaultSkin = SkinFactory.getInstance().getDefaultSkin(context);
+
+ Color col = null;
+
+ String skinParameter = "headerTextColor";
+ String headerTextColor = (String) skin.getParameter(context, skinParameter);
+ if (null == headerTextColor || "".equals(headerTextColor))
+ headerTextColor = (String) defaultSkin.getParameter(context, skinParameter);
+
+ if (headerTextColor == null) {
+ return null;
+ }
+
+ col = HtmlColor.decode(headerTextColor);
+
+ byte[] ret = new byte[6];
+ Zipper.zip(ret, col.getRGB(), 0);
+
+ skinParameter = "headerBackgroundColor";
+ String headerBackgroundColor = (String) skin.getParameter(context, skinParameter);
+ if (null == headerBackgroundColor || "".equals(headerBackgroundColor))
+ headerBackgroundColor = (String) defaultSkin.getParameter(context, skinParameter);
+
+ if (headerBackgroundColor == null) {
+ return null;
+ }
+
+ col = HtmlColor.decode(headerBackgroundColor);
+
+ Zipper.zip(ret, col.getRGB(), 3);
+
+ return ret;
+ }
+
}
Modified: trunk/ui/scrollableDataTable/src/test/java/org/richfaces/renderkit/html/iconimages/ScrollableDataTableIconBasicTest.java
===================================================================
--- trunk/ui/scrollableDataTable/src/test/java/org/richfaces/renderkit/html/iconimages/ScrollableDataTableIconBasicTest.java 2008-06-26 13:33:39 UTC (rev 9238)
+++ trunk/ui/scrollableDataTable/src/test/java/org/richfaces/renderkit/html/iconimages/ScrollableDataTableIconBasicTest.java 2008-06-26 13:43:53 UTC (rev 9239)
@@ -23,7 +23,7 @@
public void testSaveResources(){
- DataTableIconBasic icon = new DataTableIconSortAsc();
+ ScrollableDataTableIconSplit icon = new ScrollableDataTableIconSplit();
Skin skin = SkinFactory.getInstance().getSkin(facesContext);
Skin defaultSkin = SkinFactory.getInstance().getDefaultSkin(facesContext);
15 years, 10 months
JBoss Rich Faces SVN: r9238 - in trunk: samples/tree-demo/src/main/java/org/richfaces and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: dmorozov
Date: 2008-06-26 09:33:39 -0400 (Thu, 26 Jun 2008)
New Revision: 9238
Modified:
trunk/framework/api/src/main/java/org/richfaces/model/CacheableTreeDataModel.java
trunk/framework/api/src/main/java/org/richfaces/model/ClassicCacheableTreeDataModel.java
trunk/framework/api/src/main/java/org/richfaces/model/TreeDataModel.java
trunk/samples/tree-demo/src/main/java/org/richfaces/TreeDndBean.java
trunk/samples/tree-demo/src/main/webapp/pages/dnd.jsp
trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java
Log:
Add tests for add & remove nodes methods in tree.
By the way were fixed 2 old bugs in tree component:
1. locateTreeNode was return root node if no one node located by rowKey
2. CacheableTreeDataModel didn't update cached nodes from source data model
Modified: trunk/framework/api/src/main/java/org/richfaces/model/CacheableTreeDataModel.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/CacheableTreeDataModel.java 2008-06-26 13:28:48 UTC (rev 9237)
+++ trunk/framework/api/src/main/java/org/richfaces/model/CacheableTreeDataModel.java 2008-06-26 13:33:39 UTC (rev 9238)
@@ -172,4 +172,9 @@
return convertedKey;
}
+
+ @Override
+ public T locateTreeNode(TreeRowKey rowKey) {
+ return locateTreeNode(rowKey, true);
+ }
}
Modified: trunk/framework/api/src/main/java/org/richfaces/model/ClassicCacheableTreeDataModel.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/ClassicCacheableTreeDataModel.java 2008-06-26 13:28:48 UTC (rev 9237)
+++ trunk/framework/api/src/main/java/org/richfaces/model/ClassicCacheableTreeDataModel.java 2008-06-26 13:33:39 UTC (rev 9238)
@@ -54,7 +54,9 @@
@Override
protected void setDefaultNodeData(TreeNode node, Object data) {
- ((TreeNodeImpl) node).setData(data);
+ if (node != null) {
+ ((TreeNodeImpl) node).setData(data);
+ }
}
}
Modified: trunk/framework/api/src/main/java/org/richfaces/model/TreeDataModel.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/TreeDataModel.java 2008-06-26 13:28:48 UTC (rev 9237)
+++ trunk/framework/api/src/main/java/org/richfaces/model/TreeDataModel.java 2008-06-26 13:33:39 UTC (rev 9238)
@@ -188,39 +188,42 @@
}
public T locateTreeNode(TreeRowKey rowKey, boolean allowCreate) {
- boolean useCached = (rowTreeData != null && rowKey != null && rowKey.equals(this.oldRowKey));
+ T tmpRowTreeData = this.rowTreeData;
+ TreeRowKey tmpOldRowKey = this.oldRowKey;
+
+ boolean useCached = (rowTreeData != null && rowKey != null && rowKey.equals(tmpOldRowKey));
if (!useCached) {
T rootNode = getData();
if (rootNode != null) {
if (rowKey != null) {
- int commonPathLength = rowKey.getCommonPathLength(oldRowKey);
- if (oldRowKey == null) {
- rowTreeData = rootNode;
+ int commonPathLength = rowKey.getCommonPathLength(tmpOldRowKey);
+ if (tmpOldRowKey == null) {
+ tmpRowTreeData = rootNode;
} else {
int rootOpsCount = rowKey.depth();
- int currentUpOpsCount = oldRowKey.depth() - commonPathLength;
+ int currentUpOpsCount = tmpOldRowKey.depth() - commonPathLength;
int currentOpsCount = currentUpOpsCount + rootOpsCount - commonPathLength;
if (rootOpsCount > currentOpsCount) {
- for (int i = 0; i < oldRowKey.depth()
+ for (int i = 0; i < tmpOldRowKey.depth()
- commonPathLength; i++) {
- rowTreeData = nodeAdaptor.getParent(rowTreeData);
+ tmpRowTreeData = nodeAdaptor.getParent(tmpRowTreeData);
}
} else {
commonPathLength = 0;
- rowTreeData = rootNode;
- oldRowKey = null;
+ tmpRowTreeData = rootNode;
+ tmpOldRowKey = null;
}
}
- oldRowKey = rowKey;
+ tmpOldRowKey = rowKey;
Iterator<?> iterator = rowKey.getSubPathIterator(commonPathLength);
while (iterator.hasNext()) {
//TODO nick - check rowTreeData for null
Object pathSegment = iterator.next();
- T childRowTreeData = nodeAdaptor.getChild(rowTreeData, pathSegment);
+ T childRowTreeData = nodeAdaptor.getChild(tmpRowTreeData, pathSegment);
if (childRowTreeData == null) {
if (!allowCreate) {
@@ -229,7 +232,7 @@
} else {
if (missingNodeHandler != null) {
childRowTreeData = missingNodeHandler.
- handleMissingNode(rowTreeData, pathSegment);
+ handleMissingNode(tmpRowTreeData, pathSegment);
if (childRowTreeData == null) {
return null;
@@ -240,7 +243,7 @@
}
}
- rowTreeData = childRowTreeData;
+ tmpRowTreeData = childRowTreeData;
}
} else {
return rootNode;
@@ -249,6 +252,12 @@
return null;
}
}
+
+ // check whether we were found something and store it
+ if (tmpRowTreeData != null) {
+ rowTreeData = tmpRowTreeData;
+ oldRowKey = tmpOldRowKey;
+ }
return rowTreeData;
}
Modified: trunk/samples/tree-demo/src/main/java/org/richfaces/TreeDndBean.java
===================================================================
--- trunk/samples/tree-demo/src/main/java/org/richfaces/TreeDndBean.java 2008-06-26 13:28:48 UTC (rev 9237)
+++ trunk/samples/tree-demo/src/main/java/org/richfaces/TreeDndBean.java 2008-06-26 13:33:39 UTC (rev 9238)
@@ -11,6 +11,7 @@
import java.util.Properties;
import javax.faces.FacesException;
+import javax.faces.component.UIComponent;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
@@ -323,16 +324,39 @@
AjaxContext ac = AjaxContext.getCurrentInstance();
// Add destination tree to reRender
try {
- ac.addComponentToAjaxRender(destTree);
+ ac.addComponentToAjaxRender(destTree);
} catch (Exception e) {
- System.err.print(e.getMessage());
+ System.err.print(e.getMessage());
}
+ if (leftTree.getRowKey() != null) {
+ leftSelectedNodeTitle = (String) leftTree.getRowData();
+ UIComponent selectL = context.getViewRoot().findComponent("DnDTreeForm:selectedNodeL");
+ if (selectL != null) {
+ try {
+ ac.addComponentToAjaxRender(selectL);
+ } catch (Exception e) {
+ System.err.print(e.getMessage());
+ }
+ }
+ }
+ if (rightTree.getRowKey() != null) {
+ rightSelectedNodeTitle = (String) rightTree.getRowData();
+ UIComponent selectR = context.getViewRoot().findComponent("DnDTreeForm:selectedNodeR");
+ if (selectR != null) {
+ try {
+ ac.addComponentToAjaxRender(selectR);
+ } catch (Exception e) {
+ System.err.print(e.getMessage());
+ }
+ }
+ }
+
// Add source tree to reRender
try {
- ac.addComponentToAjaxRender(srcTree);
+ ac.addComponentToAjaxRender(srcTree);
} catch (Exception e) {
- System.err.print(e.getMessage());
+ System.err.print(e.getMessage());
}
System.out.println("+++++");
Modified: trunk/samples/tree-demo/src/main/webapp/pages/dnd.jsp
===================================================================
--- trunk/samples/tree-demo/src/main/webapp/pages/dnd.jsp 2008-06-26 13:28:48 UTC (rev 9237)
+++ trunk/samples/tree-demo/src/main/webapp/pages/dnd.jsp 2008-06-26 13:33:39 UTC (rev 9238)
@@ -35,7 +35,7 @@
</head>
<body>
<f:view>
- <h:form>
+ <h:form id="DnDTreeForm">
<dnd:dragIndicator id="treeIndicator">
<f:facet name="single">
<f:verbatim>{marker} {nodeParam}({treeParam})</f:verbatim>
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2008-06-26 13:28:48 UTC (rev 9237)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2008-06-26 13:33:39 UTC (rev 9238)
@@ -1139,6 +1139,7 @@
// 2. clean up node state
nodeState = getTreeNodeState(true);
clearTreeNodeState();
+ setRowKey(null);
} finally {
try {
setRowKey(context, storedKey);
Modified: trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java
===================================================================
--- trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java 2008-06-26 13:28:48 UTC (rev 9237)
+++ trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java 2008-06-26 13:33:39 UTC (rev 9238)
@@ -52,6 +52,8 @@
import org.richfaces.event.NodeSelectedEvent;
import org.richfaces.event.NodeSelectedListener;
import org.richfaces.model.ListRowKey;
+import org.richfaces.model.TreeNode;
+import org.richfaces.model.TreeNodeImpl;
import org.xml.sax.InputSource;
import com.gargoylesoftware.htmlunit.html.HtmlElement;
@@ -914,7 +916,43 @@
tree.removeDragListener(dragListener);
treeNode.removeDragListener(dragListener);
}
-
+
+ public final void testAddNode() {
+ TreeNode rootNode = new TreeNodeImpl<String>();
+ rootNode.setData("root");
+ tree.setValue(rootNode);
+ tree.setPreserveModel("");
+
+ TreeNode<String> newNode = new TreeNodeImpl<String>();
+ newNode.setData("Sample node");
+
+ tree.addNode(facesContext, null, newNode, new Integer(111), null);
+ Object rowKey = tree.getTreeNodeRowKey(newNode);
+ assertNotNull(rowKey);
+ TreeNode<String> node = tree.getTreeNode(rowKey);
+ assertSame(node, newNode);
+ }
+
+ public final void testRemoveNode() {
+ TreeNode rootNode = new TreeNodeImpl<String>();
+ rootNode.setData("root");
+ tree.setValue(rootNode);
+ tree.setPreserveModel("");
+
+ TreeNode<String> newNode = new TreeNodeImpl<String>();
+ newNode.setData("Sample node");
+
+ tree.addNode(facesContext, null, newNode, new Integer(111), null);
+ Object rowKey = tree.getTreeNodeRowKey(newNode);
+ assertNotNull(rowKey);
+ TreeNode<String> node = tree.getTreeNode(rowKey);
+ assertSame(node, newNode);
+
+ tree.removeNode(rowKey);
+
+ tree.setRowKey(rowKey);
+ assertFalse(tree.isRowAvailable());
+ }
}
15 years, 10 months
JBoss Rich Faces SVN: r9237 - trunk/framework/impl/src/main/javascript/ajaxjsf.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-06-26 09:28:48 -0400 (Thu, 26 Jun 2008)
New Revision: 9237
Modified:
trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
http://jira.jboss.com/jira/browse/RF-3792
Modified: trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-06-26 12:50:56 UTC (rev 9236)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-06-26 13:28:48 UTC (rev 9237)
@@ -728,13 +728,16 @@
};
};
var tosend = new A4J.Query(containerId, form);
- tosend.appendFormControls(options.single);
if(options.control){
tosend.appendControl(options.control,true);
};
+
+ var single;
if(options.parameters){
tosend.appendParameters(options.parameters);
+ single = options.parameters.ajaxSingle;
};
+ tosend.appendFormControls(single);
if(options.eventsCount){
tosend.appendParameter("AJAX:EVENTS_COUNT",options.eventsCount);
};
15 years, 10 months
JBoss Rich Faces SVN: r9236 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-06-26 08:50:56 -0400 (Thu, 26 Jun 2008)
New Revision: 9236
Modified:
trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
trunk/docs/userguide/en/src/main/docbook/included/column.xml
trunk/docs/userguide/en/src/main/docbook/included/componentControl.xml
trunk/docs/userguide/en/src/main/docbook/included/contextMenu.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
trunk/docs/userguide/en/src/main/docbook/included/dragSupport.xml
trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/effect.xml
trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml
trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/portlet.xml
trunk/docs/userguide/en/src/main/docbook/included/push.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/region.xml
trunk/docs/userguide/en/src/main/docbook/included/repeat.xml
trunk/docs/userguide/en/src/main/docbook/included/status.xml
trunk/docs/userguide/en/src/main/docbook/included/support.xml
Log:
RF-672 - corrected names attributes, tags, components and facets for portlet, push, region, repeat, status, support, calendar, componentControl, contextMenu, column, dataList, dataOrderedList, dataDefinitionList, dragIndicator, dragSupport, dropDownMenu, menuGroup, effect, fileUpload components
Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -107,7 +107,7 @@
defined with the <emphasis>
<property>"mode"</property>
</emphasis> attribute with two possible parameters: "<code>ajax</code>" and "<code>client</code>". Default value is
- "client".</para>
+ <code>"client"</code>.</para>
<itemizedlist>
<listitem>
<para><code>Ajax</code></para>
@@ -115,7 +115,7 @@
</itemizedlist>
<para>Calendar requests portions of data from Data Model for a page rendering. If <emphasis>
<property>"dataModel"</property>
- </emphasis> attribute has <property>"null"</property> value, data requests
+ </emphasis> attribute has "null" value, data requests
are not sent. In this case the "<code>ajax</code>" mode is equal to the
"<code>client</code>". </para>
<itemizedlist>
@@ -131,7 +131,7 @@
</emphasis> and <emphasis>
<property>"preloadDateRangeEnd"</property>
</emphasis> attributes was designed only for the
- <property>"client"</property> mode to load some data initially.</para></note>
+ "<code>client</code>" mode to load some data initially.</para></note>
<para><emphasis>
<property>"ondataselect"</property>
</emphasis> attribute is used to define an event that is triggered before date selection.</para>
@@ -159,13 +159,13 @@
<emphasis>
<property>"oncurrentdataselected"</property>
</emphasis> event is fired when the "next/previous month" or "next/previous year" button is pressed,
- and the value is <property>applied</property>.
+ and the value is applied.
</para>
<para>
<emphasis>
<property>"oncurrentdataselect"</property>
</emphasis> event is fired when the "next/previous month" or "next/previous year" button is pressed,
- but the value is <property>not applied</property> yet (you can change the logic of upplying the value). Also this event could be used for possibility of "next/previous month" or "next/previous year" selection canceling. See an example below:
+ but the value is not applied yet (you can change the logic of applying the value). Also this event could be used for possibility of "next/previous month" or "next/previous year" selection canceling. See an example below:
</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -185,8 +185,8 @@
<listitem>
<para><emphasis>
<property>"buttonLabel"</property>
- </emphasis> defines a label for the button. If the attribute is set "buttonIcon" and
- "buttonIconDisabled" are ignored </para>
+ </emphasis> defines a label for the button. If the attribute is set <emphasis><property>"buttonIcon"</property></emphasis> and
+ <emphasis><property>"buttonIconDisabled"</property></emphasis> are ignored </para>
</listitem>
</itemizedlist>
<itemizedlist>
@@ -212,11 +212,11 @@
<property>"direction"</property>
</emphasis> are: </para>
<itemizedlist>
- <listitem><para>top-left - a calendar drops to the top and left</para></listitem>
- <listitem><para>top-right - a calendar drops to the top and right</para></listitem>
- <listitem><para>bottom-left - a calendar drops to the bottom and left</para></listitem>
- <listitem><para>bottom-right - a calendar drops to the bottom and right</para></listitem>
- <listitem><para>auto - smart positioning activation</para></listitem>
+ <listitem><para>"top-left" - a calendar drops to the top and left</para></listitem>
+ <listitem><para>"top-right" - a calendar drops to the top and right</para></listitem>
+ <listitem><para>"bottom-left" - a calendar drops to the bottom and left</para></listitem>
+ <listitem><para>"bottom-right" - a calendar drops to the bottom and right</para></listitem>
+ <listitem><para>"auto" - smart positioning activation</para></listitem>
</itemizedlist>
<para> By default, the <emphasis>
<property>"direction"</property>
@@ -225,11 +225,11 @@
<property>"jointPoint"</property>
</emphasis> are: </para>
<itemizedlist>
- <listitem><para>top-left - a calendar docked to the top-left point of the button element</para></listitem>
- <listitem><para>top-right - a calendar docked to the top-right point of the button element</para></listitem>
- <listitem><para>bottom-left - a calendar docked to the bottom-left point of the button element</para></listitem>
- <listitem><para>bottom-right - a calendar docked to the bottom-right point of the button element</para></listitem>
- <listitem><para>auto - smart positioning activation</para></listitem>
+ <listitem><para>"top-left" - a calendar docked to the top-left point of the button element</para></listitem>
+ <listitem><para>"top-right" - a calendar docked to the top-right point of the button element</para></listitem>
+ <listitem><para>"bottom-left" - a calendar docked to the bottom-left point of the button element</para></listitem>
+ <listitem><para>"bottom-right" - a calendar docked to the bottom-right point of the button element</para></listitem>
+ <listitem><para>"auto" - smart positioning activation</para></listitem>
</itemizedlist>
<para> By default, the <emphasis>
<property>"jointPoint"</property>
@@ -444,9 +444,8 @@
<para><code>CalendarDataModelItem</code> provides the following function:</para>
<itemizedlist>
<listitem><para>Date <code>getDate()</code> - returns date from the item. Default implementation returns date.</para></listitem>
- <listitem><para>Boolean <code>isEnabled()</code> - returns <emphasis>
- <property>"true"</property>
- </emphasis> if date is <emphasis>
+ <listitem><para>Boolean <code>isEnabled()</code> - returns "true"
+ if date is <emphasis>
<property>"selectable"</property>
</emphasis> on the calendar. Default implementation returns "true".</para></listitem>
<listitem><para>String <code>getStyleClass()</code> - returns string appended to the style class for the date
Modified: trunk/docs/userguide/en/src/main/docbook/included/column.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/column.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/column.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -378,7 +378,7 @@
If the <emphasis><property>"filterValue"</property></emphasis> attribute isn't empty from the beginning table is filtered on the first rendering.
</para>
<para>
- You can customize the input form using <property>rich-filter-input</property> CSS class.
+ You can customize the input form using "rich-filter-input" CSS class.
</para>
<para>
In order to change filter event you could use <emphasis><property>"filterEvent"</property></emphasis> attribute
Modified: trunk/docs/userguide/en/src/main/docbook/included/componentControl.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/componentControl.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/componentControl.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -95,7 +95,7 @@
<listitem><para>Define a name of a function that is generated (definition is similar to a
definition of <emphasis role="bold">
<property><a4j:jsFunction></property>
- </emphasis>). An "event" argument is passed to this function.</para></listitem>
+ </emphasis>). An "<code>event</code>" argument is passed to this function.</para></listitem>
</itemizedlist>
<para>An example is placed below:</para>
<programlisting role="XML"><![CDATA[...
@@ -145,7 +145,7 @@
<property><rich:componentControl></property>
</emphasis> allows to transfer parameters. The <emphasis>
<property>"disableDefault"</property>
- </emphasis> attribute with <property>"true"</property> value is used instead
+ </emphasis> attribute with "true" value is used instead
of <code>onclick="return false;"</code> attribute for <emphasis role="bold">
<property><h:commandButton></property>
</emphasis> to avoid a problem with form submit and <property>modalPanel</property> showing.</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/contextMenu.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/contextMenu.desc.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/contextMenu.desc.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -10,7 +10,7 @@
<para>The <emphasis role="bold">
<property><rich:contextMenu></property>
</emphasis> component is used for creation multileveled
- context menus that are activated after a user defines an event (onmouseover, onclick,
+ context menus that are activated after a user defines an event (<emphasis><property>"onmouseover"</property></emphasis>, <emphasis><property>"onclick"</property></emphasis>,
etc.) on any element on the page.</para>
<figure>
<title><emphasis role="bold">
@@ -27,7 +27,7 @@
<title>Key Features</title>
<itemizedlist>
<listitem><para>Highly customizable look and feel</para></listitem>
- <listitem><para>"oncontextmenu" event support</para></listitem>
+ <listitem><para><emphasis><property>"oncontextmenu"</property></emphasis> event support</para></listitem>
<listitem><para>Disablement support</para></listitem>
<listitem><para>Pop-up appearance event customization</para></listitem>
<listitem><para>Usage of shared instance of a menu on a page</para></listitem>
Modified: trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -65,7 +65,7 @@
<emphasis role="bold">
<property><rich:contextMenu></property>
</emphasis> is a support-like component. Context menu itself is an invisible panel that
- appears after a particular client side event (onmouseover, onclick, etc) occured on a
+ appears after a particular client side event (<emphasis><property>"onmouseover"</property></emphasis>, <emphasis><property>"onclick"</property></emphasis>, etc.) occurred on a
parent component. The event is defined with an <emphasis>
<property>"event"</property>
</emphasis> attribute. The component uses <emphasis>
@@ -87,7 +87,7 @@
<para>If a value of the <emphasis>
<property>"attached"</property>
- </emphasis> attribute is defined as <property>"true"</property>,
+ </emphasis> attribute is defined as "true",
the component is attached to the parent component. An example is placed below.</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -130,9 +130,9 @@
<property><h:panelGroup></property>
</emphasis> one and has a value of the<emphasis>
<property>"attached"</property>
- </emphasis> attribute defined as <property>"true"</property>. Thus,
+ </emphasis> attribute defined as "true". Thus,
the context menu is attached to the parent component. The context menu has two items to
- zoom in (zoom out) a picture by <property>"onclick"</property> event.
+ zoom in (zoom out) a picture by <emphasis><property>"onclick"</property></emphasis> event.
For earch item corresponding JavaScript function is defined to provide necessary action
as a result of the clicking on it. For the menu is defined an <emphasis>
<property>"oncontextmenu"</property>
@@ -142,7 +142,7 @@
<property><h:panelGroup></property>
</emphasis> component with a value of <emphasis>
<property>"id"</property>
- </emphasis> attribute equal to <property>"picture"</property>. You
+ </emphasis> attribute equal to "<code>picture</code>" You
should be careful with such definition, because a client context menu is looked for a
DOM element with a client Id of a parent component on a server. If a parent component
doesn't encode an Id on a client, it can't be found by the <emphasis
@@ -152,7 +152,7 @@
<para> If the <emphasis>
<property>"attached"</property>
- </emphasis> attribute has <property>"false"</property> value,
+ </emphasis> attribute has "false" value,
component activates via JavaScript API with assistance of <emphasis role="bold">
<property><rich:componentControl></property>
</emphasis>. An example is placed below.</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataDefinitionList.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -78,8 +78,8 @@
<property>"term"</property>
</emphasis> facet, which corresponds to the <emphasis>
<property>"type"</property>
- </emphasis> parameter for the <emphasis>
- <property>"DT"</property>
+ </emphasis> parameter for the <emphasis role="bold">
+ <property><DT></property>
</emphasis> HTML element.</para>
<para>Here is an example:</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -79,13 +79,13 @@
<property>"type"</property>
</emphasis> attribute, which corresponds to the <emphasis>
<property>"type"</property>
- </emphasis> parameter for the <emphasis>
- <property>"UL"</property>
+ </emphasis> parameter for the <emphasis role="bold">
+ <property><UL></property>
</emphasis> HTML element and defines a marker type. Possible values for <emphasis>
<property>"type"</property>
- </emphasis> attribute are: <property>"disc"</property>,
- <property>"circle"</property>,
- <property>"square"</property>.</para>
+ </emphasis> attribute are: "disc",
+ "circle",
+ "square".</para>
<para>Here is an example:</para>
<programlisting role="XML"><![CDATA[...
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataOrderedList.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -95,24 +95,14 @@
<property>"type"</property>
</emphasis>
parameter for the
- <emphasis>
- <property>"OL"</property>
+ <emphasis role="bold">
+ <property><OL></property>
</emphasis>
HTML element and defines a marker type. Possible values for
<emphasis>
<property>"type"</property>
</emphasis>
- attribute are:
- <code>"A"</code>
- ,
- <code>"a"</code>
- ,
- <code>"I"</code>
- ,
- <code>"i"</code>
- ,
- <code>"1"</code>
- .
+ attribute are: "A", "a", "I", "i", "1".
</para>
<para>Here is an example:</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -90,11 +90,11 @@
</figure>
<para>For indicator customization you need to define one of the following facets:</para>
<itemizedlist>
- <listitem><para><code>single</code></para></listitem>
+ <listitem><para><emphasis><property>"single"</property></emphasis></para></listitem>
</itemizedlist>
<para>Indicator shown when dragging a single element.</para>
<itemizedlist>
- <listitem><para><code>multiple</code></para></listitem>
+ <listitem><para><emphasis><property>"multiple"</property></emphasis></para></listitem>
</itemizedlist>
<para>Indicator shown when dragging several components (for future components that will support
multiple selection).</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dragSupport.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragSupport.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragSupport.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -105,7 +105,7 @@
must be placed inside a wrapper component that outputs child
components and that has the right events defined on it.
Thus, this example won't work, because the
- <code>h:column</code>
+ <emphasis role="bold"><property><h:column></property></emphasis>
tag doesn't provide the necessary properties for redefining
events on the client:
</para>
@@ -128,7 +128,7 @@
However, using
<property>a4j:outputPanel</property>
as a wrapper inside
- <code>h:column</code>
+ <emphasis role="bold"><property><h:column></property></emphasis>
, the following code could be used successfully:
</para>
@@ -236,11 +236,11 @@
<itemizedlist>
<listitem>
- <para>ondragenter</para>
+ <para><emphasis><property>"ondragstart"</property></emphasis></para>
</listitem>
<listitem>
- <para>ondragexit</para>
+ <para><emphasis><property>"ondragend"</property></emphasis></para>
</listitem>
</itemizedlist>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -172,23 +172,23 @@
<itemizedlist>
<listitem>
- <para>top-left - a menu drops to the top and left</para>
+ <para>"top-left" - a menu drops to the top and left</para>
</listitem>
<listitem>
- <para>top-right - a menu drops to the top and right</para>
+ <para>"top-right" - a menu drops to the top and right</para>
</listitem>
<listitem>
- <para>bottom-left - a menu drops to the bottom and left</para>
+ <para>"bottom-left" - a menu drops to the bottom and left</para>
</listitem>
<listitem>
- <para>bottom-right - a menu drops to the bottom and right</para>
+ <para>"bottom-right" - a menu drops to the bottom and right</para>
</listitem>
<listitem>
- <para>auto - smart positioning activation</para>
+ <para>"auto" - smart positioning activation</para>
</listitem>
</itemizedlist>
@@ -198,23 +198,23 @@
<itemizedlist>
<listitem>
- <para>tr - a menu is attached to the top-right point of the button element</para>
+ <para>"tr" - a menu is attached to the top-right point of the button element</para>
</listitem>
<listitem>
- <para>tl - a menu is attached to the top-left point of the button element</para>
+ <para>"tl" - a menu is attached to the top-left point of the button element</para>
</listitem>
<listitem>
- <para>br - a menu is attached to the bottom-right point of the button element</para>
+ <para>"br" - a menu is attached to the bottom-right point of the button element</para>
</listitem>
<listitem>
- <para>bl - a menu is attached to the bottom-left point of the button element</para>
+ <para>"bl" - a menu is attached to the bottom-left point of the button element</para>
</listitem>
<listitem>
- <para>auto - smart positioning activation</para>
+ <para>"auto" - smart positioning activation</para>
</listitem>
</itemizedlist>
@@ -222,9 +222,7 @@
<property>"direction"</property>
</emphasis> and <emphasis>
<property>"jointPoint"</property>
- </emphasis> attributes are set to <emphasis>
- <property>"auto"</property>
- </emphasis>.</para>
+ </emphasis> attributes are set to "auto".</para>
<para>Here is an example:</para>
@@ -332,7 +330,7 @@
<para>
The <emphasis><property>"disabled"</property></emphasis> attribute is used for disabling whole
<emphasis role="bold"><property><rich:dropDownMenu></property></emphasis> component. In this case it is
- necessary to define <emphasis><property>"disabled"</property></emphasis> attribute as <property>"true"</property>.
+ necessary to define <emphasis><property>"disabled"</property></emphasis> attribute as "true".
An example is placed below.
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/effect.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/effect.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/effect.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -161,7 +161,7 @@
<property>"params"</property>
</emphasis> attribute allows to define the set of options possible for particurar effect. For
example, 'duration', 'delay', 'from', 'to'. Additionally to the options used by the effect
- itself, there are two option that might override the <property>rich:effect</property>
+ itself, there are two option that might override the <emphasis role="bold"><property><rich:effect></property></emphasis>
attribute. Those are: <itemizedlist>
<listitem><para><emphasis>
<property>"targetId"</property>
Modified: trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -370,7 +370,7 @@
<emphasis role="bold"><property><rich:fileUpload></property></emphasis>
component also provides a number of JavaScript property,
that can be used to process uploaded files, file states etc.
- The given below example illustrates how the <property>entries[0].state</property> property can be used to get access to the file state.
+ The given below example illustrates how the <code>entries[0].state</code> property can be used to get access to the file state.
Full list of JavaScript properties can be found <link linkend="objectProperties">below</link> .
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -116,30 +116,28 @@
<para>Possible values are:</para>
<itemizedlist>
<listitem>
- <para>left - down - a submenu is attached to the left side of the menu and is
+ <para>"left - down" - a submenu is attached to the left side of the menu and is
dropping down</para>
</listitem>
<listitem>
- <para>left - up - a submenu is attached to the left side of the menu and is dropping
+ <para>"left - up" - a submenu is attached to the left side of the menu and is dropping
up</para>
</listitem>
<listitem>
- <para>right - down - a submenu is attached to the right side of the menu and is
+ <para>"right - down" - a submenu is attached to the right side of the menu and is
dropping down</para>
</listitem>
<listitem>
- <para>right - up - a submenu is attached to the right side of the menu and is
+ <para>"right - up" - a submenu is attached to the right side of the menu and is
dropping up</para>
</listitem>
<listitem>
- <para>auto - smart positioning activation</para>
+ <para>"auto - smart" positioning activation</para>
</listitem>
</itemizedlist>
<para> By default, the <emphasis>
<property>"direction"</property>
- </emphasis> attribute is set to <emphasis>
- <property>"auto"</property>
- </emphasis>. </para>
+ </emphasis> attribute is set to "auto". </para>
<para> Here is an example: </para>
<programlisting role="XML"><![CDATA[...
<rich:menuGroup value="Save As..." direction="left-down">
Modified: trunk/docs/userguide/en/src/main/docbook/included/portlet.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/portlet.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/portlet.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -57,10 +57,10 @@
<para>
The main component purpose is realization of possibility to create several instances the same portlet on
one page. But clientId of elements
- should be different for each window. In that case <property>namespace</property> is used for
+ should be different for each window. In that case namespace is used for
each portlet. The <emphasis role="bold">
<property><a4j:portlet></property>
- </emphasis> implemets NaimingContainer interface and adds namespace to all componets on a
+ </emphasis> <code>implemets NaimingContainer</code> interface and adds namespace to all componets on a
page. All portlet content should be wrapped by <emphasis role="bold">
<property><a4j:portlet></property>
</emphasis> for resolving problems mentioned before. </para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/push.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/push.desc.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/push.desc.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -19,6 +19,6 @@
</emphasis>
makes request to minimal code only (not to JSF tree) in order to check the presence of messages in the queue.
If the message exists the complete request is performed. The component doesn't poll registered beans
- but registers EventListener which receives messages about events.</para>
+ but registers <code>EventListener</code> which receives messages about events.</para>
</section>
</root>
Modified: trunk/docs/userguide/en/src/main/docbook/included/region.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/region.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/region.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -91,7 +91,7 @@
<!--..Some content that will be decoded on server after Ajax request.-->
</a4j:region >]]></programlisting>
<para>Therefore, the external region is decoded for the <code>link1</code> and the internal one is decoded for the <code>link2</code>.</para>
- <para>RichFaces allows setting Ajax responses rendering directly basing on component tree nodes without referring to the JSP (XHTML) page code. It could be defined by<emphasis><property> "selfRendered" </property></emphasis>attribute setting to <property>"true"</property> on <emphasis role="bold">
+ <para>RichFaces allows setting Ajax responses rendering directly basing on component tree nodes without referring to the JSP (XHTML) page code. It could be defined by<emphasis><property> "selfRendered" </property></emphasis>attribute setting to "true" on <emphasis role="bold">
<property><a4j:region></property>
</emphasis> and could help considerably speed up a response output. However, this rapid processing could cause missing of transient components that present on view and don't come into a component tree as well as omitting of <emphasis role="bold">
<property><a4j:outputPanel></property>
@@ -106,7 +106,7 @@
<para>The processing could be also accelerated if a region decoded for the processing passes straight away into Encode. But to update some data out of the region or on another region, use the <emphasis >
<property>"renderRegionOnly"</property>
</emphasis>
- attribute set to <property>"false"</property> (<property>"true"</property> on default) to change this behaviour.</para>
+ attribute set to "false" ("true" on default) to change this behaviour.</para>
<para><emphasis role="bold">Example:</emphasis></para>
<programlisting role="XML"><![CDATA[<a4j:region renderRegionOnly="true">
<a4j:commandLink reRender="someID2" value="Link1" id="link1"/>
@@ -119,7 +119,7 @@
</h:panelGroup>
</a4j:region>]]></programlisting>
<para>This example shows that one of the regions is decoded when a link is used inside. Nevertheless,
- if after processing the "link1" is clicked, the first region passes into Encode as a root
+ if after processing the <code>link1</code> is clicked, the first region passes into Encode as a root
region and encode performance time is reduced. This optimization doesn't allow data update out of the
region and should be implemented very carefully. The data out of the region described with <code>renderRegionOnly="false"</code> is updated successfully.
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/repeat.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/repeat.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/repeat.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -97,8 +97,8 @@
<title>Note:</title>
<para>The <emphasis role="bold">
<property><a4j:repeater></property>
- </emphasis> component is defined as fully updated, but really updated there are only the row keys which rowKeys includes into the set
- <property>ajaxRowSet</property>
+ </emphasis> component is defined as fully updated, but really updated there are only the row keys which <emphasis><property>"rowKeys"</property></emphasis> includes into the set
+ <emphasis><property>"ajaxRowSet"</property></emphasis>
defined in the <emphasis >
<property>"ajaxKeys"</property>
</emphasis> attribute </para>
@@ -107,7 +107,7 @@
</para>
</note>
<para>One more benefit of this component is absence of strictly defined markup as JSF HTML DataTable and TOMAHAWK DataTable has, hence the components could be used more flexibly anywhere where it's necessary to output the results of selection from some collection.</para>
-<para>The next example shows collection output as a plain HTML list</para>
+<para>The next example shows collection output as a plain HTML list:</para>
<programlisting role="XML"><![CDATA[<ul>
<a4j:repeat ...>
<li>...<li/>
Modified: trunk/docs/userguide/en/src/main/docbook/included/status.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/status.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/status.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -49,7 +49,7 @@
</itemizedlist>
<itemizedlist>
<listitem><para>
- With <emphasis ><property>"Start"/"Stop"</property></emphasis > facets definition:</para>
+ With <emphasis><property>"Start"</property></emphasis>/<emphasis><property>"Stop"</property></emphasis > facets definition:</para>
<programlisting role="XML"><![CDATA[<a4j:status for="stat2">
<f:facet name="start">
<h:graphicImage value="ajax_process.png" />
@@ -121,7 +121,7 @@
<para>There is a possibility to group a <emphasis role="bold"><property><a4j:status></property></emphasis> elements content into <emphasis role="bold"><property><div></property></emphasis> elements, instead of <emphasis role="bold"><property><span></property></emphasis>. To use it, just redefine the <emphasis >
<property>"layout"</property>
</emphasis>
- attribute from <property>"inline"</property>(default) to <property>"block"</property>.</para>
+ attribute from "inline" (default) to "block".</para>
</section>
<section>
<title>Relevant resources links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/support.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/support.xml 2008-06-26 11:06:48 UTC (rev 9235)
+++ trunk/docs/userguide/en/src/main/docbook/included/support.xml 2008-06-26 12:50:56 UTC (rev 9236)
@@ -87,7 +87,7 @@
<programlisting role="XML"><![CDATA[
<input onkeyup="A4J.AJAX.Submit( Some request parameters )"/>
]]></programlisting>
- <para>As you see from the code, the <property>onkeyup</property>
+ <para>As you see from the code, the <emphasis><property>"onkeyup"</property></emphasis>
event calls a utility RichFaces method that submit a form creating a special marks for a filter informing that it is an Ajax request. Thus, any supports quantity could be added to every component, the supports define component behavior on these events. </para>
<note>
<para>The components: <emphasis role="bold"><property><a4j:commandLink></property></emphasis>, <emphasis role="bold"><property><a4j:commandButton></property></emphasis>, <emphasis role="bold">
15 years, 10 months
JBoss Rich Faces SVN: r9235 - in trunk/test-applications/jsp/src/main: webapp/HotKey and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2008-06-26 07:06:48 -0400 (Thu, 26 Jun 2008)
New Revision: 9235
Modified:
trunk/test-applications/jsp/src/main/java/hotKey/HotKey.java
trunk/test-applications/jsp/src/main/webapp/HotKey/HotKey.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/java/hotKey/HotKey.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/hotKey/HotKey.java 2008-06-26 10:05:38 UTC (rev 9234)
+++ trunk/test-applications/jsp/src/main/java/hotKey/HotKey.java 2008-06-26 11:06:48 UTC (rev 9235)
@@ -17,7 +17,7 @@
public class HotKey {
private HtmlHotKey binding = null;
private String bindingInfo = "";
- private String handler = "alert('#{hotKey.key} is pressed')";
+ private String handler = "alert('work')";
private String key = "alt+a";
private String selector = "";
private String timing = "onload";
@@ -48,7 +48,7 @@
* @param handler the handler to set
*/
public void setHandler(String handler) {
- this.handler = handler;
+ this.handler = handler;
}
/**
* @return the key
Modified: trunk/test-applications/jsp/src/main/webapp/HotKey/HotKey.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/HotKey/HotKey.jsp 2008-06-26 10:05:38 UTC (rev 9234)
+++ trunk/test-applications/jsp/src/main/webapp/HotKey/HotKey.jsp 2008-06-26 11:06:48 UTC (rev 9235)
@@ -27,7 +27,6 @@
<h:selectOneMenu value="#{hotKey.timing}" onchange="submit();">
<f:selectItem itemLabel="onload" itemValue="onload"/>
<f:selectItem itemLabel="immediate" itemValue="immediate"/>
- <f:selectItem itemLabel="onregistercall" itemValue="onregistercall"/>
</h:selectOneMenu>
<h:outputText value="selector"></h:outputText>
@@ -41,7 +40,7 @@
<h:outputText value="handler"></h:outputText>
<h:selectOneMenu value="#{hotKey.handler}" onchange="submit();">
<f:selectItem itemValue="$('formID:hotKeySubviewID:hotKeyCalendarID').component.nextYear();" itemLabel="nextYear(Calendar)"/>
- <f:selectItem itemValue="alert('#{hotKey.key} is pressed')" itemLabel="alert(...)"/>
+ <f:selectItem itemValue="alert('work')" itemLabel="alert('work')"/>
</h:selectOneMenu>
<h:outputText value="disableInInput"></h:outputText>
@@ -62,7 +61,27 @@
<h:outputText value="test binding:"></h:outputText>
<h:outputText value="#{hotKey.bindingInfo}"></h:outputText>
- <button onclick="${rich:component('hotKeyID')}.enable(); return false;">turn on</button>
- <button onclick="${rich:component('hotKeyID')}.disable(); return false;">turn off</button><br />
+ <h:commandButton onclick="#{rich:component('hotKeyID')}.enable(); return false;" value="enable"></h:commandButton>
+ <h:commandButton onclick="#{rich:component('hotKeyID')}.disable(); return false;" value="disable"></h:commandButton>
+ </h:panelGrid>
+
+ <rich:hotKey id="jsID" timing="onregistercall"/>
+
+ <h:panelGrid columns="2">
+ <h:commandButton id="jsAddCCID" value="add hotkey: alt+z"></h:commandButton>
+ <h:commandButton id="jsRemoveCCID" value="remove hotkey: alt+z"></h:commandButton>
+ <h:commandLink id="jsAddJSID" onclick="document.getElementById('jsID').component.add({handler:function(){alert('alt+x');}, selector:'#formID\:commandButtonID', key:'alt+x'}); alert('hi'); return false;" value="add js: alt+x"></h:commandLink>
+ <h:commandLink id="jsRemoveJSID" onclick="document.getElementById('jsID').remove(); return false;" value="remove js: alt+x"></h:commandLink>
+ <h:commandButton onclick="#{rich:component('jsID')}.enable(); return false;" value="enable"></h:commandButton>
+ <h:commandButton onclick="#{rich:component('jsID')}.disable(); return false;" value="disable"></h:commandButton>
+
+ <rich:componentControl disableDefault="true" attachTo="jsAddCCID" for="jsID" event="onclick" operation="add">
+ <f:param name="selector" value="#formID\:commandButtonID" />
+ <f:param name="key" value="alt+z" />
+ <f:param name="handler" value="alert('alt+z')" />
+ </rich:componentControl>
+
+ <rich:componentControl disableDefault="true" attachTo="jsRemoveCCID" for="jsID" event="onclick" operation="remove">
+ </rich:componentControl>
</h:panelGrid>
</f:subview>
\ No newline at end of file
15 years, 10 months
JBoss Rich Faces SVN: r9234 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-06-26 06:05:38 -0400 (Thu, 26 Jun 2008)
New Revision: 9234
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-3751
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2008-06-26 09:15:25 UTC (rev 9233)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2008-06-26 10:05:38 UTC (rev 9234)
@@ -150,7 +150,7 @@
current component (along with <i>f:param</i> or <i>a4j:actionparam</i> values if any).
In case of a4j:support, it will be a value of the parent component.
</p>
- <p><b>immediate</b> attribute has the same purpose as any other non-JSF component.
+ <p><b>immediate</b> attribute has the same purpose as any other non-Ajax-JSF component.
The default ActionListener should be executed immediately (i.e. during the Apply Request
Values phase of a request processing lifecycle), rather than waiting until the
Invoke Application phase. Using immediate="true" is one of the ways to have some
15 years, 10 months
JBoss Rich Faces SVN: r9233 - trunk/test-applications/jsp/src/main/java/rich.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2008-06-26 05:15:25 -0400 (Thu, 26 Jun 2008)
New Revision: 9233
Modified:
trunk/test-applications/jsp/src/main/java/rich/RichBean.java
Log:
Modified: trunk/test-applications/jsp/src/main/java/rich/RichBean.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/rich/RichBean.java 2008-06-26 08:26:29 UTC (rev 9232)
+++ trunk/test-applications/jsp/src/main/java/rich/RichBean.java 2008-06-26 09:15:25 UTC (rev 9233)
@@ -16,8 +16,8 @@
import org.richfaces.component.html.HtmlCalendar;
import org.xml.sax.SAXException;
-import util.RichComponent.RichComponent;
-import util.RichComponent.RichHandler;
+//import util.RichComponent.RichComponent;
+//import util.RichComponent.RichHandler;
//import org.richfaces.VersionBean;
15 years, 10 months
JBoss Rich Faces SVN: r9232 - trunk/ui/suggestionbox/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-06-26 04:26:29 -0400 (Thu, 26 Jun 2008)
New Revision: 9232
Modified:
trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml
Log:
http://jira.jboss.com/jira/browse/RF-3749
Modified: trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml
===================================================================
--- trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml 2008-06-25 23:56:08 UTC (rev 9231)
+++ trunk/ui/suggestionbox/src/main/config/component/suggestionbox.xml 2008-06-26 08:26:29 UTC (rev 9232)
@@ -49,8 +49,7 @@
</classname>
</taghandler>
- &ui_component_attributes;
- <!--
+ <!--
<property>
<name>param</name>
<classname>java.lang.String</classname>
@@ -144,12 +143,19 @@
<description>JavaScript code for call before submission of ajax event</description>
</property>
- <property hidden="true">
+ <property hidden="true">
<name>focus</name>
<classname>java.lang.String</classname>
<description></description>
</property>
+ <property hidden="true">
+ <name>converter</name>
+ <classname>javax.faces.convert.Converter</classname>
+ <description>
+ </description>
+ </property>
+
<property>
<name>selectedClass</name>
<classname>java.lang.String</classname>
@@ -323,7 +329,6 @@
space to leave between cells
</description>
</property>
- &ui_output_attributes;
<property>
<name>shadowOpacity</name>
15 years, 10 months
JBoss Rich Faces SVN: r9231 - in trunk/sandbox/samples: glassX and 27 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-06-25 19:56:08 -0400 (Wed, 25 Jun 2008)
New Revision: 9231
Added:
trunk/sandbox/samples/glassX/
trunk/sandbox/samples/glassX/pom.xml
trunk/sandbox/samples/glassX/src/
trunk/sandbox/samples/glassX/src/main/
trunk/sandbox/samples/glassX/src/main/config/
trunk/sandbox/samples/glassX/src/main/config/resources/
trunk/sandbox/samples/glassX/src/main/config/resources/glassX-resources.xml
trunk/sandbox/samples/glassX/src/main/config/resources/resource-config.xml
trunk/sandbox/samples/glassX/src/main/java/
trunk/sandbox/samples/glassX/src/main/java/org/
trunk/sandbox/samples/glassX/src/main/java/org/richfaces/
trunk/sandbox/samples/glassX/src/main/java/org/richfaces/skins/
trunk/sandbox/samples/glassX/src/main/java/org/richfaces/skins/glassx/
trunk/sandbox/samples/glassX/src/main/java/org/richfaces/skins/glassx/images/
trunk/sandbox/samples/glassX/src/main/java/org/richfaces/skins/glassx/images/BaseImage.java
trunk/sandbox/samples/glassX/src/main/resources/
trunk/sandbox/samples/glassX/src/main/resources/META-INF/
trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/
trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/README.txt
trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/glassX.skin.properties
trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/glassX.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/calendar.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/columns.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/combobox.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/component-control.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/context-menu.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/core.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/data-filter-slider.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/data-table.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/datascroller.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/drag-drop.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/dropdown-menu.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/effect.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/file-upload.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/functions.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/gmap.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inplace-input.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inplace-select.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inputnumber-slider.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inputnumber-spinner.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/insert.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/j-query.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/list-shuttle.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/menu-components.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/message.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/modal-panel.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/ordering-list.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/paint2d.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panel.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panelbar.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panelmenu.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/pick-list.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/progress-bar.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/scrollable-data-table.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/separator.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/simple-toggle-panel.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/spacer.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/suggestionbox.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tab-panel.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/toggle-panel.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tool-bar.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tooltip.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree-model.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree-table.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/virtual-earth.xcss
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/images/
trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/images/README.txt
trunk/sandbox/samples/glassX/src/test/
trunk/sandbox/samples/glassX/src/test/java/
trunk/sandbox/samples/glassX/src/test/java/org/
trunk/sandbox/samples/glassX/src/test/java/org/richfaces/
trunk/sandbox/samples/glassX/src/test/java/org/richfaces/skins/
trunk/sandbox/samples/glassX/src/test/java/org/richfaces/skins/glassx/
trunk/sandbox/samples/glassX/src/test/java/org/richfaces/skins/glassx/images/
trunk/sandbox/samples/glassX/src/test/java/org/richfaces/skins/glassx/images/BaseImageTest.java
Modified:
trunk/sandbox/samples/pom.xml
trunk/sandbox/samples/state-sample/
Log:
http://jira.jboss.com/jira/browse/RF-3752
Property changes on: trunk/sandbox/samples/glassX
___________________________________________________________________
Name: svn:ignore
+ target
Added: trunk/sandbox/samples/glassX/pom.xml
===================================================================
--- trunk/sandbox/samples/glassX/pom.xml (rev 0)
+++ trunk/sandbox/samples/glassX/pom.xml 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,49 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>samples</artifactId>
+ <groupId>org.richfaces.sandbox</groupId>
+ <version>3.2.2-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.skins</groupId>
+ <artifactId>glassX</artifactId>
+ <name>glassX</name>
+ <version>3.2.2-SNAPSHOT</version>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.richfaces.cdk</groupId>
+ <artifactId>maven-cdk-plugin</artifactId>
+ <version>3.2.2-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.framework</groupId>
+ <artifactId>richfaces-impl</artifactId>
+ <version>3.2.2-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/config/resources/glassX-resources.xml
===================================================================
--- trunk/sandbox/samples/glassX/src/main/config/resources/glassX-resources.xml (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/config/resources/glassX-resources.xml 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,186 @@
+<?xml version="1.0" encoding="UTF-8"?><resource-config>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/calendar.xcss</name>
+ <path>org/richfaces/skins/glassx/css/calendar.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/columns.xcss</name>
+ <path>org/richfaces/skins/glassx/css/columns.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/combobox.xcss</name>
+ <path>org/richfaces/skins/glassx/css/combobox.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/component-control.xcss</name>
+ <path>org/richfaces/skins/glassx/css/component-control.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/context-menu.xcss</name>
+ <path>org/richfaces/skins/glassx/css/context-menu.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/core.xcss</name>
+ <path>org/richfaces/skins/glassx/css/core.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/data-filter-slider.xcss</name>
+ <path>org/richfaces/skins/glassx/css/data-filter-slider.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/data-table.xcss</name>
+ <path>org/richfaces/skins/glassx/css/data-table.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/datascroller.xcss</name>
+ <path>org/richfaces/skins/glassx/css/datascroller.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/drag-drop.xcss</name>
+ <path>org/richfaces/skins/glassx/css/drag-drop.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/dropdown-menu.xcss</name>
+ <path>org/richfaces/skins/glassx/css/dropdown-menu.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/effect.xcss</name>
+ <path>org/richfaces/skins/glassx/css/effect.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/file-upload.xcss</name>
+ <path>org/richfaces/skins/glassx/css/file-upload.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/functions.xcss</name>
+ <path>org/richfaces/skins/glassx/css/functions.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/gmap.xcss</name>
+ <path>org/richfaces/skins/glassx/css/gmap.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/inplace-input.xcss</name>
+ <path>org/richfaces/skins/glassx/css/inplace-input.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/inplace-select.xcss</name>
+ <path>org/richfaces/skins/glassx/css/inplace-select.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/inputnumber-slider.xcss</name>
+ <path>org/richfaces/skins/glassx/css/inputnumber-slider.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/inputnumber-spinner.xcss</name>
+ <path>org/richfaces/skins/glassx/css/inputnumber-spinner.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/insert.xcss</name>
+ <path>org/richfaces/skins/glassx/css/insert.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/j-query.xcss</name>
+ <path>org/richfaces/skins/glassx/css/j-query.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/list-shuttle.xcss</name>
+ <path>org/richfaces/skins/glassx/css/list-shuttle.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/menu-components.xcss</name>
+ <path>org/richfaces/skins/glassx/css/menu-components.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/message.xcss</name>
+ <path>org/richfaces/skins/glassx/css/message.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/modal-panel.xcss</name>
+ <path>org/richfaces/skins/glassx/css/modal-panel.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/ordering-list.xcss</name>
+ <path>org/richfaces/skins/glassx/css/ordering-list.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/paint2d.xcss</name>
+ <path>org/richfaces/skins/glassx/css/paint2d.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/panel.xcss</name>
+ <path>org/richfaces/skins/glassx/css/panel.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/panelbar.xcss</name>
+ <path>org/richfaces/skins/glassx/css/panelbar.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/panelmenu.xcss</name>
+ <path>org/richfaces/skins/glassx/css/panelmenu.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/pick-list.xcss</name>
+ <path>org/richfaces/skins/glassx/css/pick-list.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/progress-bar.xcss</name>
+ <path>org/richfaces/skins/glassx/css/progress-bar.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/scrollable-data-table.xcss</name>
+ <path>org/richfaces/skins/glassx/css/scrollable-data-table.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/separator.xcss</name>
+ <path>org/richfaces/skins/glassx/css/separator.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/simple-toggle-panel.xcss</name>
+ <path>org/richfaces/skins/glassx/css/simple-toggle-panel.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/spacer.xcss</name>
+ <path>org/richfaces/skins/glassx/css/spacer.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/suggestionbox.xcss</name>
+ <path>org/richfaces/skins/glassx/css/suggestionbox.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/tab-panel.xcss</name>
+ <path>org/richfaces/skins/glassx/css/tab-panel.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/toggle-panel.xcss</name>
+ <path>org/richfaces/skins/glassx/css/toggle-panel.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/tool-bar.xcss</name>
+ <path>org/richfaces/skins/glassx/css/tool-bar.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/tooltip.xcss</name>
+ <path>org/richfaces/skins/glassx/css/tooltip.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/tree-model.xcss</name>
+ <path>org/richfaces/skins/glassx/css/tree-model.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/tree-table.xcss</name>
+ <path>org/richfaces/skins/glassx/css/tree-table.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/tree.xcss</name>
+ <path>org/richfaces/skins/glassx/css/tree.xcss</path>
+ </resource>
+ <resource>
+ <name>org/richfaces/skins/glassx/css/virtual-earth.xcss</name>
+ <path>org/richfaces/skins/glassx/css/virtual-earth.xcss</path>
+ </resource>
+ <resource>
+ <name>META-INF/skins/glassX.xcss</name>
+ <path>META-INF/skins/glassX.xcss</path>
+ </resource>
+</resource-config>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/config/resources/resource-config.xml
===================================================================
--- trunk/sandbox/samples/glassX/src/main/config/resources/resource-config.xml (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/config/resources/resource-config.xml 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<resource-config>
+<!--
+ ===================================
+ Place your custom resources here
+ Describe them as follows
+ ===================================
+ <resource>
+ <name>org/foo/bar/scripts/foo.js</name>
+ <path>org/foo/bar/scripts/foo.js</path>
+ <renderer class="org.ajax4jsf.resource.ScriptRenderer"/>
+ </resource>
+ <resource class="org.foo.renderkit.html.FooImage">
+ <name>org.foo.renderkit.html.FooImage</name>
+ </resource>
+ <resource>
+ <name>org/foo/bar/css/foo.xcss</name>
+ <path>org/foo/bar/css/foo.xcss</path>
+ </resource>
+ ======================================
+ ======================================
+-->
+</resource-config>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/java/org/richfaces/skins/glassx/images/BaseImage.java
===================================================================
--- trunk/sandbox/samples/glassX/src/main/java/org/richfaces/skins/glassx/images/BaseImage.java (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/java/org/richfaces/skins/glassx/images/BaseImage.java 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,28 @@
+package org.richfaces.skins.glassx.images;
+
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+import java.util.Date;
+
+import org.ajax4jsf.resource.InternetResourceBuilder;
+import org.ajax4jsf.resource.Java2Dresource;
+import org.ajax4jsf.resource.PngRenderer;
+import org.ajax4jsf.resource.ResourceContext;
+
+public class BaseImage extends Java2Dresource{
+ public BaseImage() {
+ setRenderer(new PngRenderer());
+ setLastModified(new Date(InternetResourceBuilder.getInstance().getStartTime()));
+ }
+
+ @Override
+ protected void paint(ResourceContext context, Graphics2D graphics2D) {
+ graphics2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
+ graphics2D.setRenderingHint(RenderingHints.KEY_DITHERING, RenderingHints.VALUE_DITHER_ENABLE);
+ graphics2D.setRenderingHint(RenderingHints.KEY_ALPHA_INTERPOLATION, RenderingHints.VALUE_ALPHA_INTERPOLATION_QUALITY);
+ graphics2D.setRenderingHint(RenderingHints.KEY_COLOR_RENDERING, RenderingHints.VALUE_COLOR_RENDER_QUALITY);
+ graphics2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY);
+ //Paint here:)
+
+ }
+}
Added: trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/README.txt
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/README.txt (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/README.txt 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1 @@
+skin definitions will be in this folder
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/glassX.skin.properties
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/glassX.skin.properties (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/glassX.skin.properties 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,14 @@
+baseSkin=blueSky
+gradientType=glass
+generalStyleSheet=resource:///META-INF/skins/glassX.xcss
+
+headerBackgroundColor=#ACBECE
+headerTextColor=#000000
+intShadow=#c0c0c0
+newBorder=#ACBECE
+generalTextColor=#474747
+
+tabHeader=#E4EAEF
+tabGradient=#EDF1F4
+
+tabDisabledTextColor=#7890AB
Added: trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/glassX.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/glassX.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/META-INF/skins/glassX.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <f:importResource src="org/richfaces/skins/glassx/css/calendar.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/columns.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/combobox.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/component-control.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/context-menu.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/core.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/data-filter-slider.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/data-table.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/datascroller.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/drag-drop.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/dropdown-menu.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/effect.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/file-upload.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/functions.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/gmap.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/inplace-input.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/inplace-select.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/inputnumber-slider.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/inputnumber-spinner.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/insert.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/j-query.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/list-shuttle.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/menu-components.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/message.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/modal-panel.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/ordering-list.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/paint2d.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/panel.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/panelbar.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/panelmenu.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/pick-list.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/progress-bar.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/scrollable-data-table.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/separator.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/simple-toggle-panel.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/spacer.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/suggestionbox.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/tab-panel.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/toggle-panel.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/tool-bar.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/tooltip.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/tree-model.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/tree-table.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/tree.xcss" />
+ <f:importResource src="org/richfaces/skins/glassx/css/virtual-earth.xcss" />
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/calendar.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/calendar.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/calendar.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,265 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-calendar">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-exterior">
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-calendar-header-optional">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-calendar-spec">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-header">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-cell">
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-calendar-tool">
+ <u:style name="background-repeat" value="repeat-x" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ <f:attribute name="gradientColor" skin="headerGradientColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-calendar-month">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-calendar-days">
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-calendar-weekends">
+ <u:style name="color" skin="calendarHolidaysTextColor" />
+ </u:selector>
+
+ <u:selector name=".rich-calendar-week">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="20px" />
+ <f:attribute name="baseColor" skin="calendarWeekBackgroundColor" />
+ </f:resource>
+ </u:style>
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+
+ <u:selector name=".rich-calendar-holly">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="20px" />
+ <f:attribute name="baseColor" skin="calendarHolidaysBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-calendar-boundary-dates">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-today">
+ <u:style name="color" skin="generalTextColor" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="20px" />
+ <f:attribute name="baseColor" skin="selectControlColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-calendar-select">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-calendar-hover">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="20px" />
+ <f:attribute name="baseColor" skin="tabDisabledTextColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-calendar-toolfooter">
+ <u:style name="border-color" skin="tableBorderColor" />
+ </u:selector>
+
+ <u:selector name=".rich-calendar-tool-btn">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-tool-btn-hover">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerGradientColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-calendar-tool-btn-press">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-footer-optional">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-footer">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-tool-close">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-button">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-editor-shadow">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-time-layout">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-date-layout">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-editor-container">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-time-layout, .rich-calendar-date-layout, .rich-calendar-time-layout input">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-time-layout-fields">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-time-layout-cancel">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-time-layout-ok">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-date-layout-cancel">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-date-layout-ok">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-date-layout-split">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-time-btn">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-time-btn-press">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-time-input">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-spinner-up">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-spinner-down">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-spinner-pressed">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-spinner-buttons">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-spinner-input">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-spinner-input-container">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-editor-layout-shadow">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-editor-btn">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-editor-btn-over">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-editor-btn-selected">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-editor-tool-over">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-editor-tool-press">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-btn">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-cell-size">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-cell-div">
+ </u:selector>
+
+ <u:selector name=".rich-right-cell">
+ </u:selector>
+
+ <u:selector name=".rich-bottom-cell">
+ </u:selector>
+
+ <u:selector name=".rich-calendar-popup">
+ </u:selector>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/columns.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/columns.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/columns.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <f:verbatim>
+ <![CDATA[
+
+ ]]>
+ </f:verbatim>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/combobox.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/combobox.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/combobox.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-combobox">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-shadow-tl">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-shadow-tr">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-shadow-bl">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-shadow-br">
+ </u:selector>
+
+
+ <u:selector name="input.rich-combobox-button-background">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button-background-disabled">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="17px" />
+ <f:attribute name="baseColor" skin="hanelBorderColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button-background-inactive">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button-pressed-background">
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button-icon">
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button-icon-disabled">
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button-icon-inactive">
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button">
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button-inactive">
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button-disabled">
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-font">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-font">
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-font-disabled">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-font-disabled">
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-font-inactive">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-font-inactive">
+ </u:selector>
+
+
+ <u:selector name=".rich-combobox-input">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-input-disabled">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-input-inactive">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-item">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-item-selected">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-combobox-list-decoration">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name="input.rich-combobox-button-hovered">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-shadow">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-shell">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-strut">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-list-cord">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-list-scroll">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-list-position">
+ </u:selector>
+
+ <u:selector name=".rich-combobox-list-width">
+ </u:selector>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/component-control.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/component-control.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/component-control.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <f:verbatim>
+ <![CDATA[
+
+ ]]>
+ </f:verbatim>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/context-menu.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/context-menu.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/context-menu.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-cm-attached">
+ </u:selector>
+
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/core.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/core.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/core.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+
+ <u:selector name="*|button">
+ <u:style name="font-weight" value="bold" />
+ <u:style name="border-color" skin="panelBorderColor" />
+ <u:style name="font-size" skin="generalSizeFont" />
+ <u:style name="font-family" skin="generalFamilyFont" />
+ <u:style name="color" skin="headerTextColor" />
+ <u:style name="background-color" skin="headerGradientColor" />
+ <u:style name="padding" value="2px 0px 1px 0px " />
+
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name="button[type="button"], button[type="reset"], button[type="submit"],
+ input[type="reset"], input[type="submit"], input[type="button"]">
+ <u:style name="font-weight" value="bold" />
+ <u:style name="border-color" skin="panelBorderColor" />
+ <u:style name="font-size" skin="generalSizeFont" />
+ <u:style name="font-family" skin="generalFamilyFont" />
+ <u:style name="color" skin="headerTextColor" />
+ <u:style name="background-color" skin="headerGradientColor" />
+ <u:style name="padding" value="2px 0px 1px 0px " />
+
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name="*|button[disabled]">
+ <u:style name="font-weight" value="bold" />
+ <u:style name="border-color" skin="panelBorderColor" />
+ <u:style name="font-size" skin="generalSizeFont" />
+ <u:style name="font-family" skin="generalFamilyFont" />
+ <u:style name="background-color" skin="panelBorderColor" />
+ <u:style name="padding" value="2px 0px 1px 0px " />
+ <u:style name="color" skin="tabDisabledTextColor" />
+
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="tabHeader" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name="button[type="button"][disabled], button[type="reset"][disabled], button[type="submit"][disabled],
+ input[type="reset"][disabled], input[type="submit"][disabled], input[type="button"][disabled]">
+ <u:style name="font-weight" value="bold" />
+ <u:style name="border-color" skin="panelBorderColor" />
+ <u:style name="font-size" skin="generalSizeFont" />
+ <u:style name="font-family" skin="generalFamilyFont" />
+ <u:style name="background-color" skin="panelBorderColor" />
+ <u:style name="padding" value="2px 0px 1px 0px " />
+ <u:style name="color" skin="tabDisabledTextColor" />
+
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="tabHeader" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+
+
+ <u:selector name=".rich-input" >
+ </u:selector>
+
+ <u:selector name=".rich-select" >
+ </u:selector>
+
+ <u:selector name=".rich-textarea" >
+ </u:selector>
+
+ <u:selector name=".rich-button" >
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-button-disabled" >
+ </u:selector>
+
+ <u:selector name=".rich-button-over" >
+ </u:selector>
+
+ <u:selector name=".rich-button-press" >
+ </u:selector>
+
+ <u:selector name=".rich-keygen" >
+ </u:selector>
+
+ <u:selector name=".rich-isindex" >
+ </u:selector>
+
+ <u:selector name=".rich-legend" >
+ </u:selector>
+
+ <u:selector name=".rich-link" >
+ </u:selector>
+
+ <u:selector name=".rich-fieldset" >
+ </u:selector>
+
+ <u:selector name=".rich-field" >
+ </u:selector>
+
+ <u:selector name=".rich-field-edit" >
+ </u:selector>
+
+ <u:selector name=".rich-field-error" >
+ </u:selector>
+
+ <u:selector name=".rich-form" >
+ </u:selector>
+
+ <u:selector name=".rich-hr" >
+ </u:selector>
+
+ <u:selector name=".rich-link" >
+ </u:selector>
+
+ <u:selector name=".rich-link:hover" >
+ </u:selector>
+
+ <u:selector name=".rich-link:visited" >
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/data-filter-slider.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/data-filter-slider.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/data-filter-slider.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-dataFilterSlider-range">
+ <u:style name="border" value="0px" />
+ </u:selector>
+
+ <u:selector name=".rich-dataFilterSlider-trailer">
+ <u:style name="border" value="0px" />
+ </u:selector>
+
+ <u:selector name=".rich-dataFilterSlider-input-field">
+ </u:selector>
+
+ <u:selector name=".rich-dataFilterSlider-track">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="12px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-dataFilterSlider-range-decor">
+ <u:style name="border" value="0px" />
+ </u:selector>
+
+ <u:selector name=".rich-dataFilterSlider-container">
+ </u:selector>
+
+ <u:selector name=".rich-dataFilterSlider-handle">
+ </u:selector>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/data-table.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/data-table.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/data-table.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-sort-asc" >
+ </u:selector>
+
+ <u:selector name=".rich-sort-desc" >
+ </u:selector>
+
+ <u:selector name=".rich-deflist" >
+ </u:selector>
+
+ <u:selector name=".rich-table" >
+ </u:selector>
+
+ <u:selector name=".rich-datalist" >
+ </u:selector>
+
+ <u:selector name=".rich-list-item" >
+ </u:selector>
+
+ <u:selector name=".rich-orderedlist" >
+ </u:selector>
+
+ <u:selector name=".rich-definition-term" >
+ </u:selector>
+
+ <u:selector name=".rich-definition" >
+ </u:selector>
+
+ <u:selector name=".rich-table-header" >
+ <u:style name="background-position" value="0% 0%" />
+ <u:style name="padding" value="6px " />
+ <u:style name="background-image" value="none" />
+ <u:style name="background-color" skin="tabHeader" />
+ </u:selector>
+
+ <u:selector name=".rich-table-header-continue" >
+ <u:style name="background-position" value="0% 100%" />
+ <u:style name="padding" value="6px " />
+ <u:style name="background-image" value="none" />
+ <u:style name="background-color" skin="tabHeader" />
+ </u:selector>
+
+ <u:selector name=".rich-table-headercell" >
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-table-subheader" >
+ <u:style name="background-color" skin="tabGradient" />
+ </u:selector>
+
+ <u:selector name=".rich-table-subheadercell" >
+ </u:selector>
+
+ <u:selector name=".rich-table-footer" >
+ </u:selector>
+
+ <u:selector name=".rich-table-footer-continue" >
+ </u:selector>
+
+ <u:selector name=".rich-table-footercell" >
+ </u:selector>
+
+ <u:selector name=".rich-table-subfooter" >
+ </u:selector>
+
+ <u:selector name=".rich-sort-desc" >
+ </u:selector>
+
+ <u:selector name=".rich-sort-desc" >
+ </u:selector>
+
+ <u:selector name=".rich-sort-desc" >
+ </u:selector>
+
+ <u:selector name=".rich-sort-desc" >
+ </u:selector>
+
+
+ rich-table-subfootercell
+ rich-table-row
+ rich-table-firstrow
+ rich-table-cell
+ rich-table-caption
+
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/datascroller.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/datascroller.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/datascroller.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-datascr">
+ </u:selector>
+
+ <u:selector name=".rich-dtascroller-table">
+ <u:style name="border-color" skin="tableBorderColor" />
+ <u:style name="background-color" skin="generalBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-datascr-button">
+ <u:style name="border-color" skin="panelBorderColor" />
+ <u:style name="color" skin="headerTextColor" />
+ <u:style name="vertical-align" value="middle" />
+ <u:style name="font-size" value="150%" />
+ <u:style name="line-height" value="50%" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="22px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-datascr-button-dsbld">
+ <u:style name="border-color" skin="tableBorderColor" />
+ <u:style name="color" skin="panelBorderColor" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="22px" />
+ <f:attribute name="baseColor" skin="headerGradientColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-datascr-ctrls-separator">
+ </u:selector>
+
+ <u:selector name=".rich-datascr-act">
+ </u:selector>
+
+ <u:selector name=".rich-datascr-inact">
+ <u:style name="color" skin="headerBackgroundColor" />
+ </u:selector>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/drag-drop.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/drag-drop.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/drag-drop.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-dragindicator-iframe">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/dropdown-menu.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/dropdown-menu.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/dropdown-menu.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-ddmenu-label">
+ </u:selector>
+
+ <u:selector name=".rich-label-text-decor">
+ </u:selector>
+
+ <u:selector name=".rich-ddmenu-label-disabled">
+ </u:selector>
+
+ <u:selector name=".rich-ddmenu-label-unselect">
+ </u:selector>
+
+ <u:selector name=".rich-menu-list-border">
+ <u:style name="background-color" skin="generalBackgroundColor" />
+ <u:style name="filter" value="alpha(opacity=90)" />
+ <u:style name="opacity" value="0.9" />
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/effect.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/effect.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/effect.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <f:verbatim>
+ <![CDATA[
+
+ ]]>
+ </f:verbatim>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/file-upload.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/file-upload.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/file-upload.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <u:selector name=".rich-fileupload-font">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-table-td">
+ <u:style name="border-bottom-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-list-decor">
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-anc">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-toolbar-decor">
+ <u:style name="background-color" skin="generalBackgroundColor" />
+ <u:style name="border-bottom-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-button-border">
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+
+ <u:selector name=".rich-fileupload-button-dis">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-enrty-dis">
+ </u:selector>
+
+ <u:selector name="a.rich-fileupload-button-selection">
+ <u:style name="font-weight" value="bold" />
+ <u:style name="color" skin="headerTextColor" />
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-button">
+ <u:style name="font-weight" value="bold" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="color" skin="headerTextColor" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+
+ <u:selector name=".rich-fileupload-button-light">
+ <u:style name="font-weight" value="bold" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="color" skin="headerTextColor" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+
+ <u:selector name=".rich-fileupload-button-press">
+ <u:style name="font-weight" value="bold" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="color" skin="headerTextColor" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-ico-add">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-ico-add-dis">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-ico-start">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-ico-start-dis">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-ico-stop">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-ico-clear">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-ico-clear-dis">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-hidden">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-ico">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-name-padding">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-button-content">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-scroll">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-del">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-name">
+ </u:selector>
+
+ <u:selector name=".rich-fileupload-list-overflow">
+ <u:style name="background-color" skin="generalBackgroundColor" />
+ </u:selector>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/functions.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/functions.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/functions.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <f:verbatim>
+ <![CDATA[
+
+ ]]>
+ </f:verbatim>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/gmap.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/gmap.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/gmap.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <u:selector name=".rich-gmap">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inplace-input.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inplace-input.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inplace-input.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-inplace">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-control">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-control-press">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-shadow-tl">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-shadow-tr">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-shadow-bl">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-shadow-br">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-view">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-changed">
+ </u:selector>
+
+ <u:selector name="input.rich-inplace-field">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-shadow-size">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-shadow">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-input-controls-press">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-input-controls-set">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-input-strut">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-input-changed-hover">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-input-view-hover">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-edit">
+ </u:selector>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inplace-select.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inplace-select.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inplace-select.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-inplace-select">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-changed">
+ </u:selector>
+
+ <u:selector name=".insel_arrow">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-view">
+ </u:selector>
+
+ <u:selector name="input.rich-inplace-select-field">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-field">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-control">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-control-press">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-list-decoration">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-shadow-tl">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-shadow-tr">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-shadow-bl">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-shadow-br">
+ </u:selector>
+
+ <u:selector name="input.rich-inplace-select-arrow">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-font">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-item">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-width-list">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-list-position">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-list-scroll">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-list_cord">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-shadow-size">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-list-shadow">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-shadow">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-control-set">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-strut">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-edit">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-changed-hover">
+ </u:selector>
+
+ <u:selector name=".rich-inplace-select-selected-item">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="color" skin="headerTextColor" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inputnumber-slider.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inputnumber-slider.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inputnumber-slider.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+
+
+ <u:selector name=".dr-insldr-track-decor-1">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".dr-insldr-track-decor-2">
+ </u:selector>
+
+ <u:selector name=".rich-slider">
+ </u:selector>
+
+ <u:selector name=".rich-inslider-handler">
+ </u:selector>
+
+ <u:selector name=".rich-inslider-track">
+ <u:style name="background-position" value="0% 0%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="top" />
+ <f:attribute name="gradientHeight" value="6px" />
+ <f:attribute name="gradientType" value="plain" />
+ <f:attribute name="baseColor" skin="generalBackgroundColor" />
+ <f:attribute name="gradientColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-inslider-tip">
+ </u:selector>
+
+ <u:selector name=".rich-inslider-right-num">
+ </u:selector>
+
+ <u:selector name=".rich-inslider-left-num">
+ </u:selector>
+
+ <u:selector name=".rich-inslider-field">
+ </u:selector>
+
+ <u:selector name=".rich-inslider-handler-selected">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inputnumber-spinner.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inputnumber-spinner.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/inputnumber-spinner.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-spinner">
+ </u:selector>
+
+ <u:selector name=".rich-spinner-c">
+ </u:selector>
+
+ <u:selector name=".rich-spinner-buttons">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ <u:style name="border-style" value="outset" />
+ </u:selector>
+
+ <u:selector name=".rich-spinner-button">
+ </u:selector>
+
+ <u:selector name=".rich-spinner-input">
+ </u:selector>
+
+ <u:selector name=".rich-spinner-input-container">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/insert.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/insert.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/insert.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <f:verbatim>
+ <![CDATA[
+
+ ]]>
+ </f:verbatim>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/j-query.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/j-query.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/j-query.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <f:verbatim>
+ <![CDATA[
+
+ ]]>
+ </f:verbatim>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/list-shuttle.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/list-shuttle.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/list-shuttle.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,141 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+<u:selector name=".rich-shuttle-list">
+</u:selector>
+
+ <u:selector name=".rich-shuttle-source-cell, .rich-shuttle-target-cell, .rich-shuttle-source-cell *, .rich-shuttle-target-cell *">
+ </u:selector>
+
+ <u:selector name=".rich-list-shuttle">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-header-tab-cell, .rich-shuttle-header-tab-cell-last">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-header-tab-cell-last">
+ </u:selector>
+
+ <u:selector name=".rich-list-shuttle-button">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-list-shuttle-button-disabled">
+ <u:style name="color" skin="tabDisabledTextColor" />
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="tabHeader" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-list-shuttle-button-light">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-list-shuttle-button-press">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-cell-last, .rich-shuttle-target-cell-last">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-items, .rich-shuttle-target-items">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-cell-selected, .rich-shuttle-target-cell-selected, .rich-shuttle-source-cell-selected *, .rich-shuttle-target-cell-selected *">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-cell-active, .rich-shuttle-target-cell-active, .rich-shuttle-source-cell-active *, .rich-shuttle-target-cell-active *">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-cell-active, .rich-shuttle-target-cell-active" >
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-control-disabled, .rich-shuttle-control-top, .rich-shuttle-control-bottom, .rich-shuttle-control-up, .rich-shuttle-control-down, .rich-shuttle-control-copyall, .rich-shuttle-control-copy, .rich-shuttle-control-remove, .rich-shuttle-control-removeall">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-list-shuttle-button-content img">
+ <u:style name="margin-right" value="4px" />
+ </u:selector>
+
+ <u:selector name=".rich-list-shuttle-button-content">
+ </u:selector>
+
+ <u:selector name=".rich-list-shuttle-button-selection, .rich-list-shuttle-button-selection:hover">
+ <u:style name="color" skin="headerTextColor" />
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-caption, .rich-shuttle-target-caption">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-row-selected, .rich-shuttle-target-row-selected">
+ <u:style name="background-color" skin="headerBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-target-cell">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-cell">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-target-row-active">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-row-active">
+ </u:selector>
+
+ <u:selector name=".rich-list-shuttle-caption">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-internal-tab">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-list-header">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-list-content">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-controls">
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-body">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/menu-components.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/menu-components.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/menu-components.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-menu-item">
+ </u:selector>
+
+ <u:selector name=".rich-menu-item-hover">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="20px" />
+ <f:attribute name="baseColor" skin="tipBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-menu-item-icon">
+ </u:selector>
+
+ <u:selector name=".rich-menu-separator">
+ </u:selector>
+
+ <u:selector name=".rich-menu-item-enabled">
+ </u:selector>
+
+ <u:selector name=".rich-menu-item-icon-selected">
+ </u:selector>
+
+ <u:selector name=".rich-menu-item-label-selected">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/message.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/message.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/message.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-messages">
+ </u:selector>
+
+ <u:selector name=".rich-messages-marker">
+ </u:selector>
+
+ <u:selector name=".rich-messages-label">
+ </u:selector>
+
+ <u:selector name=".rich-messages-header">
+ </u:selector>
+
+ <u:selector name=".rich-message">
+ </u:selector>
+
+ <u:selector name=".rich-message-marker">
+ </u:selector>
+
+ <u:selector name=".rich-message-label">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/modal-panel.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/modal-panel.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/modal-panel.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <u:selector name=".rich-modalpanel">
+ </u:selector>
+
+ <u:selector name=".rich-mpnl-controls">
+ <u:style name="top" value="4px" />
+ <u:style name="right" value="4px" />
+ </u:selector>
+
+ <u:selector name=".rich-mpnl-mask-div">
+ </u:selector>
+
+ <u:selector name=".rich-mpnl_panel">
+ </u:selector>
+
+ <u:selector name=".rich-mpnl-resizer">
+ </u:selector>
+
+ <u:selector name=".rich-mpnl-shadow">
+ </u:selector>
+
+ <u:selector name=".rich-mp-content">
+ <u:style name="padding" value="0px" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-mpnl-text">
+ </u:selector>
+
+ <u:selector name=".rich-mpnl-header-cell">
+ </u:selector>
+
+ <u:selector name=".rich-mpnl-header">
+ <u:style name="color" skin="headerTextColor" />
+ <u:style name="border-top" value="0px" />
+ <u:style name="border-right" value="0px" />
+ <u:style name="border-left" value="0px" />
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="filter" value="alpha(opacity=90)" />
+ <u:style name="opacity" value="0.9" />
+ <u:style name="background-position" value="0% 50%" />
+
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ <f:attribute name="gradientColor" skin="headerGradientColor" />
+ </f:resource>
+ </u:style>
+
+ <u:style name="padding" value="6px 6px 6px 14px" />
+ </u:selector>
+
+ <u:selector name=".rich-mpnl-body">
+ <u:style name="background-color" skin="generalBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-mpnl-mask-div">
+ </u:selector>
+ <u:selector name=".rich-laguna-mpnl-no-header">
+ <u:style name="background-image" value="none"/>
+ </u:selector>
+</f:template>
+
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/ordering-list.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/ordering-list.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/ordering-list.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-ordering-list-button">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-button-disabled">
+ <u:style name="color" skin="tabDisabledTextColor" />
+ <u:style name="color" skin="newBorder" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="tabHeader" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-button-light">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-button-press">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-table-header-cell, .rich-ordering-list-table-header-cell-last">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-table-header-cell-last">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-output">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-cell, .rich-ordering-list-cell *">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-cell-selected, .rich-ordering-list-cell-selected *">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-cell-active *">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-cell-active">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-control-disabled">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-button-content">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-button-selection, a:hover.rich-ordering-list-button-selection ">
+ <u:style name="color" skin="headerTextColor" />
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-caption">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-row-active">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-row-selected">
+ <u:style name="background-color" skin="headerBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-ordering-control-top">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-ordering-control-bottom">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-ordering-control-up">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-ordering-control-down">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-button-valign">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-body">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-content">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-header">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-items">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-active">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-disabled">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-row-active">
+ </u:selector>
+
+ <u:selector name=".rich-ordering-list-ds">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/paint2d.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/paint2d.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/paint2d.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-paint2D">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panel.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panel.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panel.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-panel">
+ <u:style name="padding" value="0px" />
+ <u:style name="margin-bottom" value="5px" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-panel-header">
+ <u:style name="color" skin="headerTextColor" />
+ <u:style name="border-top" value="0px" />
+ <u:style name="border-right" value="0px" />
+ <u:style name="border-left" value="0px" />
+ <u:style name="border-color" skin="newBorder" />
+
+ <u:style name="background-position" value="0% 50%" />
+
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="17px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ <f:attribute name="gradientColor" skin="headerGradientColor" />
+ </f:resource>
+ </u:style>
+
+ <u:style name="padding" value="6px 6px 6px 14px" />
+ </u:selector>
+
+ <u:selector name=".rich-panel-body">
+ <u:style name="padding" value="10px 10px 10px 14px" />
+ </u:selector>
+
+
+ <u:selector name=".rich-laguna-panel-no-header">
+ <u:style name="background-image" value="none"/>
+ </u:selector>
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panelbar.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panelbar.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panelbar.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-panelbar">
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="padding" value="0px" />
+ </u:selector>
+
+ <u:selector name=".rich-panelbar-header">
+ <u:style name="padding" value="6px 6px 6px 14px" />
+ <u:style name="background-image" value="none" />
+ <u:style name="border-top" value="1px solid" />
+ <u:style name="border-bottom" value="1px solid" />
+ <u:style name="border-color" skin="generalBackgroundColor" />
+ <u:style name="background-color" skin="tabHeader" />
+ </u:selector>
+
+ <u:selector name=".rich-panelbar-header-act">
+ <u:style name="padding" value="6px 6px 6px 14px" />
+ <u:style name="border-top" value="1px solid" />
+ <u:style name="border-bottom" value="1px solid" />
+ <u:style name="border-color" skin="generalBackgroundColor" />
+ <u:style name="background-image" value="none" />
+ <u:style name="background-color" skin="tabHeader" />
+</u:selector>
+
+ <u:selector name=".rich-panelbar-content">
+ <u:style name="padding" value="10px 4px 4px 14px" />
+ </u:selector>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panelmenu.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panelmenu.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/panelmenu.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-pmenu">
+ </u:selector>
+
+ <u:selector name=".dr-pmenu-top-group-div">
+ <u:style name="padding" value="0px" />
+ <u:style name="margin-bottom" value="0px" />
+ <u:style name="border-color" skin="generalBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-group">
+ <u:style name="border-color" skin="generalBackgroundColor" />
+ </u:selector>
+
+
+ <u:selector name=".rich-pmenu-top-group">
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="padding" value="6px 2px 6px 2px " />
+
+ <u:style name="background-image" value="none" />
+ <u:style name="background-color" skin="tabHeader" />
+ </u:selector>
+
+
+
+
+ <u:selector name=".rich-pmenu-item">
+ <u:style name="margin" value="0px" />
+ <u:style name="border-color" skin="generalBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-selected-element">
+ <u:style name="background-color" skin="headerBackgroundColor" />
+ <u:style name="border-color" skin="generalBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-hovered-element">
+ <u:style name="background-color" skin="headerBackgroundColor" />
+ <u:style name="border-color" skin="generalBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-group-self-label">
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-top-group-self-label">
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-group-self-label">
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-group-self-icon">
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-top-group-self-icon">
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-top-item">
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-item-label">
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-top-item-label">
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-item-icon">
+ </u:selector>
+
+ <u:selector name=".rich-pmenu-top-item-icon">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/pick-list.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/pick-list.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/pick-list.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f='http:/jsf.exadel.com/template'
+ xmlns:u='http:/jsf.exadel.com/template/util'
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-picklist-list">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-source-cell.rich-picklist-target-cell, .rich-picklist-source-cell *, .rich-picklist-target-cell *">
+ </u:selector>
+
+
+ <u:selector name=".rich-list-picklist">
+ </u:selector>
+
+ <u:selector name=".rich-list-picklist-button">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-list-picklist-button-disabled">
+ <u:style name="color" skin="tabDisabledTextColor" />
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="tabHeader" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-list-picklist-button-light">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-list-picklist-button-press">
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-picklist-source-cell-last, .rich-picklist-target-cell-last">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-source-items, .rich-picklist-target-items">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-source-cell-selected, .rich-picklist-target-cell-selected, .rich-picklist-source-cell-selected *, .rich-picklist-target-cell-selected *">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-source-cell-active, .rich-picklist-target-cell-active, .rich-picklist-source-cell-active *, .rich-picklist-target-cell-active *">
+ </u:selector>
+ <u:selector name=".rich-picklist-source-cell-active, .rich-picklist-target-cell-active" >
+ </u:selector>
+
+ <u:selector name=".rich-picklist-control-disabled, .rich-picklist-control-top, .rich-picklist-control-bottom, .rich-picklist-control-up, .rich-picklist-control-down, .rich-picklist-control-copyall, .rich-picklist-control-copy, .rich-picklist-control-remove, .rich-picklist-control-removeall">
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-list-picklist-button-content">
+ </u:selector>
+
+ <u:selector name=".rich-list-picklist-button-content img">
+ <u:style name="margin-right" value="4px" />
+ </u:selector>
+
+ <u:selector name=".rich-list-picklist-button-selection, .rich-list-picklist-button-selection:hover">
+ <u:style name="color" skin="headerTextColor" />
+ </u:selector>
+
+ <u:selector name="a.rich-list-picklist-button-a-disabled a">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-source-row-selected">
+ <u:style name="background-color" skin="headerBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-picklist-controls">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-list-content">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-internal-tab">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-source-row-active">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-target-row-active">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-source-cell">
+ </u:selector>
+
+ <u:selector name=".rich-picklist-target-cell">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/progress-bar.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/progress-bar.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/progress-bar.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <u:selector name=".rich-progress-bar-uploaded">
+ </u:selector>
+
+ <u:selector name=".rich-progress-bar-shell">
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-progress-bar-uploaded-dig">
+ </u:selector>
+
+ <u:selector name=".rich-progress-bar-shell-dig">
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-progress-bar-remained">
+ </u:selector>
+
+ <u:selector name=".rich-progress-bar-completed">
+ </u:selector>
+
+ <u:selector name=".rich-progress-bar-height-dig">
+ </u:selector>
+
+ <u:selector name=".rich-progress-bar-width">
+ </u:selector>
+
+ <u:selector name=".rich-progress-bar-block">
+ </u:selector>
+
+ <u:selector name=".rich-progress-bar-padding">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/scrollable-data-table.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/scrollable-data-table.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/scrollable-data-table.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-sdt" >
+ </u:selector>
+
+ <u:selector name=".rich-std-footer-row" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-footer-cell" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-column-cell" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-row" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-row-selected" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-row-active" >
+ </u:selector>
+
+ <u:selector name=".rich-std-header-row" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-header-cell" >
+ <u:style name="padding-top" value="5px" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-sdt-header-sort-up" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-header-sort-down" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-footer-sort-up" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-footer-sort-down" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-column-sort-up" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-column-sort-down" >
+ </u:selector>
+
+ <u:selector name=".rich-sdt-fake-r" >
+ </u:selector>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/separator.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/separator.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/separator.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-separator" >
+ <u:style name="background-position" value="0% 50%" />
+
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="22px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/simple-toggle-panel.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/simple-toggle-panel.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/simple-toggle-panel.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-stglpanel" >
+ <u:style name="padding" value="0px" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-stglpanel-header" >
+ <u:style name="padding" value="6px 6px 6px 14px" />
+ <u:style name="border" value="0px" />
+ <u:style name="white-space" value="nowrap" />
+ <u:style name="background-position" value="0% 50%" />
+
+
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="18px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-stglpanel-marker" >
+ <u:style name="float" value="right" />
+ </u:selector>
+
+ <u:selector name=".rich-stglpanel-body" >
+ <u:style name="padding" value="10px 10px 10px 14px" />
+ <u:style name="border-top" value="1px solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/spacer.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/spacer.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/spacer.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-spacer" >
+ </u:selector>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/suggestionbox.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/suggestionbox.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/suggestionbox.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml" >
+
+ <u:selector name=".rich-sb-ext-decor-1" >
+ </u:selector>
+
+ <u:selector name=".rich-sb-common-container" >
+ </u:selector>
+
+ <u:selector name=".rich-sb-ext-decor-2" >
+ <u:style name="border-width" value="1px" />
+ <u:style name="border-style" value="solid" />
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+ <u:selector name=".rich-sb-ext-decor-3" >
+ <u:style name="background" skin="generalBackgroundColor" />
+ </u:selector>
+
+ <u:selector name=".rich-sb-overflow" >
+ </u:selector>
+
+ <u:selector name=".rich-sb-shadow" >
+ </u:selector>
+
+ <u:selector name=".rich-sb-int" >
+ </u:selector>
+
+ <u:selector name=".rich-sb-int-sel" >
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="36px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-sb-int-decor-table" >
+ </u:selector>
+
+ <u:selector name=".rich-sb-cell-padding" >
+ </u:selector>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tab-panel.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tab-panel.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tab-panel.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <u:selector name=".rich-tabpanel">
+ </u:selector>
+
+
+
+ <u:selector name=".rich-tab-bottom-line">
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="border-width" value="0px" />
+ </u:selector>
+
+ <u:selector name=".rich-tab-label">
+ </u:selector>
+
+ <u:selector name=".rich-tab-active">
+ <u:style name="color" skin="generalTextColor" />
+ <u:style name="background-position" value="0% 0%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="top" />
+ <f:attribute name="gradientType" value="plain" />
+ <f:attribute name="gradientHeight" value="11px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ <f:attribute name="gradientColor" skin="tabGradient" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-tab-inactive">
+ <u:style name="background-position" value="0% 0%" />
+ <u:style name="color" skin="generalTextColor" />
+ <u:style name="background-color" skin="generalBackgroundColor" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="top" />
+ <f:attribute name="gradientType" value="plain" />
+ <f:attribute name="gradientHeight" value="11px" />
+ <f:attribute name="baseColor" skin="tabGradient" />
+ <f:attribute name="gradientColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-tab-disabled">
+ <u:style name="color" skin="tabDisabledTextColor" />
+ <u:style name="background-position" value="0% 0%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="top" />
+ <f:attribute name="gradientType" value="plain" />
+ <f:attribute name="gradientHeight" value="11px" />
+ <f:attribute name="baseColor" skin="tabGradient" />
+ <f:attribute name="gradientColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-tabpanel-content">
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="border-top" value="2px solid #ACBECE" />
+ </u:selector>
+
+ <u:selector name=".rich-tabpanel-content-position">
+ </u:selector>
+
+ <u:selector name=".rich-tabhdr-side-border">
+ <u:style name="background-color" skin="newBorder" />
+ <u:style name="background-image" value="none" />
+ </u:selector>
+
+ <u:selector name=".rich-tabhdr-side-cell">
+ <u:style name="border-color" skin="newBorder" />
+ </u:selector>
+
+
+
+
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/toggle-panel.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/toggle-panel.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/toggle-panel.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <u:selector name=".rich-toggle-panel">
+ </u:selector>
+
+ <u:selector name=".rich-tglctrl">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tool-bar.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tool-bar.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tool-bar.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <u:selector name=".rich-toolbar">
+ <u:style name="padding" value="0px 5px 0px 5px" />
+ <u:style name="height" value="0px" />
+ <u:style name="border-color" skin="newBorder" />
+ <u:style name="background-position" value="0% 50%" />
+
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="22px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ <f:attribute name="gradientColor" skin="headerGradientColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-toolbar-item">
+ <u:style name="padding" value="5px 5px 5px 5px" />
+ </u:selector>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tooltip.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tooltip.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tooltip.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+
+ <u:selector name=".rich-tool-tip">
+ </u:selector>
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree-model.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree-model.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree-model.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <f:verbatim>
+ <![CDATA[
+
+ ]]>
+ </f:verbatim>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree-table.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree-table.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree-table.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <f:verbatim>
+ <![CDATA[
+
+ ]]>
+ </f:verbatim>
+
+</f:template>
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/tree.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <u:selector name=".rich-tree">
+ <u:style name="border-width" value="0px" />
+ <u:style name="border-style" value="dashed" />
+ <u:style name="border-color" skin="panelBorderColor" />
+ </u:selector>
+
+ <u:selector name=".rich-tree-node">
+ </u:selector>
+
+ <u:selector name=".rich-tree-node-selected">
+ <u:style name="border-color" skin="panelBorderColor" />
+ <u:style name="background-position" value="0% 50%" />
+ <u:style name="background-image">
+ <f:resource f:key="org.richfaces.renderkit.html.CustomizeableGradient">
+ <f:attribute name="valign" value="middle" />
+
+ <f:attribute name="gradientHeight" value="20px" />
+ <f:attribute name="baseColor" skin="headerGradientColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-tree-node-highlighted">
+ <u:style name="color" skin="generalTextColor" />
+ </u:selector>
+
+ <u:selector name=".rich-tree-node-icon">
+ </u:selector>
+
+ <u:selector name=".rich-tree-node-handleicon">
+ </u:selector>
+
+ <u:selector name=".rich-tree-node-handleicon-collapsed">
+ </u:selector>
+
+ <u:selector name=".rich-tree-node-handleicon-expanded">
+ </u:selector>
+
+ <u:selector name=".rich-tree-node-text">
+ </u:selector>
+
+ <u:selector name=".rich-tree-node-children">
+ </u:selector>
+
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/virtual-earth.xcss
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/virtual-earth.xcss (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/css/virtual-earth.xcss 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:template
+ xmlns:f="http://jsf.exadel.com/template"
+ xmlns:u="http://jsf.exadel.com/template/util"
+ xmlns="http://www.w3.org/1999/xhtml">
+
+ <u:selector name=".rich-virtualEarth">
+ </u:selector>
+</f:template>
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/images/README.txt
===================================================================
--- trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/images/README.txt (rev 0)
+++ trunk/sandbox/samples/glassX/src/main/resources/org/richfaces/skins/glassx/images/README.txt 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1 @@
+Place image files here
\ No newline at end of file
Added: trunk/sandbox/samples/glassX/src/test/java/org/richfaces/skins/glassx/images/BaseImageTest.java
===================================================================
--- trunk/sandbox/samples/glassX/src/test/java/org/richfaces/skins/glassx/images/BaseImageTest.java (rev 0)
+++ trunk/sandbox/samples/glassX/src/test/java/org/richfaces/skins/glassx/images/BaseImageTest.java 2008-06-25 23:56:08 UTC (rev 9231)
@@ -0,0 +1,19 @@
+package org.richfaces.skins.glassx.images;
+
+import junit.framework.TestCase;
+
+public class BaseImageTest extends TestCase {
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public void testPaint() throws Exception {
+ //TODO: Write test here
+ }
+
+}
Modified: trunk/sandbox/samples/pom.xml
===================================================================
--- trunk/sandbox/samples/pom.xml 2008-06-25 17:31:41 UTC (rev 9230)
+++ trunk/sandbox/samples/pom.xml 2008-06-25 23:56:08 UTC (rev 9231)
@@ -18,5 +18,6 @@
<!--module>contextMenuDemo</module-->
<module>fileUploadPOC</module>
<module>darkX</module>
+ <module>glassX</module>
</modules>
</project>
\ No newline at end of file
Property changes on: trunk/sandbox/samples/state-sample
___________________________________________________________________
Name: svn:ignore
+ .classpath
.project
.settings
target
15 years, 10 months