JBoss Rich Faces SVN: r4824 - branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/calendar.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-12-13 11:59:29 -0500 (Thu, 13 Dec 2007)
New Revision: 4824
Modified:
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-1561
language is checked
Modified: branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml 2007-12-13 16:28:20 UTC (rev 4823)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml 2007-12-13 16:59:29 UTC (rev 4824)
@@ -23,21 +23,13 @@
</ui:include>
</div>
- <p>
- Calendar component allows to work with <b>time</b> also. You should just define
- time in pattern ( for example "<i>d/M/yy HH:mm</i>" as it defined in this sample
- by default)
- </p>
- <p>
- After you choose some date - you'll be able to manage time for this date. Spinner will be called
- after click on the time fields to edit them.
- </p>
- <p>
- Calendar could be used without "Apply" button(will be closed after date selected)
- </p>
+ <p>Calendar component allows to work with <b>time</b> also. You should just define time in pattern ( for example "<i>d/M/yy HH:mm</i>" as it's defined in this sample by default)
+ </p>
+ <p>After you choose some date, you'll be able to manage time for this date. Spinner will be called after click on the time fields to edit them.</p>
+ <p>Calendar could be used without "Apply" button (will be closed after date selected)</p>
<p>
<b>locale</b> attribute is defined as a Locale. The default value is set to the Locale of the current page.
- The name of the month and week days names depend of the Locale.
+ The name of the month and week days depend on the Locale.
</p>
<p>
18 years, 4 months
JBoss Rich Faces SVN: r4823 - in trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html: scripts and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-12-13 11:28:20 -0500 (Thu, 13 Dec 2007)
New Revision: 4823
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/css/calendar.xcss
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
RF-1623
Modified: trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/css/calendar.xcss
===================================================================
--- trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/css/calendar.xcss 2007-12-13 16:22:53 UTC (rev 4822)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/css/calendar.xcss 2007-12-13 16:28:20 UTC (rev 4823)
@@ -206,13 +206,10 @@
</u:selector>
<u:selector name=".rich-calendar-hover">
- <u:style name="background-color" value="#f3f3f3"/> /*unknown parameter - need to add*/
+ <u:style name="background-color" skin="calendarSpecBackgroundColor"/>
+ <u:style name="color" skin="calendarSpecTextColor"/>
</u:selector>
- <u:selector name=".rich-calendar-today.rich-calendar-hover">
- <u:style name="color" skin="calendarCurrentBackgroundColor"/>
- </u:selector>
-
<u:selector name=".rich-calendar-toolfooter">
<u:style name="background" skin="additionalBackgroundColor"/>
<u:style name="font-size" skin="generalSizeFont"/>
@@ -231,7 +228,8 @@
</u:selector>
<u:selector name=".rich-calendar-tool-btn-hover">
- <u:style name="background" skin="calendarWeekBackgroundColor"/>
+ <u:style name="background-color" skin="calendarWeekBackgroundColor"/>
+ <u:style name="color" skin="generalTextColor"/>
<u:style name="border" value="1px solid"/>
<u:style name="border-color" skin="tableBackgroundColor"/>
<u:style name="border-right-color" skin="panelBorderColor"/>
Modified: trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-12-13 16:22:53 UTC (rev 4822)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-12-13 16:28:20 UTC (rev 4823)
@@ -1201,7 +1201,7 @@
//var date = new Date(this.currentDate.getFullYear(), this.currentDate.getMonth()+daydata._month, daydata.day);
if (this.invokeEvent("datemouseover", obj, e, daydata.date) && daydata.enabled)
{
- if (daydata._month==0) Element.addClassName(obj,'rich-calendar-hover');
+ if (daydata._month==0 && obj.id!=this.selectedDateCellId && obj.id!=this.todayCellId) Element.addClassName(obj,'rich-calendar-hover');
}
}
},
@@ -1214,7 +1214,7 @@
//var date = new Date(this.currentDate.getFullYear(), this.currentDate.getMonth()+daydata._month, daydata.day);
if (this.invokeEvent("datemouseout", obj, e, daydata.date) && daydata.enabled)
{
- if (daydata._month==0) Element.removeClassName(obj,'rich-calendar-hover');
+ if (daydata._month==0 && obj.id!=this.selectedDateCellId && obj.id!=this.todayCellId) Element.removeClassName(obj,'rich-calendar-hover');
}
}
},
@@ -1295,7 +1295,7 @@
return result;
},
- clearEffect: function (element_id, effect, className)
+ clearEffect: function (element_id, effect, className, className1)
{
if (effect)
{
@@ -1307,6 +1307,7 @@
var e = $(element_id);
e.style['backgroundColor'] = '';
if (className) Element.removeClassName(e, className);
+ if (className1) Element.addClassName(e, className1);
}
return null;
},
@@ -1403,7 +1404,7 @@
var boundaryDatesModeFlag = (this.params.boundaryDatesMode == "scroll" || this.params.boundaryDatesMode == "select");
this.todayCellId = this.clearEffect(this.todayCellId, this.highlightEffect, "rich-calendar-today");
- this.selectedDateCellId = this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select");
+ this.selectedDateCellId = this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select", "rich-calendar-btn");
//var _d=new Date();
var obj = $(this.params.weekNumberBarId+"1");
@@ -1503,6 +1504,7 @@
{
this.selectedDateCellId = element.id;
this.selectedDateCellColor = this.getCellBackgroundColor(element);
+ e.remove("rich-calendar-btn");
e.add("rich-calendar-select");
}
@@ -1731,9 +1733,12 @@
// find cell and change style class
var e = $(this.DATE_ELEMENT_ID+(this.firstDateIndex + this.selectedDate.getDate()-1));
- this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select");
+ this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select", "rich-calendar-btn");
this.selectedDateCellId = e.id;
this.selectedDateCellColor = this.getCellBackgroundColor(e);
+
+ Element.removeClassName(e, "rich-calendar-btn");
+ Element.removeClassName(e, "rich-calendar-hover");
Element.addClassName(e, "rich-calendar-select");
this.renderHF();
@@ -1753,7 +1758,7 @@
this.selectedDate = null;
field.value = "";
- this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select");
+ this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select", "rich-calendar-btn");
if (this.selectedDateCellId)
{
@@ -1790,7 +1795,7 @@
{
this.selectedDate = null;
- this.selectedDateCellId = this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select");
+ this.selectedDateCellId = this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select", "rich-calendar-btn");
this.renderHF();
if (!this.showApplyButton)
18 years, 4 months
JBoss Rich Faces SVN: r4822 - in branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html: scripts and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-12-13 11:22:53 -0500 (Thu, 13 Dec 2007)
New Revision: 4822
Modified:
branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/css/calendar.xcss
branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
RF-1623
Modified: branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/css/calendar.xcss
===================================================================
--- branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/css/calendar.xcss 2007-12-13 15:59:11 UTC (rev 4821)
+++ branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/css/calendar.xcss 2007-12-13 16:22:53 UTC (rev 4822)
@@ -204,13 +204,10 @@
</u:selector>
<u:selector name=".rich-calendar-hover">
- <u:style name="background-color" value="#f3f3f3"/> /*unknown parameter - need to add*/
+ <u:style name="background-color" skin="calendarSpecBackgroundColor"/>
+ <u:style name="color" skin="calendarSpecTextColor"/>
</u:selector>
- <u:selector name=".rich-calendar-today.rich-calendar-hover">
- <u:style name="color" skin="calendarCurrentBackgroundColor"/>
- </u:selector>
-
<u:selector name=".rich-calendar-toolfooter">
<u:style name="background" skin="additionalBackgroundColor"/>
<u:style name="font-size" skin="generalSizeFont"/>
Modified: branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-12-13 15:59:11 UTC (rev 4821)
+++ branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-12-13 16:22:53 UTC (rev 4822)
@@ -1201,7 +1201,7 @@
//var date = new Date(this.currentDate.getFullYear(), this.currentDate.getMonth()+daydata._month, daydata.day);
if (this.invokeEvent("datemouseover", obj, e, daydata.date) && daydata.enabled)
{
- if (daydata._month==0) Element.addClassName(obj,'rich-calendar-hover');
+ if (daydata._month==0 && obj.id!=this.selectedDateCellId && obj.id!=this.todayCellId) Element.addClassName(obj,'rich-calendar-hover');
}
}
},
@@ -1214,7 +1214,7 @@
//var date = new Date(this.currentDate.getFullYear(), this.currentDate.getMonth()+daydata._month, daydata.day);
if (this.invokeEvent("datemouseout", obj, e, daydata.date) && daydata.enabled)
{
- if (daydata._month==0) Element.removeClassName(obj,'rich-calendar-hover');
+ if (daydata._month==0 && obj.id!=this.selectedDateCellId && obj.id!=this.todayCellId) Element.removeClassName(obj,'rich-calendar-hover');
}
}
},
@@ -1295,7 +1295,7 @@
return result;
},
- clearEffect: function (element_id, effect, className)
+ clearEffect: function (element_id, effect, className, className1)
{
if (effect)
{
@@ -1307,6 +1307,7 @@
var e = $(element_id);
e.style['backgroundColor'] = '';
if (className) Element.removeClassName(e, className);
+ if (className1) Element.addClassName(e, className1);
}
return null;
},
@@ -1403,7 +1404,7 @@
var boundaryDatesModeFlag = (this.params.boundaryDatesMode == "scroll" || this.params.boundaryDatesMode == "select");
this.todayCellId = this.clearEffect(this.todayCellId, this.highlightEffect, "rich-calendar-today");
- this.selectedDateCellId = this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select");
+ this.selectedDateCellId = this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select", "rich-calendar-btn");
//var _d=new Date();
var obj = $(this.params.weekNumberBarId+"1");
@@ -1503,6 +1504,7 @@
{
this.selectedDateCellId = element.id;
this.selectedDateCellColor = this.getCellBackgroundColor(element);
+ e.remove("rich-calendar-btn");
e.add("rich-calendar-select");
}
@@ -1731,9 +1733,12 @@
// find cell and change style class
var e = $(this.DATE_ELEMENT_ID+(this.firstDateIndex + this.selectedDate.getDate()-1));
- this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select");
+ this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select", "rich-calendar-btn");
this.selectedDateCellId = e.id;
this.selectedDateCellColor = this.getCellBackgroundColor(e);
+
+ Element.removeClassName(e, "rich-calendar-btn");
+ Element.removeClassName(e, "rich-calendar-hover");
Element.addClassName(e, "rich-calendar-select");
this.renderHF();
@@ -1753,7 +1758,7 @@
this.selectedDate = null;
field.value = "";
- this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select");
+ this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select", "rich-calendar-btn");
if (this.selectedDateCellId)
{
@@ -1790,7 +1795,7 @@
{
this.selectedDate = null;
- this.selectedDateCellId = this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select");
+ this.selectedDateCellId = this.clearEffect(this.selectedDateCellId, this.highlightEffect2, "rich-calendar-select", "rich-calendar-btn");
this.renderHF();
if (!this.showApplyButton)
18 years, 4 months
JBoss Rich Faces SVN: r4821 - branches/3.1.x/ui/listShuttle/src/test/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-12-13 10:59:11 -0500 (Thu, 13 Dec 2007)
New Revision: 4821
Modified:
branches/3.1.x/ui/listShuttle/src/test/java/org/richfaces/component/ListShuttleComponentTest.java
Log:
http://jira.jboss.com/jira/browse/RF-1583
Modified: branches/3.1.x/ui/listShuttle/src/test/java/org/richfaces/component/ListShuttleComponentTest.java
===================================================================
--- branches/3.1.x/ui/listShuttle/src/test/java/org/richfaces/component/ListShuttleComponentTest.java 2007-12-13 15:31:47 UTC (rev 4820)
+++ branches/3.1.x/ui/listShuttle/src/test/java/org/richfaces/component/ListShuttleComponentTest.java 2007-12-13 15:59:11 UTC (rev 4821)
@@ -79,59 +79,15 @@
sourceBean = new ListShuttleBean(false);
targetBean = new ListShuttleBean();
+ externalContext.getRequestMap().put("sourceBean", sourceBean);
+ externalContext.getRequestMap().put("targetBean", targetBean);
+
listShuttle = (UIListShuttle)application.createComponent(UIListShuttle.COMPONENT_TYPE);
listShuttle.setId("listShuttle");
listShuttle.setVar("item");
- listShuttle.setValueBinding("sourceValue", new ValueBinding() {
-
- public Class getType(FacesContext arg0) throws EvaluationException,
- PropertyNotFoundException {
- return String.class;
- }
-
- public Object getValue(FacesContext arg0)
- throws EvaluationException, PropertyNotFoundException {
- return sourceBean.getValue();
- }
-
- public boolean isReadOnly(FacesContext arg0)
- throws EvaluationException, PropertyNotFoundException {
- return false;
- }
-
- public void setValue(FacesContext arg0, Object arg1)
- throws EvaluationException, PropertyNotFoundException {
- assertTrue(arg1 instanceof List);
- sourceBean.setValue((List)arg1);
- }
-
- });
+ listShuttle.setValueBinding("sourceValue", application.createValueBinding("#{sourceBean.value}"));
+ listShuttle.setValueBinding("targetValue", application.createValueBinding("#{targetBean.value}"));
- listShuttle.setValueBinding("targetValue", new ValueBinding() {
-
- public Class getType(FacesContext arg0) throws EvaluationException,
- PropertyNotFoundException {
- return String.class;
- }
-
- public Object getValue(FacesContext arg0)
- throws EvaluationException, PropertyNotFoundException {
- return targetBean.getValue();
- }
-
- public boolean isReadOnly(FacesContext arg0)
- throws EvaluationException, PropertyNotFoundException {
- return false;
- }
-
- public void setValue(FacesContext arg0, Object arg1)
- throws EvaluationException, PropertyNotFoundException {
- assertTrue(arg1 instanceof List);
- targetBean.setValue((List)arg1);
- }
-
- });
-
form.getChildren().add(listShuttle);
listShuttle2 = (UIListShuttle)application.createComponent(UIListShuttle.COMPONENT_TYPE);
18 years, 4 months
JBoss Rich Faces SVN: r4820 - branches/3.1.x/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2007-12-13 10:31:47 -0500 (Thu, 13 Dec 2007)
New Revision: 4820
Modified:
branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml
Log:
http://jira.jboss.com/jira/browse/RF-1184 - add Skin parameters redefinitions, classes to the Definition of Custom Style Classes section
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml 2007-12-13 14:56:43 UTC (rev 4819)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/orderingList.xml 2007-12-13 15:31:47 UTC (rev 4820)
@@ -475,7 +475,77 @@
<section>
<title>Skin Parameters Redefinition</title>
+
<table>
+ <title>Skin parameters redefinition for a wrapper <div> element of a list</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>tableBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ <row>
+ <entry>tableBorderColor</entry>
+ <entry>border-color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a header cell of a list</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>trimColor</entry>
+ <entry>background-color</entry>
+ </row>
+ <row>
+ <entry>generalTextColor</entry>
+ <entry>color</entry>
+ </row>
+ <row>
+ <entry>headerFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ <row>
+ <entry>headerSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+
+ <row>
+ <entry>tableBorderWidth</entry>
+ <entry>border-right-width</entry>
+ </row>
+ <row>
+ <entry>tableBorderWidth</entry>
+ <entry>border-bottom-width</entry>
+ </row>
+ <row>
+ <entry>tableBorderColor</entry>
+ <entry>border-right-color</entry>
+ </row>
+ <row>
+ <entry>tableBorderColor</entry>
+ <entry>border-bottom-color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
<title>Skin parameters redefinition for caption element</title>
<tgroup cols="2">
<thead>
@@ -520,6 +590,24 @@
</table>
<table>
+ <title>Skin parameters redefinition for selected row element</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>additionalBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
<title>Skin parameters redefinition for cell element</title>
<tgroup cols="2">
<thead>
@@ -594,6 +682,182 @@
</table>
<table>
+ <title>Skin parameters redefinition for a button</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>trimColor</entry>
+ <entry>background-color</entry>
+ </row>
+ <row>
+ <entry>generalTextColor</entry>
+ <entry>color</entry>
+ </row>
+ <row>
+ <entry>headerFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ <row>
+ <entry>headerSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a disabled button</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>trimColor</entry>
+ <entry>background-color</entry>
+ </row>
+ <row>
+ <entry>tabDisabledTextColor</entry>
+ <entry>color</entry>
+ </row>
+ <row>
+ <entry>headerFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ <row>
+ <entry>headerSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a button highlight</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>trimColor</entry>
+ <entry>background-color</entry>
+ </row>
+ <row>
+ <entry>selectControlColor</entry>
+ <entry>border-color</entry>
+ </row>
+ <row>
+ <entry>tableBorderWidth</entry>
+ <entry>border-width</entry>
+ </row>
+ <row>
+ <entry>headerFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ <row>
+ <entry>headerSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+ <row>
+ <entry>generalTextColor</entry>
+ <entry>color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a pressed button</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>additionalBackgroundColor</entry>
+ <entry>background-color</entry>
+ </row>
+ <row>
+ <entry>tableBorderColor</entry>
+ <entry>border-color</entry>
+ </row>
+ <row>
+ <entry>tableBorderWidth</entry>
+ <entry>border-width</entry>
+ </row>
+ <row>
+ <entry>headerFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ <row>
+ <entry>headerSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+ <row>
+ <entry>generalTextColor</entry>
+ <entry>color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a button content</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>headerFamilyFont</entry>
+ <entry>font-family</entry>
+ </row>
+ <row>
+ <entry>headerSizeFont</entry>
+ <entry>font-size</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
+ <title>Skin parameters redefinition for a button selection</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Skin parameters</entry>
+ <entry>CSS properties</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>generalTextColor</entry>
+ <entry>color</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
<title>Skin parameters redefinition for top, bottom, up, down controls and for controls in disabled state</title>
<tgroup cols="2">
<thead>
@@ -630,6 +894,48 @@
</figure>
<table>
+ <title>Classes names that define a list representation</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Class name</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>rich-ordering-list-body</entry>
+ <entry>Defines styles for a wrapper table element of an orderingList</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-output</entry>
+ <entry>Defines styles for a wrapper <div> element of a list</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-items</entry>
+ <entry>Defines styles for a wrapper table element of items in the list</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-content</entry>
+ <entry>Defines styles for a list content</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-header</entry>
+ <entry>Defines styles for a wrapper <div> element for a list header</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-table-header</entry>
+ <entry>Defines styles for a wrapper <tr> element for a list header</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-table-header-cell</entry>
+ <entry>Defines styles for a header cell</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ <table>
<title>Classes names that define a caption representation</title>
<tgroup cols="2">
<thead>
@@ -655,6 +961,7 @@
</tgroup>
</table>
+
<table>
<title>Classes names that define rows representation</title>
<tgroup cols="2">
@@ -715,6 +1022,54 @@
</table>
<table>
+ <title>Classes names that define a button representation</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Class name</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>rich-ordering-list-button</entry>
+ <entry>Defines styles for a button</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-button-disabled</entry>
+ <entry>Defines styles for a disabled button</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-button-light</entry>
+ <entry>Defines styles for a button highlight</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-button-press</entry>
+ <entry>Defines styles for a pressed button</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-button-content</entry>
+ <entry>Defines styles for a button content</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-button-selection</entry>
+ <entry>Defines styles for a button selection</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-button-valign</entry>
+ <entry>Defines styles for a wrapper <td> element for buttons vertical align</entry>
+ </row>
+ <row>
+ <entry>rich-ordering-list-button-layout</entry>
+ <entry>Defines styles for a wrapper <div> element of buttons layout</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+
+
+ <table>
<title>Classes names that define controls representation</title>
<tgroup cols="2">
<thead>
18 years, 4 months
JBoss Rich Faces SVN: r4819 - branches/3.1.x/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-12-13 09:56:43 -0500 (Thu, 13 Dec 2007)
New Revision: 4819
Modified:
branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml
Log:
http://jira.jboss.com/jira/browse/RF-396 - added links.
Modified: branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml
===================================================================
--- branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml 2007-12-13 14:50:51 UTC (rev 4818)
+++ branches/3.1.x/docs/userguide/en/src/main/docbook/included/portlet.xml 2007-12-13 14:56:43 UTC (rev 4819)
@@ -1,32 +1,32 @@
<?xml version='1.0' encoding='UTF-8'?>
<chapter>
-
- <table>
- <title>Component identification parameters </title>
- <tgroup cols="2">
- <thead>
- <row>
- <entry>Name</entry>
- <entry>Value</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>component-type</entry>
- <entry>org.ajax4jsf.Portlet</entry>
- </row>
- <row>
- <entry>component-family</entry>
- <entry>org.ajax4jsf.component.Portlet</entry>
- </row>
- <row>
- <entry>component-class</entry>
- <entry>org.ajax4jsf.component.html.HtmlPortlet</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
-
+
+ <table>
+ <title>Component identification parameters </title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Value</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>component-type</entry>
+ <entry>org.ajax4jsf.Portlet</entry>
+ </row>
+ <row>
+ <entry>component-family</entry>
+ <entry>org.ajax4jsf.component.Portlet</entry>
+ </row>
+ <row>
+ <entry>component-class</entry>
+ <entry>org.ajax4jsf.component.html.HtmlPortlet</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
<section>
<title>Creating on a page</title>
<programlisting role="XML"><![CDATA[
@@ -37,8 +37,8 @@
</f:view>
]]></programlisting>
</section>
-
- <section>
+
+ <section>
<title>Dynamical creation of a component from Java code</title>
<programlisting role="JAVA"><![CDATA[
import org.ajax4jsf.component.html.HtmlPortlet;
@@ -46,27 +46,35 @@
HtmlPortlet myPortlet = new HtmlPortlet();
...]]></programlisting>
</section>
-
+
<section>
<title>Key attributes and ways of usage</title>
- <para>
- Portal page can include some instances of the same portlet but clientId of elements 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 page.
- All portlet content should be wrapped by <emphasis role="bold"><property><a4j:portlet></property></emphasis> for resolving problems mentioned
- before.
- </para>
+ <para> Portal page can include some instances of the same portlet but clientId of elements
+ 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
+ page. All portlet content should be wrapped by <emphasis role="bold">
+ <property><a4j:portlet></property>
+ </emphasis> for resolving problems mentioned before. </para>
</section>
<section>
<title>Relevant resources links</title>
<para><ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/portlet.jsf?c=portlet"
- >Here</ulink> you can see the example of <emphasis role="bold"
- ><property><a4j:portlet></property></emphasis> usage and sources for the given example. </para>
- <para>
- The aditional information about component usage you can find here:
- <ulink url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107325">Ajax4Jsf Users Forum.
- </ulink>
- </para>
- </section>
-</chapter>
\ No newline at end of file
+ >Here</ulink> you can see the example of <emphasis role="bold">
+ <property><a4j:portlet></property>
+ </emphasis> usage and sources for the given example. </para>
+ <para> The aditional information about component usage you can find here: <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107325"
+ >Ajax4Jsf Users Forum. </ulink>
+ </para>
+ <para>Portlet Sample could be checked out from JBoss SVN: <ulink
+ url="http://anonsvn.jboss.org/repos/ajax4jsf/trunk/samples/portal-echo/">portal-echo
+ application. </ulink>
+ </para>
+ <para>Usage instructions for this demo could be found at the corresponding: <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107325">portal-echo
+ application. </ulink></para>
+ </section>
+</chapter>
18 years, 4 months
JBoss Rich Faces SVN: r4818 - trunk/ui/dataTable/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-12-13 09:50:51 -0500 (Thu, 13 Dec 2007)
New Revision: 4818
Modified:
trunk/ui/dataTable/src/main/config/component/colgroup.xml
Log:
http://jira.jboss.com/jira/browse/RF-1553
Modified: trunk/ui/dataTable/src/main/config/component/colgroup.xml
===================================================================
--- trunk/ui/dataTable/src/main/config/component/colgroup.xml 2007-12-13 14:48:58 UTC (rev 4817)
+++ trunk/ui/dataTable/src/main/config/component/colgroup.xml 2007-12-13 14:50:51 UTC (rev 4818)
@@ -29,6 +29,10 @@
-->
&ui_component_attributes;
&html_universal_attributes;
+ <property disabled="true" hidden="true">
+ <name>breakBefore</name>
+ </property>
+
<property>
<name>columnClasses</name>
<classname>java.lang.String</classname>
18 years, 4 months
JBoss Rich Faces SVN: r4817 - branches/3.1.x/ui/dataTable/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-12-13 09:48:58 -0500 (Thu, 13 Dec 2007)
New Revision: 4817
Modified:
branches/3.1.x/ui/dataTable/src/main/config/component/colgroup.xml
Log:
http://jira.jboss.com/jira/browse/RF-1553
Modified: branches/3.1.x/ui/dataTable/src/main/config/component/colgroup.xml
===================================================================
--- branches/3.1.x/ui/dataTable/src/main/config/component/colgroup.xml 2007-12-13 14:39:06 UTC (rev 4816)
+++ branches/3.1.x/ui/dataTable/src/main/config/component/colgroup.xml 2007-12-13 14:48:58 UTC (rev 4817)
@@ -28,7 +28,10 @@
</taghandler>
-->
&ui_component_attributes;
- &html_universal_attributes;
+ &html_universal_attributes;
+ <property disabled="true" hidden="true">
+ <name>breakBefore</name>
+ </property>
<property>
<name>columnClasses</name>
<classname>java.lang.String</classname>
18 years, 4 months
JBoss Rich Faces SVN: r4816 - in branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox: examples and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-12-13 09:39:06 -0500 (Thu, 13 Dec 2007)
New Revision: 4816
Modified:
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/custom.xhtml
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-1356
language is checked
Modified: branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/custom.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/custom.xhtml 2007-12-13 14:06:16 UTC (rev 4815)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/custom.xhtml 2007-12-13 14:39:06 UTC (rev 4816)
@@ -6,10 +6,8 @@
xmlns:rich="http://richfaces.org/rich">
<h:form id="suggestionbox_form">
-
<p>
- Suggestion Box will suggest you states capitals names. Comma and space could be used as suggestions separators."
- </p>
+ Suggestion Box will suggest you should state capitals names. Comma and space could be used as suggestions separators." </p>
<h:inputText value="#{capitalsBean.capital}" id="text" />
<rich:suggestionbox id="suggestionBoxId" for="text" tokens=",["
rules="#{suggestionBox.rules}"
@@ -21,24 +19,12 @@
border="#{suggestionBox.border}" width="#{suggestionBox.width}"
height="#{suggestionBox.height}"
shadowDepth="#{suggestionBox.shadowDepth}"
- cellpadding="#{suggestionBox.cellpadding}"
- nothingLabel="No capitals found" columnClasses="center">
- <h:column>
- <f:facet name="header">
- <h:outputText value="123"></h:outputText>
- </f:facet>
+ cellpadding="#{suggestionBox.cellpadding}" nothingLabel="No capitals found" columnClasses="center">
+ <h:column> <f:facet name="header"> <h:outputText value="123"></h:outputText> </f:facet>
<h:graphicImage value="#{result.stateFlag}" />
</h:column>
- <h:column>
- <h:outputText value="#{result.name}" />
- </h:column>
- <h:column>
- <h:outputText value="#{result.state}" style="font-style:italic"/>
- </h:column>
- </rich:suggestionbox>
-
- <rich:spacer height="30px"/>
-
+ <h:column> <h:outputText value="#{result.name}" /> </h:column> <h:column> <h:outputText value="#{result.state}" style="font-style:italic"/> </h:column> </rich:suggestionbox>
+ <rich:spacer height="30px"/>
<h:panelGrid columns="2" border="0" >
<h:outputText value="Border" />
Modified: branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/usage.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/usage.xhtml 2007-12-13 14:06:16 UTC (rev 4815)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/usage.xhtml 2007-12-13 14:39:06 UTC (rev 4816)
@@ -12,11 +12,11 @@
<p>RichFaces Suggestion Box component adds the autocomplete
capability to the existing input component such as h:inputText or
- t:inputText. Use the attribute 'for', in order to pint to the necessary input component
+ t:inputText. Use the attribute 'for', in order to point to the necessary input component
to add the autocomplete capabity to it.</p>
<p>Working with Suggestion Box is similar to the h:dataTable
component, but instead of the 'value' attribute it has a
- suggestionAction attribute that points to the method that returns the
+ suggestionAction attribute that points to the method, which returns a
filtered collection. The 'fetch' attribute points to the data that
is inserted into the input field if a particular row is selected
or clicked from the suggested list.</p>
18 years, 4 months
JBoss Rich Faces SVN: r4815 - trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2007-12-13 09:06:16 -0500 (Thu, 13 Dec 2007)
New Revision: 4815
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
Log:
RF-1592
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2007-12-13 14:00:24 UTC (rev 4814)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/ScrollableGrid.js 2007-12-13 14:06:16 UTC (rev 4815)
@@ -69,7 +69,7 @@
if (this.options.selectionInput) {
this.selectionManager = new ClientUI.controls.grid.SelectionManager(this);
}
-
+ this.element.fire("grid:initialized");
this.endPostProcessTime = (new Date()).getTime();
}.bind(this), 500);
this.getBody().restoreScrollState();
18 years, 4 months