Page already contains a content section
Author: jeongil
Publication Date: 10/20/2014 17:22
Die Fehlermeldung kommt, wenn ich versuche, zwei Table Templates in einer Inhaltsseite zu platzieren. Könnte ich noch verstehen, wenn es sich um verschiedene Tabellen handlen würde, dies ist aber hier nicht der Fall. Ist dies ein normales Verhalten?
Page already contains a content section
FSVersion=5.1.209.63675#3962;JDK=1.7.0_45 64bit Oracle Corporation;OS=Windows 7 6.1 amd64;Date=20.10.2014 18:20:57
java.lang.IllegalArgumentException: Page already contains a content section
at de.espirit.firstspirit.store.access.pagestore.BodyImpl.createContent2Section(BodyImpl.java:138)
at de.espirit.firstspirit.store.access.pagestore.BodyImpl.createSection(BodyImpl.java:115)
at de.espirit.firstspirit.client.gui.tree.store.pagestore.GuiBody.createChild(GuiBody.java:317)
at de.espirit.firstspirit.client.gui.tree.store.pagestore.GuiBody.createChild(GuiBody.java:146)
at de.espirit.firstspirit.client.action.NewLeafAction.addLeaf(NewLeafAction.java:114)
at de.espirit.firstspirit.client.action.NewLeafAction.actionPerformed(NewLeafAction.java:157)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue.defaultDispatchEvent(AWTDispatchingEventQueue.java:161)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue._dispatchEvent(AWTDispatchingEventQueue.java:138)
at de.espirit.firstspirit.client.AWTDispatchingEventQueue.dispatchEvent(AWTDispatchingEventQueue.java:131)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
-
Author: Peter_Jodeleit - 10/21/2014 9:42
Die Datenbankabfrage bestimmt ja die Datensätze pro Seite. Diese Menge kann nur einmal festgelegt werden. Du kannst aber z.B. in der Marginalspalte auf diese Menge ebenfalls zugreifen, über #global.pageParams.data bekommst du eine Liste der Datensätze der aktuellen Seite (wenn es welche gibt).
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar