About a multi page web application

2010-06-02 Thread MaveriK
Hi everyone. I'm new in GWT, i've just begun to use GWT a couple of week ago. My goal is to create a web app that shows a login page, and after the log-in shows an interface where the user can interact with the system So i was wondering if i need need a multi-page web app, or instead a

JSORestrictionsChecker Bug

2010-06-02 Thread Patrick Twohig
I'm getting this error while trying to compile code with subclasses of JavaScriptObject. I'm aware of this issue here: http://groups.google.com/group/google-web-toolkit-contributors/browse_thread/thread/eaca6b6dbecd2c77/3b76790edc488222?show_docid=3b76790edc488222, however in my case none of my

GWT 2.0.3 + Tree widget + get tree level of selected TreeItem - Problem

2010-06-02 Thread junior
Hejsan, I am building dynamic Tree Widget. First Level I done with no problem so it look like: + Atletics + Ice Hockey + Chess + Footbal + Golf Functionality must be like when you click on sport must roll up/show off list of countries like: + Atletics + Ice Hockey + Canada + USA +

How do you connect to External RPC Service? In other words, can you expose RPC services to outside world by sharing only client/shared pieces?

2010-06-02 Thread Umesh Adtani
I have a RPC servlet that I would like to make available to other GWT application developers. The problem that I currently see is that GWT.create(ServiceInterfaceClass) requires the service to be deployed on the same host where the GWT application is deployed. There is no way to do something like

HOWTO Implement A Drop Down Check Box List

2010-06-02 Thread Guoyu Yan
Hi All, I got some problem on HOWTO implement a drop down check box list. Could you give me some ideas to do this. I have done some research on Creating Custom Widgets but I still don't have any idea about it. Thanks, Garin -- You received this message because you are subscribed to the Google

Question About Constants(.properties) file of GWT

2010-06-02 Thread veeravelli kiran kumar
Hi All, I am new to GWT and finding it difficult to understand this. I am creating a GWT project,putting a constants file and retrieving them via the constants interface. I am compiling this project and adding the resources (just the .html ,.css and /project resources) generated to a war file

Simple working example of the Data Presentation Widget CellTable

2010-06-02 Thread saklig
Hi, I want to create a working example of the CellTable widget that was recently released in GWT 2.1 M1. I'm having a hard time finding documentation for this widget, as apparently it has not been written yet :-/ What I've tried so far: ListMyCellData dataList = new ArrayListMyCellData();

GWT 2.0

2010-06-02 Thread Kapil Kulkarni
Hi, I am new to GWT and in learning mode. I working with GWT 2.0 / Eclipse 3.5 / JDK 1.5 / IE 8.0 As per getting started guide if I paste the url which i get in deployment mode to IE 8.0, then I get following but browser is not displaying text box Web Application Starter Project Please enter

looking for a proxyservlet for the jetty instance

2010-06-02 Thread alexl
hi, I tried a couple of proxy servlets but each time the engine says such and such is a restricted class. I recompiled some of the dependencies but after getting rid of ssl's for example then it complained about inet address being a restricted class. the reason I want a proxy is so it is easier

Problem deploying RPC application to jetty

2010-06-02 Thread shirin
Hi I have a RPC application , very simple with just one servlet class in server package. it runs good locally but when I deploy it in jetty in a remote server it said that it can not find my servlet class this jetty server has been configured before and has a specific deploying strategy. For

Re: HOWTO Implement A Drop Down Check Box List

2010-06-02 Thread Garin Yan
Hi All, I have found this on http://www.smartclient.com/smartgwt/showcase/#multi_select_new_category . Thanks you all the same. Garin On Tue, Jun 1, 2010 at 3:20 PM, Guoyu Yan yangu...@gmail.com wrote: Hi All, I got some problem on HOWTO implement a drop down check box list. Could you

Hibernate problems after deploying to google appspot

2010-06-02 Thread Emma Cole
Hi all, I have an application which uses hibernate that runs fine in hosted mode, but no longer when deployed. Here's the details: In hosted mode it connects to a database that resides on a remote server. Connection details set in hibernate.cfg.xml When run I it get a long stacktrace with

Problem deploying RPC application to jetty

2010-06-02 Thread shirin
Hi I posted this error before. I did lots of thing but still without success let me give some more details: say my project name is gwtexample and my servlet class name is myServlet in web.xml I defined servlet-mapping url-pattern/gwtexample/myServlet/url-pattern /servlet-mapping

GWT 2.0.3 + Tree widget + get tree level of selected TreeItem - Problem

