But dockingWindow.bxml is based on a Window not a TablePane. There is a DockingWindow class which extends Window.
? Cynthia From: Roger L. Whitcomb [mailto:[email protected]] Sent: Thursday, March 07, 2013 4:19 PM To: [email protected] Subject: RE: windows within windows Ah, then you can take out the Window and "content" elements of your dockableWindow.bxml and just leave the TablePane in there. ~Roger From: Schwartz, Cynthia L [mailto:[email protected]] Sent: Thursday, March 07, 2013 3:58 PM To: [email protected]<mailto:[email protected]> Subject: RE: windows within windows That doesn't work....error is : [cid:[email protected]] (tried with and without the content namespace) <?xml version="1.0" encoding="UTF-8"?> <Window maximized="true" xmlns:bxml="http://pivot.apache.org/bxml" xmlns:content="org.apache.pivot.wtk.content" xmlns="org.apache.pivot.wtk"> <content> <TablePane styles="{backgroundColor:#404040}"> <columns> <TablePane.Column width="1*"/> </columns> <rows> <TablePane.Row height="-1"> <bxml:include src="menu_bar.bxml" inline="true"/> </TablePane.Row> <TablePane.Row height="1*"> <bxml:include src="dockable/dockingWindow.bxml" inline="true"/> </TablePane.Row> </rows> </TablePane> </content> </Window> From: Roger L. Whitcomb [mailto:[email protected]] Sent: Thursday, March 07, 2013 3:00 PM To: [email protected]<mailto:[email protected]> Subject: RE: windows within windows Okay, I see. So, what you need to do is have an outer piece that wraps both your menu and your dockable window within itself, and make that the only window inside your display. Something like this: window.bxml: <Window xmlns:bxml=... <TablePane styles=...> <columns> <TablePane.Column width="1*"/> </columns> <rows> <TablePane.Row height="-1"> <bxml:include src="menu_bar.bxml" inline="true"/> </TablePane.Row> <TablePane.Row height="1*"> <bxml:include src="dockable/dockingWindow.bxml" inline="true"/> </TablePane.Row> </rows> </TablePane> </Window> Then in your startup method, just load this "window.bxml" as the only one and open it. HTH, ~Roger Whitcomb
<<inline: image001.png>>
