JBoss Rich Faces SVN: r7018 - trunk/framework/api/src/main/java/org/richfaces/skin.
by richfaces-svn-commits@lists.jboss.org
Author: vbaranov
Date: 2008-03-20 12:44:35 -0400 (Thu, 20 Mar 2008)
New Revision: 7018
Modified:
trunk/framework/api/src/main/java/org/richfaces/skin/SkinFactory.java
Log:
http://jira.jboss.com/jira/browse/RF-995
Modified: trunk/framework/api/src/main/java/org/richfaces/skin/SkinFactory.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/skin/SkinFactory.java 2008-03-20 16:10:17 UTC (rev 7017)
+++ trunk/framework/api/src/main/java/org/richfaces/skin/SkinFactory.java 2008-03-20 16:44:35 UTC (rev 7018)
@@ -116,8 +116,17 @@
}
}
if (instance == null) {
- // TODO - create default instance
-// instance = new SkinFactoryImpl();
+ try{
+ // instantiate default implementation of SkinFactory - org.richfaces.skin.SkinFactoryImpl,
+ // placed in the richfaces-impl.jar
+ instance = (SkinFactory) Class.forName(DEFAULT_SKIN_FACTORY_IMPL_CLASS).newInstance();
+ } catch (InstantiationException ie) {
+ log.error(Messages.getMessage(Messages.CREATING_SKIN_FACTORY_ERROR), ie);
+ } catch (IllegalAccessException iae) {
+ log.error(Messages.getMessage(Messages.CREATING_SKIN_FACTORY_ERROR), iae);
+ } catch (ClassNotFoundException cnfe) {
+ log.error(Messages.getMessage(Messages.CREATING_SKIN_FACTORY_ERROR), cnfe);
+ }
}
instances.put(loader, instance);
}
@@ -158,6 +167,11 @@
public static final String SKIN_PARAMETER = "org.richfaces.SKIN";
public static final String BASE_SKIN_PARAMETER = "org.richfaces.BASE_SKIN";
+
+ /**
+ * Full class name of default implementation of the SkinFactory class
+ */
+ public static final String DEFAULT_SKIN_FACTORY_IMPL_CLASS = "org.richfaces.skin.SkinFactoryImpl";
/**
* Get base {@link Skin} implementation
16 years, 10 months
JBoss Rich Faces SVN: r7017 - trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-03-20 12:10:17 -0400 (Thu, 20 Mar 2008)
New Revision: 7017
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
Log:
RF-2107
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js 2008-03-20 15:59:47 UTC (rev 7016)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Grid.js 2008-03-20 16:10:17 UTC (rev 7017)
@@ -75,6 +75,7 @@
grid.getBody().updateSize();
if(grid.getFooter()) {grid.getFooter().updateSize();}
grid.updateLayout();
+ grid.getBody().restoreScrollState();
},
Utils.Condition.ElementPresent(grid.client_id), 100);
},
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2008-03-20 15:59:47 UTC (rev 7016)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2008-03-20 16:10:17 UTC (rev 7017)
@@ -26,7 +26,6 @@
if (this.options.selectionInput) {
this.selectionManager = new ClientUI.controls.grid.SelectionManager(this);
}
- this.getBody().restoreScrollState();
this.endInitTime = (new Date()).getTime();
this.rowCallbacks = [];
},
16 years, 10 months
JBoss Rich Faces SVN: r7016 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox: examples and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-20 11:59:47 -0400 (Thu, 20 Mar 2008)
New Revision: 7016
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/selectItems.xhtml
Removed:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/collection.xhtml
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml
Log:
Deleted: trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/collection.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/collection.xhtml 2008-03-20 15:54:41 UTC (rev 7015)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/collection.xhtml 2008-03-20 15:59:47 UTC (rev 7016)
@@ -1,10 +0,0 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-
- <rich:comboBox value="#{comboBoxBean.value}" suggestionValues="#{capitalsBean.capitalsNames}"/>
-
-</ui:composition>
\ No newline at end of file
Copied: trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/selectItems.xhtml (from rev 6984, trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/collection.xhtml)
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/selectItems.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/selectItems.xhtml 2008-03-20 15:59:47 UTC (rev 7016)
@@ -0,0 +1,13 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+ <rich:comboBox selectFirstOnUpdate="false"
+ defaultLabel="Enter some value">
+ <f:selectItems value="#{capitalsBean.capitalsOptions}" />
+ </rich:comboBox>
+
+</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml 2008-03-20 15:54:41 UTC (rev 7015)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml 2008-03-20 15:59:47 UTC (rev 7016)
@@ -5,8 +5,12 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <rich:comboBox value="#{comboBoxBean.value}">
- <f:selectItem itemValue="1"/>
+ <rich:comboBox defaultLabel="Enter some value">
+ <f:selectItem itemValue="suggestion 1"/>
+ <f:selectItem itemValue="suggestion 2"/>
+ <f:selectItem itemValue="suggestion 3"/>
+ <f:selectItem itemValue="suggestion 4"/>
+ <f:selectItem itemValue="suggestion 5"/>
</rich:comboBox>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml 2008-03-20 15:54:41 UTC (rev 7015)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml 2008-03-20 15:59:47 UTC (rev 7016)
@@ -9,8 +9,24 @@
<ui:define name="sample">
<p>
- SHORT DESCRIPTION
- </p>
+ The component provides editable combobox element on the page.
+ </p>
+ <p><b>
+ Combo Box</b> is a simplified select based version of <i>Suggestion Box</i> component.
+ </p>
+ <ul>
+ <li>uses client side suggestions</li>
+ <li>Declarative definition with f:selectItem(s) components.</li>
+ <li>Using list of string objects</li>
+ </ul>
+ <p>
+ Using selectItem(s) for suggestion definition you should define only value
+ of the selectItem. It will be used both for displaying and storing.
+ </p>
+ <p>
+ First simple example shows declarative definition with f:selectItem components.
+ Just enter <b>"s"</b> letter or click icon in order to trigger the suggestion.
+ </p>
<div class="sample-container" >
<ui:include src="/richfaces/comboBox/examples/simple.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
@@ -18,17 +34,27 @@
</ui:include>
</div>
<p>
- DESCRIPTION
+ Next example uses simple select Items list to provide suggestions. Also comboBox
+ does not select first item by default after list appears (<b>selectFirstOnUpdate </b>attribute
+ usage). Just enter any letter or click icon in order to trigger the suggestion.
</p>
<div class="sample-container" >
- <ui:include src="/richfaces/comboBox/examples/collection.xhtml"/>
+ <ui:include src="/richfaces/comboBox/examples/selectItems.xhtml"/>
<ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/comboBox/examples/collection.xhtml"/>
+ <ui:param name="sourcepath" value="/richfaces/comboBox/examples/selectItems.xhtml"/>
</ui:include>
</div>
<p>
- DESCRIPTION
+ Next definition example shows simple String list usage to define suggestions list.
+ And input suggestion feature turned on with <b>directInputSuggestions </b>attribute.
+ Enter any letter or click icon in order to trigger the suggestion.
</p>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/comboBox/examples/collection.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/comboBox/examples/collection.xhtml"/>
+ </ui:include>
+ </div>
</ui:define>
</ui:composition>
16 years, 10 months
JBoss Rich Faces SVN: r7015 - in trunk/ui/calendar/src/main: java/org/richfaces/component and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-03-20 11:54:41 -0400 (Thu, 20 Mar 2008)
New Revision: 7015
Modified:
trunk/ui/calendar/src/main/config/component/calendar.xml
trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
Log:
http://jira.jboss.com/jira/browse/RF-2269
Modified: trunk/ui/calendar/src/main/config/component/calendar.xml
===================================================================
--- trunk/ui/calendar/src/main/config/component/calendar.xml 2008-03-20 15:45:44 UTC (rev 7014)
+++ trunk/ui/calendar/src/main/config/component/calendar.xml 2008-03-20 15:54:41 UTC (rev 7015)
@@ -565,6 +565,21 @@
If false Calendar's footer should not be shown
</description>
<defaultvalue>true</defaultvalue>
+ </property>
+ <property>
+ <name>firstWeekDay</name>
+ <classname>int</classname>
+ <description>Gets what the first day of the week is; e.g., SUNDAY in the U.S., MONDAY in France.</description>
+ </property>
+ <property>
+ <name>minDaysInFirstWeek</name>
+ <classname>int</classname>
+ <description>
+ Gets what the minimal days required in the first week of the year
+ are; e.g., if the first week is defined as one that contains the first
+ day of the first month of a year, this method returns 1. If the
+ minimal days required must be a full week, this method returns 7.
+ </description>
</property>
</component>
Modified: trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java
===================================================================
--- trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2008-03-20 15:45:44 UTC (rev 7014)
+++ trunk/ui/calendar/src/main/java/org/richfaces/component/UICalendar.java 2008-03-20 15:54:41 UTC (rev 7015)
@@ -29,6 +29,8 @@
import java.util.Locale;
import java.util.TimeZone;
+import javax.el.ELException;
+import javax.el.ValueExpression;
import javax.faces.FacesException;
import javax.faces.application.Application;
import javax.faces.application.FacesMessage;
@@ -74,6 +76,12 @@
public static final String CLIENT_MODE = "client";
private final static Log log = LogFactory.getLog(UICalendar.class);
+
+ private int firstWeekDay;
+ private boolean firstWeekDaySet = false;
+
+ private int minDaysInFirstWeek;
+ private boolean minDaysInFirstWeekSet = false;
public abstract Object getLocale();
@@ -615,4 +623,70 @@
}
}
+ public int getFirstWeekDay() {
+ if (this.firstWeekDaySet) {
+ return this.firstWeekDay;
+ } else {
+ Calendar cal = getCalendar();
+ int defaultValue = cal.getFirstDayOfWeek() - cal.getActualMinimum(Calendar.DAY_OF_WEEK);
+
+ ValueExpression ve = getValueExpression("firstWeekDay");
+ if (ve != null) {
+ Integer value = null;
+
+ try {
+ value = (Integer) ve.getValue(getFacesContext().getELContext());
+ } catch (ELException e) {
+ throw new FacesException(e);
+ }
+
+ if (null == value) {
+ return defaultValue;
+ }
+
+ return value.intValue();
+ } else {
+ return defaultValue;
+ }
+ }
+ }
+
+ public void setFirstWeekDay(int firstWeekDay) {
+ this.firstWeekDay = firstWeekDay;
+ this.firstWeekDaySet = true;
+ }
+
+ public int getMinDaysInFirstWeek() {
+ if (this.minDaysInFirstWeekSet) {
+ return this.minDaysInFirstWeek;
+ } else {
+ Calendar cal = getCalendar();
+ int defaultValue = cal.getMinimalDaysInFirstWeek();
+
+ ValueExpression ve = getValueExpression("minDaysInFirstWeek");
+ if (ve != null) {
+ Integer value = null;
+
+ try {
+ value = (Integer) ve.getValue(getFacesContext().getELContext());
+ } catch (ELException e) {
+ throw new FacesException(e);
+ }
+
+ if (null == value) {
+ return defaultValue;
+ }
+
+ return value.intValue();
+ } else {
+ return defaultValue;
+ }
+ }
+ }
+
+ public void setMinDaysInFirstWeek(int minDaysInFirstWeek) {
+ this.minDaysInFirstWeek = minDaysInFirstWeek;
+ this.minDaysInFirstWeekSet = true;
+ }
+
}
Modified: trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
===================================================================
--- trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2008-03-20 15:45:44 UTC (rev 7014)
+++ trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2008-03-20 15:54:41 UTC (rev 7015)
@@ -442,15 +442,12 @@
public String getFirstWeekDay(FacesContext context, UICalendar calendar)
throws IOException {
- Calendar cal = calendar.getCalendar();
- return String.valueOf(cal.getFirstDayOfWeek()
- - cal.getActualMinimum(Calendar.DAY_OF_WEEK));
+ return String.valueOf(calendar.getFirstWeekDay());
}
public String getMinDaysInFirstWeek(FacesContext context,
UICalendar calendar) throws IOException {
- Calendar cal = calendar.getCalendar();
- return String.valueOf(cal.getMinimalDaysInFirstWeek());
+ return String.valueOf(calendar.getMinDaysInFirstWeek());
}
public String getCurrentDateAsString(FacesContext context,
16 years, 10 months
JBoss Rich Faces SVN: r7014 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelBar.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-03-20 11:45:44 -0400 (Thu, 20 Mar 2008)
New Revision: 7014
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelBar/usage.xhtml
Log:
[RF-2625] Demo site: corrections of Panel Bar demo layout
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelBar/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelBar/usage.xhtml 2008-03-20 15:44:33 UTC (rev 7013)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panelBar/usage.xhtml 2008-03-20 15:45:44 UTC (rev 7014)
@@ -13,15 +13,17 @@
of usage for the Panel Bar
</p>
-
- <div class="sample-container" >
-
- <ui:include src="/richfaces/panelBar/examples/example.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/panelBar/examples/example.xhtml"/>
- </ui:include>
- </div>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Panel Bar demo</legend>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/panelBar/examples/example.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/panelBar/examples/example.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
+
</ui:define>
16 years, 10 months
JBoss Rich Faces SVN: r7013 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-03-20 11:44:33 -0400 (Thu, 20 Mar 2008)
New Revision: 7013
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/usage.xhtml
Log:
[RF-2623] Demo site: corrections of Panel demo layout
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/usage.xhtml 2008-03-20 15:38:54 UTC (rev 7012)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/usage.xhtml 2008-03-20 15:44:33 UTC (rev 7013)
@@ -28,42 +28,43 @@
paddings can be customizable using with pre-defined number of CSS classes.
</p>
- <p>This is a panel with default Look-n-feel:</p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Panel with default Look-n-feel</legend>
- <div class="sample-container" >
-
+ <div class="sample-container" >
- <ui:include src="/richfaces/panel/examples/simplePanel.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/panel/examples/simplePanel.xhtml"/>
- </ui:include>
+ <ui:include src="/richfaces/panel/examples/simplePanel.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/panel/examples/simplePanel.xhtml"/>
+ </ui:include>
-
- </div>
+ </div>
+ </fieldset>
-
- <p>This is a panel without header:</p>
-
- <div class="sample-container" >
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Panel without header</legend>
- <ui:include src="/richfaces/panel/examples/headlessPanel.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/panel/examples/headlessPanel.xhtml"/>
- </ui:include>
- </div>
+ <div class="sample-container" >
- <p>The panels can be nested: </p>
+ <ui:include src="/richfaces/panel/examples/headlessPanel.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/panel/examples/headlessPanel.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
- <div class="sample-container" >
-
- <ui:include src="/richfaces/panel/examples/nestedPanels.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/panel/examples/nestedPanels.xhtml"/>
- </ui:include>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Nested panels</legend>
+ <div class="sample-container" >
+ The panels can be nested:
+ <ui:include src="/richfaces/panel/examples/nestedPanels.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/panel/examples/nestedPanels.xhtml"/>
+ </ui:include>
- </div>
-
+ </div>
+ </fieldset>
</ui:define>
16 years, 10 months
JBoss Rich Faces SVN: r7012 - trunk/samples/richfaces-demo/src/main/webapp/templates/include.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-03-20 11:38:54 -0400 (Thu, 20 Mar 2008)
New Revision: 7012
Modified:
trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
Log:
added some breaks
Modified: trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-03-20 15:37:25 UTC (rev 7011)
+++ trunk/samples/richfaces-demo/src/main/webapp/templates/include/sourceview.xhtml 2008-03-20 15:38:54 UTC (rev 7012)
@@ -5,7 +5,8 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<ui:composition>
-
+
+ <br/><br/>
<script>
//<![CDATA[
Effect.Transitions.exponential = function(pos) {
16 years, 10 months
JBoss Rich Faces SVN: r7011 - trunk/samples/calendar-sample.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-03-20 11:37:25 -0400 (Thu, 20 Mar 2008)
New Revision: 7011
Modified:
trunk/samples/calendar-sample/pom.xml
Log:
Calendar sample: fix dependency problem.
Modified: trunk/samples/calendar-sample/pom.xml
===================================================================
--- trunk/samples/calendar-sample/pom.xml 2008-03-20 15:30:15 UTC (rev 7010)
+++ trunk/samples/calendar-sample/pom.xml 2008-03-20 15:37:25 UTC (rev 7011)
@@ -23,6 +23,11 @@
<version>3.2.0-SNAPSHOT</version>
</dependency>
<dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>modal-panel</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
<groupId>org.richfaces.samples</groupId>
<artifactId>skins</artifactId>
<version>3.2.0-SNAPSHOT</version>
16 years, 10 months
JBoss Rich Faces SVN: r7010 - trunk/samples/richfaces-demo/src/main/webapp/css.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-03-20 11:30:15 -0400 (Thu, 20 Mar 2008)
New Revision: 7010
Modified:
trunk/samples/richfaces-demo/src/main/webapp/css/common.css
Log:
overrode standart font for demo site
Modified: trunk/samples/richfaces-demo/src/main/webapp/css/common.css
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/css/common.css 2008-03-20 15:22:29 UTC (rev 7009)
+++ trunk/samples/richfaces-demo/src/main/webapp/css/common.css 2008-03-20 15:30:15 UTC (rev 7010)
@@ -66,6 +66,11 @@
font-family : verdana;
font-size : 11px;
}
+
+input, select, textarea, button, keygen, isindex, legend, a {
+ font-family : verdana;
+}
+
.top_navbar td{
padding : 5px 10px 7px 10px;
background-position : left;
16 years, 10 months
JBoss Rich Faces SVN: r7009 - in trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html: scripts and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-03-20 11:22:29 -0400 (Thu, 20 Mar 2008)
New Revision: 7009
Modified:
trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/css/panelbar.xcss
trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js
Log:
RF-2611
Modified: trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/css/panelbar.xcss
===================================================================
--- trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/css/panelbar.xcss 2008-03-20 15:18:50 UTC (rev 7008)
+++ trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/css/panelbar.xcss 2008-03-20 15:22:29 UTC (rev 7009)
@@ -15,6 +15,7 @@
border : 0px solid red;
padding : 0px 1px 1px 5px;
cursor : pointer;
+ zoom : 1;
}
.dr-pnlbar-h-act{
Modified: trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js
===================================================================
--- trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js 2008-03-20 15:18:50 UTC (rev 7008)
+++ trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js 2008-03-20 15:22:29 UTC (rev 7009)
@@ -223,9 +223,6 @@
this.content.style.height="0px";
// this.content.style.paddingRight="0px";
this.hightFirefoxDelta = 0;
- if (RichFaces.navigatorType()==RichFaces.MSIE) {
- header.style.width = "100%";
- }
if (this.slidePanel.isIE){
if (this.slidePanel.panel.style.width.indexOf("%")!=-1) {
16 years, 10 months