2010-06-02 Thread junior
Hejsan I am building GWT Tree and need to get information about level of current opened TreeItem. Let me describe more detail. I build up first level(Sport List) of tree so it looks like: + Athletics + Ice Hockey + Footbal Second level(Countries List) must looks like: + Athletics + Ice Hockey

GWT Custom Events

2010-06-02 Thread Ciarán
Hey I have a problem getting my head around how custom GWT event Handlers work. I have read quite a bit about the topic and it still is some what foggy. I have read threads on Stackoverflow like this one http://stackoverflow.com/questions/998621/gwt-custom-event-handler but still some what lost

RichTextToolbar in Uibinder

2010-06-02 Thread krz
Hello, For my programm i use MVP, and UIbinder for drawing the GUI. i wanted to create an RichTextArea with the toolbar ( richTextToolbar), i spend now 2 hours trying things out, im totaly frustrated, and dont know how to do it... can anyone help me? -- You received this message because you are

Eclipse Modeling Framework (EMF) port to GWT

2010-06-02 Thread Ed Merks
I'm busy refining EMF's support for GWT: http://wiki.eclipse.org/EMF/New_and_Noteworthy/Helios#Support_for_Google_Web_Toolkit_.28GWT.29 One of the problems I have is that I need to support converting date instances to and from a string representation, in particular, one that conforms to

firefox gwt issues

2010-06-02 Thread Sam Phippen
When I attempt to load my gwt app in firefox (f13, x64) with the plugin installed I still get the screen telling me to install the plugin. I also get a drop down at the top saying additional plugins are required to display all media on this page -- You received this message because you are

Re: GWT Design Problem

2010-06-02 Thread Frederic Conrotte
Hello You should check this book: http://apress.com/book/view/9781590599853 And the associated website: http://code.google.com/p/tocollege-net/ It mix both HTML/Freemarker templates with GWT modules. Fred On 1 juin, 18:02, ping2ravi ping2r...@gmail.com wrote: Hi All, I am trying to create a

Prompt Message Box in View

2010-06-02 Thread Spring
Hello, When using the MVP pattern, how should I display alerts or message boxes prompting the user for information? For example, the user clicks a button to add a new item and I prompt for the name. Where should this prompt happen? In the View class? In the Presenter? The presenter is where I have

Re: Getting a 503 Error.

2010-06-02 Thread Prashant Hegde
Probably your server has exited following a exception during initialization Does the console show some exceptions ? On 03-06-2010 04:12, ike wrote: Hey... I am using the plugin for Eclipse. There are no errors in my code according to Eclipse, but when I run the code, it gives me a screen

Re: GWT 2.0.3 + Tree widget + get tree level of selected TreeItem - Problem

2010-06-02 Thread Jim Douglas
Follow the chain of getParentItem() until it returns null. http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/TreeItem.html#getParentItem() On Jun 2, 3:25 am, junior kubinca...@gmail.com wrote: Hejsan I am building GWT Tree and need to get information about

History.newItem() and History.getToken() and encoding url fragment (Does not happen in FF)

2010-06-02 Thread Sky
History.newItem() and History.getToken() are supposed to encodeURIComponent and decodeURIComponent respectively. I looked into the implemented native methods and they sure appear to do that. However, in FF 3.5 the encoding does not happen. My browser URL shows normal spaces instead of %20. In

Re: JSNI Methode call does not work...

