myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject [myfaces-tobago] branch master updated: doc
Date Thu, 05 Mar 2020 07:57:45 GMT
This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new e45f70c  doc
e45f70c is described below

commit e45f70c81e376dd2740f83d452f06155cb290ceb
Author: Udo Schnurpfeil <udo.schnurpfeil@irian.eu>
AuthorDate: Thu Mar 5 08:56:38 2020 +0100

    doc
---
 .../10-intro/50-migration/95-migration/4.0_to_5.0.xhtml  | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/50-migration/95-migration/4.0_to_5.0.xhtml
b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/50-migration/95-migration/4.0_to_5.0.xhtml
index a6d813f..a36bbaf 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/50-migration/95-migration/4.0_to_5.0.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/50-migration/95-migration/4.0_to_5.0.xhtml
@@ -61,6 +61,22 @@
 
     </tc:section>
 
+    <tc:section id="javascript-api" label="JavaScript API">
+
+      <tc:section id="listener" label="Listener Registration (work in progress)">
+
+        <pre><code class="language-java">Tobago.registerListener(Demo.init, Tobago.Phase.DOCUMENT_READY);
+Tobago.registerListener(Demo.init, Tobago.Phase.AFTER_UPDATE);
+</code></pre>
+
+        <pre><code class="language-java">Listener.register(Demo.init, Phase.DOCUMENT_READY);
+Listener.register(Demo.init, Phase.AFTER_UPDATE);
+</code></pre>
+
+      </tc:section>
+
+    </tc:section>
+
   </tc:section>
 
 </ui:composition>


Mime
View raw message