Author: smukhina
Date: 2007-08-30 08:03:14 -0400 (Thu, 30 Aug 2007)
New Revision: 2605
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/message/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-524
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/usage.xhtml 2007-08-30
11:54:14 UTC (rev 2604)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/usage.xhtml 2007-08-30
12:03:14 UTC (rev 2605)
@@ -7,13 +7,13 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
- <p>rich:insert component allows to insert and, optionally, format the file from
the appication
- context to the page. The context relative path to the file is specified with
<b>src</b>
+ <p>rich:insert component allows to insert and, optionally, format the file from
the application
+ context into the page. The context relative path to the file is specified with
<b>src</b>
attribute.
</p>
<p>
- <b>highlight</b> attribute defined the type of syntax highlighting. If this
attribute is
- specified, the inserting text is formated and the keywords are colorized using
+ <b>highlight</b> attribute defines the type of a syntax highlighting. If
this attribute is
+ specified, inserting text is formated and keywords are colorized using
<a
href="https://jhighlight.dev.java.net/"
target="_blank">jhighlight
open source</a> library. You need to have jhighlight.jar in the classpath to have
this feature
enabled. The following example shows the groovy code snippet inserted and highlighted:
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/message/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/message/usage.xhtml 2007-08-30
11:54:14 UTC (rev 2604)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/message/usage.xhtml 2007-08-30
12:03:14 UTC (rev 2605)
@@ -9,20 +9,20 @@
<ui:define name="sample">
- <p>rich:message is an extention for standard h:message component. In addition to
what the
- standard conponent provides, rich:message:
+ <p>rich:message is an extension for a standard h:message component. In addition
to what the
+ standard component provides, rich:message:
<ul>
- <li>does not required to be wraped with a4j:outputPanel to be rendered during
the
+ <li>does not require to be wrapped with a4j:outputPanel in order to be rendered
during the
Ajax requests</li>
<li>allows to have a "passed" or "failed" marker before the
text label</li>
- <li>has a predefined css class names for different kind of message
severities</li>
+ <li>has a predefined css class names for different kinds of message
severities</li>
</ul>
</p>
- <p>The message marker is defined with facet. There are several facets names are
available
- to designate the marker for different kind of message severities. The following
example
- shows how the markers might be use to mark the "passed" and
"failed" form fields.
- Fill the form and click "Validate" button to see the entered data passes
the
- defined valudation rules.
+ <p>The message marker is defined with a facet. There are several facets names
available
+ to design the marker for different kind of message severities. The following example
+ shows how the markers might be used to mark the "passed" and
"failed" form fields.
+ Fill the form and click "Validate" button to see the entered data passing
the
+ defined validation rules.
</p>
<div class="sample-container" >