2010-06-02 Thread kozura
Your method signature doesn't match your class (String x3). Also, use int and I for signature instead of the Integer class. On May 31, 2:53 pm, Go2one dennis.schum...@go2one.de wrote: Hi, I've the following Class: public class Designer {  private final native JavaScriptObject addNode()

Re: refresh page in GWT

2010-06-02 Thread kozura
Literally 2 seconds of search turns up: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/429cbf743328c9a9/938fb8df06bf9cd5 On May 31, 1:30 pm, ahmed saleh ahmed.salehw...@gmail.com wrote: hello- i have a big GWT application have more than  50 composites ,i have big issue

How do I detect Mouse Up, Mouse Out, Mouse Over, etc on Grid Cells?

2010-06-02 Thread spierce7
I need to be able to do this efficiently in a 50X8 Grid. I need it for the individual cells within the grid. It seems that all I can get to work on my grid is a simple click handler. Grid.addClickHandler(this); and then whenever a click event occurs (a click down and then a click up in the same

Re: SerializerBase.check(String,int) throws useless exception?

2010-06-02 Thread Sripathi Krishnan
Confirm that all classes participating in RPC - 1. implement Serializable 2. have a zero-argument constructor Most of the times I forget zero-argument constructor, and that's when I get errors similar to what you have pasted. --Sri On 31 May 2010 20:23, svincent shawn.vinc...@gmail.com

Re: Error during File IO in ServiceImpl class

2010-06-02 Thread Sripathi Krishnan
This isn't a GWT problem, its a GAE problem, and you are more likely to get an answer on that forum. But from what I know ... .. you can read files that are present in the war file, but you still cannot read it as a File. Instead, you should read it from the classpath, like this

Re: Hibernate problems after deploying to google appspot

2010-06-02 Thread Paul Grenyer
Emma It sounds like you haven't deployed the mysql driver. Paul -Original Message- From: Emma Cole emma.cole.positive.vo...@gmail.com Date: Mon, 31 May 2010 16:46:59 To: Google Web Toolkitgoogle-web-toolkit@googlegroups.com Cc: dan.a...@gmail.com Subject: Hibernate problems after

error while invoking java method using jsni

2010-06-02 Thread gerald
When I invoke java method 'func2(JavaScriptObject str)' using jsni, an error occurs when the type of argument 'str' is javascript string type, such as var ss = 'aabbcc', However, the method 'func2' does work while its argument is JavaScriptObject type. In addition, this error only happen in the

GWT hostmode in weblogic

2010-06-02 Thread GWT_novice
i am very new to GWT. I want deploy GWT app in weblogic app server instead of using in-built jetty. Can someone let me know how to do that? I googled it but not much info regarding set up in weblogic. Thanks in advance. -- You received this message because you are subscribed to the Google Groups

Re: Simple working example of the Data Presentation Widget CellTable

2010-06-02 Thread Andrew
The following code is what I'm woking on, hope it can help you: protected void init() { VerticalPanel container = new VerticalPanel(); initWidget(container); int pageSize = 10; CellTableUser cellTable = new CellTableUser(pageSize);

HttpSession Expiration Notice?

2010-06-02 Thread rileyscott
Hi All, I need a session expired notice added to my application. This is similar to Internet banking websites where they expire your session if it remains idle for too long. When a user's session has expired on the server, then the server will send a message to the browser. When the browser

Re: How do you connect to External RPC Service? In other words, can you expose RPC services to outside world by sharing only client/shared pieces?

2010-06-02 Thread Sripathi Krishnan
Its not a GWT limitation, its a browser restriction - Same Origin Policy. There are ways to workaround the limitation. In your case, you can setup a proxy server to forward the requests from one domain to another. Apache mod_proxy can help you with this. For example, suppose you have

Re: GWT 2.0

2010-06-02 Thread Sripathi Krishnan
java.lang.Class.getCanonicalName()Ljava/lang/String; Can you double check your JDK Version? Do you have multiple versions of JRE libraries in your classpath? --Sri On 1 June 2010 15:24, Kapil Kulkarni kapilkulkarnip...@gmail.com wrote: Hi, I am new to GWT and in learning mode. I working

Re: [gwt-contrib] Re: CompilePerms and classpath loading problem.

2010-06-02 Thread Marko Vuksanovic
I've created a patch (and submitted it for code review - http://gwt-code-reviews.appspot.com/579801/show). It seems to be working correctly for me On Tue, Jun 1, 2010 at 10:54 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I have modified the code to check the resource oracle (patch

[gwt-contrib] Re: UiBinderGenerator is unable to fetch resources (issue579801)

2010-06-02 Thread jat
http://gwt-code-reviews.appspot.com/579801/diff/1/2 File user/src/com/google/gwt/uibinder/rebind/UiBinderGenerator.java (right): http://gwt-code-reviews.appspot.com/579801/diff/1/2#newcode147 user/src/com/google/gwt/uibinder/rebind/UiBinderGenerator.java:147: Resource[] resources =

[gwt-contrib] Re: RR : Rework ImageResourceGenerator to address several issues (issue335802)

2010-06-02 Thread bobv
Ping. http://gwt-code-reviews.appspot.com/335802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Rework ImageResourceGenerator to address several issues (issue335802)

2010-06-02 Thread Joel Webber
Crap, sorry. I/O ate my brain. Reviewing now. Le 2 juin 2010 10:04, b...@google.com a écrit : Ping. http://gwt-code-reviews.appspot.com/335802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Rework ImageResourceGenerator to address several issues (issue335802)

2010-06-02 Thread jgw
LGTM. http://gwt-code-reviews.appspot.com/335802/diff/1/4 File user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java (left): http://gwt-code-reviews.appspot.com/335802/diff/1/4#oldcode221 user/src/com/google/gwt/resources/rg/ImageBundleBuilder.java:221: interface HasRect { On 2010/04/16

[gwt-contrib] Re: RR : Rework ImageResourceGenerator to address several issues (issue335802)

2010-06-02 Thread BobV
Thanks for the review. http://gwt-code-reviews.appspot.com/335802/diff/1/6#newcode167 user/test/com/google/gwt/resources/client/ImageResourceTest.java:167: assertEquals(128, r.scaledUp().getHeight()); I assume the point of testing both width and height here (even though only width is set

[gwt-contrib] Re: Faster version of LongLib (issue572801)

2010-06-02 Thread scottb
http://gwt-code-reviews.appspot.com/572801/diff/9001/10015 File user/super/com/google/gwt/emul/java/lang/Number.java (right): http://gwt-code-reviews.appspot.com/572801/diff/9001/10015#newcode245 user/super/com/google/gwt/emul/java/lang/Number.java:245: private static final int[]

[gwt-contrib] Deleting the stocks sample in favor of the Expenses sample. (issue580801)

2010-06-02 Thread jlabanca
Reviewers: jgw, Description: Deleting the stocks sample in favor of the Expenses sample. Review by: j...@google.com Please review this at http://gwt-code-reviews.appspot.com/580801/show Affected files: D bikeshed/src/com/google/gwt/sample/bikeshed/stocks/StocksCommon.gwt.xml D

[gwt-contrib] Re: Faster version of LongLib (issue572801)

2010-06-02 Thread rice
http://gwt-code-reviews.appspot.com/572801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Adding test cases for com.google.gwt.cell.client. (issue581801)

2010-06-02 Thread jlabanca
Reviewers: Dan Rice, Description: Adding test cases for com.google.gwt.cell.client. Please review this at http://gwt-code-reviews.appspot.com/581801/show Affected files: M bikeshed/src/com/google/gwt/sample/bikeshed/cookbook/client/MyTreeViewModel.java M

[gwt-contrib] Fixes issue #3708 (issue582801)

2010-06-02 Thread scottb
Reviewers: Keith, Description: Moves assertion checking inside the check block to avoid a bad assertion on unreachable local classes. http://gwt-code-reviews.appspot.com/582801 Please review this at http://gwt-code-reviews.appspot.com/582801/show Affected files: M

[gwt-contrib] Re: Fixes issue #3708 (issue582801)

2010-06-02 Thread kplatfoot
LGTM http://gwt-code-reviews.appspot.com/582801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re-added Expenses.html, which was lost in the merge. Also uses a URL parameter for mobile emplo... (issue582802)

2010-06-02 Thread jlabanca
Reviewers: Dan Rice, Description: Re-added Expenses.html, which was lost in the merge. Also uses a URL parameter for mobile employee id instead of hard coding it. We can review this more later, but this makes it easier to debug. Please review this at

[gwt-contrib] Command pattern and GWT.runAsync

2010-06-02 Thread Julio Faerman
Hi, I am trying to split a GWT app that uses the command (action) pattern. The problem is that GWT.create(ActionService.class) causes every subclass of the return and parameter types to be included in the initial fragment. For instance, my action interface is: public interface ActionService

[gwt-contrib] Re: UiBinderGenerator is unable to fetch resources (issue579801)

2010-06-02 Thread markovuksanovic
http://gwt-code-reviews.appspot.com/579801/diff/1/2 File user/src/com/google/gwt/uibinder/rebind/UiBinderGenerator.java (right): http://gwt-code-reviews.appspot.com/579801/diff/1/2#newcode147 user/src/com/google/gwt/uibinder/rebind/UiBinderGenerator.java:147: Resource[] resources =

[gwt-contrib] Fix issue 4423 - RPC ProxyCreator doesn't support methods with Type Parameters (issue575801)

2010-06-02 Thread andrew . teirney
Reviewers: , Please review this at http://gwt-code-reviews.appspot.com/575801/show Affected files: user/src/com/google/gwt/user/rebind/rpc/ProxyCreator.java Index: user/src/com/google/gwt/user/rebind/rpc/ProxyCreator.java ===

[gwt-contrib] UiBinderGenerator is unable to fetch resources (issue579801)

2010-06-02 Thread markovuksanovic
Reviewers: Ray Ryan, scottb, Lex, jat, Description: If class path context is changed UiBinderGenerator isn't able to fetch resources found in the new class path context. Please review this at http://gwt-code-reviews.appspot.com/579801/show Affected files:

<    1   2