You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2022/07/28 07:48:10 UTC
[myfaces-tobago] branch tobago-5.x updated: demo: Cleanup Doc Links
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/tobago-5.x by this push:
new d439cab8c4 demo: Cleanup Doc Links
new e1eb70a31d Merge pull request #2967 from lofwyr14/tobago-5.x-cleanup-doc-links
d439cab8c4 is described below
commit d439cab8c4b32c9f57dfecec3b73c8431d8fea22
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Thu Jul 28 09:38:44 2022 +0200
demo: Cleanup Doc Links
---
.../org/apache/myfaces/tobago/example/demo/ApiController.java | 8 ++++++++
.../src/main/webapp/content/010-input/10-in/In.xhtml | 3 ++-
.../src/main/webapp/content/010-input/20-suggest/Suggest.xhtml | 6 +++---
.../main/webapp/content/010-input/30-textarea/Textarea.xhtml | 3 ++-
.../src/main/webapp/content/010-input/40-date/Date.xhtml | 5 +++--
.../main/webapp/content/010-input/50-input-group/Group.xhtml | 2 +-
.../main/webapp/content/010-input/80-stars/5_Star_Rating.xhtml | 2 +-
.../src/main/webapp/content/020-output/10-out/Out.xhtml | 2 +-
.../src/main/webapp/content/020-output/20-label/Label.xhtml | 2 +-
.../src/main/webapp/content/020-output/25-badge/Badge.xhtml | 4 ++--
.../src/main/webapp/content/020-output/40-image/Image.xhtml | 3 ++-
.../src/main/webapp/content/020-output/45-figure/Figure.xhtml | 2 +-
.../main/webapp/content/020-output/50-progress/Progress.xhtml | 3 ++-
.../src/main/webapp/content/020-output/60-object/Object.xhtml | 2 +-
.../content/030-select/10-selectBooleanCheckbox/Checkbox.xhtml | 2 +-
.../content/030-select/15-selectBooleanToggle/Toggle.xhtml | 2 +-
.../content/030-select/20-selectOneChoice/Dropdown.xhtml | 6 +++---
.../webapp/content/030-select/30-selectOneRadio/Radio.xhtml | 6 +++---
.../content/030-select/40-selectOneListbox/Listbox.xhtml | 6 +++---
.../030-select/50-selectManyCheckbox/Multi_Checkbox.xhtml | 6 +++---
.../030-select/60-selectManyListbox/Multi_Listbox.xhtml | 6 +++---
.../content/030-select/70-selectManyShuttle/Shuttle.xhtml | 6 +++---
.../content/040-command/00-button-link/Button_and_Link.xhtml | 4 ++--
.../content/040-command/10-default/Default_Command.xhtml | 2 +-
.../webapp/content/040-command/20-buttons/Button_Group.xhtml | 6 ++++--
.../main/webapp/content/040-command/25-links/Link_Group.xhtml | 8 +++++---
.../src/main/webapp/content/050-container/10-box/Box.xhtml | 2 +-
.../src/main/webapp/content/050-container/20-panel/Panel.xhtml | 4 ++--
.../main/webapp/content/050-container/40-section/Section.xhtml | 2 +-
.../src/main/webapp/content/050-container/60-bar/Bar.xhtml | 2 +-
.../src/main/webapp/content/060-popup/Popup.xhtml | 4 ++--
.../src/main/webapp/content/070-tab/00-client/Tab_Client.xhtml | 8 +++++---
.../src/main/webapp/content/070-tab/01-ajax/Tab_Ajax.xhtml | 8 +++++---
.../src/main/webapp/content/070-tab/02-server/Tab_Server.xhtml | 8 +++++---
.../main/webapp/content/080-sheet/10-sort/Sheet_Sorting.xhtml | 4 ++--
.../content/080-sheet/20-selector/Sheet_Column_Selector.xhtml | 4 ++--
.../main/webapp/content/080-sheet/50-filter/Sheet_Filter.xhtml | 4 ++--
.../080-sheet/55-staticheader/Sheet_Static_Header.xhtml | 4 ++--
.../content/080-sheet/60-multiheader/Sheet_Multi_Header.xhtml | 6 +++---
.../src/main/webapp/content/080-sheet/70-tree/Sheet_Tree.xhtml | 4 ++--
.../webapp/content/080-sheet/80-editable/Sheet_Editable.xhtml | 4 ++--
.../src/main/webapp/content/080-sheet/Sheet.xhtml | 4 ++--
.../content/090-tree/00-command/Tree_Command_Types.xhtml | 2 +-
.../main/webapp/content/090-tree/01-select/Tree_Select.xhtml | 4 ++--
.../main/webapp/content/090-tree/04-listbox/Tree_Listbox.xhtml | 2 +-
.../src/main/webapp/content/090-tree/Tree.xhtml | 10 +++++-----
.../src/main/webapp/content/100-upload/File_Upload.xhtml | 2 +-
.../main/webapp/content/120-layout/10-flow/Flow_Layout.xhtml | 2 +-
.../main/webapp/content/120-layout/20-flex/Flex_Layout.xhtml | 2 +-
.../webapp/content/120-layout/30-segment/Segment_Layout.xhtml | 2 +-
.../main/webapp/content/120-layout/40-label/Label_Layout.xhtml | 8 ++++----
.../src/main/webapp/content/150-behavior/Behavior.xhtml | 4 ++--
.../main/webapp/content/160-form/10-required/Required.xhtml | 2 +-
.../src/main/webapp/content/160-form/20-ajax/Ajax.xhtml | 2 +-
.../src/main/webapp/content/160-form/Form.xhtml | 2 +-
.../webapp/content/170-validation/00/Content_Validation.xhtml | 4 ++--
.../webapp/content/170-validation/30-messages/Messages.xhtml | 2 +-
.../src/main/webapp/content/230-accessKey/AccessKey.xhtml | 8 ++++----
.../main/webapp/content/240-dataAttribute/DataAttribute.xhtml | 2 +-
.../src/main/webapp/content/350-transition/Transition.xhtml | 6 ++++--
60 files changed, 135 insertions(+), 110 deletions(-)
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
index bdbb4a184e..0b98db386a 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/ApiController.java
@@ -70,6 +70,14 @@ public class ApiController implements Serializable {
return "https://myfaces.apache.org/tobago/doc";
}
+ public String getTobagoTld() {
+ return getTldBase() + "/" + getCurrentRelease() + "/tld";
+ }
+
+ public String getFacesTld() {
+ return "https://jakarta.ee/specifications/faces/2.3/vdldoc";
+ }
+
public boolean isOnlyCurrent() {
return onlyCurrent;
}
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/10-in/In.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/10-in/In.xhtml
index 5803aa9ace..832264f151 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/10-in/In.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/10-in/In.xhtml
@@ -24,7 +24,8 @@
xmlns:f="http://xmlns.jcp.org/jsf/core">
<p>The <code class="language-markup"><tc:in/></code> tag create a classic input field.</p>
- <tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/in.html"/>
+ <tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/in.html"/>
<tc:section label="Basics">
<p>In most cases, a label should be placed in front of every input field. Use the attribute
<code>label</code>.</p>
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 2fa255121f..42ccfed104 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
@@ -26,13 +26,13 @@
suggestions based on the already entered text.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:suggest/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/suggest.html"/>
+ link="#{apiController.tobagoTld}/tc/suggest.html"/>
|
<tc:link label="<tc:in/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/in.html"/>
+ link="#{apiController.tobagoTld}/tc/in.html"/>
|
<tc:link label="<tc:selectItems/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItems.html"/></p>
+ link="#{apiController.tobagoTld}/tc/selectItems.html"/></p>
<tc:section label="Basics">
<p>After you type a character in the textfield, a list of suggestions is shown.</p>
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 2dc25ed601..cc6ed657fd 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
@@ -25,7 +25,8 @@
<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>
- <tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/textarea.html"/>
+ <tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/textarea.html"/>
<tc:section label="Basics">
<p>The textarea should always have a label attached. For this, use the <code>label</code> attribute.</p>
<p>Unlike the input field <tc:link label="In"
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/40-date/Date.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/40-date/Date.xhtml
index 0c72973318..425b4c3fbc 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/40-date/Date.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/40-date/Date.xhtml
@@ -27,10 +27,11 @@
tag create an input field for a date or time.
The date can also be edited in the textfield.</p>
<p>Tag Library Documentation:
- <tc:link label="<tc:date/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/date.html"/>
+ <tc:link label="<tc:date/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/date.html"/>
|
<tc:link label="<f:convertDateTime/>"
- link="https://docs.oracle.com/javaee/6/javaserverfaces/2.0/docs/pdldocs/facelets/f/convertDateTime.html"/>
+ link="#{apiController.facesTld}/f/convertdatetime.html"/>
</p>
<tc:section label="Basics">
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/50-input-group/Group.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/50-input-group/Group.xhtml
index 5ed43ce439..17f5d3693c 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/50-input-group/Group.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/50-input-group/Group.xhtml
@@ -29,7 +29,7 @@
and <code class="language-markup"><f:facet name="after"></code>.
With these, you can add text and dropdown menus to an input field.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/in.html"/>
+ link="#{apiController.tobagoTld}/tc/in.html"/>
<tc:section label="Text">
<p>The following example show how to add a text-label inside an input field.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/80-stars/5_Star_Rating.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/80-stars/5_Star_Rating.xhtml
index 30e7bc1030..e7a629f2e5 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/80-stars/5_Star_Rating.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/010-input/80-stars/5_Star_Rating.xhtml
@@ -25,7 +25,7 @@
<p>Use <code class="language-markup"><tc:stars/></code> to create a five star rating.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/stars.html"/>
+ link="#{apiController.tobagoTld}/tc/stars.html"/>
<tc:section label="Basics">
<tc:style marginTop="3rem"/>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/10-out/Out.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/10-out/Out.xhtml
index df66e632ea..4e5738f507 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/10-out/Out.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/10-out/Out.xhtml
@@ -24,7 +24,7 @@
<p>The <code class="language-markup"><tc:out/></code> display an outputtext combined with a label.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/out.html"/>
+ link="#{apiController.tobagoTld}/tc/out.html"/>
<tc:section label="Basics">
<p>To put a label in front of a outputtext, use the <code>label</code> attribute.</p>
<demo-highlight language="markup"><tc:out label="Output" value="Some Text"/></demo-highlight>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/20-label/Label.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/20-label/Label.xhtml
index 106b9c85f4..1a0606bd53 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/20-label/Label.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/20-label/Label.xhtml
@@ -26,7 +26,7 @@
Some components already have a <code>label</code> attribute to combine it with a label,
which should be used in general.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/label.html"/>
+ link="#{apiController.tobagoTld}/tc/label.html"/>
<tc:section label="Basics">
<demo-highlight language="markup"><tc:label value="Single Label"/></demo-highlight>
<tc:label id="l1" value="Single Label"/>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/25-badge/Badge.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/25-badge/Badge.xhtml
index 1b28654ca0..61e94fbf56 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/25-badge/Badge.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/25-badge/Badge.xhtml
@@ -28,10 +28,10 @@
Buttons can be displayed as a badge with the <code>badge</code> markup.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:badge/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/badge.html"/>
+ link="#{apiController.tobagoTld}/tc/badge.html"/>
|
<tc:link label="<tc:button/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/button.html"/></p>
+ link="#{apiController.tobagoTld}/tc/button.html"/></p>
<tc:section label="Basics">
<p>A simple badge rendered with <code class="language-markup"><tc:badge value="Simple Badge"/></code>.</p>
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 084e531d57..cbb96c18c2 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
@@ -23,7 +23,8 @@
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<p>Create an image with <code class="language-markup"><tc:image/></code>.</p>
- <tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/image.html"/>
+ <tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/image.html"/>
<tc:section label="Basics">
<demo-highlight language="markup"><tc:image value="\#{request.contextPath}/image/tobago_head.png"/></demo-highlight>
<tc:image id="i1" value="#{request.contextPath}/image/tobago_head.png"/>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/45-figure/Figure.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/45-figure/Figure.xhtml
index fb459cb59f..9ac7fab402 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/45-figure/Figure.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/45-figure/Figure.xhtml
@@ -25,7 +25,7 @@
<p>Create a figure with <code class="language-markup"><tc:figure/></code> around an image,
video or something else. The label can be set via the label attribute or with the label facet.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/figure.html"/>
+ link="#{apiController.tobagoTld}/tc/figure.html"/>
<tc:section label="Label attribute">
<p>For simple captions use the <code>label</code> attribute.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/50-progress/Progress.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/50-progress/Progress.xhtml
index 9d002ef9c8..7bc64518fa 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/50-progress/Progress.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/50-progress/Progress.xhtml
@@ -29,7 +29,8 @@
It could be a <code>double</code> - in that case, you need the attribute <code>max</code> as well.
Or it is of type <code>BoundedRangeModel</code>.</p>
<p>Tag Library Documentation:
- <tc:link label="<tc:progress/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/progress.html"/>
+ <tc:link label="<tc:progress/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/progress.html"/>
|
<tc:link label="BoundedRangeModel"
link="https://docs.oracle.com/javase/7/docs/api/javax/swing/BoundedRangeModel.html"/></p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/60-object/Object.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/60-object/Object.xhtml
index 7cc0f7bcf3..652c8e4903 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/60-object/Object.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/020-output/60-object/Object.xhtml
@@ -27,7 +27,7 @@
<p>The <code class="language-markup"><tc:object/></code> tag creates an <code class="language-markup"><iframe></code>.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/object.html"/>
+ link="#{apiController.tobagoTld}/tc/object.html"/>
<tc:section label="Basics">
<demo-highlight language="markup"><tc:object src="https://www.openstreetmap.org/..."/></demo-highlight>
<tc:object id="o1"
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/10-selectBooleanCheckbox/Checkbox.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/10-selectBooleanCheckbox/Checkbox.xhtml
index e7de8a7342..955def1c13 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/10-selectBooleanCheckbox/Checkbox.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/10-selectBooleanCheckbox/Checkbox.xhtml
@@ -26,7 +26,7 @@
<p>The tag <code class="language-markup"><tc:selectBooleanCheckbox/></code> generate a classic boolean
checkbox.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectBooleanCheckbox.html"/>
+ link="#{apiController.tobagoTld}/tc/selectBooleanCheckbox.html"/>
<tc:section label="Basics">
<demo-highlight language="markup"><tc:selectBooleanCheckbox label="Checkbox" value="true"/></demo-highlight>
<tc:selectBooleanCheckbox id="s1" label="Normal Checkbox" value="true"/>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/15-selectBooleanToggle/Toggle.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/15-selectBooleanToggle/Toggle.xhtml
index c278ab3df6..0ba5d0a06b 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/15-selectBooleanToggle/Toggle.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/15-selectBooleanToggle/Toggle.xhtml
@@ -26,7 +26,7 @@
<p>The tag <code class="language-markup"><tc:selectBooleanToggle/></code> generate a boolean
toggle.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectBooleanToggle.html"/>
+ link="#{apiController.tobagoTld}/tc/selectBooleanToggle.html"/>
<tc:section label="Basics">
<demo-highlight language="markup"><tc:selectBooleanToggle label="Toggle" value="true"/></demo-highlight>
<tc:selectBooleanToggle id="s1" label="Normal Toggle" value="true"/>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/20-selectOneChoice/Dropdown.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/20-selectOneChoice/Dropdown.xhtml
index 57e4b9d183..2d63e7254b 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/20-selectOneChoice/Dropdown.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/20-selectOneChoice/Dropdown.xhtml
@@ -30,13 +30,13 @@
a controller.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:selectOneChoice/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectOneChoice.html"/>
+ link="#{apiController.tobagoTld}/tc/selectOneChoice.html"/>
|
<tc:link label="<tc:selectItem/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItem.html"/>
+ link="#{apiController.tobagoTld}/tc/selectItem.html"/>
|
<tc:link label="<tc:selectItems/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItems.html"/></p>
+ link="#{apiController.tobagoTld}/tc/selectItems.html"/></p>
<tc:section label="Basics">
<p>Dropdown box with hardcoded items. The second item is disabled.
To disable an item, use the <code>itemDisable</code> attribute.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/30-selectOneRadio/Radio.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/30-selectOneRadio/Radio.xhtml
index 4991ef137c..91879490d7 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/30-selectOneRadio/Radio.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/30-selectOneRadio/Radio.xhtml
@@ -31,13 +31,13 @@
<code class="language-markup"><tc:selectItems value="\#{controller.list}"/></code>.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:selectOneRadio/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectOneRadio.html"/>
+ link="#{apiController.tobagoTld}/tc/selectOneRadio.html"/>
|
<tc:link label="<tc:selectItem/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItem.html"/>
+ link="#{apiController.tobagoTld}/tc/selectItem.html"/>
|
<tc:link label="<tc:selectItems/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItems.html"/></p>
+ link="#{apiController.tobagoTld}/tc/selectItems.html"/></p>
<tc:section label="Basics">
<p>Radiobutton group with a label. The last item is disabled.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/40-selectOneListbox/Listbox.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/40-selectOneListbox/Listbox.xhtml
index 514652b881..b99076c9f4 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/40-selectOneListbox/Listbox.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/40-selectOneListbox/Listbox.xhtml
@@ -28,13 +28,13 @@
or <code class="language-markup"><tc:selectItems/></code>.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:selectOneListbox/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectOneListbox.html"/>
+ link="#{apiController.tobagoTld}/tc/selectOneListbox.html"/>
|
<tc:link label="<tc:selectItem/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItem.html"/>
+ link="#{apiController.tobagoTld}/tc/selectItem.html"/>
|
<tc:link label="<tc:selectItems/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItems.html"/></p>
+ link="#{apiController.tobagoTld}/tc/selectItems.html"/></p>
<tc:section label="Basics">
<p>If the number of rows is not set, die height of the list depends on the number of entries.
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 64125a9596..a394185504 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
@@ -31,13 +31,13 @@
controller.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:selectManyCheckbox/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectManyCheckbox.html"/>
+ link="#{apiController.tobagoTld}/tc/selectManyCheckbox.html"/>
|
<tc:link label="<tc:selectItem/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItem.html"/>
+ link="#{apiController.tobagoTld}/tc/selectItem.html"/>
|
<tc:link label="<tc:selectItems/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItems.html"/></p>
+ link="#{apiController.tobagoTld}/tc/selectItems.html"/></p>
<tc:section label="Basics">
<p>Checkbox Group with two items. The second one is disabled.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/60-selectManyListbox/Multi_Listbox.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/60-selectManyListbox/Multi_Listbox.xhtml
index a960deae53..6263e14c42 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/60-selectManyListbox/Multi_Listbox.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/60-selectManyListbox/Multi_Listbox.xhtml
@@ -29,13 +29,13 @@
<code class="language-markup"><tc:selectItems value="\#{controller.list}"/></code> (from controller).</p>
<p>Tag Library Documentation:
<tc:link label="<tc:selectManyListbox/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectManyListbox.html"/>
+ link="#{apiController.tobagoTld}/tc/selectManyListbox.html"/>
|
<tc:link label="<tc:selectItem/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItem.html"/>
+ link="#{apiController.tobagoTld}/tc/selectItem.html"/>
|
<tc:link label="<tc:selectItems/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItems.html"/></p>
+ link="#{apiController.tobagoTld}/tc/selectItems.html"/></p>
<tc:section label="Basics">
<p>In this example, there is a list with three items. The second one is disabled with the
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/70-selectManyShuttle/Shuttle.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/70-selectManyShuttle/Shuttle.xhtml
index 4f0de609cf..8ede6ba792 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/70-selectManyShuttle/Shuttle.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/030-select/70-selectManyShuttle/Shuttle.xhtml
@@ -31,13 +31,13 @@
<code class="language-markup"><tc:selectItems></code> (dynamic).</p>
<p>Tag Library Documentation:
<tc:link label="<tc:selectManyShuttle/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectManyShuttle.html"/>
+ link="#{apiController.tobagoTld}/tc/selectManyShuttle.html"/>
|
<tc:link label="<tc:selectItem/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItem.html"/>
+ link="#{apiController.tobagoTld}/tc/selectItem.html"/>
|
<tc:link label="<tc:selectItems/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/selectItems.html"/></p>
+ link="#{apiController.tobagoTld}/tc/selectItems.html"/></p>
<tc:section label="Basics">
<demo-highlight language="markup"><tc:selectManyShuttle label="Shuttle List" size="7"></demo-highlight>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/00-button-link/Button_and_Link.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/00-button-link/Button_and_Link.xhtml
index ed65ec4562..1f16b566a2 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/00-button-link/Button_and_Link.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/00-button-link/Button_and_Link.xhtml
@@ -27,10 +27,10 @@
The behavior of a link and a button is the same, it differs in the appearance.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:link/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/link.html"/>
+ link="#{apiController.tobagoTld}/tc/link.html"/>
|
<tc:link label="<tc:button/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/button.html"/></p>
+ link="#{apiController.tobagoTld}/tc/button.html"/></p>
<tc:section label="Basics">
<p>The next two sections show how a link and a button is set.</p>
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 f1169919e3..de1223cfab 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
@@ -28,7 +28,7 @@
<p>A button can be made to a default button with the <code>defaultCommand</code> attribute.
The default button is highlighted by another color.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/button.html"/>
+ link="#{apiController.tobagoTld}/tc/button.html"/>
<tc:section label="Last Active Button ID">
<p>To make the examples more clear, the ID of the last active button is displayed in the
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/20-buttons/Button_Group.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/20-buttons/Button_Group.xhtml
index 952a5e0182..d6bf262943 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/20-buttons/Button_Group.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/20-buttons/Button_Group.xhtml
@@ -25,9 +25,11 @@
<p>Buttons can be grouped with the <code class="language-markup"><tc:buttons/></code> tag.
Just add some <code class="language-markup"><tc:button/></code> tags.</p>
<p>Tag Library Documentation:
- <tc:link label="<tc:buttons/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/buttons.html"/>
+ <tc:link label="<tc:buttons/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/buttons.html"/>
|
- <tc:link label="<tc:button/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/button.html"/></p>
+ <tc:link label="<tc:button/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/button.html"/></p>
<tc:section label="Basics">
<p>A simple example with three buttons.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/25-links/Link_Group.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/25-links/Link_Group.xhtml
index 005a3c1f2f..e8e7804deb 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/25-links/Link_Group.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/040-command/25-links/Link_Group.xhtml
@@ -28,11 +28,13 @@
<p>Currently there is no difference between <code class="language-markup"><tc:link/></code> and
<code class="language-markup"><tc:links/></code>.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/buttons.html"/>
+ link="#{apiController.tobagoTld}/tc/buttons.html"/>
<p>Tag Library Documentation:
- <tc:link label="<tc:links/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/links.html"/>
+ <tc:link label="<tc:links/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/links.html"/>
|
- <tc:link label="<tc:link/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/link.html"/></p>
+ <tc:link label="<tc:link/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/link.html"/></p>
<tc:section label="Basics">
<p>A simple example with three links.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/10-box/Box.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/10-box/Box.xhtml
index db60b11504..3c6b6a35c5 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/10-box/Box.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/10-box/Box.xhtml
@@ -25,7 +25,7 @@
<p>A content box is created with <code class="language-markup"><tc:box/></code>.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/box.html"/>
+ link="#{apiController.tobagoTld}/tc/box.html"/>
<tc:section label="Basics">
<p>The title of the box is set by the <code>label</code> attribute or with
<code class="language-markup"><f:facet name="label"></code>.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/20-panel/Panel.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/20-panel/Panel.xhtml
index d4a130c58e..df8fa6fffc 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/20-panel/Panel.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/20-panel/Panel.xhtml
@@ -26,7 +26,7 @@
<p>A <code class="language-markup"><tc:panel/></code> is a simple content container.
In the most cases it's invisible and wrapping other components.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/panel.html"/>
+ link="#{apiController.tobagoTld}/tc/panel.html"/>
<tc:section label="Basics">
<p>The panel has a custom class, which set a blue background color. The class of the panel is set via the
@@ -43,7 +43,7 @@
<tc:section label="Reload">
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/reload.html"/>
+ link="#{apiController.tobagoTld}/tc/reload.html"/>
<p>To reload the panel in a dedicated frequency, you can use the
<code class="language-markup"><f:facet name="reload"></code> tag.
The content of the panel is an output text, which display the current time.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/40-section/Section.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/40-section/Section.xhtml
index 0a1df94e7c..7036a4cd4e 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/40-section/Section.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/40-section/Section.xhtml
@@ -24,7 +24,7 @@
<p>A section can be added with <code class="language-markup"><tc:section/></code> tag.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/section.html"/>
+ link="#{apiController.tobagoTld}/tc/section.html"/>
<tc:section label="Basics">
<p>A section can have a title. It is added with the <code>label</code> attribute.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/60-bar/Bar.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/60-bar/Bar.xhtml
index 1beea6f526..0894d05c63 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/60-bar/Bar.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/050-container/60-bar/Bar.xhtml
@@ -29,7 +29,7 @@
<p>Additionally the facet <code class="language-markup"><f:facet name="brand"/></code> can be added.
It shows the 'brand', a logo, text or both on the left site of the bar.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/bar.html"/>
+ link="#{apiController.tobagoTld}/tc/bar.html"/>
<tc:section label="Example">
<p>This example show a dark bar with a 'brand' facet, a menu and right side content inside an 'after' facet.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/060-popup/Popup.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/060-popup/Popup.xhtml
index 909ee9550f..03e47ca880 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/060-popup/Popup.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/060-popup/Popup.xhtml
@@ -30,10 +30,10 @@
outcome="/content/130-collapsible/Collapsible.xhtml"/> concept.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:popup/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/popup.html"/>
+ link="#{apiController.tobagoTld}/tc/popup.html"/>
|
<tc:link label="<tc:operation/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/operation.html"/></p>
+ link="#{apiController.tobagoTld}/tc/operation.html"/></p>
<tc:section label="Client Side Popup">
<tc:form id="form2">
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/00-client/Tab_Client.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/00-client/Tab_Client.xhtml
index 80b3bbc0e2..16fae7c155 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/00-client/Tab_Client.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/00-client/Tab_Client.xhtml
@@ -28,12 +28,14 @@
Within a tab, content can be added like in a section or a panel.</p>
<p>Changing tabs is client side by default.</p>
<p>Tag Library Documentation:
- <tc:link label="<tc:tabGroup/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tabGroup.html"/>
+ <tc:link label="<tc:tabGroup/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/tabGroup.html"/>
|
- <tc:link label="<tc:tab/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tab.html"/>
+ <tc:link label="<tc:tab/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/tab.html"/>
|
<tc:link label="<tc:tabChangeListener/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tabChangeListener.html"/></p>
+ link="#{apiController.tobagoTld}/tc/tabChangeListener.html"/></p>
<tc:section label="Basics">
<p>A simple tab group. The second tab is disabled.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/01-ajax/Tab_Ajax.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/01-ajax/Tab_Ajax.xhtml
index 578ac7f3b0..b340a92c91 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/01-ajax/Tab_Ajax.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/01-ajax/Tab_Ajax.xhtml
@@ -29,12 +29,14 @@
<p>To activate Ajax, the <code>switchType</code> attribute must have the value "reloadTab".
On all tab groups on this page, Ajax is activated.</p>
<p>Tag Library Documentation:
- <tc:link label="<tc:tabGroup/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tabGroup.html"/>
+ <tc:link label="<tc:tabGroup/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/tabGroup.html"/>
|
- <tc:link label="<tc:tab/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tab.html"/>
+ <tc:link label="<tc:tab/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/tab.html"/>
|
<tc:link label="<tc:tabChangeListener/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tabChangeListener.html"/></p>
+ link="#{apiController.tobagoTld}/tc/tabChangeListener.html"/></p>
<tc:section label="Basics">
<p>A simple tab group. The second tab is disabled.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/02-server/Tab_Server.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/02-server/Tab_Server.xhtml
index 449b541587..68c01415e5 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/02-server/Tab_Server.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/070-tab/02-server/Tab_Server.xhtml
@@ -29,12 +29,14 @@
To change them server side, the <code>switchType</code> attribute must have the value "reloadPage".
All tab groups on this page are server side.</p>
<p>Tag Library Documentation:
- <tc:link label="<tc:tabGroup/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tabGroup.html"/>
+ <tc:link label="<tc:tabGroup/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/tabGroup.html"/>
|
- <tc:link label="<tc:tab/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tab.html"/>
+ <tc:link label="<tc:tab/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/tab.html"/>
|
<tc:link label="<tc:tabChangeListener/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tabChangeListener.html"/></p>
+ link="#{apiController.tobagoTld}/tc/tabChangeListener.html"/></p>
<tc:section label="Basics">
<p>A simple tab group. The second tab is disabled.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/10-sort/Sheet_Sorting.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/10-sort/Sheet_Sorting.xhtml
index ac59d77f2f..75f0cb2c85 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/10-sort/Sheet_Sorting.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/10-sort/Sheet_Sorting.xhtml
@@ -32,10 +32,10 @@
sorting will not be possible!</p>
<p>Tag Library Documentation:
<tc:link label="<tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/sheet.html"/>
+ link="#{apiController.tobagoTld}/tc/sheet.html"/>
|
<tc:link label="<tc:column/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/column.html"/></p>
+ link="#{apiController.tobagoTld}/tc/column.html"/></p>
<tc:section label="Basics">
<p>In this example, the <code>sortable</code> attribute is 'true' for all columns.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/20-selector/Sheet_Column_Selector.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/20-selector/Sheet_Column_Selector.xhtml
index cbc8207e0e..d574383e5f 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/20-selector/Sheet_Column_Selector.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/20-selector/Sheet_Column_Selector.xhtml
@@ -28,10 +28,10 @@
adjust, whether the column should show checkboxes (default) or radio button 'singleOrNone'.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/sheet.html"/>
+ link="#{apiController.tobagoTld}/tc/sheet.html"/>
|
<tc:link label="<tc:columnSelector/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/columnSelector.html"/></p>
+ link="#{apiController.tobagoTld}/tc/columnSelector.html"/></p>
<tc:section label="Column Selector">
<p>The first column in this sheet contain radio buttons.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/50-filter/Sheet_Filter.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/50-filter/Sheet_Filter.xhtml
index c7b0267446..38e49490e6 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/50-filter/Sheet_Filter.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/50-filter/Sheet_Filter.xhtml
@@ -29,10 +29,10 @@
<p><b>Warning:</b> Paging currently doesn't work with filters!</p>
<p>Tag Library Documentation:
<tc:link label="<tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/sheet.html"/>
+ link="#{apiController.tobagoTld}/tc/sheet.html"/>
|
<tc:link label="<tc:column/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/column.html"/></p>
+ link="#{apiController.tobagoTld}/tc/column.html"/></p>
<tc:section label="Filtering">
<p>Add a search string to the input field or change the value of the dropdown boxes to filter the sheet.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/55-staticheader/Sheet_Static_Header.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/55-staticheader/Sheet_Static_Header.xhtml
index 073756d765..6af543b252 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/55-staticheader/Sheet_Static_Header.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/55-staticheader/Sheet_Static_Header.xhtml
@@ -30,10 +30,10 @@
outcome="/content/080-sheet/60-multiheader/Sheet_Multi_Header.xhtml"/> section.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/sheet.html"/>
+ link="#{apiController.tobagoTld}/tc/sheet.html"/>
|
<tc:link label="<tc:column/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/column.html"/></p>
+ link="#{apiController.tobagoTld}/tc/column.html"/></p>
<tc:section label="Basics">
<p>A sheet with six rows. The name of the columns is set by the <code>label</code> attribute.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/60-multiheader/Sheet_Multi_Header.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/60-multiheader/Sheet_Multi_Header.xhtml
index 7a19852011..f70c153eec 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/60-multiheader/Sheet_Multi_Header.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/60-multiheader/Sheet_Multi_Header.xhtml
@@ -34,13 +34,13 @@
to set a span over columns or rows.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/sheet.html"/>
+ link="#{apiController.tobagoTld}/tc/sheet.html"/>
|
<tc:link label="<tc:column/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/column.html"/>
+ link="#{apiController.tobagoTld}/tc/column.html"/>
|
<tc:link label="<tc:gridLayoutConstraint/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/gridLayoutConstraint.html"/></p>
+ link="#{apiController.tobagoTld}/tc/gridLayoutConstraint.html"/></p>
<tc:section label="Multi-Header">
<p>For multi-header sheets, you should consider to use <code>markup="bordered"</code> for better appearance.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/70-tree/Sheet_Tree.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/70-tree/Sheet_Tree.xhtml
index b07c8358a2..3ad000cccb 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/70-tree/Sheet_Tree.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/70-tree/Sheet_Tree.xhtml
@@ -28,10 +28,10 @@
<p>Tag Library Documentation:
<tc:link label="<tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/sheet.html"/>
+ link="#{apiController.tobagoTld}/tc/sheet.html"/>
|
<tc:link label="<tc:columnNode/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/columnNode.html"/></p>
+ link="#{apiController.tobagoTld}/tc/columnNode.html"/></p>
<tc:section label="Column Tree">
<p>There is a tree in the first column. You can expand and collapse the items.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/80-editable/Sheet_Editable.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/80-editable/Sheet_Editable.xhtml
index 1bda91c9d5..379f3af6b8 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/80-editable/Sheet_Editable.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/80-editable/Sheet_Editable.xhtml
@@ -26,10 +26,10 @@
<p>Not only a sheet can be used to display data, it may also contain input fields to edit the data.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/sheet.html"/>
+ link="#{apiController.tobagoTld}/tc/sheet.html"/>
|
<tc:link label="<tc:column/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/column.html"/></p>
+ link="#{apiController.tobagoTld}/tc/column.html"/></p>
<tc:section label="Editable Sheet" id="basics">
<p>In this sheet you can edit the data of solar objects. Press the 'Submit' button to see the results in the
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/Sheet.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/Sheet.xhtml
index 0cea89360d..c6066a0cda 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/Sheet.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/080-sheet/Sheet.xhtml
@@ -42,10 +42,10 @@
output fields, labels, progress bars or even tab groups.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/sheet.html"/>
+ link="#{apiController.tobagoTld}/tc/sheet.html"/>
|
<tc:link label="<tc:column/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/column.html"/></p>
+ link="#{apiController.tobagoTld}/tc/column.html"/></p>
<tc:section label="Basics">
<p>Two attributes should be recognized in a sheet.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/00-command/Tree_Command_Types.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/00-command/Tree_Command_Types.xhtml
index 80a992c7b3..92eb2cc94e 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/00-command/Tree_Command_Types.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/00-command/Tree_Command_Types.xhtml
@@ -26,7 +26,7 @@
<code class="language-markup"><tc:treeNode/></code> tag.
The command can be used to execute an action or a link.</p>
<p><tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/treeCommand.html"/></p>
+ link="#{apiController.tobagoTld}/tc/treeCommand.html"/></p>
<tc:section label="Example">
<p>In this example, the nodes with children are displayed as
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/01-select/Tree_Select.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/01-select/Tree_Select.xhtml
index 1a62dbe35b..dc53a539af 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/01-select/Tree_Select.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/01-select/Tree_Select.xhtml
@@ -27,10 +27,10 @@
<code class="language-markup"><treeLabel/></code> to add radio buttons or checkboxes in front of the nodes.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:tree/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tree.html"/>
+ link="#{apiController.tobagoTld}/tc/tree.html"/>
|
<tc:link label="<tc:treeSelect/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/treeSelect.html"/></p>
+ link="#{apiController.tobagoTld}/tc/treeSelect.html"/></p>
<tc:section label="Example">
<p>The <code class="language-markup"><tc:tree/></code> tag must use the <code>selectable</code> attribute.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/04-listbox/Tree_Listbox.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/04-listbox/Tree_Listbox.xhtml
index 12197897fd..81786d3cf7 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/04-listbox/Tree_Listbox.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/04-listbox/Tree_Listbox.xhtml
@@ -25,7 +25,7 @@
<p>The <code class="language-markup"><tc:treeListbox/></code> can be used to replace a classic
<code class="language-markup"><tc:tree/></code>. It displays the tree as a number of lists.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/treeListbox.html"/>
+ link="#{apiController.tobagoTld}/tc/treeListbox.html"/>
<tc:section label="Example">
<demo-highlight language="markup"><tc:treeListbox value="\#{treeListboxController.sample}" ...></demo-highlight>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/Tree.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/Tree.xhtml
index 56b32b7f69..098177fc65 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/Tree.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/090-tree/Tree.xhtml
@@ -40,19 +40,19 @@
and as a <tc:link label="list" outcome="/content/090-tree/04-listbox/Tree_Listbox.xhtml"/>.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:tree/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/tree.html"/>
+ link="#{apiController.tobagoTld}/tc/tree.html"/>
|
<tc:link label="<tc:treeNode/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/treeNode.html"/>
+ link="#{apiController.tobagoTld}/tc/treeNode.html"/>
|
<tc:link label="<tc:treeIndent/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/treeIndent.html"/>
+ link="#{apiController.tobagoTld}/tc/treeIndent.html"/>
|
<tc:link label="<tc:treeLabel/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/treeLabel.html"/>
+ link="#{apiController.tobagoTld}/tc/treeLabel.html"/>
|
<tc:link label="<tc:treeIcon/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/treeIcon.html"/></p>
+ link="#{apiController.tobagoTld}/tc/treeIcon.html"/></p>
<tc:section label="Basics">
<p>The tree tag has two attributes, <code>value</code> and <code>var</code>. The attribute <code>value</code>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/100-upload/File_Upload.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/100-upload/File_Upload.xhtml
index 45710f0fcb..5deaf56a00 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/100-upload/File_Upload.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/100-upload/File_Upload.xhtml
@@ -27,7 +27,7 @@
right.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/file.html"/>
+ link="#{apiController.tobagoTld}/tc/file.html"/>
<tc:section id="s1" label="Basics">
<demo-highlight language="markup"><tc:file label="Upload" value="\#{uploadController.file1}"/></demo-highlight>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/10-flow/Flow_Layout.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/10-flow/Flow_Layout.xhtml
index 682696a9b0..def4c4e5a3 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/10-flow/Flow_Layout.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/10-flow/Flow_Layout.xhtml
@@ -25,7 +25,7 @@
<p>The flow layout can be used with the <code><tc:flowLayout/></code> tag.
By default, the content is displayed in a flow layout.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/flowLayout.html"/>
+ link="#{apiController.tobagoTld}/tc/flowLayout.html"/>
<tc:section label="Basics">
<p>The buttons are displayed successively at the same line.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/20-flex/Flex_Layout.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/20-flex/Flex_Layout.xhtml
index b7c592b855..10630598e3 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/20-flex/Flex_Layout.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/20-flex/Flex_Layout.xhtml
@@ -26,7 +26,7 @@
The two most important attributes are <code>columns</code> and <code>rows</code>.
If both attributes are set, only <code>rows</code> has an effect.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/flexLayout.html"/>
+ link="#{apiController.tobagoTld}/tc/flexLayout.html"/>
<tc:section label="Basics">
<p>If no attributes set, the behavior of the flex layout is like a flow layout.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/30-segment/Segment_Layout.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/30-segment/Segment_Layout.xhtml
index d0dae8d609..99d946bbb2 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/30-segment/Segment_Layout.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/30-segment/Segment_Layout.xhtml
@@ -28,7 +28,7 @@
and <code>extra2Large</code>.
The value is a space separated list. Allowed are '1seg' to '12seg', 'auto' and '1fr'.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/segmentLayout.html"/>
+ link="#{apiController.tobagoTld}/tc/segmentLayout.html"/>
<tc:section label="Basics">
<p>The following examples show a segment layout with four and three columns
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/40-label/Label_Layout.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/40-label/Label_Layout.xhtml
index c2f515dedb..7c864754a4 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/40-label/Label_Layout.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/120-layout/40-label/Label_Layout.xhtml
@@ -28,16 +28,16 @@
The following examples use an input field to show, how this works.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:in/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/in.html"/>
+ link="#{apiController.tobagoTld}/tc/in.html"/>
|
<tc:link label="<tc:flowLayout/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/flowLayout.html"/>
+ link="#{apiController.tobagoTld}/tc/flowLayout.html"/>
|
<tc:link label="<tc:flexLayout/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/flexLayout.html"/>
+ link="#{apiController.tobagoTld}/tc/flexLayout.html"/>
|
<tc:link label="<tc:segmentLayout/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/segmentLayout.html"/></p>
+ link="#{apiController.tobagoTld}/tc/segmentLayout.html"/></p>
<tc:section label="Basics">
<tc:section label="Default value">
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/150-behavior/Behavior.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/150-behavior/Behavior.xhtml
index 6d1d6fe65a..5833c42452 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/150-behavior/Behavior.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/150-behavior/Behavior.xhtml
@@ -30,10 +30,10 @@
</ul>
<p>Tag Library Documentation:
<tc:link label="<f:ajax/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="http://docs.oracle.com/javaee/6/javaserverfaces/2.1/docs/vdldocs/facelets/f/ajax.html"/>
+ link="#{apiController.facesTld}/f/ajax.html"/>
|
<tc:link label="<tc:event/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/event.html"/></p>
+ link="#{apiController.tobagoTld}/tc/event.html"/></p>
<tc:section label="Basic examples">
<p>Type a text into the input field. After leaving the input field, the given text is shown in the output field.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/10-required/Required.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/10-required/Required.xhtml
index 3b301602ba..5e1e3beda3 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/10-required/Required.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/10-required/Required.xhtml
@@ -26,7 +26,7 @@
the validation is deactivated until the value is definitely stored into the model.</p>
<p>For example, if only the value in 'Inner Form 1' is set, the validation of the other forms are turned off.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/form.html"/>
+ link="#{apiController.tobagoTld}/tc/form.html"/>
<tc:section label="Example">
<p>Every form in this example is surrounded by a content box.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/20-ajax/Ajax.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/20-ajax/Ajax.xhtml
index ef2f80299e..fc2e8da8a8 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/20-ajax/Ajax.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/20-ajax/Ajax.xhtml
@@ -28,7 +28,7 @@
The form is only used as a naming container.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/form.html"/>
+ link="#{apiController.tobagoTld}/tc/form.html"/>
<tc:section label="Example">
<p>The structure of this example is similar to the
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/Form.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/Form.xhtml
index 06ddeca04b..5a3b04d210 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/Form.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/160-form/Form.xhtml
@@ -29,7 +29,7 @@
<tc:link label="Default Command"
outcome="/content/040-command/10-default/Default_Command.xhtml"/>.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/form.html"/>
+ link="#{apiController.tobagoTld}/tc/form.html"/>
<tc:section label="Example">
<p>This small example contain two separate forms, each surrounded by a content box.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/170-validation/00/Content_Validation.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/170-validation/00/Content_Validation.xhtml
index f4248e4f0a..a54cc78152 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/170-validation/00/Content_Validation.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/170-validation/00/Content_Validation.xhtml
@@ -28,10 +28,10 @@
<p>Tag Library Documentation:
<tc:link label="<tc:sheet/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/sheet.html"/>
+ link="#{apiController.tobagoTld}/tc/sheet.html"/>
|
<tc:link label="<tc:column/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/column.html"/></p>
+ link="#{apiController.tobagoTld}/tc/column.html"/></p>
<tc:section label="Required">
<p>A simple way of validation is the <code>required</code> attribute in some input components.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/170-validation/30-messages/Messages.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/170-validation/30-messages/Messages.xhtml
index 96ade147f9..936c0c1315 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/170-validation/30-messages/Messages.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/170-validation/30-messages/Messages.xhtml
@@ -27,7 +27,7 @@
<p>Messages are displayed via <code class="language-markup"><tc:messages/></code> tag.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/messages.html"/>
+ link="#{apiController.tobagoTld}/tc/messages.html"/>
<tc:section label="Show Messages in different style">
<tc:box label="Create a message">
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/230-accessKey/AccessKey.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/230-accessKey/AccessKey.xhtml
index 9b7343b7b3..54606e2805 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/230-accessKey/AccessKey.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/230-accessKey/AccessKey.xhtml
@@ -34,16 +34,16 @@
link="https://developer.mozilla.org/de/docs/Web/HTML/Global_attributes/accesskey"/>.</p>
<p>Tag Library Documentation:
<tc:link label="<tc:button/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/button.html"/>
+ link="#{apiController.tobagoTld}/tc/button.html"/>
|
<tc:link label="<tc:checkbox/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/checkbox.html"/>
+ link="#{apiController.tobagoTld}/tc/checkbox.html"/>
|
<tc:link label="<tc:link/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/link.html"/>
+ link="#{apiController.tobagoTld}/tc/link.html"/>
|
<tc:link label="<tc:label/>" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/label.html"/></p>
+ link="#{apiController.tobagoTld}/tc/label.html"/></p>
<tc:section label="Basics">
<p>The accesskey is set to 'a'. Notice, that the 'A' in the label of the button has an underscore.</p>
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/240-dataAttribute/DataAttribute.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/240-dataAttribute/DataAttribute.xhtml
index c96f2677dd..93c2561be0 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/240-dataAttribute/DataAttribute.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/240-dataAttribute/DataAttribute.xhtml
@@ -27,7 +27,7 @@
<code class="language-markup"><tc:dataAttribute/></code>.
The data attribute is added to the parent and can be used by scripts.</p>
<tc:link label="Tag Library Documentation" image="#{request.contextPath}/image/feather-leaf.png"
- link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/dataAttribute.html"/>
+ link="#{apiController.tobagoTld}/tc/dataAttribute.html"/>
<tc:section label="Example">
<p>Each box contains a panel with a data attribute.
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/350-transition/Transition.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/350-transition/Transition.xhtml
index a0f8a9cbb8..da40cf0141 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/350-transition/Transition.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/350-transition/Transition.xhtml
@@ -26,9 +26,11 @@
It shows a loading animation if the site don't respond in a certain amount of time.
By default, the value is 'true'.</p>
<p>Tag Library Documentation:
- <tc:link label="<tc:link/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/link.html"/>
+ <tc:link label="<tc:link/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/link.html"/>
|
- <tc:link label="<tc:button/>" image="#{request.contextPath}/image/feather-leaf.png" link="#{apiController.tldBase}/#{apiController.currentRelease}/tld/tc/button.html"/></p>
+ <tc:link label="<tc:button/>" image="#{request.contextPath}/image/feather-leaf.png"
+ link="#{apiController.tobagoTld}/tc/button.html"/></p>
<tc:section label="Basics">
<p>By following one of the links, the site waits five seconds.