JBoss Rich Faces SVN: r8576 - trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-05-14 10:11:50 -0400 (Wed, 14 May 2008)
New Revision: 8576
Modified:
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-2543
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-14 13:26:24 UTC (rev 8575)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-05-14 14:11:50 UTC (rev 8576)
@@ -978,6 +978,7 @@
RichFaces.Position = {
source: null,
target: null,
+
smartClone: function(source, target, options) {
this.options = Object.extend({
width: "auto"
@@ -1002,23 +1003,8 @@
var offsets = this.calcOffsets(this.source);
- var offsetTop = 0;
- var offsetLeft = 0;
- if (RichFaces.navigatorType() != RichFaces.MSIE)
- {
- var els = this.target.style;
- var originalVisibility = els.visibility;
- var originalDisplay = els.display;
- els.visibility = 'hidden';
- els.display = '';
- var offsetTop = this.target.offsetParent.scrollTop;
- var offsetLeft = this.target.offsetParent.scrollLeft;
- els.display = originalDisplay;
- els.visibility = originalVisibility;
- }
-
- Element.setStyle(this.target, Object.extend({"left": (offsets["x"]+offsetLeft)
- + "px", "top": (offsets["y"]+offsetTop) + "px"}, targetStyle));
+ Element.setStyle(this.target, Object.extend({"left": (offsets["x"])
+ + "px", "top": (offsets["y"]) + "px"}, targetStyle));
if (options.iframeId) {
var iframe = $(options.iframeId);
@@ -1034,9 +1020,38 @@
iframe.style.height = this.target.style.height;
}
},
+
+ cumulativeOffset: function(element) {
+ var valueT = 0, valueL = 0;
+ var fixedFlag = false;
+ do {
+ if (fixedFlag) {
+ fixedFlag = false;
+ valueT += element.scrollTop || 0;
+ valueL += element.scrollLeft || 0;
+ }
+ valueT += element.offsetTop || 0;
+ valueL += element.offsetLeft || 0;
+
+ var position = element.style['position'];
+ if (!position && element.currentStyle) {
+ position = element.currentStyle['position'];
+ }
+ else if (!position && document.defaultView && document.defaultView.getComputedStyle) {
+ var css = document.defaultView.getComputedStyle(element, null);
+ position = css ? css['position'] : null;
+ }
+ if (position == 'fixed') {
+ fixedFlag= true;
+ }
+ element = element.offsetParent;
+ } while (element);
+ return [valueL, valueT];
+ },
+
calcOffsets : function(element) {
- var offsetBase = element.cumulativeOffset();
+ var offsetBase = this.cumulativeOffset(element);
return {x: offsetBase[0], y: element.offsetHeight + offsetBase[1]};
},
16 years, 8 months
JBoss Rich Faces SVN: r8575 - trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-05-14 09:26:24 -0400 (Wed, 14 May 2008)
New Revision: 8575
Modified:
trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinner.xhtml
Log:
Some changes
Modified: trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinner.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinner.xhtml 2008-05-14 13:20:46 UTC (rev 8574)
+++ trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinner.xhtml 2008-05-14 13:26:24 UTC (rev 8575)
@@ -4,10 +4,20 @@
<rich:inputNumberSpinner id="SpinnerID" tabindex="#{inputNumberSpinner.tabindex}" cycled="#{inputNumberSpinner.cycled}"
disabled="#{inputNumberSpinner.disabled}" maxValue="#{inputNumberSpinner.max}" minValue="#{inputNumberSpinner.min}"
- step="#{inputNumberSpinner.step}" rendered="#{inputNumberSpinner.rendered}" value="#{inputNumberSpinner.value}
+ step="#{inputNumberSpinner.step}" rendered="#{inputNumberSpinner.rendered}" value="#{inputNumberSpinner.value}"
inputClass="#{style.inputClass}" styleClass="#{style.styleClass}" inputStyle="#{style.inputStyle}" style="#{style.style}"
enableManualInput="#{inputNumberSpinner.manualInput}" inputSize="#{inputNumberSpinner.inputSize}"
onmousedown="#{event.onmousedown}" onblur="#{event.onblur}"
- onchange="#{event.onchange}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onerror="#{event.onerror}" onfocus="#{event.onfocus}" onselect="#{event.onselect}" onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" ondownclick="#{event.ondownclick}" onupclick="#{event.onupclick}"></rich:inputNumberSpinner>
+ onchange="#{event.onchange}" onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onerror="#{event.onerror}"
+ onfocus="#{event.onfocus}"
+ onselect="#{event.onselect}"
+ onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ ondownclick="#{event.ondownclick}" onupclick="#{event.onupclick}"></rich:inputNumberSpinner>
<rich:spacer height="20px"></rich:spacer>
</f:subview>
16 years, 8 months
JBoss Rich Faces SVN: r8574 - trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-05-14 09:20:46 -0400 (Wed, 14 May 2008)
New Revision: 8574
Modified:
trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinner.xhtml
trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.xhtml
Log:
Erase value from test page
Modified: trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinner.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinner.xhtml 2008-05-14 13:20:41 UTC (rev 8573)
+++ trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinner.xhtml 2008-05-14 13:20:46 UTC (rev 8574)
@@ -4,7 +4,7 @@
<rich:inputNumberSpinner id="SpinnerID" tabindex="#{inputNumberSpinner.tabindex}" cycled="#{inputNumberSpinner.cycled}"
disabled="#{inputNumberSpinner.disabled}" maxValue="#{inputNumberSpinner.max}" minValue="#{inputNumberSpinner.min}"
- step="#{inputNumberSpinner.step}" rendered="#{inputNumberSpinner.rendered}" value="#{inputNumberSpinner.value}"
+ step="#{inputNumberSpinner.step}" rendered="#{inputNumberSpinner.rendered}" value="#{inputNumberSpinner.value}
inputClass="#{style.inputClass}" styleClass="#{style.styleClass}" inputStyle="#{style.inputStyle}" style="#{style.style}"
enableManualInput="#{inputNumberSpinner.manualInput}" inputSize="#{inputNumberSpinner.inputSize}"
onmousedown="#{event.onmousedown}" onblur="#{event.onblur}"
Modified: trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.xhtml 2008-05-14 13:20:41 UTC (rev 8573)
+++ trunk/test-applications/facelets/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.xhtml 2008-05-14 13:20:46 UTC (rev 8574)
@@ -21,11 +21,6 @@
<a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
</h:inputText>
- <h:outputText value="Value: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.value}">
- <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
- </h:inputText>
-
<h:outputText value="Cycled:"></h:outputText>
<h:selectBooleanCheckbox value="#{inputNumberSpinner.cycled}">
<a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
16 years, 8 months
JBoss Rich Faces SVN: r8573 - trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner.
by richfaces-svn-commits@lists.jboss.org
Author: gmaksimenko
Date: 2008-05-14 09:20:41 -0400 (Wed, 14 May 2008)
New Revision: 8573
Modified:
trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.jsp
Log:
Erase value from test page
Modified: trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.jsp 2008-05-14 13:11:57 UTC (rev 8572)
+++ trunk/test-applications/jsp/src/main/webapp/InputNumberSpinner/InputNumberSpinnerProperty.jsp 2008-05-14 13:20:41 UTC (rev 8573)
@@ -25,11 +25,6 @@
<a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
</h:inputText>
- <h:outputText value="Value: "></h:outputText>
- <h:inputText value="#{inputNumberSpinner.value}">
- <a4j:support reRender="SpinnerID" event="onchange"></a4j:support>
- </h:inputText>
-
<h:outputText value="Cycled:"></h:outputText>
<h:selectBooleanCheckbox value="#{inputNumberSpinner.cycled}">
<a4j:support event="onclick" reRender="SpinnerID"></a4j:support>
16 years, 8 months
JBoss Rich Faces SVN: r8572 - in trunk/test-applications/jsp/src/main: java/util/data and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-05-14 09:11:57 -0400 (Wed, 14 May 2008)
New Revision: 8572
Modified:
trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java
trunk/test-applications/jsp/src/main/java/util/data/Data.java
trunk/test-applications/jsp/src/main/resources/org/richfaces/renderkit/fileUpload.properties
trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp
Log:
add column to scrollableDataTable with data of Date type.
Modified: trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java 2008-05-14 12:04:29 UTC (rev 8571)
+++ trunk/test-applications/jsp/src/main/java/scrollableDataTable/ScrollableDataTable.java 2008-05-14 13:11:57 UTC (rev 8572)
@@ -1,13 +1,13 @@
package scrollableDataTable;
import java.util.ArrayList;
+import java.util.GregorianCalendar;
import org.ajax4jsf.model.DataComponentState;
import org.richfaces.model.selection.Selection;
import util.data.Data;
-
/**
* @author AYanul
*
@@ -34,7 +34,16 @@
private String activeRowKey;
private Selection selection;
private boolean ajaxSingle;
+ private GregorianCalendar date;
+ public GregorianCalendar getDate() {
+ return date;
+ }
+
+ public void setDate(GregorianCalendar date) {
+ this.date = date;
+ }
+
public ScrollableDataTable() {
sortMode = "single";
width = "400px";
@@ -50,6 +59,7 @@
bypassUpdates = false;
ignoreDupResponses = false;
ajaxSingle = false;
+ date = new GregorianCalendar();
addNewItem();
}
@@ -161,14 +171,16 @@
this.hideWhenScrolling = hideWhenScrolling;
}
- public void addNewItem() {
+ public void addNewItem() {
if(dataLength < 0) dataLength = 0;
if(data.size() > dataLength)
- for(int i = dataLength; i < data.size(); )
+ for(int i = dataLength; i < data.size();i--)
data.remove(i);
else
- for(int i = data.size() + 1; i <= dataLength; i++)
- data.add(new Data(i, "Text " + i, "Link " + i, "select" +(i % 5), Data.statusIcon[i % 5]));
+ for(int i = data.size() + 1; i <= dataLength; i++){
+ date.set(2008, 5, 14, 3, i);
+ data.add(new Data(i, "Text " + i, "Link " + i, "select" +(i % 5), Data.statusIcon[i % 5], date.getTime()));
+ }
}
public ArrayList<Data> getData() {
Modified: trunk/test-applications/jsp/src/main/java/util/data/Data.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/data/Data.java 2008-05-14 12:04:29 UTC (rev 8571)
+++ trunk/test-applications/jsp/src/main/java/util/data/Data.java 2008-05-14 13:11:57 UTC (rev 8572)
@@ -1,5 +1,6 @@
package util.data;
+import java.util.Date;
import java.util.Random;
public class Data {
@@ -29,7 +30,34 @@
private boolean bool1;
private boolean bool2;
private boolean bool3;
+ private float float0;
+ private double double0;
+ private Date date0;
+ public Date getDate0() {
+ return date0;
+ }
+
+ public void setDate0(Date date0) {
+ this.date0 = date0;
+ }
+
+ public double getDouble0() {
+ return double0;
+ }
+
+ public void setDouble0(double double0) {
+ this.double0 = double0;
+ }
+
+ public float getFloat0() {
+ return float0;
+ }
+
+ public void setFloat0(float float0) {
+ this.float0 = float0;
+ }
+
public Data() {
this.str0 = "";
this.str1 = "";
@@ -43,6 +71,9 @@
this.bool1 = false;
this.bool2 = false;
this.bool3 = false;
+ this.float0 = 0.0f;
+ this.double0 = 0.0;
+ this.date0 = new Date();
}
public Data(int int0, int int1, String str0, int int2, String str1, int int3, String str2, String str3, boolean bool0) {
@@ -56,7 +87,28 @@
this.int3 = int3;
this.bool0 = bool0;
}
-
+ public Data(int int0, int int1, String str0, float float0, String str1, int int3, String str2, String str3, boolean bool0) {
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ this.int0 = int0;
+ this.int1 = int1;
+ this.float0 = float0;
+ this.int3 = int3;
+ this.bool0 = bool0;
+ }
+ public Data(int int0, int int1, String str0, double double0, String str1, int int3, String str2, String str3, boolean bool0) {
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ this.int0 = int0;
+ this.int1 = int1;
+ this.double0 = double0;
+ this.int3 = int3;
+ this.bool0 = bool0;
+ }
public Data(String str0, String str1, String str2, String str3, int int0,
int int1, int int2, int int3, boolean bool0, boolean bool1,
boolean bool2, boolean bool3) {
@@ -88,7 +140,15 @@
this.str2 = str2;
this.str3 = str3;
}
-
+ //for scrollableDataTable component
+ public Data(int int0, String str0, String str1, String str2, String str3, Date date0){
+ this.int0 = int0;
+ this.str0 = str0;
+ this.str1 = str1;
+ this.str2 = str2;
+ this.str3 = str3;
+ this.date0 = date0;
+ }
public Data(int int0, String str0, String str1, String str2, boolean bool0){
this.int0 = int0;
this.str0 = str0;
Modified: trunk/test-applications/jsp/src/main/resources/org/richfaces/renderkit/fileUpload.properties
===================================================================
--- trunk/test-applications/jsp/src/main/resources/org/richfaces/renderkit/fileUpload.properties 2008-05-14 12:04:29 UTC (rev 8571)
+++ trunk/test-applications/jsp/src/main/resources/org/richfaces/renderkit/fileUpload.properties 2008-05-14 13:11:57 UTC (rev 8572)
@@ -2,6 +2,8 @@
RICH_FILE_UPLOAD_STOP_LABEL=\u0441\u0442\u043E\u043F
RICH_FILE_UPLOAD_PROGRESS_LABEL=\u043F\u0440\u043E\u0433\u0440\u0435\u0441\u0441...
RICH_FILE_UPLOAD_CLEAR_LABEL=\u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C
+RICH_FILE_UPLOAD_ENTRY_STOP_LABEL=\u0441\u0442\u043E\u043F
+RICH_FILE_UPLOAD_ENTRY_CLEAR_LABEL=\u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C
RICH_FILE_UPLOAD_CLEAR_ALL_LABEL=\u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0432\u0441\u0451
RICH_FILE_UPLOAD_ENTRY_CANCEL_LABEL=\u043E\u0442\u043C\u0435\u043D\u0430
RICH_FILE_UPLOAD_ADD_LABEL=\u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0444\u0430\u0439\u043B
Modified: trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp 2008-05-14 12:04:29 UTC (rev 8571)
+++ trunk/test-applications/jsp/src/main/webapp/ScrollableDataTable/ScrollableDataTable.jsp 2008-05-14 13:11:57 UTC (rev 8572)
@@ -34,28 +34,22 @@
</h:panelGrid>
</h:panelGrid>
<rich:scrollableDataTable id="sdt" var="sdt" rowKeyVar="key"
- onRowDblClick="alert('row:#{key}')"
-
- rowKeyConverter="#{dataConverter}" value="#{scrollableDT.data}"
- rows="#{scrollableDT.rows}" width="#{scrollableDT.width}"
- height="#{scrollableDT.height}"
+ onRowDblClick="alert('row:#{key}')" rowKeyConverter="#{dataConverter}"
+ value="#{scrollableDT.data}" rows="#{scrollableDT.rows}"
+ width="#{scrollableDT.width}" height="#{scrollableDT.height}"
hideWhenScrolling="#{scrollableDT.hideWhenScrolling}"
reRender="inputID" frozenColCount="#{scrollableDT.frozenColCount}"
first="#{scrollableDT.first}"
ignoreDupResponses="#{scrollableDT.ignoreDupResponses}"
bypassUpdates="#{scrollableDT.bypassUpdates}"
- rendered="#{scrollableDT.rendered}"
-
- timeout="#{scrollableDT.timeout}" sortMode="#{scrollableDT.sortMode}"
+ rendered="#{scrollableDT.rendered}" timeout="#{scrollableDT.timeout}"
+ sortMode="#{scrollableDT.sortMode}"
selection="#{scrollableDT.selection}" eventsQueue="myEventsQueue"
-
columnClasses="#{style.columnClasses}"
footerClass="#{style.footerClass}" headerClass="#{style.headerClass}"
rowClasses="#{style.rowClasses}" activeClass="#{style.activeClass}"
styleClass="#{style.styleClass}" style="#{style.style}"
- selectedClass="#{style.selectedClass}"
- onbeforedomupdate="#{event.onbeforedomupdate}"
- oncomplete="#{event.oncomplete}" onRowClick="#{event.onRowClick}"
+ selectedClass="#{style.selectedClass}"
onRowMouseDown="#{event.onRowMouseDown}"
onRowMouseUp="#{event.onRowMouseUp}"
onselectionchange="#{event.onselectionchange}">
@@ -73,9 +67,16 @@
</rich:column>
<rich:column sortExpression="#{sdt.str0}" sortable="false">
- <f:facet name="header"><h:outputText value="Text"></h:outputText> </f:facet>
- <h:outputText value="#{sdt.str0}"></h:outputText>
- <f:facet name="footer"><h:outputText value="Text"></h:outputText> </f:facet>
+ <f:facet name="header">
+ <h:outputText value="Text"></h:outputText>
+ </f:facet>
+ <rich:comboBox width="10">
+ <f:selectItem itemValue="item_1" />
+ <f:selectItem itemValue="item_2" />
+ </rich:comboBox>
+ <f:facet name="footer">
+ <h:outputText value="Text"></h:outputText>
+ </f:facet>
</rich:column>
<rich:column sortExpression="#{sdt.str0}" sortable="false">
@@ -135,7 +136,17 @@
<h:outputText value="Link"></h:outputText>
</f:facet>
</rich:column>
-
+
+ <rich:column sortExpression="#{sdt.date0}" sortable="true">
+ <f:facet name="header">
+ <h:outputText value="#" />
+ </f:facet>
+ <h:outputText value="#{sdt.date0}"></h:outputText>
+ <f:facet name="footer">
+ <h:outputText value="#" />
+ </f:facet>
+ </rich:column>
+
<f:facet name="footer">
<h:outputText value="facet footer"></h:outputText>
</f:facet>
16 years, 8 months
JBoss Rich Faces SVN: r8571 - trunk/test-applications/facelets/src/main/webapp/SortingAndFiltering.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-05-14 08:04:29 -0400 (Wed, 14 May 2008)
New Revision: 8571
Modified:
trunk/test-applications/facelets/src/main/webapp/SortingAndFiltering/SortingAndFiltering.xhtml
Log:
RF-2778 test was added
Modified: trunk/test-applications/facelets/src/main/webapp/SortingAndFiltering/SortingAndFiltering.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/SortingAndFiltering/SortingAndFiltering.xhtml 2008-05-14 11:39:34 UTC (rev 8570)
+++ trunk/test-applications/facelets/src/main/webapp/SortingAndFiltering/SortingAndFiltering.xhtml 2008-05-14 12:04:29 UTC (rev 8571)
@@ -169,4 +169,65 @@
<f:selectItem itemLabel="ASCENDING" itemValue="ASCENDING" />
</h:selectOneRadio>
</h:panelGrid>
+ <br/>
+ <rich:dataTable value="#{sortingAndFiltering.data}" var="cap" width="500px" rows="15">
+
+ <f:facet name="header">
+
+ <rich:columnGroup>
+
+ <rich:column colspan="3">
+
+ <h:outputText value="Filtering Example"/>
+
+ </rich:column>
+
+ <rich:column breakBefore="true">
+
+ <h:outputText value="State Name"/>
+
+ </rich:column>
+
+ <rich:column>
+
+ <h:outputText value="State Capital"/>
+
+ </rich:column>
+
+ <rich:column>
+
+ <h:outputText value="State Time Zone"/>
+
+ </rich:column>
+
+ </rich:columnGroup>
+
+ </f:facet>
+
+ <rich:column filterBy="#{cap.str0}" >
+
+ <h:outputText value="#{cap.str0}"/>
+
+ </rich:column>
+
+ <rich:column filterBy="#{cap.str1}" >
+
+ <h:outputText value="#{cap.str1}"/>
+
+ </rich:column>
+
+ <rich:column filterBy="#{cap.str3}">
+
+ <h:outputText value="#{cap.str3}"/>
+
+ </rich:column>
+
+ <f:facet name="footer">
+
+ <rich:datascroller renderIfSinglePage="false"/>
+
+ </f:facet>
+
+ </rich:dataTable>
+
</f:subview>
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8570 - in trunk/samples/richfaces-demo/src/main: webapp/WEB-INF and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-05-14 07:39:34 -0400 (Wed, 14 May 2008)
New Revision: 8570
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java
trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-3391?page=all
http://jira.jboss.com/jira/browse/RF-3377
Modified: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java 2008-05-14 11:20:14 UTC (rev 8569)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/fileUpload/FileUploadBean.java 2008-05-14 11:39:34 UTC (rev 8570)
@@ -50,6 +50,10 @@
return null;
}
+ public long getTimeStamp(){
+ return System.currentTimeMillis();
+ }
+
public ArrayList<File> getFiles() {
return files;
}
Modified: trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-05-14 11:20:14 UTC (rev 8569)
+++ trunk/samples/richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-05-14 11:39:34 UTC (rev 8570)
@@ -150,12 +150,12 @@
<managed-property>
<property-name>color</property-name>
<property-class>long</property-class>
- <value>1000</value>
+ <value>0</value>
</managed-property>
<managed-property>
<property-name>scale</property-name>
<property-class>float</property-class>
- <value>2</value>
+ <value>0</value>
</managed-property>
<managed-property>
<property-name>text</property-name>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml 2008-05-14 11:20:14 UTC (rev 8569)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/examples/fileUpload.xhtml 2008-05-14 11:39:34 UTC (rev 8570)
@@ -38,7 +38,9 @@
<h:panelGrid columns="2">
<a4j:mediaOutput element="img" mimeType="#{file.mime}"
createContent="#{fileUploadBean.paint}" value="#{row}"
- style="width:100px; height:100px;" />
+ style="width:100px; height:100px;" cacheable="false">
+ <f:param value="#{fileUploadBean.timeStamp}" name="time"/>
+ </a4j:mediaOutput>
<h:panelGrid columns="2">
<h:outputText value="File Name:" />
<h:outputText value="#{file.name}" />
16 years, 8 months
JBoss Rich Faces SVN: r8569 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-05-14 07:20:14 -0400 (Wed, 14 May 2008)
New Revision: 8569
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
Log:
RF-398 - corrected component name (was rich:inplaceInput) for inplaceSelect.
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-05-14 11:17:37 UTC (rev 8568)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceSelect.xml 2008-05-14 11:20:14 UTC (rev 8569)
@@ -903,7 +903,7 @@
<para>
<ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/inplaceSelect.jsf?c=i...">Here</ulink>
you can see the example of <emphasis role="bold">
- <property><rich:inplaceIput></property>
+ <property><rich:inplaceSelect></property>
</emphasis> usage and sources for the given example. </para>
</section>
</section>
\ No newline at end of file
16 years, 8 months
JBoss Rich Faces SVN: r8568 - in trunk/docs/userguide/en/src/main: resources/images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-05-14 07:17:37 -0400 (Wed, 14 May 2008)
New Revision: 8568
Added:
trunk/docs/userguide/en/src/main/resources/images/columnGroup_oc.png
trunk/docs/userguide/en/src/main/resources/images/columnGroup_pc.png
trunk/docs/userguide/en/src/main/resources/images/column_oc.png
trunk/docs/userguide/en/src/main/resources/images/column_pc.png
trunk/docs/userguide/en/src/main/resources/images/columns_oc.png
trunk/docs/userguide/en/src/main/resources/images/columns_pc.png
trunk/docs/userguide/en/src/main/resources/images/dropDownMenu_oc.png
trunk/docs/userguide/en/src/main/resources/images/panelBarItem_oc.png
trunk/docs/userguide/en/src/main/resources/images/panelBarItem_pc.png
trunk/docs/userguide/en/src/main/resources/images/panelBar_oc.png
trunk/docs/userguide/en/src/main/resources/images/panelBar_pc.png
trunk/docs/userguide/en/src/main/resources/images/panelMenuGroup_oc.png
trunk/docs/userguide/en/src/main/resources/images/panelMenuGroup_pc.png
trunk/docs/userguide/en/src/main/resources/images/panelMenuItem_oc.png
trunk/docs/userguide/en/src/main/resources/images/panelMenuItem_pc.png
trunk/docs/userguide/en/src/main/resources/images/subTable_oc.png
trunk/docs/userguide/en/src/main/resources/images/subTable_pc.png
trunk/docs/userguide/en/src/main/resources/images/toggleControl_oc.png
trunk/docs/userguide/en/src/main/resources/images/toggleControl_pc.png
Modified:
trunk/docs/userguide/en/src/main/docbook/included/column.xml
trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/columns.xml
trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml
trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml
trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml
trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
trunk/docs/userguide/en/src/main/docbook/included/panel.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml
trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
trunk/docs/userguide/en/src/main/docbook/included/subTable.xml
trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml
trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml
Log:
RF-1052 - done for column, columnGroup, columns, dropDownMenu(added second example and screen), panelBar, panelBarItem, panelMenuGroup, panelMenuItem, subTable, toggleControl;
corrected attribute names for combobox, contextMenu, datascroller, fileUpload, inplaceInput, listShuttle, menuGroup, modalPanel, orderingList, pickList, progressBar, simpleTogglePanel, suggestionbox, toolBar, toolTip.
Modified: trunk/docs/userguide/en/src/main/docbook/included/column.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/column.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/column.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -506,14 +506,63 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:column></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="SPR"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:column></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:column></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-table-cell{
+ font-style: italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/column_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example cells font style was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:column></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:column></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+ font-weight: bolder;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:column> </property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:column styleClass="myClass">
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/column_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font weight for second column was changed.</para>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/columnGroup.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -221,14 +221,63 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:columnGroup></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="SPR"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:columnGroup></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:columnGroup></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-table-cell{
+ color: #316ac5;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/columnGroup_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example cells color was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:columnGroup></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:columnGroup></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+ background-color: #c0c0c0;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"columnClasses"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:columnGroup> </property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:columnGroup columnClasses="myClass">
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/columnGroup_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the background color for columns was changed.</para>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/columns.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -283,14 +283,63 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:columns></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="SPR"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:columns></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:columns></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-table-subheadercell{
+ color: #a0a0a0;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/columns_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example column header cells color was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:columns></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:columns></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass {
+ font-style: oblique;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:columns> </property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:columns styleClass="myClass">
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/columns_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font style for columns was changed.</para>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -888,7 +888,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:comboBox></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:comboBox></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:comboBox></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -910,7 +910,7 @@
<para>This is a result:</para>
<figure>
- <title>Redefinition styles with own classes and <emphasis><property>"listClass"</property></emphasis> attributes</title>
+ <title>Redefinition styles with own classes and <emphasis><property>"styleClass"</property></emphasis> attributes</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/combobox_oc.png"/>
Modified: trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -585,7 +585,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:contextMenu></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:contextMenu></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:contextMenu></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/datascroller.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -468,7 +468,7 @@
<title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/datascroller_on.png"/>
+ <imagedata fileref="images/datascroller_oc.png"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropDownMenu.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -643,7 +643,39 @@
</figure>
<para>In the example a label select background color and border color were changed.</para>
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:dropDownMenu></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:dropDownMenu></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+ font-style: italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"itemClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:dropDownMenu></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:dropDownMenu ... itemClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/dropDownMenu_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font style for items was changed.</para>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/fileUpload.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -875,7 +875,7 @@
<para>
Also it’s possible to change styles of particular <emphasis role="bold"><property><rich:fileUpload></property></emphasis> component.
In this case you should create own style classes and use them in the corresponding <emphasis role="bold"><property><rich:fileUpload></property></emphasis>
- <property>styleClass</property> attributes. An example is placed below:
+ <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:
</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -897,7 +897,7 @@
<para>This is the result:</para>
<figure>
- <title>Redefinition styles with own classes and styleClass attributes</title>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/fileUpload10.png"/>
Modified: trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/inplaceInput.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -743,7 +743,7 @@
<para>
It's aslo possible to change styles of a particular <emphasis role="bold"> <property><rich:inplaceInput></property></emphasis> component.
In this case you should create own style classes and use them in corresponding
- <emphasis role="bold"><property><rich:inplaceInput></property></emphasis><property>styleClass</property> attributes.
+ <emphasis role="bold"><property><rich:inplaceInput></property></emphasis><emphasis><property>styleClass</property></emphasis> attributes.
An example is placed below:
</para>
<para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -1171,7 +1171,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:listShuttle></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:listShuttle></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:listShuttle></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuGroup.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -368,7 +368,7 @@
border: none;
}
...]]></programlisting>
- <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ <para>The <emphasis><property>"selectClass"</property></emphasis> attribute for <emphasis role="bold"
><property><rich:menuGroup></property></emphasis> is defined as it’s shown in the example below:</para>
<para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -627,7 +627,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:modalPanel></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:modalPanel></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:modalPanel></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/orderingList.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -1150,7 +1150,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:orderingList></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:orderingList></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:orderingList></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -145,7 +145,7 @@
<para>As it has been mentioned <link linkend="panel">above</link>, the component is mostly used for a page style definition,
hence the main attributes are style ones.</para>
<itemizedlist>
- <listitem><para><emphasis><property> "styleClass" </property></emphasis>and "style" </para></listitem>
+ <listitem><para><emphasis><property> "styleClass" </property></emphasis>and <emphasis><property>"style"</property></emphasis> </para></listitem>
<listitem><para><emphasis><property> "headerClass" </property></emphasis>and<emphasis><property> "headerStyle" </property></emphasis></para></listitem>
<listitem><para><emphasis><property> "bodyClass" </property></emphasis>and<emphasis><property> "bodyStyle" </property></emphasis></para></listitem>
</itemizedlist>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBar.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -167,7 +167,7 @@
</imageobject>
</mediaobject>
</figure>
- <table>
+ <table id="tab_pB">
<title>Class name that define a component appearance</title>
<tgroup cols="2">
<thead>
@@ -216,63 +216,67 @@
</tgroup>
</table>
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:panelBar></property>
- </emphasis> components on a page using CSS, it's enough to create classes with
- the same names and define necessary properties in them.</para>
-
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:panelBar></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:panelBar></property>
- </emphasis>attributes.</para>
- <para>CSS code piece used on a page:</para>
-
+ <property><rich:panelBar></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="tab_pB"> above</link>) and define necessary properties in them. </para>
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="CSS"><![CDATA[...
- . rich-panelbar{
- padding:10px;
- }
- .myClass{
- font-style:italic;
- }
-...
-]]></programlisting>
- <para>When using headerClass and headerClassActive attributes the declaration of headerClass
- should precede the one of headerClassActive:</para>
-
+.rich-panelbar{
+ font-style: italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelBar_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example a header font style was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:panelBar></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:panelBar></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="CSS"><![CDATA[...
- .headerClass{
- ...
- }
- .headerClassActive{
- ...
- }
-...
-]]></programlisting>
- <para>The component is defined in the following way:</para>
+.myClass{
+ color: #900000;
+ font-size: 14px;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"contentClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:panelBar></property></emphasis> is defined as it’s shown in the example below:</para>
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="XML"><![CDATA[...
- <rich:panelBar contentClass="myClass">
- <rich:panelBarItem>
- ...
- </rich:panelBarItem>
- </rich:panelBar>
-...
-]]></programlisting>
- <para>Hence, padding for all <emphasis role="bold">
- <property><rich:panelBar></property>
- </emphasis> is changed on a page as well as a font for particular
- <emphasis role="bold">
- <property><rich:panelBarItem></property>
- </emphasis> content.</para>
+ <programlisting role="CSS"><![CDATA[<rich:panelBar ... contentClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelBar_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font size and color for content were changed.</para>
+
</section>
<section>
<title>Relevant Resources Links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -259,48 +259,64 @@
</table>
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:panelBarItem></property>
- </emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
-
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:panelBarItem></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:panelBarItem></property>
- </emphasis>attributes.</para>
- <para>CSS code piece used on a page:</para>
-
+ <property><rich:panelBarItem></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="tab_pBI"> above</link>) and define necessary properties in them. </para>
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="CSS"><![CDATA[...
- .rich-panelbar-header{
- font-size:14px;
- }
- .myClass{
- font-style:italic;
- }
-...
-]]></programlisting>
- <para>The component is defined in the following way:</para>
-
+.rich-panelbar-header{
+ font-style: italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelBarItem_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example a header font style was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:panelBarItem></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:panelBarItem></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="XML"><![CDATA[...
- <rich:panelBar>
- <rich:panelBarItem contentClass="myClass">
- ...
- </rich:panelBarItem>
- </rich:panelBar>
-...
-]]></programlisting>
- <para>Hence, a font size of all <emphasis role="bold">
- <property><rich:panelBarItem></property>
- </emphasis> headers is changed on a page as well as a font for the particular <emphasis
- role="bold">
- <property><rich:panelBarItem></property>
- </emphasis> content.</para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+ font-style: italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"contentClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:panelBarItem></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:panelBarItem ... contentClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelBarItem_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font style for content was changed.</para>
</section>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuGroup.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -544,14 +544,64 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:panelMenuGroup></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="panelMenuC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:panelMenuGroup></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:panelMenuGroup></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-pmenu-disabled-element{
+ color: #87b9ff;
+ font-style: italic;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelMenuGroup_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example a disabled element font style and color were changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:panelMenuGroup></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:panelMenuGroup></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+ font-style: italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"hoverClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:panelMenuGroup></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:panelMenuGroup ... hoverClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelMenuGroup_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font style for hovered item was changed.</para>
</section>
<section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelMenuItem.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -465,14 +465,63 @@
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:panelMenuItem></property>
</emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
+ same names (possible classes could be found in the tables <link linkend="panelMenuC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:panelMenuItem></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:panelMenuItem></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-pmenu-hovered-element {
+ background-color: #ff7800;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelMenuItem_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example a hovered element background color was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:panelMenuItem></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:panelMenuItem></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass {
+ color: #a0a0a0;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"disabledClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:panelMenuItem></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:panelMenuItem ... disabledClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/panelMenuItem_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the text color for disabled item was changed.</para>
</section>
<section>
<title>Relevant resources links</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/pickList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/pickList.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/pickList.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -908,7 +908,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:pickList></property></emphasis> component. In this case you should create own style classes and use them in the corresponding <emphasis role="bold"
- ><property><rich:pickList></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:pickList></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -930,7 +930,7 @@
<para>This is a result:</para>
<figure>
- <title>Redefinition styles with own classes and styleClass attributes</title>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/pickListStyle.png"/>
Modified: trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/progressBar.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -704,7 +704,7 @@
<para>It's aslo possible to change styles of a particular
<emphasis role="bold"> <property><rich:progressBar></property></emphasis> component. In this case you should create own style classes and use them in corresponding
- <emphasis role="bold"><property><rich:progressBar></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ <emphasis role="bold"><property><rich:progressBar></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
Modified: trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/simpleTogglePanel.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -343,7 +343,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:simpleTogglePanel></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:simpleTogglePanel></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:simpleTogglePanel></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/subTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/subTable.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/subTable.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -175,7 +175,7 @@
<section>
<title>Definition of Custom Style Classes</title>
- <table>
+ <table id="tab_sT">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
<thead>
@@ -295,15 +295,64 @@
</mediaobject>
</figure>
<para>In order to redefine styles for all <emphasis role="bold">
- <property><rich:subTable></property>
- </emphasis> components on a page using CSS, it's enough to create classes with the
- same names and define necessary properties in them.</para>
-
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:subTable></property>
- </emphasis> components, define your own style classes in the corresponding <emphasis
- role="bold">
- <property><rich:subTable></property>
- </emphasis>attributes.</para>
+ <property><rich:subTable></property>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="tab_sT"> above</link>) and define necessary properties in them. </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-subtable-footer{
+ font-weight: bold;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/subTable_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example a footer font weight was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:subTable></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:subTable></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass{
+ background-color: #fff5ec;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"columnClasses"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:subTable></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:subTable ... columnClasses="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/subTable_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the background color for columns was changed.</para>
</section>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -537,7 +537,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:suggestionBox></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:suggestionBox></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:suggestionBox></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -548,7 +548,7 @@
}
...]]></programlisting>
<para>The <emphasis><property>"selectedClass"</property></emphasis> attribute for <emphasis role="bold"
- ><property><rich:simpleTogglePanel></property></emphasis> is defined as it’s shown in the example below:</para>
+ ><property><rich:suggestionBox></property></emphasis> is defined as it’s shown in the example below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/toggleControl.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -132,7 +132,7 @@
<section>
<title>Definition of Custom Style Classes</title>
- <table>
+ <table id="tab_tC">
<title>Classes names that define a component appearance</title>
<tgroup cols="2">
<thead>
@@ -152,14 +152,63 @@
</table>
<para>In order to redefine styles for all <emphasis role="bold">
<property><rich:toggleControl></property>
- </emphasis> components on a page using CSS, it's enough to create a class with the
- same name and define necessary properties in it.</para>
+ </emphasis> components on a page using CSS, it's enough to create classes with the
+ same names (possible classes could be found in the tables <link linkend="tab_tC"> above</link>) and define necessary properties in them. </para>
- <para>To change styles of particular <emphasis role="bold">
- <property><rich:toggleControl></property>
- </emphasis> components define your own style class in the corresponding <emphasis
- role="bold">
- <property><rich:toggleControl></property>
- </emphasis>attributes.</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.rich-tglctrl {
+ font-family: monospace;
+}
+...]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with predefined classes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/toggleControl_pc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In the example font family was changed.</para>
+
+ <para>Also it’s possible to change styles of particular <emphasis role="bold"
+ ><property><rich:toggleControl></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
+ ><property><rich:toggleControl></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[...
+.myClass {
+ font-style: italic;
+}
+...]]></programlisting>
+ <para>The <emphasis><property>"styleClass"</property></emphasis> attribute for <emphasis role="bold"
+ ><property><rich:toggleControl></property></emphasis> is defined as it’s shown in the example below:</para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="CSS"><![CDATA[<rich:toggleControl ... styleClass="myClass"/>
+]]></programlisting>
+
+ <para>This is a result:</para>
+
+ <figure>
+ <title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/toggleControl_oc.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>As it could be seen on the picture above, the font style was changed.</para>
</section>
</section>
\ No newline at end of file
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolBar.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -282,7 +282,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:toolBar></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:toolBar></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:toolBar></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Modified: trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml 2008-05-14 09:21:23 UTC (rev 8567)
+++ trunk/docs/userguide/en/src/main/docbook/included/toolTip.xml 2008-05-14 11:17:37 UTC (rev 8568)
@@ -376,7 +376,7 @@
<para>In the example a tool tip background color, border color and font style were changed.</para>
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:toolTipl></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:toolTip></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:toolTip></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
Added: trunk/docs/userguide/en/src/main/resources/images/columnGroup_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/columnGroup_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/columnGroup_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/columnGroup_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/column_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/column_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/column_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/column_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/columns_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/columns_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/columns_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/columns_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/dropDownMenu_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/dropDownMenu_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelBarItem_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelBarItem_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelBarItem_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelBarItem_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelBar_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelBar_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelBar_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelBar_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelMenuGroup_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelMenuGroup_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelMenuGroup_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelMenuGroup_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelMenuItem_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelMenuItem_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/panelMenuItem_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/panelMenuItem_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/subTable_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/subTable_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/subTable_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/subTable_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/toggleControl_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/toggleControl_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/toggleControl_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/toggleControl_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 8 months
JBoss Rich Faces SVN: r8567 - trunk/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-05-14 05:21:23 -0400 (Wed, 14 May 2008)
New Revision: 8567
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/AUGWADParams.xml
Log:
RF-3347--New init parameter
Modified: trunk/docs/userguide/en/src/main/docbook/modules/AUGWADParams.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/AUGWADParams.xml 2008-05-14 00:33:20 UTC (rev 8566)
+++ trunk/docs/userguide/en/src/main/docbook/modules/AUGWADParams.xml 2008-05-14 09:21:23 UTC (rev 8567)
@@ -135,9 +135,18 @@
<entry>none</entry>
<entry>
This variable just defines prefix which is added to URIs of generated resources.
- This prefix designed to handle Rich Faces generated resources requests.
+ This prefix designed to handle Rich Faces generated resources requests
</entry>
</row>
+
+ <row>
+ <entry>org.ajax4jsf.DEFAULT_EXPIRE</entry>
+ <entry>86400</entry>
+ <entry>
+ Defines in seconds how long streamed back to browser resources can be cached
+ </entry>
+ </row>
+
</tbody>
</tgroup>
</table>
16 years, 8 months