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 2023/09/05 08:31:31 UTC

[myfaces-tobago] branch tobago-5.x updated: fix(demo): remove f:verbatim

This is an automated email from the ASF dual-hosted git repository.

hnoeth 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 4432639b84 fix(demo): remove f:verbatim
4432639b84 is described below

commit 4432639b84826df6b792e89880871f7ecef95c04
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Mon Sep 4 13:51:38 2023 +0200

    fix(demo): remove f:verbatim
    
    f:verbatim is deprecated since JSF 2.0.
    (cherry picked from commit eceb81eafd4aa47f2587c516263b89f259c9613f)
---
 .../src/main/webapp/content/070-tab/01-ajax/Tab_Ajax.xhtml             | 3 ---
 1 file changed, 3 deletions(-)

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 24819e220e..2b411c590e 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
@@ -59,17 +59,14 @@
       <tc:tab id="tabHead1" label="Only label">
         <p>Only a label is set.</p>
         <demo-highlight language="markup" id="tabHead1Code">&lt;tc:tab label="Only label"/></demo-highlight>
-        <f:verbatim><script type="text/javascript">Prism.highlightElement($('#tabHead1Code')[0]);</script></f:verbatim>
       </tc:tab>
       <tc:tab id="tabHead2" label="Label with image" image="#{request.contextPath}/image/feather-leaf.png">
         <p>A label and an image are set.</p>
         <demo-highlight language="markup" id="tabHead2Code">&lt;tc:tab label="Label with image" image="\#{request.contextPath}/image/feather-leaf.png"></demo-highlight>
-        <f:verbatim><script type="text/javascript">Prism.highlightElement($('#tabHead2Code')[0]);</script></f:verbatim>
       </tc:tab>
       <tc:tab id="tabHead3" image="#{request.contextPath}/image/feather-leaf.png">
         <p>Only an image is set.</p>
         <demo-highlight language="markup" id="tabHead3Code">&lt;tc:tab image="\#{request.contextPath}/image/feather-leaf.png"></demo-highlight>
-        <f:verbatim><script type="text/javascript">Prism.highlightElement($('#tabHead3Code')[0]);</script></f:verbatim>
       </tc:tab>
       <tc:tab id="tabHead4">
         <p>Neither a label or an image are set. In this case the header gets a label with the indexnumber of the tab in