diff --git a/src/main/java/de/examples/managedbeans.xml b/src/main/java/de/examples/managedbeans.xml
index 2910e8d..ec52e03 100644
--- a/src/main/java/de/examples/managedbeans.xml
+++ b/src/main/java/de/examples/managedbeans.xml
@@ -2,6 +2,8 @@
+
+
\ No newline at end of file
diff --git a/src/main/java/de/examples/matrixboard/MatrixBoardBean.java b/src/main/java/de/examples/matrixboard/MatrixBoardBean.java
new file mode 100644
index 0000000..030286a
--- /dev/null
+++ b/src/main/java/de/examples/matrixboard/MatrixBoardBean.java
@@ -0,0 +1,99 @@
+package de.examples.matrixboard;
+
+import java.io.Serializable;
+
+import org.eclnt.ccaddons.pbc.CCDashboardItem;
+import org.eclnt.ccaddons.pbc.CCMatrixDashboard;
+import org.eclnt.ccaddons.pbc.CCMatrixDashboard.ItemInfo;
+import org.eclnt.editor.annotations.CCGenClass;
+import org.eclnt.jsfserver.pagebean.PageBean;
+
+@CCGenClass (expressionBase="#{d.MatrixBoardBean}")
+
+public class MatrixBoardBean
+ extends PageBean
+ implements Serializable
+{
+ // ------------------------------------------------------------------------
+ // inner classes
+ // ------------------------------------------------------------------------
+
+ /* Listener to the user of the page bean. */
+ public interface IListener extends Serializable
+ {
+ }
+
+ // ------------------------------------------------------------------------
+ // members
+ // ------------------------------------------------------------------------
+
+ private IListener m_listener;
+
+ // ------------------------------------------------------------------------
+ // constructors & initialization
+ // ------------------------------------------------------------------------
+
+ public MatrixBoardBean() {
+ initDashboard();
+ }
+
+ public String getPageName() { return "/examples/matrixboard/matrixboard.xml"; }
+ public String getRootExpressionUsedInPage() { return "#{d.MatrixBoardBean}"; }
+
+ // ------------------------------------------------------------------------
+ // public usage
+ // ------------------------------------------------------------------------
+
+ /* Initialization of the bean. Add any parameter that is required within your scenario. */
+ public void prepare(IListener listener)
+ {
+ m_listener = listener;
+ }
+
+ // ------------------------------------------------------------------------
+ // private usage
+ // ------------------------------------------------------------------------
+
+ class MyMatrixDashboardListener implements CCMatrixDashboard.IListener
+ {
+ @Override
+ public void reactOnMovedOrResized(ItemInfo itemInfo)
+ {
+ System.out.println("ID: " + itemInfo.getItemSize());
+ System.out.println("X: " + itemInfo.getItemX());
+ System.err.println("Y: " + itemInfo.getItemY());
+
+ }
+ @Override
+ public void reactOnMenuItemAction(ItemInfo itemInfo, String command)
+ {
+ }
+ }
+
+ CCMatrixDashboard m_dashboard = new CCMatrixDashboard();
+
+
+
+ public CCMatrixDashboard getDashboard() { return m_dashboard; }
+
+ String[] COLORS = new String[] {"#2c84ee","#d44a26","#2d8bef","#2d8bef","#2c84ee"};
+ String[] TEXTS = new String[] {"Mails","Inbound","Outbound","Orders","Info"};
+ String[] ICONS = new String[] {"f010","f011","f012","f013","f014"};
+
+ private void initDashboard()
+ {
+ m_dashboard = new CCMatrixDashboard();
+ for (int i = 0; i < 5; i++)
+ {
+ CCDashboardItem dbi = new CCDashboardItem(true);
+ dbi.setId("" + i);
+ dbi.setText(TEXTS[i]);
+ dbi.setBackground(COLORS[i]);
+ dbi.setImage("/awesomefont("+ICONS[i]+",#FFFFFF,20)");
+ dbi.setForeground("#FFFFFF");
+
+ m_dashboard.addItem(dbi);
+ }
+ m_dashboard.prepare(new MyMatrixDashboardListener(), true, "mypersistid");
+ }
+}
diff --git a/src/main/java/de/games/managedbeans.xml b/src/main/java/de/games/managedbeans.xml
index 995d7cc..7ced9d4 100644
--- a/src/main/java/de/games/managedbeans.xml
+++ b/src/main/java/de/games/managedbeans.xml
@@ -1,7 +1,11 @@
+
+
+
+
diff --git a/src/main/java/managedbeans/MatrixBoardBean.java b/src/main/java/de/games/nanoleaf/panelconfig/PanelConfigBean.java
similarity index 57%
rename from src/main/java/managedbeans/MatrixBoardBean.java
rename to src/main/java/de/games/nanoleaf/panelconfig/PanelConfigBean.java
index b1d8ee8..a6e32e6 100644
--- a/src/main/java/managedbeans/MatrixBoardBean.java
+++ b/src/main/java/de/games/nanoleaf/panelconfig/PanelConfigBean.java
@@ -1,54 +1,68 @@
-package managedbeans;
+package de.games.nanoleaf.panelconfig;
+
+import java.io.Serializable;
+import org.eclnt.editor.annotations.CCGenClass;
+import org.eclnt.jsfserver.pagebean.PageBean;
+
+import org.eclnt.jsfserver.base.faces.event.ActionEvent;
+
+@CCGenClass (expressionBase="#{d.PanelConfigBean}")
+
+public class PanelConfigBean extends PageBean implements Serializable {
+ int m_matrixY = 3;
+ public int getMatrixY() { return m_matrixY; }
+ public void setMatrixY(int value) { this.m_matrixY = value; }
-import java.io.Serializable;
-import org.eclnt.editor.annotations.CCGenClass;
-import org.eclnt.jsfserver.pagebean.PageBean;
+ int m_matrixX = 3;
+ public int getMatrixX() { return m_matrixX; }
+ public void setMatrixX(int value) { this.m_matrixX = value; }
-import org.eclnt.jsfserver.base.faces.event.ActionEvent;
-
-@CCGenClass (expressionBase="#{d.MatrixBoardBean}")
-
-public class MatrixBoardBean
- extends PageBean
- implements Serializable
-{
- // ------------------------------------------------------------------------
- // inner classes
- // ------------------------------------------------------------------------
-
- /* Listener to the user of the page bean. */
- public interface IListener extends Serializable
- {
- }
-
- // ------------------------------------------------------------------------
- // members
- // ------------------------------------------------------------------------
-
- private IListener m_listener;
-
- // ------------------------------------------------------------------------
- // constructors & initialization
- // ------------------------------------------------------------------------
-
- public MatrixBoardBean()
- {
- }
-
- public String getPageName() { return "/examples/matrixboard/matrixboard.xml"; }
- public String getRootExpressionUsedInPage() { return "#{d.MatrixBoardBean}"; }
-
- // ------------------------------------------------------------------------
- // public usage
- // ------------------------------------------------------------------------
-
- /* Initialization of the bean. Add any parameter that is required within your scenario. */
- public void prepare(IListener listener)
- {
- m_listener = listener;
- }
-
- // ------------------------------------------------------------------------
- // private usage
- // ------------------------------------------------------------------------
-}
+ int m_anzahlPanels = 9;
+ public int getAnzahlPanels() { return m_anzahlPanels; }
+ public void setAnzahlPanels(int value) { this.m_anzahlPanels = value; }
+
+ int m_anzahlPanelsMax = 0;
+ public int getAnzahlPanelsMax() { return m_anzahlPanelsMax; }
+ public void setAnzahlPanelsMax(int value) { this.m_anzahlPanelsMax = value; }
+
+
+ // ------------------------------------------------------------------------
+ // inner classes
+ // ------------------------------------------------------------------------
+
+ /* Listener to the user of the page bean. */
+ public interface IListener extends Serializable
+ {
+ }
+
+ // ------------------------------------------------------------------------
+ // members
+ // ------------------------------------------------------------------------
+
+ private IListener m_listener;
+
+ // ------------------------------------------------------------------------
+ // constructors & initialization
+ // ------------------------------------------------------------------------
+
+ public PanelConfigBean() {
+
+ }
+
+ public String getPageName() { return "/games/nanoleaf/panelconfig/panelconfig.xml"; }
+ public String getRootExpressionUsedInPage() { return "#{d.PanelConfigBean}"; }
+
+ // ------------------------------------------------------------------------
+ // public usage
+ // ------------------------------------------------------------------------
+
+ /* Initialization of the bean. Add any parameter that is required within your scenario. */
+ public void prepare(IListener listener)
+ {
+ m_listener = listener;
+ }
+
+ // ------------------------------------------------------------------------
+ // private usage
+ // ------------------------------------------------------------------------
+}
diff --git a/src/main/webapp/examples/matrixboard/matrixboard.xml b/src/main/webapp/examples/matrixboard/matrixboard.xml
index ed6b229..b320bd4 100644
--- a/src/main/webapp/examples/matrixboard/matrixboard.xml
+++ b/src/main/webapp/examples/matrixboard/matrixboard.xml
@@ -1,9 +1,13 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/games/nanoleaf/panelconfig/panelconfig.xml b/src/main/webapp/games/nanoleaf/panelconfig/panelconfig.xml
new file mode 100644
index 0000000..b4f6f98
--- /dev/null
+++ b/src/main/webapp/games/nanoleaf/panelconfig/panelconfig.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file