Re: ColumnSortList serializing

2011-07-13 Thread Ambrus Péter
I understand your solution, but I think it will be nicer if I can get the sorted Column obejct on the server side, so I can get the sorted value in the comparator with the Column.getValue(MyBean) method. So basicly my question is can I somehow get the sorted Column object on the server? Peter On

Re: Controlling BIRT with GWT

2011-07-13 Thread Elhanan Maayan
i've been reading about security issues, although it make not seem related embedding "foreign" javascript in gwt is considered a security risk, you should look into that also. On Wed, Jul 13, 2011 at 3:39 AM, mike b wrote: > The BIRT dev environment has a way of exporting javascript to embed in

Re: Which version of javax.validation.validation-api?

2011-07-13 Thread Elhanan Maayan
does this mean i cannot use validation if i'm not using requestFactory? http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#validation On Tue, Jul 12, 2011 at 9:57 PM, Nick Chalko wrote: > GWT 2.4 beta include support for built in Validation take a look at > http://code.goo

Re: Need suggestions on supporting both Web and Desktop front-end.

2011-07-13 Thread Alain Ekambi
If you (or your customer) can afford writing 2 different client for the same application, then a native desktop client(be it Java, C#, or C++) is good choice. As for having your businnes code on the client(desktop). No matter which language you choose the businnes code will be on the client. So i

Aw: Re: Which version of javax.validation.validation-api?

2011-07-13 Thread Jens
I think you can use it without RequestFactory. You just have to start the validation process yourself before doing your server request. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://grou

Re: How to detect if a Popup is showing

2011-07-13 Thread Thomas Broyer
Any reason you don't use an "enhanced for loop"? for (Widget widget : RootPanel.get().getChildren()) { ... } It works because it's looping on widgets, not elements (look at the code, there's an ArrayList to store the child widgets; there's no magic) -- You received this message because you are

Populating ListBox's using Activities and Places

2011-07-13 Thread Craig
I have an application that uses the new Places and Activities methodology. In my View interfaces I have methods such as : HasValue getSubject(); HasValue getType(); Type is a simple POJO that has an id and name. The selections available for this is driven from the result of an RPC call.

Re: GWT 2.1+ Compiler issues

2011-07-13 Thread Brian
I'm not using Google Plugin for Eclipse. Its simply compiling GWT with Maven 2.1 from the command line On Jul 12, 7:44 pm, Jeff Larsen wrote: > I put this in the issue tracker, but I wrote a groovy script to delete every > file in the temp directory. Feel free to adapt it to however you need. > C

Re: Populating ListBox's using Activities and Places

2011-07-13 Thread Thomas Broyer
One of the goal of MVP is to make your presentation logic quickly & easily testable (in GWT, that means using "pure JUnit" rather than the sluggish GWTTestCase). As a result, you'd like to make you view as "dumb" as possible (without necessarily pushing everything to presenter though, as it'd lo

Re: Problem settings breakpoints

2011-07-13 Thread Paul Robinson
There was a bug in the JDK that caused this, but that's pretty old now. If you're on a reasonably recent JDK, it won't be that. Also, make sure you are debugging your program and not simply running it. On 12/07/11 19:01, Michał Błażejczyk wrote: Hi all, I'm fairly new to GWT development. I'v

Re: Rich Text Area, same as in Gmail > Compose Mail

2011-07-13 Thread Paul Robinson
Hi Paul, Probably you mentioned about this link: http://code.google.com/p/google-web- toolkit/source/browse/trunk/samples/showcase/src/com/google/gwt/sample/showcase /client/content/text/RichTextToolbar.java?r=4142 But it does not contain any button for smiley / imoticons, and no option for tr

serialize custom exception

2011-07-13 Thread Leung
Hi, I need to throw custom exception from doFilter. But it doesnt allow since it is overriden. Is it possible to serialize the exception? How to handle the serialized exception on the client side? Thanks -- You received this message because you are subscribed to the Google Groups "Google Web

Re: Rich Text Area, same as in Gmail > Compose Mail

2011-07-13 Thread Alain Ekambi
What about this ? http://code.google.com/p/gwt-ckeditor/ 2011/7/13 Paul Robinson > > Hi Paul, >> >> Probably you mentioned about this link: http://code.google.com/p/** >> google-web- >> toolkit/source/browse/trunk/**samples/showcase/src/com/** >> google

Re: Re: Which version of javax.validation.validation-api?

2011-07-13 Thread Adolfo Panizo Touzon
Hi everybody, I can confirm that I am using this API without using the RequestFactory. If you have any questions, write them! Regards. 2011/7/13 Jens > I think you can use it without RequestFactory. You just have to start the > validation process yourself before doing your server request. > >

Re: GWT CellTable Row Height Problem

2011-07-13 Thread DanG
Did you solve this? I'm having the same problem. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+un

Re: Need suggestions on supporting both Web and Desktop front-end.

2011-07-13 Thread Magno Machado
>>You could write your backend in java exposing services through requestfactory and consume them from the gwt and swing frontend >Does your suggestion still applies? The desktop application should be easy to install and do not need to configure any servers locally. I'm relative >now to Java, so I'

Catching MouseDown in custom widget's children

2011-07-13 Thread Johan Natt och Dag
Hi, With GWT 2.3 I have been struggling a while with the event handling in my custom widget. I have created a custom widget by extending SimplePanel. I am aware that it is usually better to create a Composite, but I have at least one reason not to do so in this case. Please do not reply that I sh

List Receiver in RequestFactory

2011-07-13 Thread camper2020
Hi there, Trying to make my way around GWT and request factory, I'm currently trying to receive a list of EntityProxies from the server, I am using locators and as such I might be making a mistake there somewhere. I am able to receive a single EntityProxy but when I pull through a List, a list of

Re: FlexTable and clickHandler depreciated?

2011-07-13 Thread Johan Natt och Dag
I tested the code with GWT 2.3 and I do not get any warnings. Try a "Project->Clean.." and/or "Project->Build All" in Eclipse. Regards, Johan On Jul 12, 11:32 pm, "seven.reeds" wrote: > Hi, > > gwt: 2.3.0 > eclipse: 3.6.2 > > I must be doing something wrong.  I have a FlexTable and I try to add >

How to use id attribute from UiBinder.

2011-07-13 Thread Shaikh Ahasanul Haque
I tried to include the id attribute like this But in that case the GWT is giving error. Is there any simple way to achieve this from UiBinder? Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send ema

Re: Populating ListBox's using Activities and Places

2011-07-13 Thread Adam
We use a slight various of Thomas' suggestion. We introduced a new interface / class called a "Broker" which we define all of our rpc calling methods in. Then be default we typically have the activity implement the Broker interface, but if need be we could have a new class implement it. We pass

Re: Need suggestions on supporting both Web and Desktop front-end.

2011-07-13 Thread David Chandler
Don't forget that HTML5 brings with it a lot of support for offline apps: app cache, local storage, and the filesystem API ( http://www.html5rocks.com/en/tutorials/file/filesystem/). GWT will auto-generate an app cache manifest for you via an app cache linker (see Chris Ramsdale's presentation on m

Re: Tutorial "Create your first web application: application does not work in "production mode.

2011-07-13 Thread David Chandler
Hi Scott, your post makes me think it might be time to retire the webAppCreator Getting Started tutorial in favor of Google Plugin for Eclipse. It used to be that webAppCreator produced custom shell scripts to start/stop the app; however, they were a pain to maintain on all platforms and the Google

Re: List Receiver in RequestFactory

2011-07-13 Thread Thomas Broyer
First, check that they all have a different ID and that they don't compare equals() to each others. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolk

Re: List Receiver in RequestFactory

2011-07-13 Thread camper2020
Hi Thomas, Thanks for the reply, it was the IDs, was thinking that the getId() and getVersion() needed to be implemented by the actual modifying was done automatically by the RequestFactory not that it needed to be done manually. Thanks for the help! Regards. On Jul 13, 3:12 pm, Thomas Broyer

Re: How to set ListBox selection with UiBinder?

2011-07-13 Thread Thad
Argh! The attribute is selectedIndex, not selectedItem. On Jul 12, 7:05 pm, Thad wrote: > Just that: How do I set a ListBox's selection with UiBinder?  I've > tried > >   >   >     first >   >   >     second >   >   >     third >   >   > > but selected disappears in the final HTML. > > I tr

Re: Java 7

2011-07-13 Thread Alexander Orlov
On Jul 5, 1:21 am, Magno Machado wrote: > Is there any current work on supporting java 7 syntax on gwt? Will it be > available on GWT 2.4? I think this question is of general interest. But as nobody replied yet, I suppose "not" :( -Alex -- You received this message because you are subscribed t

AbstractActivity handling and start

2011-07-13 Thread pansen
hey, I'm asking you guys for a best practice. Imagine the following case: - there is a class ``UserProfileActivity`` where you as user see your profile - you switch from your profile to another persons one, this causes the class ``UserProfileActivity`` to be used again - ``UserProfileActivity`` w

Re: Mac + Google Maps 1.1 Library + Google Web Toolkit 2.2.0 SDK Bundle for Eclipse 3.5

2011-07-13 Thread Soe
Alberto writes: > Hi Can you tell me how you solved it? I am facing exactly the same problem too. Did you simply recompile using an older-then-2.2.0 earlier version? Thanks, Soe -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post

Re: Java 7

2011-07-13 Thread Thomas Broyer
Well, GWT uses Eclipse's JDT (a patched version AFAIK), so it would first have to be updated to a version that supports Java 7, and then GWT code updated to support the changes (such as mapping "switch on strings" to the same "switch on strings" construct in JavaScript). …but Eclipse's JDT suppo

Re: Mac + Google Maps 1.1 Library + Google Web Toolkit 2.2.0 SDK Bundle for Eclipse 3.5

2011-07-13 Thread Eric Ayers
If you are using a Pre 2.2 version of GWT, you need to use the released version. If you are using 2.2 or later version of GWT, use the release candidate. On Wed, Jul 13, 2011 at 9:44 AM, Soe wrote: > Alberto writes: > > > > Hi Can you tell me how you solved it? I am facing exactly the same prob

Re: FlexTable and clickHandler depreciated?

2011-07-13 Thread seven.reeds
Thank you, thank you! I found the issue with Project->Clean! I had not used that before. The real issue was that when I was typing the "addClickHandler" line Eclipse underlined the ClickHandler portion and offered me the option to include one of several headers for ClickHandler. I picked one fo

Re: AbstractActivity handling and start

2011-07-13 Thread Thomas Broyer
I prefer the "no singleton" approach, because you don't have to clear state between calls of the activity, but there are alternatives: - have your activity listen to PlaceChangeEvent - have your ActivityMapper update the activity before returning it (this is the approach used in the Exp

Aw: AbstractActivity handling and start

2011-07-13 Thread Jens
In general its better to not use singleton activities because the browser can not garbage collect them if they are not needed anymore (not active) and you always have clean new instances. So I would change the UserProfileActivity to a non singleton. If you really do not want that (maybe the Us

TimeZoneInfo, how to use it or build a new one?

2011-07-13 Thread tdk
I have been searching hi and lo to find some information/answers to my problem: I need to report the clients timezone in my app and I don't want to show it as UTC+2 or such like. And I also need it to pass it to my web server for session specific information/convertions. So I need some format/info

Tr.lời: HTMLPanel Mouseover events

2011-07-13 Thread Nguyen Kim Kha
You can use FocusPanel to wrap your HTMLPanel. See: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/FocusPanel.html -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the

Re: AbstractActivity handling and start

2011-07-13 Thread pansen
ok, thanks for your responses. usually we don't have the activities bound as singleton explicitly, but as we saw now, they're injected into the ``MasterPanelAcitivityMapper`` via constructor arguments, which makes it de-facto to singletons ;) we also thought about inheriting ``AbstractActivity``

requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread Alexander Orlov
I've build GWT 2.4... There are several requestfactory-*.jars in the lib folder. Are those libs going to replace/consolidate any other GWT libs in the coming release? Currently I've to use hibernate-validator to be able to use RF functionality. Are any of the rf-*.jars going to replace the hiberna

Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread David Chandler
Hi Alex, The requestfactory jars in 2.4 are much smaller than gwt-servlet and are provided for the convenience of those using only RF for server communication. Validation will not be bundled with RF jars. You must continue to obtain validation from gwt-servlet-deps and/or validation-api + hibernat

R: Re: Re: Can't install "Google Web Toolkit Developer Plugin" under Chrome

2011-07-13 Thread Vlad
Hi Chris, I turned off the firewall to avoid any conflict, and also added my ip address, something like 26.2, and the loopback ip address to the GWT Developer option page, but Chrome still asks for installing the Google Web Toolkit Developer Plugin. -- You received this message because yo

Integrating datejs

2011-07-13 Thread tdk
Battling with timezones in my app I come across the datejs project (datejs.com). Is anybody out there who can help me integrating this stuff in my GWT (2.3.0) project? I followed the "Getting started" examples but executing anything described therein results in errors like "undefined" in Firebug.

Please help - GWT Designer / UiBinder bug or clueless new user?

2011-07-13 Thread cri
I posted this issue before but didn't get any help so trying again... Using GWT Designer, when looking at a UiBinder *.ui.xml file in the "Design" tab, the "setStyle" property doesn't appear in the "Properties" window. Shouldn't the property be there? The docs seem to indicate that it should be. Th

Re: HTMLPanel Mouseover events

2011-07-13 Thread Thomas Broyer
I guess GWT Designer doesn't support it, but you actually bind any event you like to any widget using Widget#addDomHandler. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.co

Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread Thomas Broyer
Actually, hibernate-validator (or any other JSR303 validator) is not required. If you don't have a JSR 303 validator in classpath, you'll have an info message printed to your log at startup and that's all, it'll work OK (my unit tests are green despite the absence of hibernate-validator FWIW). A

Re: Populating ListBox's using Activities and Places

2011-07-13 Thread Thad
I'm stumped on how dumb I can make a particular view. Maybe this is another thread, but I have a view with two FormPanels, each FormPanel holding a FileUpload. In my onSubmitCompleteHandlers, I'd like the view to respond, in once case by calling an RPC function. How do I get all this into my presen

GWT Spring MVC implementation

2011-07-13 Thread Nitin
Hi, I am trying to use GWT in my existing Spring Web MVC project. I am having 2 problems: a) I am using Maven. When GWT code is compiled, the compiled files (including browser permutations html files and .nocache.js) will be generated in the root of application war. I want it to be created in /WE

dispatch request from one RemoteServiceServlet to another

2011-07-13 Thread Ash
Hello i am using GWT RPC with Spring. when i process the GWT RemoteService service RPC.invokeAndEncodeResponse creates RemoteServiceServlet separate than the RemoteServiceServlet used by Spring. the result is a null value for getThreadLocalRequest() in GWT RemoteServiceServlet. My question is how

Re: Integrating datejs

2011-07-13 Thread Thomas Broyer
Are you using $wnd.Date to access the "enhanced" Date object? Also, how are you loading the date.js script in your app? See http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html (if you haven't already) FYI, searching for "datejs gwt" on Google leads to http://code.google.

Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread David Chandler
Minor clarification: a validation impl like hibernate-validator is not required except for some configurations of Spring, in which case the presence of validation-api without a corresponding impl will cause server startup to fail. IIRC, that's why we had to unbundle validation-api from gwt-servlet.

Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread Thomas Broyer
On Wednesday, July 13, 2011 5:28:34 PM UTC+2, David Chandler (Google) wrote: > > Minor clarification: a validation impl like hibernate-validator is not > required except for some configurations of Spring, in which case the > presence of validation-api without a corresponding impl will cause ser

Playing MP3 and AVI in GWT application

2011-07-13 Thread shahid
What is the best way to support playing MP3(audio) and AVI (video) files in a GWT application. We have gone a long way into developing our application on top of GWT and now we have a requirement to support playing mp3 and avi files. However I can't find a widget or player that I can use with GWT to

Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread David Chandler
On Wed, Jul 13, 2011 at 11:41 AM, Thomas Broyer wrote: > > > On Wednesday, July 13, 2011 5:28:34 PM UTC+2, David Chandler (Google) > wrote: >> >> Minor clarification: a validation impl like hibernate-validator is not >> required except for some configurations of Spring, in which case the >> prese

Re: Playing MP3 and AVI in GWT application

2011-07-13 Thread David Chandler
HTML5 to the rescue... http://www.slideshare.net/turbomanage/gwt-plus-html-5 http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/media/client/Audio.html http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/media/client/Video.html The APIs are changing slig

Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread Alexander Orlov
On Jul 13, 5:04 pm, David Chandler wrote: > The requestfactory jars in 2.4 are much smaller than gwt-servlet and are > provided for the convenience of those using only RF for server > communication. Validation will not be bundled with RF jars. You must > continue to obtain validation from gwt-serv

Re: Java 7

2011-07-13 Thread Jeff Larsen
Also, GWT added support for Java 5 when Java 1.4 reached EOL, and Java 6 was already released, and GWT does not officially support Java 6 (that's going to change, and a few features are already there, such as @Override on implementations of interface methods, and String#isEmpty); let's hope it

Re: R: Re: Re: Can't install "Google Web Toolkit Developer Plugin" under Chrome

2011-07-13 Thread Chak Lai
You may want to try the offline installation Firefox - https://dl.google.com/dl/gwt/plugins/firefox/gwt-dev-plugin.xpi Chrome - https://dl.google.com/dl/gwt/plugins/chrome/gwt-dev-plugin.crx Safari - https://dl.google.com/dl/gwt/plugins/safari/gwt-dev-plugin.dmg -- You received this message b

Re: requestfactory-*.jar libs in GWT 2.4

2011-07-13 Thread Alexander Orlov
On Jul 13, 5:41 pm, Thomas Broyer wrote: > On Wednesday, July 13, 2011 5:28:34 PM UTC+2, David Chandler (Google) wrote: > > > Minor clarification: a validation impl like hibernate-validator is not > > required except for some configurations of Spring, in which case the > > presence of validation-a

Re: Java 7

2011-07-13 Thread Thomas Broyer
GWT requiring a Java6 JVM is different from officially supporting Java 6 language features in what the GWT Compiler accepts as input ;-) (I believe Java 6 is supported –as I said, at least some features already are, for quite some time, and I've almost always been using Java 6 compliance level

RequestFactory + collectios

2011-07-13 Thread FrugoFrog
Hi Dev guides say that RF supported collection types are Set and List Is there a way to get around RF this limitation? What do you do if an entity contains a map? thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this gro

java.lang.Character emulation

2011-07-13 Thread AdrianBlakey
What's the best way to implement isWhitespace(char c)? It's not included in the GWT emulation. I read an earlier post that advises writing a java regex but is this really sensible? It gets a bit too involved and you need an emulation of CharBuffer since that's all native code. Isn't it better to

Re: RequestFactory + collectios

2011-07-13 Thread Thomas Broyer
On Wednesday, July 13, 2011 7:48:27 PM UTC+2, frog wrote: > > Hi > > Dev guides say that RF supported collection types are Set and List > Is there a way to get around RF this limitation? What do you do if an > entity contains a map? > Send a List of "pairs" (make a ValueProxy for that) instead,

Many problems with designer LoginManager tutorial

2011-07-13 Thread richw
I'm trying to follow this tutorial: http://code.google.com/webtoolkit/tools/gwtdesigner/tutorials/loginmanager.html I'm a real Java newbie, and perhaps some of the following confusion is due to that. 1. 1. Set the path to the GWT installation directory. -> It doesn't tell my which level of the dir

Re: Designer Problem : « uibinder template should be in client package »

2011-07-13 Thread khiem nguyen
try to move package1.gwt.xml into package1, package2.gwt.xml into package2. i have this kind of issue too, keeping this helps: package client server shared module.gwt.xml On Wed, Jul 13, 2011 at 8:29 AM, cruser wrote: > Thanks Kojo, > > I had a look there and all the sourc

Re: java.lang.Character emulation

2011-07-13 Thread Jim Douglas
Looks reasonable, but the GWT team will want to probe this at the margins (is it consistent with Java? does it need to be?). FWIW, the open issue for this is: http://code.google.com/p/google-web-toolkit/issues/detail?id=1983 Definitions of isWhitespace(): http://en.wikipedia.org/wiki/Whitespace

Re: GPE Support for m2e 1.0

2011-07-13 Thread cheleb
Hi Mike, Sorry for the late reply. To begin you can try/take a look at: https://github.com/cheleb/m2eclipse-wtp-gdt Here is a first attempt (from Fred Bricon and I) to support GWT / m2e for indigo / m2e 1.0 I guess that google will soon support m2e out of the box (the current GEP depends on

Re: java.lang.Character emulation

2011-07-13 Thread AdrianBlakey
In order successfully translate into js and not cause gwtc to throw, the method signature has to be exactly the same - therefore the native code needs to be put in a private method that is called from isWhitespace. On Jul 13, 10:54 am, AdrianBlakey wrote: > What's the best way to implement isWhit

ConditionalProperties

2011-07-13 Thread Gal Dolber
Hi, Is this working already? http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties I made a small project example but when I compile it I get only 6 permutations, when I should get 8? (5 other browsers + (safari * mobile.user.agent))? the documentation says

java.lang.Object emulation - clone

2011-07-13 Thread AdrianBlakey
I added methods for clone and array clone as described in another thread, to google.gwt.emul.java.lang and replaced them in gwt- user.jar. I now get the following gwtc errors at the point where "clone" is encountered in my java code - Resolving com.google.gwt.cell.client.FieldUpdater Found

Complex Panel

2011-07-13 Thread gangurg gangurg
I am trying a build a panel which can take text , widgets anything . This is what I am trying to do As the user types in a Text , check the text and if necessary build a widget . Example : if user types in USA, inside the panel i want to replace the word USA with Image of USa flag or a GWT

Re: How to detect if a Popup is showing

2011-07-13 Thread Craig Mitchell
getChildren() doesn't exist (in GWT 2.2.0). However, I could have used RootPanel.get().iterator(). I would have thought when GWT compiled the widgets, they would turn into a or something similar, and their type would be lost, however, I'm clearly wrong, as it works a treat! -- You received

Re: How to detect if a Popup is showing

2011-07-13 Thread Craig Mitchell
Sorry, getChildren() does exist, however, it's a protected method. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/EJo_4b9Lj6oJ. To post to this

Re: How to detect if a Popup is showing

2011-07-13 Thread Thomas Broyer
Oh right, sorry, missed the 'protected' keyword in the javadoc. Note however that HasWidgets extends Iterable (hence the existence of RootPanel.get().iterator()) so you could write "for (Widget w : RootPanel.get()) { ... }" (not sure I like it though) -- You received this message because you a

Re: Need suggestions on supporting both Web and Desktop front-end.

2011-07-13 Thread Warren Tang
I'll definitely check the Google IO videos. But I assume the new HTML5 features won't work in legacy browsers like IE6? Anyway I don't think it can help me. The desktop application is offline (for a single user), but it should be able to execute *real* java code (not only javascript). I got the

RequestFactory several locators for a domain object

2011-07-13 Thread Sydney
I want to be able to use different locators for the same domain object. I use Twig and it has an option to load an object fully or partially. When I run the lite request, the wrong locator (TwigLocator) is used instead of TwigLiteLocator. My current implementation is: Proxies @ProxyFor(value =

Re: Need suggestions on supporting both Web and Desktop front-end.

2011-07-13 Thread Craig Mitchell
I have done this. I embedded GWT inside a Jetty server and ran it on the users PC. It all launches from a JNLP file. You can check it out if you like http://simplevnc.appspot.com/ (still very much in beta, but shows you downloading and running a GWT web server). BTW: Most companies I know o

How to run development mode on a separate web server

2011-07-13 Thread Eric Park
Hello, I'm running a tomcat web server with spring-framework installed. How can I run GWT development mode on a separate web server??. I also followed the instruction from the GWT website but still could not figure out how. Any help will be appreciated. Thank you -- You received this message b

Serialization Exception

2011-07-13 Thread richip
We're coming up with a SerializationException for an RPC call DTO that we can't seem to resolve. Essentially, I've added an instance of a class that extends ArrayList (where VStruct is a Serializable class) and contains one Serializable field. Does someone know what our problem might be? If not, ar

Re: Need suggestions on supporting both Web and Desktop front-end.

2011-07-13 Thread Alain Ekambi
What do you mean with "run real java code ? " 2011/7/14 Craig Mitchell > I have done this. I embedded GWT inside a Jetty server and ran it on the > users PC. It all launches from a JNLP file. > > You can check it out if you like http://simplevnc.appspot.com/ (still > very much in beta, but s

Re: Integrating datejs

2011-07-13 Thread tdk
On 13 Jul., 17:22, Thomas Broyer wrote: > Are you using $wnd.Date to access the "enhanced" Date object? yes, I found this valuable hint in one of your posts! Right now I'm trying the examples mentioned in "Getting started" and even they don't work. > Also, how are you loading the date.js scrip

Aw: Serialization Exception

2011-07-13 Thread Jens
Do you have a no-arg default constructor in your class? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/vTvqxrR5ZM4J. To post to this group, sen

Re: Resizing display regions in a complex ui

2011-07-13 Thread Anders
Thanks! Looking at your code example cleared up the sizing issues. Dunno if it's the best implementation but I ended up making an app controller class that handles the application layout, and is used to hook up the different mappers in the entry point class: public class AppControllerImpl implemen

Re: Integrating datejs

2011-07-13 Thread tdk
On 13 Jul., 17:22, Thomas Broyer wrote: > FYI, searching for "datejs gwt" on Google leads > tohttp://code.google.com/p/kiyaa/wiki/Moduleswhich already provides a GWT > wrapper for DateJS. this no good, it doesn't even compile. It inherits stuff that isn't part of the jar file. I just copied th

Setting Entry point different html pages

2011-07-13 Thread aman
Hi, I am changing my html page by using Window.Location.replace("newURL"); now I want to set the Entrypoint class for the html page having "newURL". Thanks, Aman -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, sen