Bindery package refactoring?

2011-08-31 Thread Michael Allan
I've been wondering about the new bindery classes, as well. I found no explanation in the API. It looks like 2.3 may have been released in mid-transition. Ed wrote: > The class LegacyHandlerWrapper is used to wrap the new > HandlerRegistration. 2.3.0 does not have LegacyHandlerWrapper. I found

Re: Extra Outer ScrollPanel in Firefox

2011-08-31 Thread Michael Allan
> ListBox list = new ListBox(); > ScrollPanel scrollpanel = new ScrollPanel( list ); > VerticalPanel main = new VerticalPanel(); > main.add( scrollpanel ); What happens if you drop the scroll panel, and just add the list box? -- Michael Allan Toronto, +1 416-699-9528 http://zelea.com/ leslie

Re: Missing required argument 'module[s]' error

2011-08-31 Thread Pham Tran Quoc Viet
Resending. Please help. On Wed, Aug 31, 2011 at 9:14 AM, Pham Tran Quoc Viet < phamtranquocv...@gmail.com> wrote: > Hi all, > > I follow instruction in this page ( > https://sites.google.com/site/jeenigxt/gwt-ext-maven-and-eclipse) to setup > my first maven project for ext gwt. I got to the part

Re: fireOnResponseReceivedAndCatch on invoking setElement of Label in gwt v1.5.3

2011-08-31 Thread David
the exception: java.lang.AssertionError: Element may only be set once at com.google.gwt.user.client.ui.UIObject.setElement(UIObject.java:802) at com.compositesw.web.client.ui.CLabel.onAddInline(CLabel.java:28) at com.compositesw.web.client.ui.ContentPanel.addInline(Conten

Re: Manipulate a section in the html page

2011-08-31 Thread Kevin Courtney
Jeff & Thomas, Thanks to both of you, both of your solutions work great. Jeff, from what I've played with it so far, I tend to agree with you that I'll want to use a GWT widget to display to the user the final output instead of this HTML in my home page. But I think this is going to allow me to

Titanium Java Desktop Development with GWT4TiDesktop is almost HERE!

2011-08-31 Thread Alfredo Quiroga-Villamil
Titanium Java Desktop Development with GWT4TiDesktop is almost HERE! http://www.emitrom.com/comment/4#comment-4 Stay tuned for more updates. Regards, Alfredo -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send e

fireOnResponseReceivedAndCatch on invoking setElement of Label in gwt v1.5.3

2011-08-31 Thread David
When I upgrade my GWT applicaiton from version 1.4.60 to 1.5.3, I encount a exception when invoking setElement method for Label, please see my Label class: public class CLabel extends Label implements CWidget { public CLabel() { super(); } public CLabel(ContentPanel p, String

Re: GWT : How to call SERVLET FROM GWT_SERVLET and How to return value from target servlet to source servlet?

2011-08-31 Thread Abduxkur Ablimit
you can call a servlet from client side like this (may be you want put these code into AsyncCallback method body, from gwt servlet):         btn.addClickHandler(new ClickHandler(){             public void onClick(ClickEvent event) {                final String link = GWT.getModuleBaseURL() + "so

List of HTML Element to GWT Widget

2011-08-31 Thread Tom Carchrae
Hi All, Whenever possible, GWT defers to browsers' native user interface elements. > For example, GWT's > Button > widget > is a true HTML rather than a synthetic button-like widget built, > say,

Re: RequestFactory don't play nice with guice?

2011-08-31 Thread Daniel Dietrich
Wow, that works fine for me. Thanks a lot! -- 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+unsubsc

Re: JFileChooser

2011-08-31 Thread Jim Douglas
http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/gwt/user/client/ui/FileUpload.html On Aug 31, 4:17 pm, IHateSoda wrote: > Hello, > > I need to browse folder in my GWT application, I tried to implement an > applet (Gwt-AI, HTML applet = new HTML()applet.setHTML(" bla bla">") bu

JFileChooser

2011-08-31 Thread IHateSoda
Hello, I need to browse folder in my GWT application, I tried to implement an applet (Gwt-AI, HTML applet = new HTML()applet.setHTML("") but not success. Neither Gwt-AI (it seems that doesn't work with gwt 2.3, I got a deferred binding error) nor the other solution (no errors but no results). Som

custom tabs

2011-08-31 Thread nf...@pevco.com
I'm using TabLayoutPanel and would like to customize the tabs on the tab bar. Currently the active tab is white and the inactive tabs are gray. I've tried setting the background-color for the widget in the tab, but that didn't seem to work. I'd like the active tab to be green and the inactive t

Extra Outer ScrollPanel in Firefox

2011-08-31 Thread leslie
Mac OS X 10.5 Java 6 GWT 2.3.0 I'm having difficulty with my application rendering in Firefox. I've created a ListBox that will contain names and I've placed it in a ScrollPanel. ListBox list = new ListBox(); ScrollPanel scrollpanel = new ScrollPanel( list ); VerticalPanel main = new VerticalPan

Re: Inherited exceptions in GWT-RPC

2011-08-31 Thread Ryan
On Aug 26, 12:51 am, Paul Robinson wrote: > You shouldn't need to do anything. It should work as you thought. That is, > you can throw any subclass of the declared exception(s). > > Is there something about BException and CException that stops them from being > gwt-serializable? No, and in fa

Is it possible to flush the sub-editor of a CompositeEditor ?

2011-08-31 Thread Eric Andresen
I have a CompositeEditor that displays a list of sub-objects and allows me to add/delete/edit the objects in that list with sub-editors. I am seeing a problem where I edit one of my objects inside the sub-editor, and then try to refresh the list once the edit is complete. The issue I see is th

Re: How to exclude JUnit test files to be converted to javascript inside /src/test/java/ folder when the Project is using Maven.

2011-08-31 Thread Jason Pack
In your gwt.xml file, you can use or tags under your paths. Like so: -- 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/-/MEyD2dm4PFgJ.

Bing Maps in a GWT project

2011-08-31 Thread Jésica
Hi all, I just want to know if someone is currently using Bing API in a GWT project. I'm on the path of doing It but I haven't found any clue of working implementations. Thanks, Jésica. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To po

Handy Bit of Code for Integrating GWT and Google Maps v3

2011-08-31 Thread DartmanX
I was unsatisfied with the available options for integrating GWT and the Google Maps v3 api, so I turned to straight JSNI code. I created a utility class containing static methods for creating a map object, creating a bounding box for the map, creating a polygon to represent the border, and creatin

Re: HeaderLayoutPanel?

2011-08-31 Thread James Horsley
Thanks for the breakdown Thomas. At first I thought it was something particular to my application but I created a basic starter project and it doesn't show the SplitPanelLayout with the super basic example below. Oddly enough if you change the CSS position of the SplitLayoutPanel element to static

Re: Conditional CSS & Updates

2011-08-31 Thread Rylan
+1 On Aug 28, 11:39 pm, rth wrote: > Hi, > > I have a Conditional CSS block that calls isPortrait() at runtime and > correctly renders the right rule based on its return value. My problem > is that I cannot figure out how to get the condition to be reevaluated > in the future (e.g., when the orie

Shared Client/Server classes, compiled from different sources

2011-08-31 Thread Nerfy
Hiya, I've created a JavaScript array wrapping class for my client code, which works great (accessed like an arraylist, but compiles directly to a JS array with minimal overhead), which has proven to give a big gain in performance over the default emulated ArrayList. I've started on shared code (

Re: Click Listener on CellTableRow

2011-08-31 Thread Juan Pablo Gardella
You can extend CellTable and overwritte onBrowserEvent2. @Override protected void onBrowserEvent2(Event event) { super.onBrowserEvent2(event); String eventType = event.getType(); boolean isClick = "click".equals(eventType); // Get the event target. EventTarget eventTarget

Click Listener on CellTableRow

2011-08-31 Thread Foermchen82
Hi, I want to handle click events on cell table rows. But i'm not able to do this! I tried the following code: CellTable table = new CellTable(); final SingleSelectionModel model = new SingleSelectionModel(); table.setSelectionModel(model); table.addHandler(new C

How to exclude JUnit test files to be converted to javascript inside /src/test/java/ folder when the Project is using Maven.

2011-08-31 Thread BM
/src/test/java/ and /src/main/java/ folders are created by maven when you mavenised the GWT project. I also have statement in my gwt module XML file. I have package name as com.mycompany.project.client.activity inside / src/test/java/ folder which has files to test my activity classes. I get so

Re: RequestContext Overhead

2011-08-31 Thread John Maitland
I agree that it looks like the overhead is per-requestcontext. This is also reflected in the size of the abstract request factory vs the abstract request context. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send

Re: WindowBuilder/GWT Designer error

2011-08-31 Thread Konstantin Scheglov
Thank you, your example was helpful. I've fixed problem in WindowBuilder trunk. Problem is that you use old style Java project, when *.java and *.class files are directly in project folder, instead of separate "src" and "bin" folders. So, as work around until you will have new version of WindowB

Re: plugin failed to connect to hosted mode server at...

2011-08-31 Thread John Huss
You can try regenerating the jar index by running this command: jar i gwt-maps.jar -- 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/-/8_AvliNl8TcJ

Missing required argument 'module[s]' error

2011-08-31 Thread Pham Tran Quoc Viet
Hi all, I follow instruction in this page ( https://sites.google.com/site/jeenigxt/gwt-ext-maven-and-eclipse) to setup my first maven project for ext gwt. I got to the part called "Test So Far" and ran into this error when doing " Run As -> Web Application". I have been searching and trying differ

Re: GWT 1.52 Compile error

2011-08-31 Thread John Huss
You can try regenerating the jar index by running this command: jar i some-jar-file.jar -- 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/-/TkdaLOG

Re: Request implementation couldn't be found.

2011-08-31 Thread Thomas Broyer
Can you show you code ? (RatesRequest, RateProxy, and associated server-side classes –method declarations only–) It can be as simple as a method not being public, or a missing Locator/ServiceLocator on your @ProxyFor/@Service, or @ProxyFor/@Service not point at the right class; or possibly a m

Re: Request implementation couldn't be found.

2011-08-31 Thread Nik
The thing is that it happens when i try to fire a request with any of the methodes implemented on the entity side. Console is always saying [ERROR] Could not find matching method in synlogistics.ratesexchange.server.domain.Rate. Possible matches: synlogistics.ratesexchange.server.domain.Rate fi

Re: RootPanel Widget - Attach, detach, attach again

2011-08-31 Thread vmrggg
Thanks Thomas, Works like a charm now. Seems I was overdoing trying to get it right :) Best wishes, Vinicius Reinaldi -- 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

Re: Datepicker

2011-08-31 Thread Juan Pablo Gardella
See http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/datepicker/client/DatePicker.html in the example of the javadoc. 2011/8/31 nic > Hello, > > In my app, I have a datepicker. The format of my datepicker is > "dd.MM.". In firefox and google chrome, when I ente

Datepicker

2011-08-31 Thread nic
Hello, In my app, I have a datepicker. The format of my datepicker is "dd.MM.". In firefox and google chrome, when I enter for example 2011, the date is automatically to 1.1.2011 updated. Why ? Is there a possibility to disable this feature ? Thank you very much ! Nic -- You received this

Re: Gwt Editor Framework and value change notification

2011-08-31 Thread Thomas Broyer
No. The Editor framework follows a "flow synchronization" pattern; see http://tbroyer.posterous.com/gwt-21-editors for more details. -- 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

Re: RootPanel Widget - Attach, detach, attach again

2011-08-31 Thread Thomas Broyer
On Wednesday, August 31, 2011 3:56:12 PM UTC+2, vmrggg wrote: > > Hi! > > Sorry. Nobody has time to go through code. I understand that. > > Let me try to explain it in another way: > > RootPanel rp = RootPanel.get( "DIV_ID" ); > rp.add( widget1 ); > ... > rp.add( widgetN ); > RootPanel.detachOnWi

Re: HeaderLayoutPanel?

2011-08-31 Thread Thomas Broyer
On Wednesday, August 31, 2011 9:18:22 AM UTC+2, James Horsley wrote: > > Would love to have the naturally resizing header and footer but to > then add a SplitLayoutPanel as the center. Doing so causes nothing to > show which I'm guess is due to HeaderPanel not being a LayoutPanel? HeaderPanel i

Re: RootPanel Widget - Attach, detach, attach again

2011-08-31 Thread vmrggg
Hi! Sorry. Nobody has time to go through code. I understand that. Let me try to explain it in another way: RootPanel rp = RootPanel.get( "DIV_ID" ); rp.add( widget1 ); ... rp.add( widgetN ); RootPanel.detachOnWindowClose( rp ); At this point in time the event handlers of widget1 through widgetN

HeaderLayoutPanel?

2011-08-31 Thread James Horsley
Would love to have the naturally resizing header and footer but to then add a SplitLayoutPanel as the center. Doing so causes nothing to show which I'm guess is due to HeaderPanel not being a LayoutPanel? Any plans for a HeaderLayoutPanel? Cheers, James -- You received this message because you

Crazy Scrollbars in Chrome

2011-08-31 Thread Korneliusz Olejniczak
Hi, I'm having a problem with a scrollbar but only in Chrome. When i open my site, the scrollbar is sequentially hiding/showing itself. The sizes used in the onResized() look like this: Code: public void onResized(ResizedEvent event) { map.resize(MapContainer.this.getWidthAsString(),MapContaine

Gwt Editor Framework and value change notification

2011-08-31 Thread fry70
Hi all, I've created an editor that represents a complex object graph in its editor structure. Everything works quite well. Now I'm having the following question: Is there a way to get notified, if any of the properties of the object is changed within the editor and to get the changed object wit

Requestfactory : best practice for persisting updates with Locator

2011-08-31 Thread Dominik Steiner
Hi, I finally did a first try at RF and am wondering what is the best way to implement the persist method on a Locator class in order to deal with only the deltas send from the client? As right now my persist(T objectToPersist) method on the Locator is doing a create if the object has no id assoc

Re: GWT does not use resource properties file from target, but the once in src/main/resources. How to make it with placeholders?

2011-08-31 Thread Juan Pablo Gardella
Check http://mojo.codehaus.org/build-helper-maven-plugin/. With this plugin you can add sources folder. Try add a folder where you have the file processed by maven. 2011/8/31 mariyan nenchev > Yes, this is exactly the same problem. > > But the last post does not resolve it. > > On Wed, Aug 31, 2

Re: Java's "Write Once, Run Anywhere" for Mobile with GWT is Here!

2011-08-31 Thread Alfredo Quiroga-Villamil
And yes, add the map to the window. In this case. mainWindow.add(mapView); Regards, Alfredo On Wed, Aug 31, 2011 at 8:31 AM, Alfredo Quiroga-Villamil wrote: > Hello Navindian: > > You can do this pretty easily since we have already implemented it in the > API. This is supported today

Re: Java's "Write Once, Run Anywhere" for Mobile with GWT is Here!

2011-08-31 Thread Alfredo Quiroga-Villamil
Hello Navindian: You can do this pretty easily since we have already implemented it in the API. This is supported today for Android, iPad and iPhone. Below is a small snippet of what it would look like: Window mainWindow = UI.createWindow(); mainWindow.setTitle("My Map");

Re: GWT does not use resource properties file from target, but the once in src/main/resources. How to make it with placeholders?

2011-08-31 Thread mariyan nenchev
Yes, this is exactly the same problem. But the last post does not resolve it. On Wed, Aug 31, 2011 at 3:14 PM, Juan Pablo Gardella < gardellajuanpa...@gmail.com> wrote: > check the last post, perhaps help to you > > http://www.sencha.com/forum/showthread.php?114000-gwt-maven-plugin-and-the-filte

Re: GWT does not use resource properties file from target, but the once in src/main/resources. How to make it with placeholders?

2011-08-31 Thread Juan Pablo Gardella
check the last post, perhaps help to you http://www.sencha.com/forum/showthread.php?114000-gwt-maven-plugin-and-the-filtering-issue 2011/8/31 mariyan nenchev > Hi, > > I have gwt web project, which must use application.properties (on client > side) loaded as TextResource in the code. Everything

GWT does not use resource properties file from target, but the once in src/main/resources. How to make it with placeholders?

2011-08-31 Thread mariyan nenchev
Hi, I have gwt web project, which must use application.properties (on client side) loaded as TextResource in the code. Everything works fine, but now i want to centralize all properties values in maven pom.xml. So i made application.properties with placeholders like key1=${param1} and in the pom.x

Re: GWT : How to call SERVLET FROM GWT_SERVLET and How to return value from target servlet to source servlet?

2011-08-31 Thread Juan Pablo Gardella
Modularize. You can have a service pojo object and invoque this in both servlets. 2011/8/31 vaibhav bhalke > I have 2 servlets. > > One In GWT module i.e *BasicServiceImpl* extends RemoteServiceServlet > implements BasicMassUpdateService > > and other servlet *TargetServlet* extends HttpServlet

remove cache from requestfactory. it is possible?

2011-08-31 Thread Diego Lovison
at the dev guide "Note: RequestFactory caches ServiceLocator and service instances, so make sure both are thread-safe. " it is possible eliminate this? I would like use ejb thanks.. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post

Re: Java Applicaton and GWT Application talking to each other

2011-08-31 Thread J.Ganesan
Surely possible if your servletcontainer allows tcp/ip socket. Your swing application can have two-way communication with your server. But, your problem statement is not clear to me. J.Ganesan www.DataStoreGwt.com On Aug 31, 12:43 am, "m...@grayout.de" wrote: > Hello everybody, > > what I would

Re: GWT Developer Plugin for Firefox 6

2011-08-31 Thread Fabricio Pizzichillo
Thanks Michael 2011/8/31 Michael Vogt > Hello. > > > Can you pass the path to download the plugin? > > > I got it from here: > http://google-web-toolkit.googlecode.com/svn/trunk/plugins/xpcom/prebuilt/ > > > Greetings, > Michael > > -- > You received this message because you are subscribed to th

Re: GWT Developer Plugin for Firefox 6

2011-08-31 Thread Michael Vogt
Hello. > Can you pass the path to download the plugin? > I got it from here: http://google-web-toolkit.googlecode.com/svn/trunk/plugins/xpcom/prebuilt/ Greetings, Michael -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this g

Re: GWT Developer Plugin for Firefox 6

2011-08-31 Thread Fabricio Pizzichillo
Hi all Can you pass the path to download the plugin? Thanks! 2011/8/31 Thomas Broyer > Same here on Ubuntu 11.04 64bits. > > -- > 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.g

Aw: Re: HTML5 local object persistence for GWT

2011-08-31 Thread Harald Pehl
I started Piriti as an XML mapper for GWT back in January 2010. JSON mapping was introduced some months later. So it has no relation to AutoBeans. It's just an alternative way to (de)serialize POJOs. Although the output is very similar, Piriti is not based on marker interfaces, but real POJOs. S

Re: Aw: Re: Aw: Code splitting for activities

2011-08-31 Thread Craig Greenhalgh
Ok thanks guys, I'll wait for 2.4 Cheers Craig On 31/08/11 10:04, Jens wrote: The used AsyncProvider from GIN will be integrated in GWT 2.4 (see: http://code.google.com/p/google-web-toolkit/source/browse/releases/2.4/user/src/com/google/gwt/core/client/AsyncProvider.java). So if you do not d

Aw: Re: Aw: Code splitting for activities

2011-08-31 Thread Jens
The used AsyncProvider from GIN will be integrated in GWT 2.4 (see: http://code.google.com/p/google-web-toolkit/source/browse/releases/2.4/user/src/com/google/gwt/core/client/AsyncProvider.java). So if you do not depend on GIN you should wait for GWT 2.4. If you can't wait you can try and rewri

Re: Need help with parallel build (ant)

2011-08-31 Thread Thomas Broyer
On Wednesday, August 31, 2011 9:48:45 AM UTC+2, Wendel wrote: > > Thanks for the reply, I already got that working. For development the > permutations are disabled. > > I'd like to know how to compile the modules independently and then > link them together. If possible. That's not possible.

Re: Code splitting for activities

2011-08-31 Thread Thomas Broyer
So the first time you need your activity, your ActivityMapper actually returns 'null' ? (and loads the activity code in parallel) -- 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.goo

GWT : How to call SERVLET FROM GWT_SERVLET and How to return value from target servlet to source servlet?

2011-08-31 Thread vaibhav bhalke
I have 2 servlets. One In GWT module i.e *BasicServiceImpl* extends RemoteServiceServlet implements BasicMassUpdateService and other servlet *TargetServlet* extends HttpServlet in TargetServlet in diff module/package com.comp.server.servlets I am using GWT-RPC in my gwt module. I want to write o

Aw: Re: HTML5 local object persistence for GWT

2011-08-31 Thread joergviola
Thanks Harald Hey - Piriti is nice - if I only knew about it some months earlier, when I had to write a JSON-based API to a GWT App... How does it compare to AutoBeans? As of using Piriti for local storage: Each object instance in a graph has to be stored individually in the storage. So we woul

Re: Aw: Code splitting for activities

2011-08-31 Thread Craig Greenhalgh
Thanks Jens, What version of GWT do I need for this and do I need to use GIN ? I have recently removed GIN in favor of Errai IOC Thanks Craig On 31/08/11 09:00, Jens wrote: Take a look at: http://code.google.com/p/google-web-toolkit/issues/detail?id=5129 Thats what I do to code split activ

Re: GWT Developer Plugin for Firefox 6

2011-08-31 Thread Thomas Broyer
Same here on Ubuntu 11.04 64bits. -- 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/-/BE-SUO_3FjAJ. To post to this group, send email to google-web-

Aw: Code splitting for activities

2011-08-31 Thread Jens
Take a look at: http://code.google.com/p/google-web-toolkit/issues/detail?id=5129 Thats what I do to code split activities. Works pretty well. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visi

Re: Need help with parallel build (ant)

2011-08-31 Thread Wendel
Thanks for the reply, I already got that working. For development the permutations are disabled. I'd like to know how to compile the modules independently and then link them together. If possible. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Code splitting for activities

2011-08-31 Thread Craig Greenhalgh
Hi, I have been working on code splitting for my activites. I figured I could put this in the activity mappers. The following is a snippet of the getActivity method used to achieve this. I needed to put in a hack and store the activity in an array as this needed to be final in order for th

Re: Providing html contents directly to servlet

2011-08-31 Thread karim duran
Hi Vijeta, I don't really understand what you want to do, but it should work. don't forget to 1) set your response content-type -> res.setContentType("text/html") befor any output 2) close your stream - ServletOutputStream out = getOutputStream(); - out.write(xml.getBytes()); - out.clos