-
9 Jun 2011 2:24 AM #1
GXT-Hibernate Integration
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.
-
9 Jun 2011 3:25 AM #2
Take a look in this article.
It should help you.
http://code.google.com/webtoolkit/ar...hibernate.html
-
13 Jun 2011 9:06 PM #3
Problem with Debugging
Problem with Debugging
Sir,
When I Debug my application with GWT Div Mode the browser give me the following error... Please help me give me the solutions....
I am waiting for your reply.
===========================
onModuleLoad() threw an exception
Exception while loading module com.ecore.scms.client.MainEntryPoint. See Development Mode for details.
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:183) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.VerifyError: (class: com/extjs/gxt/ui/client/widget/Container, method: setLayoutNeeded signature: (Z)V) Illegal constant pool index at com.ecore.scms.client.MainEntryPoint.onModuleLoad(MainEntryPoint.java:32) ... 9 more
===========================
-
14 Jun 2011 6:50 AM #4
-
14 Jun 2011 8:36 PM #5
Thank you for your Urgent reply....
-
19 Jun 2011 8:36 PM #6
How I set the size of Contentpanel Dynamically
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);
}
============================================================
-
19 Jun 2011 11:19 PM #7
Hi.
ContentPanel contentPanel = new ContentPanel();
setSize(1170, 650);
setSize is refering to which component?
You don't need to use setSize if your parent panel has a FitLayout.
So, set a FitLayout to the parent, and you should have the behaviour you want.
For example:
Regards,PHP Code:Viewport viewPort = new Viewport();
viewPort.setLayout(new FitLayout());
viewPort.add(contentPanel);
RootPanel.get().add(viewPort);
Michel.
-
19 Jun 2011 11:38 PM #8
With the competition becoming fiercer in China, home appliance makers are looking abroad for opportunities.
Hefei Meiling Co announced last month that it would invest $3.4 million and set up two joint ventures in Pakistan to produce and sell air conditioners there.
Haier Group, China's top home appliance maker, aims to generate two thirds of its revenue from overseas markets in the next three to five years.
Figures from Euromonitor International Plc show China's home-grown brands only took up a 2.9 percent share of the global market.
-
20 Jun 2011 1:03 PM #9Odili Charles Opute
Proudly Nigerian
Blog
Cotributions
Ext.ux.Image
Ext.ux.Wizard
Ext.plugin.ModalNotice
Ext.plugin.ComboLoader
Ext.ux.form.ScreenshotField
-
21 Jun 2011 9:22 PM #10
Thanks
Thanks
Hi Michel,
Thank you so much for your reply and for giving me the solution. Thank you so much...
Best Regards,
Tanvir


Reply With Quote
