JBoss Rich Faces SVN: r5986 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-11 02:56:37 -0500 (Mon, 11 Feb 2008)
New Revision: 5986
Modified:
trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for ListShuttle
Modified: trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-02-11 07:52:11 UTC (rev 5985)
+++ trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-02-11 07:56:37 UTC (rev 5986)
@@ -1133,7 +1133,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/listShuttleStyle.png"/>
18 years, 2 months
JBoss Rich Faces SVN: r5985 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-11 02:52:11 -0500 (Mon, 11 Feb 2008)
New Revision: 5985
Modified:
trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for virtualEarth
Modified: trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.desc.xml 2008-02-11 07:51:53 UTC (rev 5984)
+++ trunk/docs/userguide/en/src/main/docbook/included/virtualEarth.desc.xml 2008-02-11 07:52:11 UTC (rev 5985)
@@ -9,7 +9,7 @@
<title>Description</title>
<para>The component presents the Microsoft <property>Virtual Earth map</property> in the JSF applications.</para>
<figure>
- <title><rich:virtualEarth> component</title>
+ <title><emphasis role="bold"><property><rich:virtualEarth></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/virtualEarth.png"/>
18 years, 2 months
JBoss Rich Faces SVN: r5984 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-11 02:51:53 -0500 (Mon, 11 Feb 2008)
New Revision: 5984
Modified:
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for modalPanel
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-02-11 07:51:45 UTC (rev 5983)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-02-11 07:51:53 UTC (rev 5984)
@@ -160,7 +160,7 @@
on this link makes the modal window content appear.</para>
<figure>
- <title><rich:modalPanel> with links</title>
+ <title><emphasis role="bold"><property><rich:modalPanel></property></emphasis> with links</title>
<mediaobject>
<imageobject>
@@ -191,7 +191,7 @@
<para>The result is displayed here:</para>
<figure>
- <title><rich:modalPanel> with control element</title>
+ <title><emphasis role="bold"><property><rich:modalPanel></property></emphasis> with control element</title>
<mediaobject>
<imageobject>
@@ -499,7 +499,7 @@
<title>Definition of Custom Style Classes</title>
<figure>
- <title><rich:modalPanel> class name</title>
+ <title><emphasis role="bold"><property><rich:modalPanel></property></emphasis> class name</title>
<mediaobject>
<imageobject>
@@ -636,7 +636,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/mpStyle.png"/>
18 years, 2 months
JBoss Rich Faces SVN: r5983 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-11 02:51:45 -0500 (Mon, 11 Feb 2008)
New Revision: 5983
Modified:
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for modalPanel
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.desc.xml 2008-02-11 07:51:28 UTC (rev 5982)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.desc.xml 2008-02-11 07:51:45 UTC (rev 5983)
@@ -14,7 +14,7 @@
code.</para>
<figure>
- <title><rich:modalPanel> component</title>
+ <title><emphasis role="bold"><property><rich:modalPanel></property></emphasis> component</title>
<mediaobject>
<imageobject>
18 years, 2 months
JBoss Rich Faces SVN: r5982 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-11 02:51:28 -0500 (Mon, 11 Feb 2008)
New Revision: 5982
Modified:
trunk/docs/userguide/en/src/main/docbook/included/messages.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for messages
Modified: trunk/docs/userguide/en/src/main/docbook/included/messages.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2008-02-11 07:51:14 UTC (rev 5981)
+++ trunk/docs/userguide/en/src/main/docbook/included/messages.xml 2008-02-11 07:51:28 UTC (rev 5982)
@@ -213,7 +213,7 @@
<para>Also it’s possible to change styles of particular <emphasis role="bold"
><property><rich:messages></property></emphasis> component. In this case you should create own style classes and use them in corresponding <emphasis role="bold"
- ><property><rich:messages></property></emphasis> <property>styleClass</property> attributes. An example is placed below:</para>
+ ><property><rich:messages></property></emphasis> <emphasis><property>styleClass</property></emphasis> attributes. An example is placed below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -236,7 +236,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/messagesStyle.png"/>
18 years, 2 months
JBoss Rich Faces SVN: r5981 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-11 02:51:14 -0500 (Mon, 11 Feb 2008)
New Revision: 5981
Modified:
trunk/docs/userguide/en/src/main/docbook/included/messages.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for messages
Modified: trunk/docs/userguide/en/src/main/docbook/included/messages.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/messages.desc.xml 2008-02-11 07:51:04 UTC (rev 5980)
+++ trunk/docs/userguide/en/src/main/docbook/included/messages.desc.xml 2008-02-11 07:51:14 UTC (rev 5981)
@@ -13,7 +13,7 @@
<property><rich:message></property>
</emphasis> component but used for rendering all messages for the components.</para>
<figure>
- <title><rich:message> component</title>
+ <title><emphasis role="bold"><property><rich:messages></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/messages.png"/>
18 years, 2 months
JBoss Rich Faces SVN: r5980 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-11 02:51:04 -0500 (Mon, 11 Feb 2008)
New Revision: 5980
Modified:
trunk/docs/userguide/en/src/main/docbook/included/message.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for message
Modified: trunk/docs/userguide/en/src/main/docbook/included/message.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/message.xml 2008-02-11 07:50:55 UTC (rev 5979)
+++ trunk/docs/userguide/en/src/main/docbook/included/message.xml 2008-02-11 07:51:04 UTC (rev 5980)
@@ -238,7 +238,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/messageStyle.png"/>
18 years, 2 months
JBoss Rich Faces SVN: r5979 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-11 02:50:55 -0500 (Mon, 11 Feb 2008)
New Revision: 5979
Modified:
trunk/docs/userguide/en/src/main/docbook/included/message.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for message
Modified: trunk/docs/userguide/en/src/main/docbook/included/message.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/message.desc.xml 2008-02-09 15:17:30 UTC (rev 5978)
+++ trunk/docs/userguide/en/src/main/docbook/included/message.desc.xml 2008-02-11 07:50:55 UTC (rev 5979)
@@ -9,7 +9,7 @@
<title>Description</title>
<para>The component is used for rendering a single message for a specific component. </para>
<figure>
- <title><rich:message> component</title>
+ <title><emphasis role="bold"><property><rich:message></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/message.png"/>
18 years, 2 months
JBoss Rich Faces SVN: r5978 - 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-02-09 10:17:30 -0500 (Sat, 09 Feb 2008)
New Revision: 5978
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:
little changes for file upload component
Modified: trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java
===================================================================
--- trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2008-02-09 15:13:57 UTC (rev 5977)
+++ trunk/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2008-02-09 15:17:30 UTC (rev 5978)
@@ -220,8 +220,8 @@
String formId = ((UIComponent) AjaxRendererUtils
.getNestingForm(component)).getClientId(context);
String mode = (String) component.getAttributes().get("mode");
- Integer minValue = (Integer) component.getAttributes().get("minValue");
- Integer maxValue = (Integer) component.getAttributes().get("maxValue");
+ Number minValue = getNumber(component.getAttributes().get("minValue"));
+ Number maxValue = getNumber(component.getAttributes().get("maxValue"));
Number value = (Number)variables.getVariable("percent");
StringBuffer markup = getMarkup(context, component);
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-02-09 15:13:57 UTC (rev 5977)
+++ trunk/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2008-02-09 15:17:30 UTC (rev 5978)
@@ -11,6 +11,7 @@
this.minValue = minValue;
this.maxValue = maxValue;
this.value = value;
+ this.disabled = false;
this.context = context;
this.markup = markup;
@@ -28,7 +29,7 @@
return this.value;
},
onComplete: function (data) {
- if (!$(this.id)) { return; }
+ if (!$(this.id) || this.disabled) { return; }
if (data) {
this.value = data['percent'];
if (this.state == "progressState") {
@@ -121,16 +122,7 @@
}
return placeholders;
},
- setLabel: function (arg, params) {
- var str;
-
- if (params && params.label) {
- //componentControl
- str = params.label;
- } else {
- str = arg;
- }
-
+ setLabel: function (str) {
if (this.state != "progressState") { return; }
var d = $(this.id + ":remain");
if (!d) { return; }
@@ -148,20 +140,10 @@
getMinValue: function () {
return this.minValue;
},
-
isAjaxMode: function () {
return (this.getMode() == "ajax");
},
- setValue: function (arg, params) {
- var val;
-
- if (params && params.value) {
- //componentControl
- val = params.value;
- } else {
- val = arg;
- }
-
+ setValue: function (val) {
this.value = val;
var p = val;
val = "" + val;
@@ -192,6 +174,7 @@
},
enable: function (ev) {
+ this.disabled = false;
if (!this.isAjaxMode()) {
this.switchState("progressState");
this.setValue(0);
@@ -201,6 +184,7 @@
}
},
disable: function () {
+ this.disabled = true;
A4J.AJAX.StopPoll(this.id);
},
finish: function () {
18 years, 2 months
JBoss Rich Faces SVN: r5977 - trunk/sandbox/samples/fileUploadDemo/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-02-09 10:13:57 -0500 (Sat, 09 Feb 2008)
New Revision: 5977
Modified:
trunk/sandbox/samples/fileUploadDemo/src/main/webapp/pages/index.jsp
Log:
Modified: trunk/sandbox/samples/fileUploadDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/fileUploadDemo/src/main/webapp/pages/index.jsp 2008-02-09 15:13:38 UTC (rev 5976)
+++ trunk/sandbox/samples/fileUploadDemo/src/main/webapp/pages/index.jsp 2008-02-09 15:13:57 UTC (rev 5977)
@@ -11,11 +11,17 @@
<body>
<f:view>
<h:form>
-<fu:fileUpload data="#{bean.data}">
+<fu:fileUpload data="#{bean.data}" progressInfo="info">
<f:facet name="progress">
<progressBar:progressBar style="height: 10px; width: 300px;" maxValue="101" minValue="-1">
</progressBar:progressBar>
</f:facet>
+ <f:facet name="progressLabel">
+ <h:panelGroup>
+ <h:outputText value="#{info.uploadedMB}MB from #{info.MB}MB"></h:outputText>
+ <h:outputText style="padding-left: 80px" value="time: #{info.mm}:#{info.ss}"></h:outputText>
+ </h:panelGroup>
+ </f:facet>
</fu:fileUpload><br/><br/><br/>
<h:commandButton actionListener="#{bean.action}" style="font-weight: bold; width: 300px;" value="Print file content in console"></h:commandButton>
</h:form>
18 years, 2 months