RequestFactory service stub

2010-11-21 Thread hezjing
Hi May I know if the interface defined in the RequestFactory service stub like EmployeeRequest must be corresponding to a method defined in the entity? Imagine that I already have a JPA entity class like the following, which has a named query instead of a findAllEmployees() @Entity

Which package to keep custom generator

2010-11-11 Thread hezjing
Hi Where should the custom generator reside in? client package or rebind package? In http://francisshanahan.com/index.php/2010/a-simple-gwt-generator-example/, it explained that it should reside in server package. However in

Importing hellomvp

2010-11-07 Thread hezjing
Hi I have downloaded Tutorial-hellomvp-2.1.zip, but there is no Eclipse project metadata (the .project and .classpath files) in the archive. May I know how to import and run hellomvp into Eclipse? I think it would be very useful to include the Eclipse project metadata into the archive, just

GWT 2.1 application failed to load in Chrome, but not in IE7

2010-11-04 Thread hezjing
Hi I have a very simple entry point like the following: public class Dummy implements EntryPoint { @Override public void onModuleLoad() { RootPanel panel = RootPanel.get(); panel.add(new Label(aaa)); } } When run in development mode, the application is loaded successfully in IE7. However, it

Re: gwt-maven-plugin from Google and Codehaus

2010-11-01 Thread hezjing
to be better one ;-) On Wed, Oct 27, 2010 at 6:32 PM, Thomas Broyer t.bro...@gmail.com wrote: On 27 oct, 08:50, hezjing hezj...@gmail.com wrote: Is there any documentation for Google's gwt-maven-plugin? As I said Form the user POV (your, our POV), it works the same as the version from

gwt-maven-plugin is designed for version 2.1-SNAPSHOT?

2010-10-29 Thread hezjing
Hi With the release of GWT 2.1, I think we should also update the Maven repositories to the following? repositories repository idgoogle-maven-release-repository/id nameGoogle Maven Release Repository/name urlhttps://oss.sonatype.org/content/repositories/google-releases/url snapshots

Re: gwt-maven-plugin from Google and Codehaus

2010-10-27 Thread hezjing
Is there any documentation for Google's gwt-maven-plugin? On Tue, Oct 26, 2010 at 4:58 PM, Thomas Broyer t.bro...@gmail.com wrote: On 26 oct, 07:28, hezjing hezj...@gmail.com wrote: Hi GWT 2.1 is using gwt-maven-plugin 1.3.2.google, and it is maintain in GWT's plugin repository

Re: What Major Companies Use GWT???

2010-10-27 Thread hezjing
Do you know what are the server technologies these companies are using (e.g. EJB)? On Tue, Oct 26, 2010 at 11:25 PM, PhilBeaudoin philippe.beaud...@gmail.comwrote: VMWare uses it in its new Code2Cloud project: http://tasktop.com/blog/tasktop/springsource-vmware-code2cloud Google do use it

Cannot specify different version of App Engine SDK

2010-09-30 Thread hezjing
Hi It seem like the Google plugin doesn't allow me to select version of App Engine SDK for a Maven project. I'm following the instructions described at http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin-for-eclipse.html to enable Google Plugin for Eclipse to work with an

Re: How to import Expenses project into Eclipse?

2010-09-28 Thread hezjing
I'm able to browse the project without any error. How should I run the application from Eclipse? I tried: 1. Project - Properties - Google - App Engine Settings ... Check 'Use Google App Engine' Use specific SDK: 'C:\Documents and Settings\hezjing\.m2\repository\com\google\appengine - unknown

How to import Expenses project into Eclipse?

2010-09-27 Thread hezjing
Hi May I know how to import the GWT 2.1's expenses project into Eclipse? I tried to generate .classpath or .project as described in trunk\samples\expenses\README-MAVEN.txt, but there is no 'eclipse.generate' goal defined in build.xml: C:\gwt\trunk\samples\expensesant eclipse.generate Buildfile:

Re: HTTP query string when tested in development mode

2010-09-26 Thread hezjing
:07 PM, hezjing hezj...@gmail.com wrote: Hi Apparently it seems that it is the Google App Engine that is causing this problem. The servlet filter is able to obtain the query string when I tested in GWT application without the App Engine settings. I'm also new to App Engine, do you know why

Re: HTTP query string when tested in development mode

2010-09-21 Thread hezjing
Engine? On Sun, Sep 19, 2010 at 4:30 PM, hezjing hezj...@gmail.com wrote: Hi rjcarr The query string is still null after I set to ...Dummy.html?debug=2param=2gwt.codesvr=127.0.0.1:9997http://127.0.0.1:/Property123.html?gwt.codesvr=127.0.0.1:9997 . The same problem occurs with the default

