JBoss Rich Faces SVN: r5565 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-01-23 10:53:33 -0500 (Wed, 23 Jan 2008)
New Revision: 5565
Added:
trunk/docs/userguide/en/src/main/resources/images/columns1.png
trunk/docs/userguide/en/src/main/resources/images/columns2.png
Log:
http://jira.jboss.com/jira/browse/RF-1199 - screenshots
Added: trunk/docs/userguide/en/src/main/resources/images/columns1.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/columns1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs/userguide/en/src/main/resources/images/columns2.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/columns2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 11 months
JBoss Rich Faces SVN: r5564 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-01-23 10:52:52 -0500 (Wed, 23 Jan 2008)
New Revision: 5564
Added:
trunk/docs/userguide/en/src/main/resources/images/calendar6.png
Log:
http://jira.jboss.com/jira/browse/RF-920 - add screenshot
Added: trunk/docs/userguide/en/src/main/resources/images/calendar6.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs/userguide/en/src/main/resources/images/calendar6.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years, 11 months
JBoss Rich Faces SVN: r5563 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-01-23 10:51:18 -0500 (Wed, 23 Jan 2008)
New Revision: 5563
Modified:
trunk/docs/userguide/en/src/main/docbook/included/columns.xml
Log:
http://jira.jboss.com/jira/browse/RF-1199 - fix examples
Modified: trunk/docs/userguide/en/src/main/docbook/included/columns.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-01-23 15:50:55 UTC (rev 5562)
+++ trunk/docs/userguide/en/src/main/docbook/included/columns.xml 2008-01-23 15:51:18 UTC (rev 5563)
@@ -47,10 +47,10 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
-<rich:dataTable value="#{bean.model}" var="var" id="tb">
- <rich:columns value="#{bean.columns}" var="col">
- <h:outputText value="#{var.property1}" />
- </rich:columns>
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap">
+ <rich:columns value="#{capitalsBean.labels}" var="col" index="index">
+ <h:outputText value="#{cap[index]}" />
+ </rich:columns>
</rich:dataTable>
...]]></programlisting>
</section>
@@ -82,16 +82,16 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
-<rich:dataTable value="#{bean.model}" var="var" id="tb">
- <rich:columns value="#{colBean.columns}" var="col">
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap">
+ <rich:columns value="#{capitalsBean.labels}" var="col" index="index">
<f:facet name="header">
- <h:outputText value="#{col.header}" />
+ <h:outputText value="#{col.text}" />
</f:facet>
- <h:outputText value="#{row.value}"/>
- <f:facet name="footer">
- <h:outputText value="#{col.footer}"/>
- </f:facet>
- </rich:columns>
+ <h:outputText value="#{cap[index]}" />
+ <f:facet name="footer">
+ <h:outputText value="#{col.text}" />
+ </f:facet>
+ </rich:columns>
</rich:dataTable>
...]]></programlisting>
<para>
@@ -114,21 +114,31 @@
<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">
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap">
+ <rich:columns value="#{capitalsBean.labels}" var="col" index="index" rows="0" columns="3" begin="1" end="2">
<f:facet name="header">
- <h:outputText value="#{col.header}"/>
+ <h:outputText value="#{col.text}" />
</f:facet>
- <h:outputText value="#{row.columnValue}"/>
- </rich:columns>
-</rich:dataTable>
+ <h:outputText value="#{cap[index]}" />
+ </rich:columns>
+</rich:dataTable>
...]]></programlisting>
<para>
- In the example below, columns from second to fourth and all rows are shown in the
+ In the example below, columns from first to second and all rows are shown in the
<emphasis role="bold"><property><rich:dataTable></property></emphasis>.
</para>
-
<para>
+ The result is:
+ </para>
+ <figure>
+ <title>Generated <rich:columns></title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/columns2.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
The <emphasis role="bold"><property><rich:columns></property></emphasis> component does not prevent to use
<emphasis role="bold"><property><rich:column></property></emphasis>.
In the following example one column renders in any way and another columns could be picked from the model.
16 years, 11 months
JBoss Rich Faces SVN: r5562 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-01-23 10:50:55 -0500 (Wed, 23 Jan 2008)
New Revision: 5562
Modified:
trunk/docs/userguide/en/src/main/docbook/included/columns.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-1199 - add screenshot
Modified: trunk/docs/userguide/en/src/main/docbook/included/columns.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/columns.desc.xml 2008-01-23 15:29:45 UTC (rev 5561)
+++ trunk/docs/userguide/en/src/main/docbook/included/columns.desc.xml 2008-01-23 15:50:55 UTC (rev 5562)
@@ -15,7 +15,7 @@
<title><rich:columns> component</title>
<mediaobject>
<imageobject>
- <imagedata fileref="/images/column1.png"/>
+ <imagedata fileref="/images/columns1.png"/>
</imageobject>
</mediaobject>
</figure-->
16 years, 11 months
JBoss Rich Faces SVN: r5561 - in management/design/fileUpload/markup: images and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: admitriev
Date: 2008-01-23 10:29:45 -0500 (Wed, 23 Jan 2008)
New Revision: 5561
Removed:
management/design/fileUpload/markup/images/bg_ProgressBar.png
management/design/fileUpload/markup/images/bg_RegressBar.png
management/design/fileUpload/markup/images/bg_RegressBar_perm.gif
management/design/fileUpload/markup/images/bg_button.png
management/design/fileUpload/markup/images/bg_regressbar.psd
management/design/fileUpload/markup/images/bg_uploaded.png
management/design/fileUpload/markup/images/ico_delete.gif
management/design/fileUpload/markup/images/ico_file.gif
management/design/fileUpload/markup/images/ico_file_32.gif
Modified:
management/design/fileUpload/markup/file_upload.html
management/design/fileUpload/markup/images/ico_clear.gif
management/design/fileUpload/markup/images/ico_stop.gif
Log:
Modified: management/design/fileUpload/markup/file_upload.html
===================================================================
--- management/design/fileUpload/markup/file_upload.html 2008-01-23 15:09:13 UTC (rev 5560)
+++ management/design/fileUpload/markup/file_upload.html 2008-01-23 15:29:45 UTC (rev 5561)
@@ -76,7 +76,6 @@
.upload_ico_add{background-image : url(images/ico_add.gif)}
.upload_ico_start{background-image : url(images/ico_start.gif)}
.upload_ico_stop{background-image : url(images/ico_stop.gif)}
-.upload_ico_delete{background-image : url(images/ico_delete.gif)}
.upload_ico_clear{background-image : url(images/ico_clear.gif)}
</style>
@@ -90,8 +89,8 @@
<td class="upload_toolbar_decor">
<div class="upload_button_border" style=" float:left"><div class="upload_button upload_font" 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'"><a href="#" class="upload_button_selection"><div class="upload_button_content upload_font upload_ico upload_ico_add">Add...</div></a></div></div>
<div class="upload_button_border" style=" float:left"><div class="upload_button upload_font" 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'"><a href="#" class="upload_button_selection"><div class="upload_button_content upload_font upload_ico upload_ico_start"><b>Upload</b></div></a></div></div>
+ <!--div class="upload_button_border" style=" float:left"><div class="upload_button upload_font" 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'"><a href="#" class="upload_button_selection"><div class="upload_button_content upload_font upload_ico upload_ico_stop"><b>Stop</b></div></a></div></div-->
<div class="upload_button_border" style=" float:right"><div class="upload_button upload_font" 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'"><a href="#" class="upload_button_selection"><div class="upload_button_content upload_font upload_ico upload_ico_clear">Clear All</div></a></div></div>
- <div class="upload_button_border" style=" float:right"><div class="upload_button upload_font" 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'"><a href="#" class="upload_button_selection"><div class="upload_button_content upload_font upload_ico upload_ico_delete">Delete All</div></a></div></div>
</td>
</tr>
</table>
@@ -121,7 +120,7 @@
</td>
<td>
<div class="upload_font upload_del"><a href="#" class="upload_anc">Clear</a></div>
- <div class="upload_font upload_del"><a href="#" class="upload_anc">Delete</a></div>
+ <div class="upload_font upload_del"><br /></div>
</td>
<td>
<div class="upload_font upload_scroll"> </div>
@@ -199,6 +198,7 @@
+
<table border="0" cellpadding="0" cellspacing="0" id="upload_table">
<tr>
<td class="upload_font upload_name">
@@ -216,14 +216,14 @@
</div-->
<div class="upload_name_padding">
- <b>Done</b>
+ <br>
</div>
</td>
<td>
<div class="upload_font upload_del"><a href="#" class="upload_anc">Clear</a></div>
- <div class="upload_font upload_del"><a href="#" class="upload_anc">Yes</a> | <a href="#" class="upload_anc">No</a></div>
+ <div class="upload_font upload_del"><br></div>
</td>
<td>
<div class="upload_font upload_scroll"> </div>
@@ -232,39 +232,8 @@
</table>
- <table border="0" cellpadding="0" cellspacing="0" id="upload_table">
- <tr>
- <td class="upload_font upload_name">
- <div class="upload_name_padding">
- file_upload.html
- </div>
-
- <div class="upload_bar_exterior">
- <div class="upload_bar_shell">
- <div class="upload_bar_deleted">
-
- </div>
- </div>
- </div>
- <div class="upload_name_padding">
- Deleteing in progress
- </div>
-
-
- </td>
- <td>
- <div class="upload_font upload_del"><br></div>
- <div class="upload_font upload_del"><br></div>
- </td>
- <td>
- <div class="upload_font upload_scroll"> </div>
- </td>
- </tr>
- </table>
-
-
<table border="0" cellpadding="0" cellspacing="0" id="upload_table">
<tr>
<td class="upload_font upload_name">
@@ -282,7 +251,7 @@
</div-->
<div class="upload_name_padding">
- <b>Deleted</b>
+ <br>
</div>
@@ -299,40 +268,9 @@
- <table border="0" cellpadding="0" cellspacing="0" id="upload_table">
- <tr>
- <td class="upload_font upload_name">
- <div class="upload_name_padding">
- file_upload.html
- </div>
-
- <!--div class="upload_bar_exterior">
- <div class="upload_bar_shell">
- <div class="upload_bar_uploaded">
-
- </div>
- </div>
- </div-->
- <div class="upload_name_padding">
- <br>
- </div>
-
- </td>
- <td>
- <div class="upload_font upload_del"><a href="#" class="upload_anc">Clear</a></div>
- <div class="upload_font upload_del"><br></div>
- </td>
- <td>
- <div class="upload_font upload_scroll"> </div>
- </td>
- </tr>
- </table>
-
-
-
</div>
Deleted: management/design/fileUpload/markup/images/bg_ProgressBar.png
===================================================================
(Binary files differ)
Deleted: management/design/fileUpload/markup/images/bg_RegressBar.png
===================================================================
(Binary files differ)
Deleted: management/design/fileUpload/markup/images/bg_RegressBar_perm.gif
===================================================================
(Binary files differ)
Deleted: management/design/fileUpload/markup/images/bg_button.png
===================================================================
(Binary files differ)
Deleted: management/design/fileUpload/markup/images/bg_regressbar.psd
===================================================================
(Binary files differ)
Deleted: management/design/fileUpload/markup/images/bg_uploaded.png
===================================================================
(Binary files differ)
Modified: management/design/fileUpload/markup/images/ico_clear.gif
===================================================================
(Binary files differ)
Deleted: management/design/fileUpload/markup/images/ico_delete.gif
===================================================================
(Binary files differ)
Deleted: management/design/fileUpload/markup/images/ico_file.gif
===================================================================
(Binary files differ)
Deleted: management/design/fileUpload/markup/images/ico_file_32.gif
===================================================================
(Binary files differ)
Modified: management/design/fileUpload/markup/images/ico_stop.gif
===================================================================
(Binary files differ)
16 years, 11 months
JBoss Rich Faces SVN: r5560 - branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-01-23 10:09:13 -0500 (Wed, 23 Jan 2008)
New Revision: 5560
Modified:
branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
Log:
RF-1983
Modified: branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
--- branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-01-23 15:01:12 UTC (rev 5559)
+++ branches/3.1.x/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-01-23 15:09:13 UTC (rev 5560)
@@ -186,13 +186,15 @@
if (isNaN(sliderValue)){
sliderValue=0;
}
- sliderValue = this.getNearestValue(sliderValue);
- this.value = sliderValue;
- if (!this.editInFocus && (this.required || "" != this.input.value || this.updating)){
+ var newValue = this.getNearestValue(sliderValue);
+ this.value = newValue;
+
+ if ((!this.editInFocus || newValue==sliderValue) && (this.required || "" != this.input.value || this.updating)){
this.input.value = this.value;
// this.optionInput.value = this.value;
this.handle.style.left = this.translateToPx(sliderValue);
- } else {
+ } else
+ {
this.handle.style.left = "-2px";
}
if (!this.tip.firstChild) {
16 years, 11 months
JBoss Rich Faces SVN: r5559 - trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-01-23 10:01:12 -0500 (Wed, 23 Jan 2008)
New Revision: 5559
Modified:
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
Log:
RF-1983
Modified: trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
--- trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-01-23 14:10:11 UTC (rev 5558)
+++ trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-01-23 15:01:12 UTC (rev 5559)
@@ -187,15 +187,15 @@
if (isNaN(sliderValue)){
sliderValue=0;
}
- sliderValue = this.getNearestValue(sliderValue);
+ var newValue = this.getNearestValue(sliderValue);
+ this.value = newValue;
- this.value = sliderValue;
-
- if (!this.editInFocus && (this.required || "" != this.input.value || this.updating)){
+ if ((!this.editInFocus || newValue==sliderValue) && (this.required || "" != this.input.value || this.updating)){
this.input.value = this.value;
// this.optionInput.value = this.value;
- this.handle.style.left = this.translateToPx(sliderValue);
- } else {
+ this.handle.style.left = this.translateToPx(newValue);
+ } else
+ {
this.handle.style.left = "-2px";
}
if (!this.tip.firstChild) {
16 years, 11 months
JBoss Rich Faces SVN: r5558 - branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2008-01-23 09:10:11 -0500 (Wed, 23 Jan 2008)
New Revision: 5558
Modified:
branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
Log:
add locale en
Modified: branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2008-01-23 14:06:58 UTC (rev 5557)
+++ branches/3.1.x/test-applications/facelets/src/main/webapp/WEB-INF/faces-config.xml 2008-01-23 14:10:11 UTC (rev 5558)
@@ -144,6 +144,11 @@
<to-view-id>/pages/main.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
+ <application>
+ <locale-config>
+ <default-locale>en</default-locale>
+ </locale-config>
+ </application>
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
16 years, 11 months
JBoss Rich Faces SVN: r5557 - branches/3.1.x/test-applications/facelets/src/main/java/virtualEarth.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-01-23 09:06:58 -0500 (Wed, 23 Jan 2008)
New Revision: 5557
Modified:
branches/3.1.x/test-applications/facelets/src/main/java/virtualEarth/VirtualEarth.java
Log:
Invalid version specification for VirtualEarth fixed
Modified: branches/3.1.x/test-applications/facelets/src/main/java/virtualEarth/VirtualEarth.java
===================================================================
--- branches/3.1.x/test-applications/facelets/src/main/java/virtualEarth/VirtualEarth.java 2008-01-23 12:47:19 UTC (rev 5556)
+++ branches/3.1.x/test-applications/facelets/src/main/java/virtualEarth/VirtualEarth.java 2008-01-23 14:06:58 UTC (rev 5557)
@@ -2,7 +2,7 @@
public class VirtualEarth {
private String zoom;
- private String version;
+ private String version = "6";
public String getVersion() {
return version;
16 years, 11 months
JBoss Rich Faces SVN: r5556 - branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-01-23 07:47:19 -0500 (Wed, 23 Jan 2008)
New Revision: 5556
Modified:
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-1956
Modified: branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml 2008-01-23 12:29:45 UTC (rev 5555)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml 2008-01-23 12:47:19 UTC (rev 5556)
@@ -12,13 +12,13 @@
<rich:orderingList value="#{library.libraryAsList}" var="lib" listHeight="300" listWidth="350">
<rich:column width="180">
<f:facet name="header">
- Song Name
+ <h:outputText value="Song Name"/>
</f:facet>
<h:outputText value="#{lib.title}"></h:outputText>
</rich:column>
<rich:column>
<f:facet name="header">
- Artist Name
+ <h:outputText value="Artist Name"/>
</f:facet>
<h:outputText value="#{lib.album.artist.name}"></h:outputText>
</rich:column>
16 years, 11 months