GXT-Hibernate Integration
I am new to GXT.
Is there anybody who can help me to learn how to integrate GXT-Hibernate in a Application.
I mean I have POGO classes I also map those POGO classes with hibernate mapping. But now I can not understand how to Integrate GXT.
Please help me to provide me the technique to integrate GXT-Hibernate.:-/
1 Attachment(s)
How I set the size of Contentpanel Dynamically
Hi, I have a problem with Size of ContentPanel. I actually statically set the size but I want to set this size dynamically. I mean I want to set the ContentPanel size automatically whatever the computer Screen Size it is. Bellow I have place my code where I set the Size, I also attach Screenshot. Please sent me the reply as soon as possible.
==============================================================
public HomePage() {
ContentPanel contentPanel = new ContentPanel();
setSize(1170, 650);
setHeaderVisible(true);
BorderLayout layout = new BorderLayout();
setLayout(layout);
BorderLayoutData menuBarToolBarData = new BorderLayoutData(LayoutRegion.NORTH, 25);
menuBarToolBarData.setMargins(new Margins(5));
add(getMenuBar(), menuBarToolBarData);
BorderLayoutData leftMenuData = new BorderLayoutData(LayoutRegion.WEST, 200);
//setBorders(true);
leftMenuData.setSplit(true);
leftMenuData.setCollapsible(true);
leftMenuData.setMargins(new Margins(0, 5, 0, 5));
add(getLeftSideBar(), leftMenuData);
BorderLayoutData workPanelData = new BorderLayoutData(LayoutRegion.CENTER);
workPanelData.setMargins(new Margins(0));
add(getWorkPanel(), workPanelData);
}
============================================================