Re: HTTP query string when tested in development mode

2010-09-19 Thread hezjing
Hi rjcarr The query string is still null after I set to ...Dummy.html?debug=2param=2 gwt.codesvr=127.0.0.1:9997http://127.0.0.1:/Property123.html?gwt.codesvr=127.0.0.1:9997 . The same problem occurs with the default development mode URL like

Re: Error compiling GWT source code from trunk

2010-09-19 Thread hezjing
! On Mon, Sep 20, 2010 at 8:24 AM, Thomas Broyer t.bro...@gmail.com wrote: On Sep 19, 3:13 pm, Ashton Thomas ash...@acrinta.com wrote: Anyone know the answer to this? On Sep 14, 12:34 am, hezjing hezj...@gmail.com wrote: H ... I think I have already checked-out the full source

HTTP query string when tested in development mode

2010-09-18 Thread hezjing
Hi I have the following servlet filter and mapped to the URL pattern /* public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { HttpServletRequest req = (HttpServletRequest) request; // query is null? String query =

Uninstall Google plugin from Eclipse

2010-09-15 Thread hezjing
Hi After I uninstall Google App Engine Java SDK 1.3.7 from Eclipse with the following steps: Help - About Eclipse - Installation Details - Google App Engine Java SDK 1.3.7 - Uninstall I can still see the SDK listed here, Window - Preferences - Google - App Engine I think this entry should be

Error compiling GWT source code from trunk

2010-09-13 Thread hezjing
Hi I have checked out GWT source code from the trunk and encountered the following the error when compiled with Apache Ant 1.8.0: C:\gwt\trunkant Buildfile: C:\gwt\trunk\build.xml [taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.

Re: Error compiling GWT source code from trunk

2010-09-13 Thread hezjing
I'm sorry, please ignore this email and there are some missing folders in my svn folder :-( On Tue, Sep 14, 2010 at 10:20 AM, hezjing hezj...@gmail.com wrote: Hi I have checked out GWT source code from the trunk and encountered the following the error when compiled with Apache Ant 1.8.0

Re: Error compiling GWT source code from trunk

2010-09-13 Thread hezjing
H ... I think I have already checked-out the full source code from trunk now, but the same compilation error still exist :-( I must be missing something here, can someone please help? On Tue, Sep 14, 2010 at 10:54 AM, hezjing hezj...@gmail.com wrote: I'm sorry, please ignore this email

Getting started GWT 2.1

2010-08-25 Thread hezjing
Hi May I know if there is any article about GWT 2.1 features, especially the data presentation widgets and the MVP framework? -- Hez -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Official tutorial of how to create GWT module?

2010-08-05 Thread hezjing
as simple as that. best regards, Rudolf Michael On Thu, Aug 5, 2010 at 8:34 AM, hezjing hezj...@gmail.com wrote: Hi I might be missing something, but I couldn't find a tutorial of how to create a GWT module from the GWT documentation. Is there any tutorial or article from GWT Team

Official tutorial of how to create GWT module?

2010-08-04 Thread hezjing
Hi I might be missing something, but I couldn't find a tutorial of how to create a GWT module from the GWT documentation. Is there any tutorial or article from GWT Team? -- Hez -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: GWT+EJB+JPA Integration without DTO's

2010-05-11 Thread hezjing
Thanks for sharing this sample! What do you mean when you said the GWT 2.0 added the support for JPA annotations? On Wed, Feb 17, 2010 at 10:13 AM, Morswin mors...@gmail.com wrote: Maybe someone will find that useful: http://code.google.com/p/gwt-ejb-sample/ Cheers, Morswin -- You

Warning when run with GWT 2 ms1 and gwt-presenter

2009-10-13 Thread hezjing
Hi I'm using GWT 2.0 milestone 1 and gwt-presenter. I observed the following warning when run in development mode: 00:00:45.407 [WARN] Warnings in 'transient source for net.customware.gwt.dispatch.client.service.DispatchService_TypeSerializer' 00:00:45.407 [WARN] Line 20: Referencing

MVP: One page with many views and presenters?

2009-10-13 Thread hezjing
Hi Until recently, I realised that I'm wrong to assume that one page is corresponding to one view and presenter. Instead, a page can contains several views and presenters right? -- Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: GWT 2.0 Milestone 1: C:\gwt-2.0.0-ms1\gwt-dev-windows.jar is missing

2009-10-06 Thread hezjing
-*.jar have been replaced by a single and portable jar: gwt-dev.jar. On 6 oct, 05:29, hezjing hezj...@gmail.com wrote: Hi I'm trying to configure GWT 2.0 milestone 1 in Google plugin following the steps: Extracted gwt-2.0.0-ms1.zip to C:\gwt-2.0.0-ms1, in Eclipse 3.5, right

Re: GWT 2.0 Milestone 1: C:\gwt-2.0.0-ms1\gwt-dev-windows.jar is missing

2009-10-06 Thread hezjing
olivier.nougu...@gmail.com wrote: Or simply copy gwt-dev.jar to gwt-dev-windows.jar in gwt install dir. On Tue, Oct 6, 2009 at 12:14 PM, hezjing hezj...@gmail.com wrote: Hi Sebastien, Are you suggesting to update the existing classpath to GWT 2.0 classpath manually? I'm not sure if Google

GWT 2.0 Milestone 1: C:\gwt-2.0.0-ms1\gwt-dev-windows.jar is missing

2009-10-05 Thread hezjing
Hi I'm trying to configure GWT 2.0 milestone 1 in Google plugin following the steps: Extracted gwt-2.0.0-ms1.zip to C:\gwt-2.0.0-ms1, in Eclipse 3.5, right click a project - Google - Web Toolkit Settings... - Configure SDKs... , in Preferences (Filtered) window, click Add... , in Add Google

CssResource, the CSS location

2009-09-28 Thread hezjing
Hi Is it true that with CssResource, there is no need to specify CSS reference in the module XML and the hosted HTML? Also with the following ClientBundle, public interface MyResources extends ClientBundle { @Source(My.css) MyCss css(); } The My.css must be saved in the src

Re: How to get URL in GWT?

2009-09-08 Thread hezjing
Hi Vikas, How about retrieve the HttpServletRequest instance, then getLocalAddr() and getLocalPort()? You may want to check out the rest of the useful getter methods in HttpServletRequest. On Tue, Sep 8, 2009 at 5:55 PM, Vikas vikas.m.ya...@gmail.com wrote: For RPC communication, I need

Re: GWT plugin: Problem when project name is changed

2009-09-05 Thread hezjing
2009/8/31 Miguel Méndez mmen...@google.com: On Sun, Aug 30, 2009 at 2:05 PM, hezjing hezj...@gmail.com wrote: Hi I have a GWT project named X created by Google plugin. Then later I want to change the name to Y, so I right clicked Project X - Refactor - Rename ... - New name: Y

Re: Aligning Widget in RootPanel

2009-09-04 Thread hezjing
Hi Sidni, I think the problem is because the width of the HorizontalPanel is too small. Try this, Label l = new Label(Hello); HorizontalPanel hp = new HorizontalPanel(); hp.setBorderWidth(1); hp.setWidth(100%); hp.add(l);

Re: GWT plugin: Problem when project name is changed

2009-09-02 Thread hezjing
willing to take the next step and say I'm sure it shouldn't. :) - Isaac 2009/8/31 Miguel Méndez mmen...@google.com: On Sun, Aug 30, 2009 at 2:05 PM, hezjing hezj...@gmail.com wrote: Hi I have a GWT project named X created by Google plugin. Then later I want to change the name to Y, so I

Re: GWT plugin: Problem when project name is changed

2009-08-31 Thread hezjing
Issue 4005http://code.google.com/p/google-web-toolkit/issues/detail?id=4005 is created :-) 2009/8/31 Miguel Méndez mmen...@google.com On Sun, Aug 30, 2009 at 2:05 PM, hezjing hezj...@gmail.com wrote: Hi I have a GWT project named X created by Google plugin. Then later I want to change

GWT plugin: Problem when project name is changed

2009-08-30 Thread hezjing
Hi I have a GWT project named X created by Google plugin. Then later I want to change the name to Y, so I right clicked Project X - Refactor - Rename ... - New name: Y When run, it will complaint the working directory does not exist: /X/war It seems that launch configuration is still referring

Re: gwt 1.6 eclipse plugin

2009-08-28 Thread hezjing
Hi Philipmac You can install the Eclipse plugin following the instructions here: http://code.google.com/eclipse/docs/getting_started.html#installing and it could be helpful to import the existing project following the steps here: http://code.google.com/eclipse/docs/existingprojects.html Hope

CSS is dissapear when deployed on Tomcat 5?

2009-08-23 Thread hezjing
Hi My GWT 1.7 application is working fine when tested in hosted mode and in the compiled version. The CSS is associated in the module XML file. The problem is when I deployed the application in Tomcat 5 on the hosting server, the CSS are all stripped off, and there seems to be no CSS at all?!

Re: CSS is dissapear when deployed on Tomcat 5?

2009-08-23 Thread hezjing
, 2009 at 12:56 AM, hezjing hezj...@gmail.com wrote: Hi My GWT 1.7 application is working fine when tested in hosted mode and in the compiled version. The CSS is associated in the module XML file. The problem is when I deployed the application in Tomcat 5 on the hosting server, the CSS are all

How to change the arrow icon of DisclosurePanel

2009-08-22 Thread hezjing
Hi May I know how to change the arrow icon of the DisclosurePanel? -- Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: GWT-RPC will pick-up a wrong implementation?

2009-08-09 Thread hezjing
Uh-huh ... thanks for your explanation,and I think this piece of information is worth mention in the GWT's developer's guide too! On Sun, Aug 9, 2009 at 5:46 AM, pohl pohl.longs...@gmail.com wrote: To add to Paul's answer: the practice that Ray Ryan advocated is not to prevent GWT-RPC from

How to retrieve the selected value of ListBox in MVP

2009-08-09 Thread hezjing
Hi I'm trying to following the MVP implementation shown by Ray Ryanhttp://code.google.com/events/io/sessions/GoogleWebToolkitBestPractices.html : class PhoneEditorPresenter { interface Display { HasValueString getNumberField(); } void doSave() { String number = getNumberField().getValue(); }

Re: How to retrieve the selected value of ListBox in MVP

2009-08-09 Thread hezjing
Thanks Jeff, to summary, I have to create my own ListBox implementing HasValueString: class MyListBox extends ListBox implements HasValueString { public String getValue() { int index = getSelectedIndex(); return getValue(index); } } and then get the selected value of

GWT-RPC will pick-up a wrong implementation?

2009-08-06 Thread hezjing
Hi If I follow Ray Ryan presentation (page 18, 19), he mentioned that it's good to be specific of the implementation: ArrayListX is favor than ListX that is to ensure that the GWT-RPC will pick up the right implementation. I'm just curios of how the GWT-RPC will pick up the wrong

Handler when a widget is added to panel?

2009-08-06 Thread hezjing
Hi I have Composite widgets, and these widgets will be added and removed from a DockPanel depending on user selection. I want to perform initialization whenever the widget is being added to DockPanel. May I know which handler I can register for this purpose? -- Hez

Re: Include CSS in XML or HTML affects the output?

2009-07-04 Thread hezjing
refresh the CSS by clicking the refresh button in the hosted browser. On Sat, Jul 4, 2009 at 6:18 AM, Thomas Broyer t.bro...@gmail.com wrote: On 3 juil, 17:58, hezjing hezj...@gmail.com wrote: Hi I want to customize the color and font size of the StackPanel item, so I defined the following

Include CSS in XML or HTML affects the output?

2009-07-03 Thread hezjing
Hi I want to customize the color and font size of the StackPanel item, so I defined the following style: .mymenu .gwt-StackPanelItem { color: blue; font-size: small; } Then I add the above style and keep the rest of the standard CSS properties: StackPanel panel = new StackPanel();

Compiler java.lang.StackOverflowError

2009-07-01 Thread hezjing
Hi I know this is not a new problem, and I resolved this problem the 1st time by setting -Xss1024k. Now it comes back again, but the problem still exist after I increased the stack size to -Xss8M, -Xss16M or -Xss64M. I would like to try out the patch described in the comment 21 of

Re: Compiler java.lang.StackOverflowError

2009-07-01 Thread hezjing
no glue what are the appropriate values of -Xss and the -Xmx :-( On Wed, Jul 1, 2009 at 8:52 PM, hezjing hezj...@gmail.com wrote: Hi I know this is not a new problem, and I resolved this problem the 1st time by setting -Xss1024k. Now it comes back again, but the problem still exist after I

How to align the labels to the bottom of HorizontalPanel?

2009-06-30 Thread hezjing
Hi I have a big label and a small label, and I want to align-bottom these labels when added in HorizontalPanel: public void onModuleLoad() { Label bigTitle = new Label(BIG); bigTitle.setStyleName(big); Label smallTitle = new Label(small); smallTitle.setStyleName(small); HorizontalPanel panel

Re: How to align the labels to the bottom of HorizontalPanel?

2009-06-30 Thread hezjing
); } Regards, 2009/6/30 hezjing hezj...@gmail.com Hi I have a big label and a small label, and I want to align-bottom these labels when added in HorizontalPanel: public void onModuleLoad() { Label bigTitle = new Label(BIG); bigTitle.setStyleName(big); Label smallTitle = new Label(small

Re: How to align the labels to the bottom of HorizontalPanel?

2009-06-30 Thread hezjing
attribute, inherits from parents Then, the style applied here is the one contained in the style attribute of td node, which override the one contained in the my class of table node. Regards, 2009/6/30 hezjing hezj...@gmail.com Hi Damien Yes, it is working now and the following is what

Re: How to align the labels to the bottom of HorizontalPanel?

2009-06-30 Thread hezjing
Thanks Damien and Ian, you have been helping me a lot! On Tue, Jun 30, 2009 at 8:45 PM, Damien Picard picard.dam...@gmail.comwrote: So simply... I'm sorry hezjing to don't have think about !important. (It permits to force the rule to apply instead of cascading mechanism...) 2009/6/30 Ian

Problem specifying Grid's cell size

2009-06-28 Thread hezjing
Hi I want to achieve a rounded corner rectangle using Grid. Here I create a 3x3 grid: Grid grid = new Grid(3, 3); grid.setCellPadding(0); grid.setCellSpacing(0); // display the border for debugging grid.setBorderWidth(1); Imagine that I have a 5x5 pixel corner images, so I specify the width

Re: Problem specifying Grid's cell size

2009-06-28 Thread hezjing
, Jun 29, 2009 at 3:46 AM, Ian Bambury ianbamb...@gmail.com wrote: Yep. There's an nbsp; in the cell so you will have to set the font size really small. You'd be better off doing all this by setting style classes and doing it in css. Ian http://examples.roughian.com 2009/6/28 hezjing hezj

How to avoid creating label which does not receive event?

2009-06-27 Thread hezjing
Hi In http://code.google.com/events/io/sessions/MeasureMillisecondsPerformanceTipsWebToolkit.html, Kelly Norton explains that we should avoid using widget if it does not receive event. I look at my current code and found that I have been using labels to display titles. These titles are static

Re: How to avoid creating label which does not receive event?

2009-06-27 Thread hezjing
image,(and maybe height and width) of the outside cells and the text of the centre cell? Ian http://examples.roughian.com 2009/6/27 hezjing hezj...@gmail.com Hi In http://code.google.com/events/io/sessions/MeasureMillisecondsPerformanceTipsWebToolkit.html, Kelly Norton explains that we

Disable checkbox when data table selection policy is checkbox

2009-06-25 Thread hezjing
Hi I'm working on the PagingScrollTable. When specify the selection policy to checkbox in the data table like this, FixedWidthGrid dataTable = new FixedWidthGrid(); dataTable.setSelectionPolicy(SelectionPolicy.CHECKBOX); Then, all rows will have a checkbox. But, how can I disable (or hide)

Specify column header in AbstractColumnDefinition.setHeader() and FixedWidthFlexTable.setHTML()

2009-06-25 Thread hezjing
Hi I'm working on PagingScrollTable. May I know what is the different if we specify a column header using AbstractColumnDefinition.setHeader(row, Object) and using FixedWidthFlexTable like the following code? FixedWidthFlexTable headerTable = new FixedWidthFlexTable(); headerTable.setHTML(0, 1,

How DOM classes improve performance?

2009-06-25 Thread hezjing
Hi I'm reading http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a789d84722d2d80c : On Fri, Jun 26, 2009 at 10:37 AM, Arthur Kalmenson arthur.k...@gmail.com wrote: - don't create a lot of widgets if you don't have to, think about using the DOM classes. I'm not sure

Re: PagingScrollTable generates PageChangeEvent between builds

2009-06-24 Thread hezjing
With the latest trunk build, we have to call pagingScrollTable.gotoFirstPage() to load the data. On Tue, Jun 23, 2009 at 1:35 AM, hezjing hezj...@gmail.com wrote: Hi The PagingScrollTable seems to behave differently between gwt-incubator-march-02-2009.jar and the one I built from the trunk

Javadoc of PagingScrollTable's constructor

2009-06-22 Thread hezjing
Hi In the GWT incubator example PagingScrollTableDemo.java, it creates a PagingScrollTable with two parameters: pagingScrollTable = new PagingScrollTableStudent(cachedTableModel, tableDef); but this constructor (with two parameters) is not described in the Javadoc

PagingScrollTable generates PageChangeEvent between builds

2009-06-22 Thread hezjing
Hi The PagingScrollTable seems to behave differently between gwt-incubator-march-02-2009.jar and the one I built from the trunk (r1684). With gwt-incubator-march-02-2009.jar, the PageChangeEvent is generated to the PageChangeHandler when the table is first displayed. With the latest build, there

Re: trying up gwt incubator scrollTable problem

2009-06-21 Thread hezjing
Hi You may want to check Table.gwt.xml shown in http://google-web-toolkit-incubator.googlecode.com/svn/trunk/src/com/google/gwt/gen2/table/Table.gwt.xml Do you have the modules inherited like the following? module inherits name=com.google.gwt.widgetideas.WidgetIdeas / inherits

PagingScrollTable: little left-right arrow image

2009-06-21 Thread hezjing
Hi While working on the PagingScrollTable, there is this little left-right arrow image shown on the screen (see attached). Do you have any idea what is this? -- Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

ValueChangeHandler should be parameterized in the Javadoc of Hyperlink

2009-06-20 Thread hezjing
Hi ValueChangeHandler is a parameterized interface. Hence, I think the example given in the Javadoc of Hyperlink should be changed from: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/Hyperlink.htmlpublic class HistoryExample implements EntryPoint,

Hyperlink is not working after 1st try

2009-06-20 Thread hezjing
Hi I have the following code which suppose to do the following: 1) when the login button is clicked, it will clear the RootPanel and show a logout hyperlink, 2) when the logout hyperlink is selected, it will clear the RootPanel and show the login button again. public class Dummy implements

Re: Hyperlink is not working after 1st try

2009-06-20 Thread hezjing
: The first time you press the hyperlink to logout, there's a new history item added of that name. The second time you press it, the current history token is still logout, so it does nothing. hezjing wrote: Hi I have the following code which suppose to do the following: 1) when the login button

How to retrieve EntryPoint object?

2009-06-19 Thread hezjing
Hi A quick question, is there a convenient method to retrieve EntryPoint object? -- Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Inserting header and footer into DecoratorPanel

2009-06-18 Thread hezjing
Hi The Lombardi team talked about this similar UI (RoundedContainerWithHeader) in Google IO, see http://code.google.com/events/io/sessions/EffectiveGwt.html (slide 10) ... On Sun, May 3, 2009 at 3:32 PM, hezjing hezj...@gmail.com wrote: Hi On Sun, May 3, 2009 at 2:12 PM, Adam T adam.t

Re: PagingScrollTable cannot find scrollTableLoading.gif

2009-06-18 Thread hezjing
, 2009 at 10:12 PM, Isaac Truett itru...@gmail.com wrote: Well... it's a 404, so the URL doesn't map to anything. Are you running with -noserver? If so, did you deploy the image to your server in the proper location? On Tue, Jun 16, 2009 at 9:39 PM, hezjing hezj...@gmail.com wrote: Hi Isaac

Re: PagingScrollTable cannot find scrollTableLoading.gif

2009-06-18 Thread hezjing
Yes, the scrollTableLoading.gif is found in war/[module name] directory. The HTML file is in war/ directory. On Thu, Jun 18, 2009 at 10:49 PM, Isaac Truett itru...@gmail.com wrote: On Thu, Jun 18, 2009 at 10:29 AM, hezjing hezj...@gmail.com wrote: Hi Isaac I'm using Google plugin, how

Re: PagingScrollTable cannot find scrollTableLoading.gif

2009-06-18 Thread hezjing
() + scrollTableLoading.gif); I can put in a quick patch for this later. On Thu, Jun 18, 2009 at 11:06 AM, hezjing hezj...@gmail.com wrote: Yes, the scrollTableLoading.gif is found in war/[module name] directory. The HTML file is in war/ directory. On Thu, Jun 18, 2009 at 10:49 PM, Isaac Truett itru

Aligning labels and fields

2009-06-18 Thread hezjing
Hi I have been implementing the input form like the following code: Label nameLabel = new Label(Name); TextBox nameTextBox = new TextBox(); Label ageLabel = new Label(Age); TextBox ageTextBox = new TextBox(); // we have two labels and two fields, so 2x2 Grid grid = new Grid(2, 2);

Re: Web app classpath problem

2009-06-18 Thread hezjing
To close this thread, the solution is to copy commons-collections.jar into war\WEB-INF\lib On Mon, May 25, 2009 at 11:08 PM, hezjing hezj...@gmail.com wrote: This problem is discussed in http://groups.google.com/group/Google-Web-Toolkit-Contributors/msg/446da2497826c290?pli=1 http

Re: PagingScrollTable cannot find scrollTableLoading.gif

2009-06-16 Thread hezjing
. On Sun, Jun 7, 2009 at 2:02 PM, hezjing hezj...@gmail.com wrote: Hi While I'm testing the PagingScrollTable, the hosted mode console complaint the following warning: [WARN] 404 - GET /scrollTableLoading.gif (127.0.0.1) 1408 bytes May I know why is this warning? Should we create

Re: How to specify number of rows of PagingScrollTable?

2009-06-08 Thread hezjing
TableModel model = table.getTableModel(); // RPC call to return total of users userService.getUserCount(new AsyncCallbackInteger() { ... public void onSuccess(Integer total) { model.setRowCount(total); } }); } } Thank you! On Sun, Jun 7, 2009 at 10:49 PM, hezjing hezj...@gmail.com wrote: Hi, I'm

What is FixedWidthGridBulkRenderer?

2009-06-08 Thread hezjing
Hi I don't understand FixedWidthGridBulkRenderer class while working with PagingScrollTable,see also http://collectionofdemos.appspot.com/javadoc/com/google/gwt/gen2/table/client/FixedWidthGridBulkRenderer.html . What does a helper class to bulk load FixedWidthGrid tables really mean? Can someone

Re: What is FixedWidthGridBulkRenderer?

2009-06-08 Thread hezjing
answering the question you were trying to ask...if you're interested in the internals of the bulk loader, then I guess my answer doesn't help you...) jay On Jun 8, 8:51 am, hezjing hezj...@gmail.com wrote: Hi I don't understand FixedWidthGridBulkRenderer class while working

Re: Session id and client side IP

2009-06-08 Thread hezjing
Hi Abhiram Have a look at http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a95f12f6972d8cab of how to obtaining the client's address. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a95f12f6972d8cab On Tue, Jun 9, 2009 at 1:15 PM, abhiram

PagingScrollTable cannot find scrollTableLoading.gif

2009-06-07 Thread hezjing
Hi While I'm testing the PagingScrollTable, the hosted mode console complaint the following warning: [WARN] 404 - GET /scrollTableLoading.gif (127.0.0.1) 1408 bytes May I know why is this warning? Should we create this scrollTableLoading.gif? -- Hez

How to specify number of rows of PagingScrollTable?

2009-06-07 Thread hezjing
Hi, I'm creating a PagingScrollTable, and want to set the total of rows after RPC call. Here is my client code snippet to create the table model: CachedTableModelUser cachedTableModel = new CachedTableModelUser(new UserTableModel()); cachedTableModel.setPreCachedRowCount(10);

Re: Error link in GWT incubator page

2009-06-06 Thread hezjing
, Alex Rudnick a...@google.com wrote: Thanks for the heads-up! Fixed :) On Thu, Jun 4, 2009 at 12:30 PM, hezjing hezj...@gmail.com wrote: Hi I think there is an error in the GWT incubator page: In http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScrollTable , the Java

PagingScrollTableDemo not found in GWT incubator demos

2009-06-05 Thread hezjing
Hi I encounter the following error when clicked on the PagingScrollTableDemo in http://collectionofdemos.appspot.com/demo/index.html Error: Not Found The requested URL /demo/com.google.gwt.demos.scrolltable.PagingScrollTableDemo/PagingScrollTableDemo.html was not found on this server. -- Hez

Error link in GWT incubator page

2009-06-04 Thread hezjing
Hi I think there is an error in the GWT incubator page: In http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScrollTable ,the Java doc link is pointing to

Download GWT incubator demo source code?

2009-06-04 Thread hezjing
Hi I was looking at the GWT incubator demos at http://collectionofdemos.appspot.com/demo/index.html May I know if the demo source code is available for us to download? Otherwise, I can only browse the source code at

Re: Expire an idle session

2009-06-03 Thread hezjing
://blogs.designingpatterns.com On Jun 2, 11:05 am, hezjing hezj...@gmail.com wrote: Hi I want the session to be expired if the it is idle for 5 minutes. I have the following client code after a successful login: String sessionID = /* (Get sessionID from server's response to login

Re: Expire an idle session

2009-06-03 Thread hezjing
? --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Jun 3, 2009 at 10:00 PM, hezjing hezj...@gmail.com wrote: Hi Yes, it is working by setting the timeout in the server. To summarize, the following are what I did: 1) Configured the session timeout in web.xml (say for 1 minute): session

Expire an idle session

2009-06-02 Thread hezjing
Hi I want the session to be expired if the it is idle for 5 minutes. I have the following client code after a successful login: String sessionID = /* (Get sessionID from server's response to login request.) */ ; long DURATION = 1000 * 60 * 5; Date expires = new Date(System.currentTimeMillis() +

Re: Validation problem

2009-05-27 Thread hezjing
Hi poonam Instead of writing your own validation class, would you consider one of the GWT validation libraries? e.g. https://sourceforge.net/projects/gwt-vl/ I'm a newbie, and I'm still looking for a GWT validation library ... is there anyone able to share their experience in GWT validation? On

Re: GWT and Java Error .Help Please.

2009-05-26 Thread hezjing
Hi Jeeva I had the same error before (see this threadhttp://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/820482cc7a30e63e/a360cab483a461c0?lnk=gstq=Bad+version+number#a360cab483a461c0), and apparently one of the libraries was compiled for Java 1.6. On Tue, May 26, 2009 at

Avoid domain object and DTO in GUI?

2009-05-26 Thread hezjing
Hi Dean You raised an interesting point which I had never think of it ... On Tue, May 26, 2009 at 5:42 PM, Dean S. Jones deansjo...@gmail.com wrote: As I have posted here numerous times, you will one day regret having domain objects used in your GUI. Better to factor down to the few UI

Re: GWT and Java Error .Help Please.

2009-05-26 Thread hezjing
Hi Jeeva On Tue, May 26, 2009 at 5:45 PM, jeeva jeeva8...@gmail.com wrote: do you help to find a slide show jar which works nice friend ? I'm a bit slow here :-Pcan you tell us what do you want? -- Hez --~--~-~--~~~---~--~~ You received this message

Re: Missing files when enabled Google App Engine SDK after GWT project is created

2009-05-26 Thread hezjing
Created issue 1598http://code.google.com/p/googleappengine/issues/detail?id=1598 . On Tue, May 26, 2009 at 11:25 PM, Jason Parekh jasonpar...@gmail.comwrote: On Mon, May 25, 2009 at 11:55 AM, hezjing hezj...@gmail.com wrote: Hi Eclipse complaints the appengine-web.xml file does not exist

Re: Web app classpath problem

2009-05-25 Thread hezjing
This problem is discussed in http://groups.google.com/group/Google-Web-Toolkit-Contributors/msg/446da2497826c290?pli=1 http://groups.google.com/group/Google-Web-Toolkit-Contributors/msg/446da2497826c290?pli=1 On Mon, May 25, 2009 at 9:29 PM, hezjing hezj...@gmail.com wrote: Hi I'm getting

Missing files when enabled Google App Engine SDK after GWT project is created

2009-05-25 Thread hezjing
Hi Eclipse complaints the appengine-web.xml file does not exist when I enabled the Google App Engine SDK after created a GWT project. Here are the steps I performed: 1) File-New-Web Application Project Check use Google Web Toolkit Uncheck use Google App Engine Finish 2) Right click

