JBoss Rich Faces SVN: r7537 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-01 10:19:51 -0400 (Tue, 01 Apr 2008)
New Revision: 7537
Added:
trunk/docs/userguide/en/src/main/resources/images/suggestionbox_oc.png
trunk/docs/userguide/en/src/main/resources/images/suggestionbox_pc.png
Log:
http://jira.jboss.com/jira/browse/RF-2905
fix
Added: trunk/docs/userguide/en/src/main/resources/images/suggestionbox_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/suggestionbox_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/suggestionbox_pc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/suggestionbox_pc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 8 months
JBoss Rich Faces SVN: r7532 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-01 10:09:51 -0400 (Tue, 01 Apr 2008)
New Revision: 7532
Modified:
trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
Log:
http://jira.jboss.com/jira/browse/RF-2905
fix
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataList.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2008-04-01 14:02:05 UTC (rev 7531)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataList.xml 2008-04-01 14:09:51 UTC (rev 7532)
@@ -126,7 +126,7 @@
<title>Component usage</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/datalist4.png"/>
+ <imagedata fileref="images/dataList4.png"/>
</imageobject>
</mediaobject>
</figure>
16 years, 8 months
JBoss Rich Faces SVN: r7531 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-01 10:02:05 -0400 (Tue, 01 Apr 2008)
New Revision: 7531
Modified:
trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
Log:
http://jira.jboss.com/jira/browse/RF-2905
fix
Modified: trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2008-04-01 12:39:06 UTC (rev 7530)
+++ trunk/docs/userguide/en/src/main/docbook/included/dataTable.xml 2008-04-01 14:02:05 UTC (rev 7531)
@@ -153,7 +153,7 @@
<title>Component usage</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/datatable3.png"/>
+ <imagedata fileref="images/dataTable3.png"/>
</imageobject>
</mediaobject>
</figure>
16 years, 8 months
JBoss Rich Faces SVN: r7530 - in trunk/ui/fileUpload/src/main: java/org/richfaces/renderkit and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-04-01 08:39:06 -0400 (Tue, 01 Apr 2008)
New Revision: 7530
Modified:
trunk/ui/fileUpload/src/main/config/component/fileUpload.xml
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
Log:
add ajaxSingle attribute
Modified: trunk/ui/fileUpload/src/main/config/component/fileUpload.xml
===================================================================
--- trunk/ui/fileUpload/src/main/config/component/fileUpload.xml 2008-04-01 12:19:00 UTC (rev 7529)
+++ trunk/ui/fileUpload/src/main/config/component/fileUpload.xml 2008-04-01 12:39:06 UTC (rev 7530)
@@ -319,6 +319,16 @@
</description>
</property>
+ <property>
+ <name>ajaxSingle</name>
+ <classname>boolean</classname>
+ <description>
+ If this attribute set up in true upload request will be like as single.
+ No components value in form will be updated after file uploaded.
+ </description>
+ <defaultvalue>false</defaultvalue>
+ </property>
+
<property elonly="true" hidden="true" existintag="false" exist="false" >
<name>size</name>
<classname>java.lang.Object</classname>
Modified: trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
===================================================================
--- trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-04-01 12:19:00 UTC (rev 7529)
+++ trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-04-01 12:39:06 UTC (rev 7530)
@@ -376,7 +376,9 @@
try {
AjaxContext ajaxContext = AjaxContextImpl
.getCurrentInstance(context);
- ajaxContext.setAjaxSingleClientId(fileUpload.getClientId(context));
+ if ((Boolean)fileUpload.getAttributes().get(AjaxRendererUtils.AJAX_SINGLE_ATTR)) {
+ ajaxContext.setAjaxSingleClientId(fileUpload.getClientId(context));
+ }
ajaxContext.setAjaxRequest(true);
} catch (Exception e) {
e.getMessage();
16 years, 8 months
JBoss Rich Faces SVN: r7528 - in trunk/ui/progressBAR/src/main: resources/org/richfaces/renderkit/html/js and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-04-01 08:18:56 -0400 (Tue, 01 Apr 2008)
New Revision: 7528
Modified:
trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java
trunk/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js
Log:
make single ajax requests from fileupload and progressBar
Modified: trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java
===================================================================
--- trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2008-04-01 12:18:51 UTC (rev 7527)
+++ trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2008-04-01 12:18:56 UTC (rev 7528)
@@ -290,7 +290,6 @@
Integer interval = new Integer(progressBar.getInterval());
options.put("pollId", clientId);
options.put("pollinterval", interval);
- options.put("ajaxSingle", clientId);
if (progressBar.getAttributes().containsKey("ignoreDupResponses")) {
options.put("ignoreDupResponses", progressBar.getAttributes().get(
"ignoreDupResponses"));
@@ -298,6 +297,7 @@
Map parameters = (Map) options.get("parameters");
parameters.put("percent", "percent");
parameters.put(clientId, clientId);
+ parameters.put("ajaxSingle", clientId);
// options.put("onbeforedomupdate", getOnComplete(clientId, progressBar,
// context));
return options;
Modified: trunk/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js
===================================================================
--- trunk/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2008-04-01 12:18:51 UTC (rev 7527)
+++ trunk/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2008-04-01 12:18:56 UTC (rev 7528)
@@ -231,8 +231,8 @@
options['parameters'] = {};
options['parameters'][this.id] = this.id;
options['parameters']['forcePercent'] = state;
+ options['parameters']['ajaxSingle'] = this.id;;
options['actionUrl'] = this.options.actionUrl;
- options['ajaxSingle'] = this.id;
if (oncomplete) {
options['oncomplete'] = oncomplete;
}
16 years, 8 months
JBoss Rich Faces SVN: r7527 - 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-04-01 08:18:51 -0400 (Tue, 01 Apr 2008)
New Revision: 7527
Modified:
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
Log:
make single ajax requests from fileupload and progressBar
Modified: trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
===================================================================
--- trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-04-01 12:18:29 UTC (rev 7526)
+++ trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-04-01 12:18:51 UTC (rev 7527)
@@ -376,6 +376,7 @@
try {
AjaxContext ajaxContext = AjaxContextImpl
.getCurrentInstance(context);
+ ajaxContext.setAjaxSingleClientId(fileUpload.getClientId(context));
ajaxContext.setAjaxRequest(true);
} catch (Exception e) {
e.getMessage();
@@ -422,6 +423,7 @@
parameters.put("action", action);
parameters.put(Filter.UPLOAD_FILES_ID, new JSReference("uid"));
parameters.put(clientId, clientId);
+ parameters.put(AjaxRendererUtils.AJAX_SINGLE_ATTR, clientId);
if (oncomplete != null) {
options.put("onbeforedomupdate", oncomplete);
}
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-04-01 12:18:29 UTC (rev 7526)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-04-01 12:18:51 UTC (rev 7527)
@@ -923,7 +923,7 @@
parentForm.encoding = "multipart/form-data";
parentForm.enctype = "multipart/form-data";
parentForm.target = this.id + "_iframe";//this.id;
- parentForm.action = oldAction + (/\?/.test(oldAction) ? '&_richfaces_upload_uid' : '?_richfaces_upload_uid') + '=' + encodeURI(entry.uid) + "&id=" + this.id;
+ parentForm.action = oldAction + (/\?/.test(oldAction) ? '&_richfaces_upload_uid' : '?_richfaces_upload_uid') + '=' + encodeURI(entry.uid) + "&id=" + this.id;// + "&ajaxSingle=" + this.id;
try {
var inputs = parentForm.elements;
@@ -936,18 +936,10 @@
for (var i = 0; i < l; i++) {
var input = inputs[i];
if (input != entryInput) {
- if ('hidden' != input.type) {
-
- //FIXME: simulate ajax single request after it will be possible
- //input._name = input.name;
- //input.name = undefined;
-
- //TODO for test
if ('file' == input.type) {
input._disabled = input.disabled;
input.disabled = true;
}
- }
}
}
@@ -965,15 +957,10 @@
for (var i = 0; i < l; i++) {
var input = inputs[i];
- if ('hidden' != input.type) {
- //input.name = input._name;
- //input._name = undefined;
-
if ('file' == input.type) {
input.disabled = input._disabled;
input._disabled = undefined;
}
- }
}
} finally {
parentForm.action = oldAction;
16 years, 8 months
JBoss Rich Faces SVN: r7526 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-01 08:18:29 -0400 (Tue, 01 Apr 2008)
New Revision: 7526
Modified:
trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
Log:
http://jira.jboss.com/jira/browse/RF-2905
fix
Modified: trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-04-01 12:02:36 UTC (rev 7525)
+++ trunk/docs/userguide/en/src/main/docbook/included/suggestionbox.xml 2008-04-01 12:18:29 UTC (rev 7526)
@@ -528,7 +528,7 @@
<title>Redefinition styles with predefined classes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/suggestionBox_pc.png"/>
+ <imagedata fileref="images/suggestionbox_pc.png"/>
</imageobject>
</mediaobject>
</figure>
@@ -562,7 +562,7 @@
<title>Redefinition styles with own classes and <emphasis><property>styleClass</property></emphasis> attributes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/suggestionBox_oc.png"/>
+ <imagedata fileref="images/suggestionbox_oc.png"/>
</imageobject>
</mediaobject>
</figure>
16 years, 8 months
JBoss Rich Faces SVN: r7525 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-04-01 08:02:36 -0400 (Tue, 01 Apr 2008)
New Revision: 7525
Added:
trunk/docs/userguide/en/src/main/resources/images/scrollableDataTable_oc.png
Log:
http://jira.jboss.com/jira/browse/RF-2905
fix
Added: trunk/docs/userguide/en/src/main/resources/images/scrollableDataTable_oc.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/scrollableDataTable_oc.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 8 months