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 2017/12/04 20:29:44 UTC

[myfaces-tobago] branch master updated: improve demo * fix PropertyNotWritableException for tab-ajax.xhtml and tab-server.xhtml

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

hnoeth 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 47554f5  improve demo * fix PropertyNotWritableException for tab-ajax.xhtml and tab-server.xhtml
47554f5 is described below

commit 47554f5912e902b272b91b069a9b73f201896e3c
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Mon Dec 4 21:29:37 2017 +0100

    improve demo
    * fix PropertyNotWritableException for tab-ajax.xhtml and tab-server.xhtml
---
 .../java/org/apache/myfaces/tobago/example/demo/TabController.java    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/TabController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/TabController.java
index 89588cb..d81efac 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/TabController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/TabController.java
@@ -39,6 +39,10 @@ public class TabController implements Serializable {
   private int index;
   private SimpleTabChangeListener tabChangeListener;
 
+  public TabController() {
+    tabChangeListener = new SimpleTabChangeListener();
+  }
+
   public int getIndex() {
     return index;
   }

-- 
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <co...@myfaces.apache.org>'].