JBoss Rich Faces SVN: r8536 - trunk/test-applications/jsp/src/main/webapp/FileUpload.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-05-13 03:02:06 -0400 (Tue, 13 May 2008)
New Revision: 8536
Modified:
trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
Log:
addControlLabel="addControl"
clearAllControlLabel="clearAllControl"
cancelEntryControlLabel="cancelEntryControl"
clearControlLabel="clearControl"
doneLabel="done"
progressLabel="progress"
sizeErrorLabel="sizeError"
stopControlLabel="stopControl"
stopEntryControlLabel="stopEntryControl"
transferErrorLabel="transferError"
uploadControlLabel="uploadControl"
Modified: trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-05-13 06:21:19 UTC (rev 8535)
+++ trunk/test-applications/jsp/src/main/webapp/FileUpload/FileUpload.jsp 2008-05-13 07:02:06 UTC (rev 8536)
@@ -11,7 +11,7 @@
disabled="#{fileUpload.disabled}"
autoclear="#{fileUpload.autoclear}"
required="#{fileUpload.required}"
- requiredMessage="#{fileUpload.requiredMessage}"
+ requiredMessage="#{item.fileName}"
rendered="#{fileUpload.rendered}"
listHeight="#{fileUpload.listHeight}"
listWidth="#{fileUpload.listWidth}"
@@ -57,7 +57,18 @@
immediateUpload="#{fileUpload.immediateUpload}"
locale="ru"
noDuplicate="#{fileUpload.noDuplicate}"
- tabindex="222">
+ tabindex="222"
+ addControlLabel="addControl"
+ clearAllControlLabel="clearAllControl"
+ cancelEntryControlLabel="cancelEntryControl"
+ clearControlLabel="clearControl"
+ doneLabel="done"
+ progressLabel="progress"
+ sizeErrorLabel="sizeError"
+ stopControlLabel="stopControl"
+ stopEntryControlLabel="stopEntryControl"
+ transferErrorLabel="transferError"
+ uploadControlLabel="uploadControl">
<f:facet name="label">
<h:outputText value="{_KB}KB from {KB}KB uploaded :[ {mm}:{ss} ]"></h:outputText>
</f:facet>
@@ -129,5 +140,6 @@
<h:outputText value="Uploaded data:"></h:outputText>
<h:outputText value="#{fileUpload.changedLabel}"></h:outputText>
+
</h:panelGrid>
</f:subview>
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8535 - in trunk/test-applications/seleniumTest/src: main/webapp/WEB-INF and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-05-13 02:21:19 -0400 (Tue, 13 May 2008)
New Revision: 8535
Added:
trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/DropDownMenuTestBean.java
trunk/test-applications/seleniumTest/src/main/webapp/pages/dropDownMenu/
trunk/test-applications/seleniumTest/src/main/webapp/pages/dropDownMenu/dropDownMenuTest.xhtml
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/DropDownMenuTest.java
Modified:
trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml
Log:
DropDownMenu component test
Added: trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/DropDownMenuTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/DropDownMenuTestBean.java (rev 0)
+++ trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/DropDownMenuTestBean.java 2008-05-13 06:21:19 UTC (rev 8535)
@@ -0,0 +1,53 @@
+package org.ajax4jsf;
+
+public class DropDownMenuTestBean {
+
+ private String actionName = "";
+
+ /**
+ * Gets value of actionName field.
+ * @return value of actionName field
+ */
+ public String getActionName() {
+ return actionName;
+ }
+
+ /**
+ * Set a new value for actionName field.
+ * @param actionName a new value for actionName field
+ */
+ public void setActionName(String actionName) {
+ this.actionName = actionName;
+ }
+
+ public String doNew() {
+ setActionName("New");
+ return null;
+ }
+
+ public String doOpen() {
+ setActionName("Open");
+ return null;
+ }
+
+ public String doSave() {
+ setActionName("Save");
+ return null;
+ }
+
+ public String doSaveAll() {
+ setActionName("Save All");
+ return null;
+ }
+
+ public String doClose() {
+ setActionName("Close");
+ return null;
+ }
+
+ public String doExit() {
+ setActionName("Exit");
+ return null;
+ }
+
+}
Property changes on: trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/DropDownMenuTestBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified: trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml 2008-05-12 19:51:17 UTC (rev 8534)
+++ trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml 2008-05-13 06:21:19 UTC (rev 8535)
@@ -76,7 +76,13 @@
<managed-bean-name>comboBean</managed-bean-name>
<managed-bean-class>org.ajax4jsf.ComboBoxTestBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>ddmenuBean</managed-bean-name>
+ <managed-bean-class>org.ajax4jsf.DropDownMenuTestBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
+
<managed-bean>
<managed-bean-name>contextMenuBean</managed-bean-name>
<managed-bean-class>org.ajax4jsf.ContextMenuTestBean</managed-bean-class>
Added: trunk/test-applications/seleniumTest/src/main/webapp/pages/dropDownMenu/dropDownMenuTest.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/seleniumTest/src/main/webapp/pages/dropDownMenu/dropDownMenuTest.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/DropDownMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/DropDownMenuTest.java (rev 0)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/DropDownMenuTest.java 2008-05-13 06:21:19 UTC (rev 8535)
@@ -0,0 +1,88 @@
+package org.richfaces;
+
+import org.ajax4jsf.test.base.SeleniumTestBase;
+import org.ajax4jsf.test.base.Templates;
+import org.testng.annotations.AfterTest;
+import org.testng.annotations.BeforeTest;
+import org.testng.annotations.Parameters;
+import org.testng.annotations.Test;
+
+public class DropDownMenuTest extends SeleniumTestBase {
+
+ public DropDownMenuTest() {
+ super("http", "localhost", "8080");
+ }
+
+ /**
+ * This method are invoking before selenium tests started
+ */
+ @BeforeTest
+ @Parameters( { "browser" })
+ public void startSelenium(String browser) {
+ super.startSelenium(browser);
+ }
+
+ /**
+ * This method are invoking after selenium tests completed
+ */
+ @AfterTest
+ public void stopSelenium() {
+ super.stopSelenium();
+ }
+
+ @Test
+ public void testDropDownMenuComponent() throws Exception {
+ _testDropDownMenuComponent(Templates.SIMPLE);
+ _testDropDownMenuComponent(Templates.DATATABLE);
+ }
+
+ private void _testDropDownMenuComponent(Templates template) {
+ renderPage("/faces/pages/dropDownMenu/dropDownMenuTest.xhtml", template);
+
+ String parentId = getParentId() + "_form:";
+ String file = parentId + "file";
+ String open = parentId + "open:anchor";
+ String saveAs = parentId + "saveAs:anchor";
+ String save = parentId + "save:anchor";
+ String saveAll = parentId + "saveAll:anchor";
+ String close = parentId + "close:anchor";
+ String exit = parentId + "exit:anchor";
+ String operation = parentId + "operation";
+
+ writeStatus("Check menu item in ajax mode");
+
+ selenium.mouseOver(file);
+ selenium.mouseOver(saveAs);
+ clickById(saveAll);
+
+ AssertTextEquals(operation, "Save All");
+
+ selenium.mouseOver(file);
+ selenium.mouseOver(saveAs);
+ clickById(save);
+
+ AssertTextEquals(operation, "Save");
+
+ writeStatus("Check the drop down menu closed");
+
+ AssertNotVisible(save);
+ AssertNotVisible(saveAs);
+
+ writeStatus("Check menu item in server mode");
+
+ selenium.mouseOver(file);
+ clickCommandAndWait(close);
+
+ AssertTextEquals(operation, "Close");
+
+ writeStatus("Check menu item in \\'none\\' mode");
+
+ selenium.mouseOver(file);
+ selenium.mouseOver(exit);
+ clickById(exit);
+
+ AssertTextEquals(operation, "Close");
+ AssertNotVisible(exit);
+
+ }
+}
Property changes on: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/DropDownMenuTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
16 years, 8 months
JBoss Rich Faces SVN: r8534 - trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-05-12 15:51:17 -0400 (Mon, 12 May 2008)
New Revision: 8534
Modified:
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-3352
Modified: trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
--- trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-05-12 18:48:29 UTC (rev 8533)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-05-12 19:51:17 UTC (rev 8534)
@@ -375,8 +375,17 @@
* 1000);
},
+ _findTr: function(event) {
+ var elt = Event.element(event);
+ while (elt && (!elt.tagName || elt.tagName.toUpperCase() != 'TR')) {
+ elt = elt.parentNode;
+ }
+
+ return elt;
+ },
+
onHover: function(event) {
- var element = Event.findElement(event, 'TR');
+ var element = this._findTr(event);//Event.findElement(event, 'TR');
if (!this.skipHover) {
if (this.index != element.autocompleteIndex) {
this.index = element.autocompleteIndex;
@@ -395,14 +404,14 @@
onClick: function(event) {
this.wasScroll = false;
this.wasBlur = false;
- var element = Event.findElement(event, 'TR');
+ var element = this._findTr(event);//Event.findElement(event, 'TR');
this.index = element.autocompleteIndex;
this.selectEntry(event);
this.hide();
},
onMouseOut: function(event) {
- var element = Event.findElement(event, 'TR');
+ var element = this._findTr(event);//Event.findElement(event, 'TR');
Event.stopObserving(element, "mousemove", this.onHover);
},
16 years, 8 months
JBoss Rich Faces SVN: r8533 - in trunk/test-applications/seleniumTest/src: main/webapp/WEB-INF and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-05-12 14:48:29 -0400 (Mon, 12 May 2008)
New Revision: 8533
Added:
trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/ContextMenuTestBean.java
trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/
trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenu.xhtml
trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenuDescription.xhtml
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ContextMenuTest.java
Modified:
trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml
Log:
Selenium tests for context menu.
Added: trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/ContextMenuTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/ContextMenuTestBean.java (rev 0)
+++ trunk/test-applications/seleniumTest/src/main/java/org/ajax4jsf/ContextMenuTestBean.java 2008-05-12 18:48:29 UTC (rev 8533)
@@ -0,0 +1,56 @@
+/**
+ * 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.ajax4jsf;
+
+import javax.faces.event.ActionEvent;
+
+public class ContextMenuTestBean {
+
+ private String value;
+ private int value2 = 0;
+
+ public void actionListener(ActionEvent event) {
+ this.value = event.getComponent().getId();
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String action() {
+ value2++;
+ return null;
+ }
+
+ public int getValue2() {
+ return value2;
+ }
+
+ public void setValue2(int value2) {
+ this.value2 = value2;
+ }
+
+}
Modified: trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml 2008-05-12 17:28:36 UTC (rev 8532)
+++ trunk/test-applications/seleniumTest/src/main/webapp/WEB-INF/faces-config.xml 2008-05-12 18:48:29 UTC (rev 8533)
@@ -77,4 +77,9 @@
<managed-bean-class>org.ajax4jsf.ComboBoxTestBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>contextMenuBean</managed-bean-name>
+ <managed-bean-class>org.ajax4jsf.ContextMenuTestBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
</faces-config>
\ No newline at end of file
Added: trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenu.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenu.xhtml (rev 0)
+++ trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenu.xhtml 2008-05-12 18:48:29 UTC (rev 8533)
@@ -0,0 +1,62 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<ui:composition template="#{templateBean.template}">
+ <ui:define name="component">
+ <h:form id="_form">
+ <rich:contextMenu submitMode="server" id="menu_input" attached="false" >
+ <rich:menuItem action="#{contextMenuBean.action}"
+ value="One" submitMode="ajax"
+ actionListener="#{contextMenuBean.actionListener}"
+ id="menu1_item1"
+ reRender="input,input2" >
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem action="#{contextMenuBean.action}"
+ value="Two"
+ actionListener="#{contextMenuBean.actionListener}"
+ id="menu1_item2" >
+ </rich:menuItem>
+ <rich:menuItem action="#{contextMenuBean.action}"
+ value="Three"
+ actionListener="#{contextMenuBean.actionListener}" >
+ </rich:menuItem>
+ </rich:contextMenu>
+
+ <h:inputText id="input" value="#{contextMenuBean.value}" />
+ <h:inputText id="input2" value="#{contextMenuBean.value2}" >
+ <rich:contextMenu submitMode="server" id="menu_input2" event="onclick" >
+ <rich:menuItem action="#{contextMenuBean.action}"
+ value="One" submitMode="ajax"
+ actionListener="#{contextMenuBean.actionListener}"
+ id="menu2_item1"
+ reRender="input,input2" >
+ </rich:menuItem>
+ <rich:menuSeparator />
+ <rich:menuItem action="#{contextMenuBean.action}"
+ value="Two"
+ actionListener="#{contextMenuBean.actionListener}"
+ id="menu2_item2" >
+ </rich:menuItem>
+ <rich:menuItem action="#{contextMenuBean.action}"
+ value="Three"
+ actionListener="#{contextMenuBean.actionListener}" >
+ </rich:menuItem>
+ </rich:contextMenu>
+ </h:inputText>
+
+ <rich:componentControl event="onclick" attachTo="input" for=":_form:menu_input"
+ operation="doShow">
+ </rich:componentControl>
+ </h:form>
+ </ui:define>
+ <ui:define name="description">
+ <ui:include src="contextMenuDescription.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
\ No newline at end of file
Added: trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenuDescription.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenuDescription.xhtml (rev 0)
+++ trunk/test-applications/seleniumTest/src/main/webapp/pages/contextMenu/contextMenuDescription.xhtml 2008-05-12 18:48:29 UTC (rev 8533)
@@ -0,0 +1,9 @@
+<html>
+<table border="1" style="border-color: #F1EEE9" cellpadding="5" cellspacing="0">
+ <tr>
+ <th></th>
+ <th>Action</th>
+ <th>Result</th>
+ </tr>
+</table>
+</html>
\ No newline at end of file
Added: trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ContextMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ContextMenuTest.java (rev 0)
+++ trunk/test-applications/seleniumTest/src/test/java/org/richfaces/ContextMenuTest.java 2008-05-12 18:48:29 UTC (rev 8533)
@@ -0,0 +1,88 @@
+/**
+ * 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;
+
+import org.ajax4jsf.test.base.RichSeleniumTest;
+import org.ajax4jsf.test.base.SeleniumTestBase;
+import org.ajax4jsf.test.base.Templates;
+import org.testng.Assert;
+import org.testng.annotations.AfterTest;
+import org.testng.annotations.BeforeTest;
+import org.testng.annotations.Parameters;
+import org.testng.annotations.Test;
+
+public class ContextMenuTest extends SeleniumTestBase implements RichSeleniumTest {
+
+ public ContextMenuTest() {
+ super("http", "localhost", "8080");
+ }
+
+ /**
+ * This method are invoking before selenium tests started
+ */
+ @BeforeTest
+ @Parameters( { "browser" })
+ public void startSelenium(String browser) {
+ super.startSelenium(browser);
+ }
+
+ /**
+ * This method are invoking after selenium tests completed
+ */
+ @AfterTest
+ public void stopSelenium() {
+ super.stopSelenium();
+ }
+
+ @Test
+ public void testContextMenuComponent() throws Exception {
+ _testContextMenuComponent(Templates.SIMPLE);
+ _testContextMenuComponent(Templates.DATATABLE);
+ }
+
+ private void _testContextMenuComponent(Templates template) {
+ renderPage(getTestUrl(), template);
+
+ String parentId = getParentId() + "_form:";
+ String inputId = parentId + "input";
+ String input2Id = parentId + "input2";
+ String menuId = parentId + "menu_input_menu";
+ String menu2Id = parentId + "menu_input2_menu";
+
+ writeStatus("Click on first input");
+ clickById(inputId);
+ Assert.assertTrue(isVisibleById(menuId));
+
+ writeStatus("Click on second input");
+ clickById(input2Id);
+ Assert.assertTrue(isVisibleById(menu2Id));
+ Assert.assertFalse(isVisibleById(menuId));
+
+
+ }
+
+ public String getTestUrl() {
+ return "/faces/pages/contextMenu/contextMenu.xhtml";
+ }
+
+}
+
16 years, 8 months
JBoss Rich Faces SVN: r8532 - trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-05-12 13:28:36 -0400 (Mon, 12 May 2008)
New Revision: 8532
Modified:
trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/LayoutManager.js
Log:
http://jira.jboss.com/jira/browse/RF-3390
Modified: trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/LayoutManager.js
===================================================================
--- trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/LayoutManager.js 2008-05-12 16:53:25 UTC (rev 8531)
+++ trunk/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/LayoutManager.js 2008-05-12 17:28:36 UTC (rev 8532)
@@ -13,6 +13,20 @@
LayoutManager.STYLE_CONTENTTD_PADDING = 4;
LayoutManager.prototype.widthSynchronization = function() {
+ if (Prototype.Browser.IE && this.contentDiv && this.contentTable && this.getScrollWidth()) {
+ //IE displays unnecessary horizontal scroll
+ //when vertical scroll's displayed
+ if (this.contentTable.offsetWidth && ((this.contentTable.offsetWidth <= this.contentDiv.clientWidth))) {
+ this.contentTable.style.width = this.contentDiv.clientWidth + "px";
+ if (this.headerTable) {
+ this.headerTable.style.width = this.contentDiv.offsetWidth + "px";
+ }
+ this.contentDiv.style.overflowX = 'hidden';
+ }
+ } else {
+ this.contentTable.style.width = "100%";
+ }
+
var rows = this.contentTable.tBodies[0].rows;
if (rows && rows[0]) {
//table can be empty
@@ -37,20 +51,6 @@
this.headerTable.style.width = "100%";
}
}
-
- if (Prototype.Browser.IE && this.contentDiv && this.contentTable && this.getScrollWidth()) {
- //IE displays unnecessary horizontal scroll
- //when vertical scroll's displayed
- if (this.contentTable.offsetWidth && ((this.contentTable.offsetWidth <= this.contentDiv.clientWidth))) {
- this.contentTable.style.width = this.contentDiv.clientWidth + "px";
- if (this.headerTable) {
- this.headerTable.style.width = this.contentDiv.offsetWidth + "px";
- }
- this.contentDiv.style.overflowX = 'hidden';
- }
- } else {
- this.contentTable.style.width = "100%";
- }
}
LayoutManager.prototype.getScrollWidth = function() {
16 years, 8 months
JBoss Rich Faces SVN: r8531 - trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-05-12 12:53:25 -0400 (Mon, 12 May 2008)
New Revision: 8531
Modified:
trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/CreateSkinMojo.java
Log:
added more documentation to Mojo
Modified: trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/CreateSkinMojo.java
===================================================================
--- trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/CreateSkinMojo.java 2008-05-12 16:46:06 UTC (rev 8530)
+++ trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/CreateSkinMojo.java 2008-05-12 16:53:25 UTC (rev 8531)
@@ -24,8 +24,24 @@
import org.apache.velocity.VelocityContext;
/**
+ * This mojo is intended to create new skin add-on.
+ * If mojo is executed within project, new resources are added to the project, and existing resource config is modified to include new files.
+ * Otherwise, a new project is created.
+ * <b>Usage</b> <tt>mvn cdk:add-skin -Dname=<skinName> -Dpackage=<skinPackage>. </tt><br/>
+ * This adds new skin named <skinName> to project resources/META-INF/skins folder.<br/>
+ * Skin resources - XCSS files are placed in <skinPackage>.<skinName> package within project resources directory.<br/>
+ *
+ * Plug-in can also create new project. Mandatory parameters are groupId and artifactId.<br/>
+ * <b>Example</b> <tt>mvn cdk:add-skin -DgroupId=<groupId> -DartifactId=<artifactId> -Dversion=<version> -Dpackage=<packageName> -Dname=<skinName></tt><br/>
+ * If <em>version</em> is not specified, it is set to 1.0-SNAPSHOT<br/>
+ * If <em>name</em> is not specified, it is set same as artifactId.<br/>
+ * If <em>package</em> is not specified, it is set same as groupId.<br/>
+ *
+ *
* @goal add-skin
* @requiresProject false
+ *
+ *
* @author Maksim Kaszynski
*
@@ -51,47 +67,59 @@
private static final String POM_XML_TEMPLATE = TEMPLATES_PREFIX + "pom/pom.xml";
/**
+ * POM file of executed project - if it exists, then plugin is executed within existing project, otherwise plugin will create new one.
* @parameter expression="${project.file}"
+ * @readonly
*/
private File pom;
/**
+ * Artifact ID for newly-created project.
+ * If not set, and no project exists, an exception will be thrown.
* @parameter expression="${artifactId}"
*/
private String artifactId;
/**
+ * Group ID for newly-created project.
+ * If not set, and no project exists, an exception will be thrown.
* @parameter expression="${groupId}"
*/
private String groupId;
/**
+ * Name of newly added skin. If not set explicitly but project exists, project arifactId will be used.
* @parameter expression="${name}" default-value="${project.artifactId}"
*/
private String skinName;
/**
+ * Name of the base package of newly added skin. If not set explicitly but project exists, project groupId will be used.
* @parameter expression="${package}" default-value="${project.groupId}"
*/
private String packageName;
/**
+ * Version of newly generated project. Default is 1.0-SNAPSHOT
* @parameter expression="${version}" default-value="1.0-SNAPSHOT"
*/
private String version;
/**
* @parameter expression="${plugin.artifactId}"
+ * @readonly
*/
private String pluginArtifactId;
/**
* @parameter expression="${plugin.groupId}"
+ * @readonly
*/
private String pluginGroupId;
/**
* @parameter expression="${plugin.version}"
+ * @readonly
*/
private String pluginVersion;
@@ -101,7 +129,10 @@
/** @component */
private org.apache.maven.artifact.resolver.ArtifactResolver resolver;
- /**@parameter expression="${localRepository}" */
+ /**
+ * @parameter expression="${localRepository}"
+ * @readonly
+ * */
private org.apache.maven.artifact.repository.ArtifactRepository localRepository;
16 years, 8 months
JBoss Rich Faces SVN: r8530 - in trunk/samples/laguna/src/main/resources: org/richfaces/laguna and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: admitriev
Date: 2008-05-12 12:46:06 -0400 (Mon, 12 May 2008)
New Revision: 8530
Modified:
trunk/samples/laguna/src/main/resources/META-INF/skins/laguna.skin.properties
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/calendar.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dataFilterSlider.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dataTable.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/datascroller.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dropdownmenu.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panel.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panelBar.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panelMenu.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/simpleTogglePanel.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/tabPanel.xcss
trunk/samples/laguna/src/main/resources/org/richfaces/laguna/toolBar.xcss
Log:
Modified: trunk/samples/laguna/src/main/resources/META-INF/skins/laguna.skin.properties
===================================================================
--- trunk/samples/laguna/src/main/resources/META-INF/skins/laguna.skin.properties 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/META-INF/skins/laguna.skin.properties 2008-05-12 16:46:06 UTC (rev 8530)
@@ -1,3 +1,5 @@
-baseSkin=classic
-gradientType=glass
+baseSkin=blueSky
+gradientType=plastic
generalStyleSheet=resource:///META-INF/skins/laguna.xcss
+
+intShadow=#dadada
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/calendar.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/calendar.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/calendar.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -7,6 +7,7 @@
</u:selector>
<u:selector name=".rich-calendar-exterior">
+ <u:style name="border-color" skin="tableBorderColor" />
</u:selector>
<u:selector name=".rich-calendar-header-optional">
@@ -28,7 +29,8 @@
</u:selector>
<u:selector name=".rich-calendar-cell">
- </u:selector>
+ <u:style name="border-color" skin="tableBorderColor" />
+</u:selector>
<u:selector name=".rich-calendar-tool">
<u:style name="background-repeat" value="repeat-x" />
@@ -57,9 +59,11 @@
</u:selector>
<u:selector name=".rich-calendar-days">
+ <u:style name="border-color" skin="tableBorderColor" />
</u:selector>
<u:selector name=".rich-calendar-weekends">
+ <u:style name="color" skin="calendarHolidaysTextColor" />
</u:selector>
<u:selector name=".rich-calendar-week">
@@ -72,6 +76,7 @@
<f:attribute name="baseColor" skin="panelBorderColor" />
</f:resource>
</u:style>
+ <u:style name="border-color" skin="tableBorderColor" />
</u:selector>
@@ -128,6 +133,7 @@
</u:selector>
<u:selector name=".rich-calendar-toolfooter">
+ <u:style name="border-color" skin="tableBorderColor" />
</u:selector>
<u:selector name=".rich-calendar-tool-btn">
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dataFilterSlider.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dataFilterSlider.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dataFilterSlider.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -17,14 +17,14 @@
<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="panelBorderColor" />
+ <u:style name="border-color" skin="tableBorderColor" />
<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="4px" />
- <f:attribute name="baseColor" skin="headerGradientColor" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
</f:resource>
</u:style>
</u:selector>
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dataTable.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dataTable.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dataTable.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -55,8 +55,6 @@
</u:selector>
<u:selector name=".rich-table-headercell" >
- <u:style name="border-right-color" skin="tableSubfooterBackgroundColor" />
- <u:style name="border-bottom-color" skin="tableSubfooterBackgroundColor" />
</u:selector>
<u:selector name=".rich-table-subheader" >
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/datascroller.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/datascroller.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/datascroller.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -1,26 +1,47 @@
-<?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:selector>
-
- <u:selector name=".rich-datascr-button-dsbld">
- </u:selector>
-
- <u:selector name=".rich-datascr-button">
- </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:selector>
+<?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:selector>
+
+ <u:selector name=".rich-datascr-button-dsbld">
+ <u:style name="border-color" skin="tableBorderColor" />
+ <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="16px" />
+ <f:attribute name="baseColor" skin="headerGradientColor" />
+ </f:resource>
+ </u:style>
+ </u:selector>
+
+ <u:selector name=".rich-datascr-button">
+ <u:style name="border-color" skin="tableBorderColor" />
+ <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="16px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </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:selector>
</f:template>
\ No newline at end of file
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dropdownmenu.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dropdownmenu.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/dropdownmenu.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -14,10 +14,8 @@
<u:selector name=".rich-ddmenu-label-unselect">
</u:selector>
-
- <u:selector name=".rich-menu-list-border">
- <u:style name="opacity" value="0.8" />
- <u:style name="filter" value="progid:DXImageTransform.Microsoft.Alpha(opacity=80);}" />
+
+ <u:selector name=".rich-menu-list-border">
</u:selector>
-
+
</f:template>
\ No newline at end of file
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/modalPanel.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -25,19 +25,17 @@
</u:selector>
<u:selector name=".rich-mp-content">
- <u:style name="padding" value="0px" />
- <u:style name="background-color" value="transparent" />
+ <u:style name="padding" value="0px" />
+ <u:style name="border-color" skin="tableBorderColor" />
</u:selector>
<u:selector name=".rich-mpnl-body">
<u:style name="background-color" skin="generalBackgroundColor" />
</u:selector>
-
+
<u:selector name=".rich-mpnl-header">
- <u:style name="opacity" value="0.8" />
- <u:style name="filter" value="progid:DXImageTransform.Microsoft.Alpha(opacity=80);}" />
</u:selector>
-
+
<u:selector name=".rich-mpnl-text">
</u:selector>
@@ -49,7 +47,7 @@
<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-bottom" skin="panelBorderColor" />
+ <u:style name="border-color" skin="tableBorderColor" />
<u:style name="background-position" value="0% 50%" />
@@ -68,6 +66,17 @@
<u:selector name=".rich-mpnl-body">
<u:style name="padding" value="10px 10px 10px 14px" />
+ <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="gradientColor" skin="intShadow" />
+ <f:attribute name="baseColor" skin="generalBackgroundColor" />
+
+ <f:attribute name="gradientHeight" value="4px" />
+ </f:resource>
+ </u:style>
</u:selector>
<u:selector name=".rich-mpnl-mask-div">
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panel.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panel.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panel.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -6,6 +6,7 @@
<u:selector name=".rich-panel">
<u:style name="padding" value="0px" />
<u:style name="margin-bottom" value="5px" />
+ <u:style name="border-color" skin="tableBorderColor" />
</u:selector>
<u:selector name=".rich-panel-header">
@@ -13,7 +14,7 @@
<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-bottom" skin="panelBorderColor" />
+ <u:style name="border-color" skin="tableBorderColor" />
<u:style name="background-position" value="0% 50%" />
@@ -32,5 +33,16 @@
<u:selector name=".rich-panel-body">
<u:style name="padding" value="10px 10px 10px 14px" />
+ <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="gradientColor" skin="intShadow" />
+ <f:attribute name="baseColor" skin="generalBackgroundColor" />
+
+ <f:attribute name="gradientHeight" value="4px" />
+ </f:resource>
+ </u:style>
</u:selector>
</f:template>
\ No newline at end of file
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panelBar.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panelBar.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panelBar.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -4,27 +4,50 @@
xmlns="http://www.w3.org/1999/xhtml" >
<u:selector name=".rich-panelbar">
- <u:style name="border-color" skin="panelBorderColor" />
+ <u:style name="border-color" skin="tableBorderColor" />
<u:style name="padding" value="0px" />
</u:selector>
<u:selector name=".rich-panelbar-header">
<u:style name="padding" value="4px 4px 4px 14px" />
- <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="headerGradientColor" />
+ <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="22px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
</u:selector>
<u:selector name=".rich-panelbar-header-act">
<u:style name="padding" value="4px 4px 4px 14px" />
<u:style name="border-bottom" value="1px solid" />
- <u:style name="border-color" skin="panelBorderColor" />
- <u:style name="background-image" value="none" />
- <u:style name="background-color" skin="headerGradientColor" />
+ <u:style name="border-color" skin="tableBorderColor" />
+ <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="22px" />
+ <f:attribute name="baseColor" skin="headerBackgroundColor" />
+ </f:resource>
+ </u:style>
</u:selector>
<u:selector name=".rich-panelbar-content">
- <u:style name="padding" value="4px 4px 4px 14px" />
+ <u:style name="padding" value="10px 4px 4px 14px" />
+ <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="gradientColor" skin="intShadow" />
+ <f:attribute name="baseColor" skin="generalBackgroundColor" />
+
+ <f:attribute name="gradientHeight" value="4px" />
+ </f:resource>
+ </u:style>
</u:selector>
</f:template>
\ No newline at end of file
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panelMenu.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panelMenu.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/panelMenu.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -9,6 +9,7 @@
<u:selector name=".dr-pmenu-top-group-div">
<u:style name="padding" value="0px" />
<u:style name="margin-bottom" value="1px" />
+ <u:style name="border-color" skin="tableBorderColor" />
</u:selector>
<u:selector name=".rich-pmenu-group">
@@ -27,6 +28,7 @@
<u:selector name=".rich-pmenu-item">
<u:style name="margin" value="0px" />
+ <u:style name="border-color" skin="tableBorderColor" />
</u:selector>
<u:selector name=".rich-pmenu-selected-element">
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/simpleTogglePanel.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/simpleTogglePanel.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/simpleTogglePanel.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -6,11 +6,14 @@
<u:selector name=".rich-stglpanel" >
<u:style name="padding" value="0px" />
+ <u:style name="border-color" skin="tableBorderColor" />
</u:selector>
<u:selector name=".rich-stglpanel-header" >
<u:style name="padding" value="4px 4px 4px 14px" />
<u:style name="border" value="0px" />
+ <u:style name="border-bottom" value="1px solid" />
+ <u:style name="border-color" skin="tableBorderColor" />
<u:style name="white-space" value="nowrap" />
<u:style name="background-position" value="0% 50%" />
@@ -31,5 +34,16 @@
<u:selector name=".rich-stglpanel-body" >
<u:style name="padding" value="10px 10px 10px 14px" />
+ <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="gradientColor" skin="intShadow" />
+ <f:attribute name="baseColor" skin="generalBackgroundColor" />
+
+ <f:attribute name="gradientHeight" value="4px" />
+ </f:resource>
+ </u:style>
</u:selector>
</f:template>
\ No newline at end of file
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/tabPanel.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/tabPanel.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/tabPanel.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -11,7 +11,7 @@
<u:selector name=".dr-bottom-line">
<u:style name="border-bottom-width" value="3px" />
- <u:style name="border-bottom-color" skin="headerGradientColor" />
+ <u:style name="border-bottom-color" skin="headerBackgroundColor" />
</u:selector>
<u:selector name=".rich-tab-label">
Modified: trunk/samples/laguna/src/main/resources/org/richfaces/laguna/toolBar.xcss
===================================================================
--- trunk/samples/laguna/src/main/resources/org/richfaces/laguna/toolBar.xcss 2008-05-12 16:44:50 UTC (rev 8529)
+++ trunk/samples/laguna/src/main/resources/org/richfaces/laguna/toolBar.xcss 2008-05-12 16:46:06 UTC (rev 8530)
@@ -7,6 +7,7 @@
<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="tableBorderColor" />
<u:style name="background-position" value="0% 50%" />
<u:style name="background-image">
16 years, 8 months
JBoss Rich Faces SVN: r8529 - trunk/docs/userguide.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-05-12 12:44:50 -0400 (Mon, 12 May 2008)
New Revision: 8529
Modified:
trunk/docs/userguide/pom.xml
Log:
the problem with "xslt is not found" is fixed, new path to it is provided
Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml 2008-05-12 15:46:56 UTC (rev 8528)
+++ trunk/docs/userguide/pom.xml 2008-05-12 16:44:50 UTC (rev 8529)
@@ -767,7 +767,7 @@
<format>
<formatName>html</formatName>
<stylesheetResource>
- file:en/src/main/resources/xslt/org/jboss/richfaces/xhtml.xsl
+ file:${pom.basedir}/src/main/resources/xslt/org/jboss/richfaces/xhtml.xsl
</stylesheetResource>
<finalName>index.html</finalName>
<imageCopyingRequired>
@@ -781,7 +781,7 @@
<format>
<formatName>html_single</formatName>
<stylesheetResource>
- file:en/src/main/resources/xslt/org/jboss/richfaces/xhtml-single.xsl
+ file:${pom.basedir}/src/main/resources/xslt/org/jboss/richfaces/xhtml-single.xsl
</stylesheetResource>
<imageCopyingRequired>
true
16 years, 8 months
JBoss Rich Faces SVN: r8528 - trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-05-12 11:46:56 -0400 (Mon, 12 May 2008)
New Revision: 8528
Modified:
trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml
Log:
Modified: trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml 2008-05-12 12:58:26 UTC (rev 8527)
+++ trunk/test-applications/facelets/src/main/webapp/SimpleTogglePanel/SimpleTogglePanel.xhtml 2008-05-12 15:46:56 UTC (rev 8528)
@@ -12,7 +12,7 @@
<h:selectOneMenu value="#{richBean.srcContainer}" onchange="submit();">
<f:selectItems value="#{richBean.listContainer}"/>
</h:selectOneMenu>
- <ui:include src="${richBean.pathComponentContainer}"/>
+
</rich:simpleTogglePanel>
<rich:simpleTogglePanel id="sTP" bodyClass="body" headerClass="head" label="simpleTogglePanel with some text" action="#{simpleTogglePanel.act}" actionListener="#{simpleTogglePanel.actListener}"
width="#{simpleTogglePanel.width}" height="#{simpleTogglePanel.height}" switchType="#{simpleTogglePanel.switchType}"
16 years, 8 months
JBoss Rich Faces SVN: r8527 - trunk/test-applications/qa.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-05-12 08:58:26 -0400 (Mon, 12 May 2008)
New Revision: 8527
Removed:
trunk/test-applications/qa/Performance
trunk/test-applications/qa/Test
Log:
Deleted: trunk/test-applications/qa/Performance
===================================================================
Deleted: trunk/test-applications/qa/Test
===================================================================
16 years, 8 months