You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2025/06/23 06:12:54 UTC
(myfaces-tobago) branch main updated: tobago-example(xhtml): fix grammar and spelling
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/main by this push:
new e73fcf60e0 tobago-example(xhtml): fix grammar and spelling
e73fcf60e0 is described below
commit e73fcf60e0afb8ce4aa40e4a9196f1534e840495
Author: John Bampton <jb...@gmail.com>
AuthorDate: Fri Jun 20 23:53:15 2025 +1000
tobago-example(xhtml): fix grammar and spelling
---
.../main/webapp/content/000-intro/30-whats-new/x-Tobago_3.xhtml | 2 +-
.../main/webapp/content/000-intro/30-whats-new/x-Tobago_4.xhtml | 4 ++--
.../main/webapp/content/000-intro/30-whats-new/x-Tobago_5.0.xhtml | 2 +-
.../main/webapp/content/000-intro/50-migration/x-2.0_to_3.0.xhtml | 2 +-
.../src/main/webapp/content/010-input/20-suggest/Suggest.xhtml | 2 +-
.../src/main/webapp/content/010-input/30-textarea/Textarea.xhtml | 2 +-
.../src/main/webapp/content/020-output/40-image/Image.xhtml | 4 ++--
.../content/030-select/50-selectManyCheckbox/Multi_Checkbox.xhtml | 2 +-
.../webapp/content/040-command/10-default/Default_Command.xhtml | 2 +-
.../main/webapp/content/080-sheet/15-paginator/Paginator.xhtml | 8 ++++----
10 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_3.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_3.xhtml
index 4cd30a52f5..127d361e75 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_3.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_3.xhtml
@@ -47,7 +47,7 @@
<li>Segment Layout (uses the 12 columns layout from Bootstrap)</li>
<li>Flex Layout (CSS3)<br/>You may replace the GridLayout from Tobago 2.0 with FlexLayout.</li>
<li>Flow Layout</li>
- <li>The new layout managers have been written a bit more concised: Using as container instead of a facet.</li>
+ <li>The new layout managers have been written a bit more concise: Using as container instead of a facet.</li>
</ul>
<b>tx library</b>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_4.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_4.xhtml
index b0c6c157e0..c9f59862e4 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_4.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_4.xhtml
@@ -77,7 +77,7 @@
<p><b>Reimplementation of Inline Styles</b><br/>
Is better and faster, because not use of JavaScript is needed now.
Background: This is possible with CSP Level 2.</p>
- <p><b>Inline Style for Rows ans Columns</b><br/>
+ <p><b>Inline Style for Rows and Columns</b><br/>
<tc:style> can now be used as subtag of <tc:row> and <tc:column>.
The styles are set dynamically, so different styling of rows is possible.</p>
<p><b>New components supported</b><br/>
@@ -91,7 +91,7 @@
</tc:section>
<tc:section label="Markups">
- <p>Markups are now easily accessable by JavaScript.
+ <p>Markups are now easily accessible by JavaScript.
The markup could be found on component root in the attribute <code>data-tobago-markup</code>.</p>
<p>New markups:</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_5.0.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_5.0.xhtml
index 387d9cfd90..2b3da94842 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_5.0.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/30-whats-new/x-Tobago_5.0.xhtml
@@ -32,7 +32,7 @@
<ul>
<li>Introducing: Web Components</li>
<li>Refactoring: JavaScript -> TypeScript</li>
- <li>Refactoring: ResourceBunde and MessageBundle</li>
+ <li>Refactoring: ResourceBundle and MessageBundle</li>
<li>A context message can now be added to form-component.</li>
<li>Update to Bootstrap 5</li>
<li>tc:date todayButton</li>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/50-migration/x-2.0_to_3.0.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/50-migration/x-2.0_to_3.0.xhtml
index 922b133f95..3338c6c211 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/50-migration/x-2.0_to_3.0.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/000-intro/50-migration/x-2.0_to_3.0.xhtml
@@ -65,7 +65,7 @@
<p> (preliminary) "labelPosition" or "labelLayout" with value "none"
With this attribute we may advise the renderer also the position of the label.
- Or, using an attribute "renderLable"...
+ Or, using an attribute "renderLabel"...
</p>
</tc:section>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/20-suggest/Suggest.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/20-suggest/Suggest.xhtml
index 4ae954ba0a..1217cd437b 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/20-suggest/Suggest.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/20-suggest/Suggest.xhtml
@@ -81,7 +81,7 @@
<tc:section label="Minimum Characters">
<p>The attribute
<code>minimumCharacters</code> is here set to <code>2</code>.
- You need to type at least 2 charaters before the list is shown.
+ You need to type at least 2 characters before the list is shown.
The default value is <code>1</code>.
</p>
<tc:in id="minimumCharacters" label="Solar Objects" placeholder="type 'sa' ...">
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/30-textarea/Textarea.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/30-textarea/Textarea.xhtml
index 0697ea3459..b6b2a1eb04 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/30-textarea/Textarea.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/30-textarea/Textarea.xhtml
@@ -24,7 +24,7 @@
xmlns:f="jakarta.faces.core">
<p>The <code class="language-markup"><tc:textarea/></code> tag, creates a textfield with one or more rows.
- The textarea becomes scrollable if the containing text could not displayed in the current size.</p>
+ The textarea becomes scrollable if the containing text could not be displayed in the current size.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
link="#{apiController.tobagoTld}/tc/textarea.html"/>
<tc:section label="Basics">
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/40-image/Image.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/40-image/Image.xhtml
index ca881504c7..e75b3af2fd 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/40-image/Image.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/40-image/Image.xhtml
@@ -63,8 +63,8 @@
<tc:section label="Font Awesome">
<p>
<tc:link link="https://fontawesome.com/" label="Font Awesome" image="bi-box-arrow-up-right"/>
- is not longer shipped with Tobago.
- But it is stil integratable, like in this demo. You need to add the resources manually.
+ is no longer shipped with Tobago.
+ But it is still integratable, like in this demo. You need to add the resources manually.
</p>
<demo-highlight language="markup"><tc:image id="fa" value="fa-coffee"/></demo-highlight>
Example: <tc:image id="fa" value="fa-coffee"/>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/50-selectManyCheckbox/Multi_Checkbox.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/50-selectManyCheckbox/Multi_Checkbox.xhtml
index 4f2b17ca42..eb8276f460 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/50-selectManyCheckbox/Multi_Checkbox.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/50-selectManyCheckbox/Multi_Checkbox.xhtml
@@ -111,7 +111,7 @@
<tc:section id="selectReference" label="Free layout with <tc:selectReference>">
<p>
- <span class="#{demo:bootstrapClass('BADGE')} #{demo:bootstrapClass('BADGE_DANGER')}">Attanion!</span>
+ <span class="#{demo:bootstrapClass('BADGE')} #{demo:bootstrapClass('BADGE_DANGER')}">Attention!</span>
The <code class="language-markup"><tc:selectReference></code> currently works only, when the referenced
component <code class="language-markup"><tc:selectManyCheckbox></code> has
set <code class="language-markup">labelLayout="skip"</code>.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/10-default/Default_Command.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/10-default/Default_Command.xhtml
index 5b27e4df3d..d09607c1ff 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/10-default/Default_Command.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/10-default/Default_Command.xhtml
@@ -50,7 +50,7 @@
<p>The related default-button is searched in the current <code class="language-markup"><tc:form/></code>.
If there no default-button could found, the search is continued in the parent form and so on.
If no default-button found on this way, the button is search outside of a form.</p>
- <p>In this example, the 'Submit A'-button is in a form together with a intputfield and output field.
+ <p>In this example, the 'Submit A'-button is in a form together with a input field and output field.
The 'Submit B'-button is outside a form.</p>
<p>Now, if the cursor is in 'Textfield A' and the enter key is pressed, the 'Submit A'-button is activated.
Therefor only the 'Textfield A'-value will be submitted.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/15-paginator/Paginator.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/15-paginator/Paginator.xhtml
index db79f2ab01..6cd27d0eaf 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/15-paginator/Paginator.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/15-paginator/Paginator.xhtml
@@ -32,17 +32,17 @@
using the new attribute <code>paginator</code>. Possible values are
<ul>
<li><code>auto</code> automatically select an paginator</li>
- <li><code>custom</code> render no paginator, the paginator will be provieded explicitly as tags (see below)</li>
+ <li><code>custom</code> render no paginator, the paginator will be provided explicitly as tags (see below)</li>
<li><code>list</code> render a list of pages</li>
<li><code>row</code> render the row, it can be modified by click</li>
- <li><code>page</code> render the page, it can be modiefied by click</li>
+ <li><code>page</code> render the page, it can be modified by click</li>
<li><code>useShowAttributes</code> the classic paginator for backward compatibility
- (deprected, will be removed in further releases)
+ (deprecated, will be removed in further releases)
</li>
</ul>
</tc:section>
- <tc:section label="Need more flexiblility? Use <tc:paginatorPanel>!">
+ <tc:section label="Need more flexibility? Use <tc:paginatorPanel>!">
An alternative way to define the paginator is to use the new tags <code>tc:paginatorPanel</code>,
and inside of it <code>tc:paginatorRow</code>, <code>tc:paginatorList</code> and <code>tc:paginatorPage</code>.