JBoss Rich Faces SVN: r7178 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-03-25 12:07:06 -0400 (Tue, 25 Mar 2008)
New Revision: 7178
Modified:
trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml
Log:
http://jira.jboss.com/jira/browse/RF-1216 - screenshots for classes were changed. Some classes were added
Modified: trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml 2008-03-25 16:06:38 UTC (rev 7177)
+++ trunk/docs/userguide/en/src/main/docbook/included/comboBox.xml 2008-03-25 16:07:06 UTC (rev 7178)
@@ -76,28 +76,27 @@
</itemizedlist>
</para>
<para>
- There are two ways to get values for the popup list of suggestions:</para>
+ There are two ways to get values for the popup list of suggestions:
+ </para>
<itemizedlist>
<listitem>
- Using the <emphasis><property>"suggestionValues"</property></emphasis> attribute, that defines the suggestion collection
+ <para>Using the <emphasis><property>"suggestionValues"</property></emphasis> attribute, that defines the suggestion collection</para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<rich:comboBox value="#{bean.state}" suggestionValues="#{bean.suggestions}" />
+...]]></programlisting>
</listitem>
- </itemizedlist>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
-<programlisting role="XML"><![CDATA[...
-<rich:comboBox value="#{bean.state}" suggestionValues="#{bean.suggestions}" />
-...]]></programlisting>
- <itemizedlist>
- <listitem>
+ <listitem>
+ <para>
Using the <emphasis role="bold"><property><f:selectItem /></property></emphasis> or <emphasis role="bold">
<property><f:selectItems /></property></emphasis> facets
- </listitem>
- </itemizedlist>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML"><![CDATA[...
+ </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
<rich:comboBox value="#{bean.state}" valueChangeListener="#{bean.selectionChanged}">
<f:selectItems value="#{bean.selectItems}"/>
<f:selectItem itemValue="Oregon"/>
@@ -106,6 +105,8 @@
<f:selectItem itemValue="South Carolina"/>
</rich:comboBox>
...]]></programlisting>
+ </listitem>
+ </itemizedlist>
<para> Popup list content loads at page render time. No additional requests could be performed on the popup calling.
</para>
<para>
@@ -633,10 +634,18 @@
<title>Classes names</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/comboBox2.png"/>
+ <imagedata fileref="images/comboBox_classes1.png"/>
</imageobject>
</mediaobject>
</figure>
+ <figure>
+ <title>Classes names</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/comboBox_classes2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
<table id="comboBoxC">
<title>Classes names that define popup list representation</title>
@@ -795,6 +804,10 @@
<entry>rich-combobox-button-icon-inactive</entry>
<entry>Defines styles for an inactive button icon</entry>
</row>
+ <row>
+ <entry>rich-combobox-button-icon-disabled</entry>
+ <entry>Defines styles for a disabled button icon</entry>
+ </row>
</tbody>
</tgroup>
</table>
16 years, 9 months
JBoss Rich Faces SVN: r7177 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-03-25 12:06:38 -0400 (Tue, 25 Mar 2008)
New Revision: 7177
Added:
trunk/docs/userguide/en/src/main/resources/images/comboBox_classes1.png
trunk/docs/userguide/en/src/main/resources/images/comboBox_classes2.png
Removed:
trunk/docs/userguide/en/src/main/resources/images/comboBox2.png
Log:
http://jira.jboss.com/jira/browse/RF-1216 - screenshots for classes were changed
Deleted: trunk/docs/userguide/en/src/main/resources/images/comboBox2.png
===================================================================
(Binary files differ)
Added: trunk/docs/userguide/en/src/main/resources/images/comboBox_classes1.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/comboBox_classes1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/comboBox_classes2.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/comboBox_classes2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 9 months
JBoss Rich Faces SVN: r7176 - trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-25 11:51:30 -0400 (Tue, 25 Mar 2008)
New Revision: 7176
Modified:
trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
http://jira.jboss.com/jira/browse/RF-2747
Modified: trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-03-25 15:47:53 UTC (rev 7175)
+++ trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-03-25 15:51:30 UTC (rev 7176)
@@ -859,7 +859,7 @@
var within = true;
var targetElement = event.relatedTarget;
- while (targetElement.nodeType!=1) targetElement = targetElement.parentNode;
+ while (targetElement && targetElement.nodeType!=1) targetElement = targetElement.parentNode;
var srcElement = event.target;
var layer = $(this.id);
16 years, 9 months
JBoss Rich Faces SVN: r7175 - Suite and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-03-25 11:47:53 -0400 (Tue, 25 Mar 2008)
New Revision: 7175
Added:
trunk/test-applications/qa/Performance Suite/Performance Test Suite 3.1.4GA.doc
Modified:
trunk/test-applications/qa/Performance Suite/Performance Test Suite Blank 3.2.0 (1).doc
Log:
Added: trunk/test-applications/qa/Performance Suite/Performance Test Suite 3.1.4GA.doc
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Performance Suite/Performance Test Suite 3.1.4GA.doc
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/test-applications/qa/Performance Suite/Performance Test Suite Blank 3.2.0 (1).doc
===================================================================
(Binary files differ)
16 years, 9 months
JBoss Rich Faces SVN: r7174 - in trunk/ui/fileUpload/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-03-25 11:45:52 -0400 (Tue, 25 Mar 2008)
New Revision: 7174
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx
Log:
RF-2741
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-03-25 15:29:19 UTC (rev 7173)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-03-25 15:45:52 UTC (rev 7174)
@@ -415,6 +415,7 @@
this.initFileEntryWidth();
this.initLabels(labels);
this.initFileInput();
+ this.processButtons();
},
initLabels: function (labels) {
@@ -559,9 +560,10 @@
var newUpload = elt.cloneNode(true);
elt.onchange = null;
+ elt.style.cssText = "position: absolute; right: 0px; top: 0px; display: none; visibility: hidden;";
newUpload.id = this.id + ":file" + (this.idCounter++);
this.currentInput = newUpload;
- $(this.id + ":add1").appendChild(newUpload);
+ elt.parentNode.appendChild(newUpload);
if (this.runUpload) {
this.upload();
@@ -716,7 +718,7 @@
},
disableAddButton: function() {
- var disabled = ((this.getFileEntriesSumByState(FileUploadEntry.READY, FileUploadEntry.INITIALIZED, FileUploadEntry.UPLOAD_CANCELED) + this.uploadedCount) >= this.maxFileBatchSize);
+ var disabled = ((this.getFileEntriesSumByState(FileUploadEntry.READY, FileUploadEntry.INITIALIZED, FileUploadEntry.UPLOAD_CANCELED) + this.uploadedCount + this.getFileEntriesSumByState(FileUploadEntry.UPLOAD_IN_PROGRESS)) >= this.maxFileBatchSize);
this.currentInput.disabled = disabled || this.disabled;
var _disabled = this.disabled;
var d1 = $(this.id+":add1");
Modified: trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx
===================================================================
--- trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx 2008-03-25 15:29:19 UTC (rev 7173)
+++ trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx 2008-03-25 15:45:52 UTC (rev 7174)
@@ -25,11 +25,15 @@
<jsp:scriptlet>
<![CDATA[
+ Integer max = initMaxFilesCount(context, component, clientId);
+ variables.setVariable("maxCount", max);
+
boolean disabled = (Boolean)component.getAttributes().get("disabled");
String addButtonClass = (disabled) ? "upload_button_dis upload_font " + (String)component.getAttributes().get("addButtonClassDisabled")
: "upload_button upload_font " + (String)component.getAttributes().get("addButtonClass");
String addButtonClassContent = (disabled) ? "upload_button_content upload_font upload_ico upload_ico_add_dis " + (String)component.getAttributes().get("addButtonClassDisabled")
: "upload_button_content upload_font upload_ico upload_ico_add " + (String)component.getAttributes().get("addButtonClass");
+
String uploadListClass = (disabled) ? (String)component.getAttributes().get("uploadListClassDisabled") : (String)component.getAttributes().get("uploadListClass");
variables.setVariable("addButtonClass",addButtonClass);
variables.setVariable("addButtonClassContent",addButtonClassContent);
@@ -46,9 +50,7 @@
variables.setVariable("listWidth", getFileListWidth(component));
variables.setVariable("listHeight", getFileListHeight(component));
-
- Integer max = initMaxFilesCount(context, component, clientId);
- variables.setVariable("maxCount", max);
+
]]>
</jsp:scriptlet>
@@ -80,7 +82,6 @@
class="hidden"
id="#{clientId}:file"
name="#{clientId}:file"
- disabled="#{component.attributes['disabled']}"
onchange="return $('#{clientId}').component.add(this);"/>
</div>
</div>
16 years, 9 months
JBoss Rich Faces SVN: r7173 - trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-03-25 11:29:19 -0400 (Tue, 25 Mar 2008)
New Revision: 7173
Modified:
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Selection.js
Log:
RF-2037
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Selection.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Selection.js 2008-03-25 14:51:25 UTC (rev 7172)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Selection.js 2008-03-25 15:29:19 UTC (rev 7173)
@@ -382,8 +382,9 @@
case 65: case 97: // Ctrl-A
if (this.inFocus && event.ctrlKey) {
this.selectionFlag = "a";
- range = [0, this.rowCount];
- this.setSelection(range);
+ for (var i = 0; i < this.rowCount; i++) {
+ this.addRowToSelection(i);
+ }
noDefault = true;
}
break;
16 years, 9 months
JBoss Rich Faces SVN: r7172 - in trunk/ui/fileUpload/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-03-25 10:51:25 -0400 (Tue, 25 Mar 2008)
New Revision: 7172
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx
Log:
RF-2740
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-03-25 14:24:56 UTC (rev 7171)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-03-25 14:51:25 UTC (rev 7172)
@@ -746,8 +746,18 @@
},
_updateClassNames: function (d1,d2,buttonClass,buttonContentClass) {
- d1.className = (this.disabled ? buttonClass.DISABLED : buttonClass.ENABLED);
- d2.className = (this.disabled ? buttonContentClass.DISABLED : buttonContentClass.ENABLED);
+ if (this.disabled) {
+ d1.className = buttonClass.DISABLED;
+ d2.className = buttonContentClass.DISABLED;
+ d1.onmouseover = d1.onmouseout = d1.onmousedown = d1.onmouseup = null;
+ }else {
+ d1.className = buttonClass.ENABLED;
+ d2.className = buttonContentClass.ENABLED;
+ d1.onmouseover = function () {this.className='upload_button_light upload_font';};
+ d1.onmouseout = function () {this.className='upload_button upload_font';};
+ d1.onmousedown = function () {this.className='upload_button_press upload_font';};
+ d1.onmouseup = function () {this.className='upload_button upload_font';};
+ }
},
disable: function () {
Modified: trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx
===================================================================
--- trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx 2008-03-25 14:24:56 UTC (rev 7171)
+++ trunk/ui/fileUpload/src/main/templates/org/richfaces/fileUpload.jspx 2008-03-25 14:51:25 UTC (rev 7172)
@@ -48,11 +48,6 @@
variables.setVariable("listHeight", getFileListHeight(component));
Integer max = initMaxFilesCount(context, component, clientId);
- String addStyle = "";
- if (max == 0) {
- addStyle = "; display: none;";
- }
- variables.setVariable("addStyle", addStyle);
variables.setVariable("maxCount", max);
]]>
</jsp:scriptlet>
@@ -73,7 +68,7 @@
<table class="upload_toolbar_decor">
<tr>
<td>
- <div class="upload_button_border" style=" float:left; #{addStyle}">
+ <div class="upload_button_border" style=" float:left;">
<div class="#{addButtonClass}" onmouseover="this.className='upload_button_light upload_font'" onmousedown="this.className='upload_button_press upload_font'" onmouseup="this.className='upload_button upload_font'" onmouseout="this.className='upload_button upload_font'"
style="position: relative;"
id="#{clientId}:add1">
16 years, 9 months
JBoss Rich Faces SVN: r7171 - in trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html: js and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-03-25 10:24:56 -0400 (Tue, 25 Mar 2008)
New Revision: 7171
Modified:
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/css/fileUpload.xcss
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
RF-2739
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/css/fileUpload.xcss
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/css/fileUpload.xcss 2008-03-25 14:11:50 UTC (rev 7170)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/css/fileUpload.xcss 2008-03-25 14:24:56 UTC (rev 7171)
@@ -7,7 +7,7 @@
<f:verbatim><![CDATA[
-.upload_list_overflow{overflow : hidden;}
+.upload_list_overflow{overflow: auto; overflow-y: auto; overflow-x: hidden;}
.upload_name{ width : 100%; height : 58px; padding : 2px 10px 2px 10px;}
.upload_del{ width : 90px; text-align : center; padding-top : 3; padding-bottom : 3;}
.upload_scroll{ width : 10px; text-align : center;}
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-03-25 14:11:50 UTC (rev 7170)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-03-25 14:24:56 UTC (rev 7171)
@@ -444,9 +444,9 @@
initFileEntryWidth: function () {
var w;
if (this.element.getWidth() != 0) {
- w = this.element.getWidth() - 115;
+ w = this.element.getWidth() - 122;
} else {
- w = this.element.style.width - 115;
+ w = this.element.style.width - 122;
}
this.fileEntryWidth = w;
var progressW = this._progressBar.style.width;
16 years, 9 months
JBoss Rich Faces SVN: r7170 - trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2008-03-25 10:11:50 -0400 (Tue, 25 Mar 2008)
New Revision: 7170
Modified:
trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
http://jira.jboss.com/jira/browse/RF-2745
Modified: trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-03-25 13:56:36 UTC (rev 7169)
+++ trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-03-25 14:11:50 UTC (rev 7170)
@@ -853,6 +853,9 @@
},
isWithin : function(event){
+ //RF-2745 explicitly extend event to make DOM methods work
+ event = Event.extend(event);
+
var within = true;
var targetElement = event.relatedTarget;
16 years, 9 months
JBoss Rich Faces SVN: r7169 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/columns/examples.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-03-25 09:56:36 -0400 (Tue, 25 Mar 2008)
New Revision: 7169
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/columns/examples/example.xhtml
Log:
columns/examples/example.xhtml fix
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/columns/examples/example.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/columns/examples/example.xhtml 2008-03-25 13:52:05 UTC (rev 7168)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/columns/examples/example.xhtml 2008-03-25 13:56:36 UTC (rev 7169)
@@ -5,7 +5,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:form>
- <rich:dataTable value="#{dataTableScrollerBean.model}" var="model">
+ <rich:dataTable value="#{dataTableScrollerBean.model}" var="model" width="750">
<f:facet name="header">
<h:outputText value="Cars Available"></h:outputText>
16 years, 9 months