Re: Failed to import and run gwtrpc-spring example with Google plugin

2009-05-23 Thread hezjing
and compile it for 1.5, or possibly poke the gwtrpc-spring developers and get them to make a 1.5-compatible build. If you take out your dependence on gwtrpc-spring and remove that jar from your classpath, does it prevent that error? Thanks! On Tue, May 19, 2009 at 2:52 AM, hezjing

Re: Failed to import and run gwtrpc-spring example with Google plugin

2009-05-19 Thread hezjing
built in). See Rajeev's message over here for a likely solution: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/897957da93884731 Let us know if this doesn't help! Thanks! On Sun, May 17, 2009 at 9:36 AM, hezjing hezj...@gmail.com wrote: Hi The problem still exist

Additional jars when disabled Google App Engine SDK in Eclipse

2009-05-19 Thread hezjing
Hi I noticed the following behaviour when disabled Google App Engine SDK in Eclipse. Here are the steps I performed: 1) Download http://gwtrpc-spring.googlecode.com/files/GwtRpcSpringExample.zip. 2) Extract GwtRpcSpringExample.zip to C:\GwtRpcSpringExample. 3) Import the GwtRpcSpringExample

Re: Additional jars when disabled Google App Engine SDK in Eclipse

2009-05-19 Thread hezjing
end up with more jars. On Tue, May 19, 2009 at 10:55 AM, hezjing hezj...@gmail.com wrote: Hi I noticed the following behaviour when disabled Google App Engine SDK in Eclipse. Here are the steps I performed: 1) Download http://gwtrpc-spring.googlecode.com/files/GwtRpcSpringExample.zip

  1   2   >