Author: smukhina
Date: 2009-05-04 18:02:51 -0400 (Mon, 04 May 2009)
New Revision: 14014
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-5761 Language is checked for updated Live Demo
components 3.3.1
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2009-05-04
18:13:39 UTC (rev 14013)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2009-05-04
22:02:51 UTC (rev 14014)
@@ -51,7 +51,7 @@
<b>prevYear()</b> navigates to the previous year
</li>
<li>
- <b>render(), renderFooter(), renderOptionalFooter(), renderHeader(),
renderOptionalHeader()</b> - functions to initiate cliend side rendering of the
calendar or additional elements.
+ <b>render(), renderFooter(), renderOptionalFooter(), renderHeader(),
renderOptionalHeader()</b> - functions to initiate client side rendering of the
calendar or additional elements.
</li>
<li>
@@ -65,7 +65,7 @@
<b>showSelectedDate()</b> switch calendar to show currently selected
date.
</li>
<li>
- <b>today(noUpdate, noHighlight)</b> switch calendar to todayDate. If
parameters - true, request will not be fired to switch, and additional highlighting will
be off.
+ <b>today(noUpdate, noHighlight)</b> switch calendar to todayDate. If
parameters are "true", request is not fired to switch, and additional
highlighting is off.
</li>
</ul>
</p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml 2009-05-04
18:13:39 UTC (rev 14013)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml 2009-05-04
22:02:51 UTC (rev 14014)
@@ -25,18 +25,18 @@
</p>
<p>CalendarDataModelItem provides the following methods:
<ul>
- <li><b>Boolean isEnabled()</b> returns true if date is
- "selectable" on the calendar, the default implementation returns
true</li>
- <li><b>String getStyleClass()</b> returns String that is
+ <li><b>Boolean isEnabled()</b> returns "true" if
date is
+ "selectable" on the calendar, the default implementation returns
"true"</li>
+ <li><b>String getStyleClass()</b> returns "String"
that is
appended to a style class for the date span. For example it may be
- "relevant holiday" that mean a class lools like "rich-cal-day
+ "relevant holiday" that means a class looks like "rich-cal-day
relevant holiday". The default implementation returns an empty
string.</li>
<li><b>Object getData()</b> returns any additional payload that
must be a JSON-serializable object. It may be used in the custom date
representation on the calendar (inside the custom facet).</li>
- <li><b>Boolean hasToolTip()</b> returns true if the given date has
- an associated one with it tooltip data. The default implementation returns
- false.</li>
+ <li><b>Boolean hasToolTip()</b> returns "true", if
the given date has
+ a tooltip. The default implementation returns
+ "false".</li>
<li><b>Object getToolTip()</b> returns tool tip data that is used in
a "batch" tooltip loading mode.</li>
</ul>
</p>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml 2009-05-04
18:13:39 UTC (rev 14013)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/usage.xhtml 2009-05-04
22:02:51 UTC (rev 14014)
@@ -45,7 +45,7 @@
<p>
<b>enableManualInput</b> attribute allows to input the date in a text
field manually.
- The default value is false. It means a user can only select the date from the calendar
element.
+ The default value is false. It means a user can only select date from the calendar
element.
</p>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml 2009-05-04
18:13:39 UTC (rev 14013)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml 2009-05-04
22:02:51 UTC (rev 14014)
@@ -14,7 +14,7 @@
<p>
Model class should extend <b>ExtendedDataTableModel</b> and additionally
implement
<b>Modifiable interface</b>. This interface defines
<b>modify</b> method. This
- method will be called with lists of sort and filter fields as parameters and should
perform sorting and
+ method is called with lists of sort and filter fields as parameters and should
perform sorting and
filtering according to the fields.
</p>
<div class="sample-container" >
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml 2009-05-04
18:13:39 UTC (rev 14013)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/fileUpload/usage.xhtml 2009-05-04
22:02:51 UTC (rev 14014)
@@ -12,10 +12,10 @@
extends functionality of standard <i>input </i>with
<i>type=file</i>.
</p>
<p>
- Next example shows you <b>File Upload</b> which allows you to upload
files to server.
- Files count allowed to upload managed with <b>maxFilesQuantity
</b>attribute.
- Every uploaded file should be managed through <b>fileUploadListener
</b>which called after
- every single file upload finished.
+ The next example shows you <b>File Upload</b> which allows you to upload
files to the server.
+ Files number allowed to upload is managed with <b>maxFilesQuantity
</b>attribute.
+ Every uploaded file should be managed with <b>fileUploadListener
</b>which is called after
+ every single file upload is finished.
</p>
<fieldset class="demo_fieldset">
@@ -41,8 +41,8 @@
<p>
File upload could works in <b>automatic upload</b> mode. You should just
define
<b>immediateUpload </b>upload attribute as <b>true
</b>(<i>false by default</i>) and upload will be started
- just after file added to list. But you could freely manage the list (add
- or remove some files from list while upload performed)
+ just after a file added to the list. But you could easily manage the list by adding
+ or removing some files from the list during the upload.
</p>
<p>
Also starting from 3.2.2 version File Upload could be configured to use flash
@@ -66,7 +66,7 @@
</h:panelGrid>
</h:form>
<p>
- In this example file types restricted to jpg, gif, png and bmp files using
<b>acceptedTypes </b>attribute.
+ In this example file types are restricted to jpg, gif, png and bmp files with the
help of <b>acceptedTypes </b>attribute.
</p>
<p>
FileUpload uses two init parameters which should be defined in Filter definition
@@ -74,8 +74,8 @@
</p>
<ul>
<li>
- <b>createTempFiles</b> boolean attribute which defines if the uploaded
files
- will be stored in temporary files or available in listener just as byte[] data
+ <b>createTempFiles</b> boolean attribute which defines whether the
uploaded files
+ are stored in temporary files or available in listener just as byte[] data
(false for this example).
</li>
<li>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml 2009-05-04
18:13:39 UTC (rev 14013)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/mediaOutput/usage.xhtml 2009-05-04
22:02:51 UTC (rev 14014)
@@ -17,17 +17,17 @@
The second parameter is a reference to a 'value' attribute of the component.
</p>
<p>
- <b>value</b> attribute references to data that can be used as a input data
for a content
+ <b>value</b> attribute references to data that can be used as input data
for a content
creator method. The data should be serializable because it is encoded to the URL
- to the resource.
+ of the resource.
</p>
<p>
<b>mimeType</b> attribute defines the type of output content. It is used
to define
the corresponded type in the header of an HTTP response.
</p>
<p>
- <b>cacheable</b> attribute is a flag that defines the caching strategy. If
'cachable'
- is set to false, the request will be cached. If it is set to true, it will be cached
+ <b>cacheable</b> attribute is a flag that defines the caching strategy. If
'cacheable'
+ is set to false, the response will not be cached. If it is set to true, it will be
cached
and the serialized value of 'value' attribute plays the role of a cache key.
</p>
<fieldset class="demo_fieldset">