JBoss Rich Faces SVN: r5454 - management/design/progressBar.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-01-17 10:59:45 -0500 (Thu, 17 Jan 2008)
New Revision: 5454
Modified:
management/design/progressBar/Func-Spec-ProgressBar.doc
Log:
Modified: management/design/progressBar/Func-Spec-ProgressBar.doc
===================================================================
(Binary files differ)
16 years, 12 months
JBoss Rich Faces SVN: r5453 - management/design/progressBar.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-01-17 10:57:47 -0500 (Thu, 17 Jan 2008)
New Revision: 5453
Modified:
management/design/progressBar/Func-Spec-ProgressBar.doc
Log:
Modified: management/design/progressBar/Func-Spec-ProgressBar.doc
===================================================================
(Binary files differ)
16 years, 12 months
JBoss Rich Faces SVN: r5452 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-01-17 10:44:49 -0500 (Thu, 17 Jan 2008)
New Revision: 5452
Modified:
trunk/docs/userguide/en/src/main/docbook/included/columns.xml
Log:
http://jira.jboss.com/jira/browse/RF-1199 - add description of the 'begin', 'end', 'rows', 'columns' attributes
Modified: trunk/docs/userguide/en/src/main/docbook/included/columns.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-01-17 15:09:32 UTC (rev 5451)
+++ trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-01-17 15:44:49 UTC (rev 5452)
@@ -70,10 +70,9 @@
<property><rich:columns></property>
</emphasis> component gets a list from data model and outputs corresponding set of columns inside
<emphasis role="bold"><property><rich:dataTable></property></emphasis> on a page.
+ It is possible to use <emphasis><property>"header"</property></emphasis> and <emphasis><property>"footer" </property></emphasis> facets
+ with <emphasis role="bold"><property><rich:columns></property></emphasis> component.
</para>
- <para>The <emphasis role="bold"><property><rich:columns></property></emphasis> component allows to use
- <emphasis><property>"header"</property></emphasis> and <emphasis><property>"footer" </property></emphasis> facets.
- </para>
<para>The simple example is placed below</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -91,7 +90,47 @@
</rich:columns>
</rich:dataTable>
...]]></programlisting>
+ <para>
+ The <emphasis><property>"columns"</property></emphasis> attribute defines the count of columns.
+ </para>
+ <para>
+ The <emphasis><property>"rows"</property></emphasis> attribute defines the number of rows to be displayed. If the value of this attribute is zero,
+ all remaining rows in the table are displayed on a page.
+ </para>
+ <para>
+ The <emphasis><property>"begin"</property></emphasis> attribute contains the first iteration item. Note, that iteration begins from zero.
+ </para>
+ <para>
+ The <emphasis><property>"end"</property></emphasis> attribute contains the last iteration item.
+ </para>
+ <para>
+ With the help of the attributes described below you can customize the output, i.e. define which columns and how many rows appear on a page.
+ </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<rich:dataTable value="#{rowBean.rows}" var="row">
+ <rich:columns value="#{colBean.columns}" var="col" rows="0" columns="5" begin="1" end="5">
+ <f:facet name="header">
+ <h:outputText value="#{col.header}"/>
+ </f:facet>
+ <h:outputText value="#{row.columnValue}"/>
+ </rich:columns>
+</rich:dataTable>
+...]]></programlisting>
+ <para>
+ In the example below, columns from second to fourth and all rows are shown in the
+ <emphasis role="bold"><property><rich:dataTable></property></emphasis>.
+ </para>
+ <!--para>In order to group columns with text information into one row in one column with a flag, use
+ the <emphasis ><property>"colspan"</property></emphasis> attribute, which is similar to an HTML one, specifying that the first column contains 3 columns.
+ In addition, it's necessary to specify that the next column begins from the first row with the help of the
+ <emphasis ><property>"breakBefore"</property></emphasis> attribute = true.
+ </para-->
+
+
<para>
The <emphasis role="bold"><property><rich:columns></property></emphasis> component does not prevent to use
<emphasis role="bold"><property><rich:column></property></emphasis>.
16 years, 12 months
JBoss Rich Faces SVN: r5451 - branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-01-17 10:09:32 -0500 (Thu, 17 Jan 2008)
New Revision: 5451
Modified:
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
Log:
http://jira.jboss.com/jira/browse/RF-1932?page=all
Modified: branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
===================================================================
--- branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2008-01-17 14:49:26 UTC (rev 5450)
+++ branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2008-01-17 15:09:32 UTC (rev 5451)
@@ -219,6 +219,9 @@
moveItemByClick : function(event, sourceComponent, targetComponent, layoutManager) {
var item = this.sourceList.getEventTargetRow(event);
+ if (!item) {
+ return;
+ }
this.moveItem(sourceComponent, targetComponent, item);
this.controlListManager();
16 years, 12 months
JBoss Rich Faces SVN: r5450 - in management/design: fileUpload/markup/images and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: admitriev
Date: 2008-01-17 09:49:26 -0500 (Thu, 17 Jan 2008)
New Revision: 5450
Added:
management/design/fileUpload/markup/images/bg_ProgressBar_perm.gif
management/design/fileUpload/markup/images/bg_RegressBar_perm.gif
management/design/fileUpload/markup/images/bg_progressbar.psd
management/design/fileUpload/markup/images/bg_regressbar.psd
Modified:
management/design/fileUpload/markup/file_upload.html
management/design/progressBar/markup/ProgressBar.html
Log:
Modified: management/design/fileUpload/markup/file_upload.html
===================================================================
--- management/design/fileUpload/markup/file_upload.html 2008-01-17 14:13:32 UTC (rev 5449)
+++ management/design/fileUpload/markup/file_upload.html 2008-01-17 14:49:26 UTC (rev 5450)
@@ -23,8 +23,8 @@
.upload_bar_exterior{ border : 1px solid #c0c0c0 /*panelBorderColor*/;}
-.upload_bar_uploaded{width : 70%; height : 100%; background : #FF9409 /**/; background-image : url(images/bg_ProgressBar.png);background-repeat : repeat-x; font-size : 0px;}
-.upload_bar_deleted{width : 40%; height : 100%; background : #FF9409 /**/; background-image : url(images/bg_RegressBar.png);background-repeat : repeat-x; font-size : 0px;}
+.upload_bar_uploaded{width : 70%; height : 100%; background : #FF9409 /**/; background-image : url(images/bg_ProgressBar_perm.gif);background-repeat : repeat-x; font-size : 0px;}
+.upload_bar_deleted{width : 40%; height : 100%; background : #FF9409 /**/; background-image : url(images/bg_RegressBar_perm.gif);background-repeat : repeat-x; font-size : 0px;}
.upload_bar_shell{width : 100%; height : 8; background : #F1F1F1/*tableSubfooterBackgroundColor*/;}
@@ -152,7 +152,7 @@
</td>
<td>
- <!--div class="upload_font upload_del"><a href="#" class="upload_anc">Delete</a></div-->
+ <div class="upload_font upload_del"><a href="#" class="upload_anc">Stop</a></div>
<div class="upload_font upload_del"><br></div>
</td>
<td>
Added: management/design/fileUpload/markup/images/bg_ProgressBar_perm.gif
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/bg_ProgressBar_perm.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/bg_RegressBar_perm.gif
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/bg_RegressBar_perm.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/bg_progressbar.psd
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/bg_progressbar.psd
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/fileUpload/markup/images/bg_regressbar.psd
===================================================================
(Binary files differ)
Property changes on: management/design/fileUpload/markup/images/bg_regressbar.psd
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: management/design/progressBar/markup/ProgressBar.html
===================================================================
--- management/design/progressBar/markup/ProgressBar.html 2008-01-17 14:13:32 UTC (rev 5449)
+++ management/design/progressBar/markup/ProgressBar.html 2008-01-17 14:49:26 UTC (rev 5450)
@@ -13,15 +13,14 @@
.pbar_bar_height{height : 16px;}
.pbar_bar_width{width : 200px}
-.pbar_bar_uploaded{width : 99px; height : 100%; background : #FF9409/*selectControlColor*/; background-image : url(images/bg_ProgressBar.png);background-repeat : repeat-x;}
+.pbar_bar_uploaded{width : 99px; height : 100%; background : #FF9409/*selectControlColor*/; background-image : url(images/bg_ProgressBar_perm.gif);background-repeat : repeat-x;}
.pbar_bar_shell{margin-bottom : 2px; background : #FFFFFF /*controlBackgroundColor*/; border : 1px solid #c0c0c0/*panelBorderColor*/;}
-.pbar_bar_perm{margin-bottom : 2px;background : #FF9409/*selectControlColor*/; border : 1px solid #c0c0c0/*panelBorderColor*/; background-image : url(images/bg_ProgressBar_perm.gif);background-repeat : repeat-x;}
.pbar_bar_uploaded_dig{width : 99px; overflow : hidden; position : absolute; border : 1px solid #c0c0c0/*panelBorderColor*/;}
.pbar_bar_shell_dig{position : relative; margin-bottom : 2px;}
.pbar_bar_track_dig{background : #FFFFFF /*controlBackgroundColor*/; text-align : center; border : 1px solid #c0c0c0/*panelBorderColor*/; color : #000000 /*controlTextColor*/; font-weight : bold; position : absolute;}
-.pbar_bar_ststusline_dig{background : #FF9409/*selectControlColor*/; text-align : center; color : #FFFFFF /*controlBackgroundColor*/; font-weight : bold; background-image : url(images/bg_ProgressBar.png);background-repeat : repeat-x; position : absolute;}
+.pbar_bar_ststusline_dig{background : #FF9409/*selectControlColor*/; text-align : center; color : #FFFFFF /*controlBackgroundColor*/; font-weight : bold; background-image : url(images/bg_ProgressBar_perm.gif);background-repeat : repeat-x; position : absolute;}
</style>
</head>
@@ -60,15 +59,6 @@
</fieldset>
<br><br>
-<fieldset><legend>Permanent Progress Bar</legend>
-<br><br>
-<div class="pbar_block pbar_bar_height pbar_bar_width pbar_bar_perm">
-
-</div>
-
-
-</fieldset>
-
</body>
</html>
\ No newline at end of file
16 years, 12 months
JBoss Rich Faces SVN: r5449 - in trunk/sandbox/ui/combobox/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-01-17 09:13:32 -0500 (Thu, 17 Jan 2008)
New Revision: 5449
Modified:
trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
Log:
component's layout is corrected
Modified: trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss
===================================================================
--- trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss 2008-01-17 12:59:20 UTC (rev 5448)
+++ trunk/sandbox/ui/combobox/src/main/resources/org/richfaces/renderkit/html/css/combobox.xcss 2008-01-17 14:13:32 UTC (rev 5449)
@@ -77,13 +77,8 @@
padding : 1px;
border : 1px dotted;
cursor:pointer;
-
}
-.rich-combobox-width {
- width : 150px;
-}
-
.rich-combobox-strut {
position : relative;
visibility : hidden;
Modified: trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx
===================================================================
--- trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-17 12:59:20 UTC (rev 5448)
+++ trunk/sandbox/ui/combobox/src/main/templates/combobox.jspx 2008-01-17 14:13:32 UTC (rev 5449)
@@ -187,10 +187,7 @@
]]>
</jsp:scriptlet>
<style>
- .rich-combobox-item {
- overflow-x: hidden;
- width: #{curWidth};
- }
+
</style>
<jsp:scriptlet>
<![CDATA[
16 years, 12 months
JBoss Rich Faces SVN: r5448 - management/design/progressBar/markup.
by richfaces-svn-commits@lists.jboss.org
Author: admitriev
Date: 2008-01-17 07:59:20 -0500 (Thu, 17 Jan 2008)
New Revision: 5448
Modified:
management/design/progressBar/markup/ProgressBar.html
Log:
Modified: management/design/progressBar/markup/ProgressBar.html
===================================================================
--- management/design/progressBar/markup/ProgressBar.html 2008-01-17 12:39:36 UTC (rev 5447)
+++ management/design/progressBar/markup/ProgressBar.html 2008-01-17 12:59:20 UTC (rev 5448)
@@ -13,15 +13,15 @@
.pbar_bar_height{height : 16px;}
.pbar_bar_width{width : 200px}
-.pbar_bar_uploaded{width : 99px; height : 100%; background : #FF9409; background-image : url(images/bg_ProgressBar.png);background-repeat : repeat-x;}
-.pbar_bar_shell{margin-bottom : 2px; background : #F1F1F1; border : 1px solid #cccccc;}
+.pbar_bar_uploaded{width : 99px; height : 100%; background : #FF9409/*selectControlColor*/; background-image : url(images/bg_ProgressBar.png);background-repeat : repeat-x;}
+.pbar_bar_shell{margin-bottom : 2px; background : #FFFFFF /*controlBackgroundColor*/; border : 1px solid #c0c0c0/*panelBorderColor*/;}
-.pbar_bar_perm{margin-bottom : 2px;background : #FF9409; border : 1px solid #cccccc; background-image : url(images/bg_ProgressBar_perm.gif);background-repeat : repeat-x;}
+.pbar_bar_perm{margin-bottom : 2px;background : #FF9409/*selectControlColor*/; border : 1px solid #c0c0c0/*panelBorderColor*/; background-image : url(images/bg_ProgressBar_perm.gif);background-repeat : repeat-x;}
-.pbar_bar_uploaded_dig{width : 99px; overflow : hidden; position : absolute; border : 1px solid #cccccc;}
+.pbar_bar_uploaded_dig{width : 99px; overflow : hidden; position : absolute; border : 1px solid #c0c0c0/*panelBorderColor*/;}
.pbar_bar_shell_dig{position : relative; margin-bottom : 2px;}
-.pbar_bar_track_dig{background : #F1F1F1; text-align : center; border : 1px solid #cccccc; color : #000000; font-weight : bold; position : absolute;}
-.pbar_bar_ststusline_dig{background : #FF9409; text-align : center; color : #FFFFFF;; font-weight : bold; background-image : url(images/bg_ProgressBar.png);background-repeat : repeat-x; position : absolute;}
+.pbar_bar_track_dig{background : #FFFFFF /*controlBackgroundColor*/; text-align : center; border : 1px solid #c0c0c0/*panelBorderColor*/; color : #000000 /*controlTextColor*/; font-weight : bold; position : absolute;}
+.pbar_bar_ststusline_dig{background : #FF9409/*selectControlColor*/; text-align : center; color : #FFFFFF /*controlBackgroundColor*/; font-weight : bold; background-image : url(images/bg_ProgressBar.png);background-repeat : repeat-x; position : absolute;}
</style>
</head>
16 years, 12 months
JBoss Rich Faces SVN: r5447 - trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2008-01-17 07:39:36 -0500 (Thu, 17 Jan 2008)
New Revision: 5447
Modified:
trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
Log:
http://jira.jboss.com/jira/browse/RF-1485
Modified: trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js
===================================================================
--- trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-01-17 12:15:08 UTC (rev 5446)
+++ trunk/ui/tooltip/src/main/resources/org/richfaces/renderkit/html/scripts/tooltip.js 2008-01-17 12:39:36 UTC (rev 5447)
@@ -407,10 +407,10 @@
while (parentNode && !/^body$/i.test(parentNode.tagName)) {
if (/^absolute$/i.test(Richfaces.getComputedStyle(parentNode, "position"))) {
if (parentNode.scrollLeft) {
- this.scrollDelta[0] += parentNode.scrollLeft;
+ this.scrollDelta[0] = parentNode.scrollLeft;
}
if (parentNode.scrollTop) {
- this.scrollDelta[1] += parentNode.scrollTop;
+ this.scrollDelta[1] = parentNode.scrollTop;
}
}
parentNode = parentNode.parentNode;
@@ -432,9 +432,20 @@
// this.toolTipH = toolTipDim.height;
var elementDim = Richfaces.Position.getOffsetDimensions(this.toolTip);
+
+ // RF-1485, fix for FF
+ var _display = this.toolTip.style.display;
+ var _visibility = this.toolTip.style.visibility;
+ this.toolTip.style.visibility = "hidden";
+ this.toolTip.style.display = "block";
+ this.toolTip.style.top = "0px";
+ this.toolTip.style.left = "0px";
var offsets = Position.cumulativeOffset(this.toolTip);
+ this.toolTip.style.visibility = _visibility;
+ this.toolTip.style.display = _display;
+
offsets[0] -= this.toolTip.offsetLeft || 0;
offsets[1] -= this.toolTip.offsetTop || 0;
16 years, 12 months
JBoss Rich Faces SVN: r5446 - branches/3.1.x/ui/calendar/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2008-01-17 07:15:08 -0500 (Thu, 17 Jan 2008)
New Revision: 5446
Modified:
branches/3.1.x/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
Log:
RF-1670 branch commit
Modified: branches/3.1.x/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
===================================================================
--- branches/3.1.x/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2008-01-17 04:10:28 UTC (rev 5445)
+++ branches/3.1.x/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2008-01-17 12:15:08 UTC (rev 5446)
@@ -175,7 +175,7 @@
String styleClass = (String) calendar.getAttributes().get("styleClass");
if (styleClass != null && styleClass.length() != 0) {
ResponseWriter writer = context.getResponseWriter();
- writer.writeText(",\n className: '" + styleClass + "'", null);
+ writer.writeText(",\n className: '" + styleClass+"'", null);
}
}
16 years, 12 months
JBoss Rich Faces SVN: r5445 - trunk/test-applications/facelets/src/main/webapp/ContextMenu.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-01-16 23:10:28 -0500 (Wed, 16 Jan 2008)
New Revision: 5445
Modified:
trunk/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenu.xhtml
Log:
Bad page fixed
Modified: trunk/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenu.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenu.xhtml 2008-01-17 02:52:13 UTC (rev 5444)
+++ trunk/test-applications/facelets/src/main/webapp/ContextMenu/ContextMenu.xhtml 2008-01-17 04:10:28 UTC (rev 5445)
@@ -7,7 +7,7 @@
<rich:menuItem icon="/pics/header.png" value="abc" reRender="cmInfoID">
<f:param name="cmdParam" value="abc" />
</rich:menuItem>
- <rich:menuItem icon="/pics/header.png" value="JSAPI Hide" onclick="$(formID:contextMenuSubviewID:contextMenuDefaultID).component.doHide()" reRender="cmInfoID">
+ <rich:menuItem icon="/pics/header.png" value="JSAPI Hide" onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.doHide()" reRender="cmInfoID">
<f:param name="cmdParam" value="hide" />
</rich:menuItem>
<rich:menuSeparator />
@@ -38,7 +38,7 @@
</rich:menuItem>
</rich:menuGroup>
</rich:contextMenu>
- <a4j:commandLink onclick="$(formID:contextMenuSubviewID:contextMenuDefaultID).component.doShow()" value="JSAPI Show"></a4j:commandLink>
+ <a4j:commandLink onclick="$('formID:contextMenuSubviewID:contextMenuDefaultID').component.doShow()" value="JSAPI Show"></a4j:commandLink>
</rich:panel>
16 years, 12 months