Special character 'apostrophe issue on tab title

2010-11-11 Thread annuk
Special character 'apostrophe issue on tab title iam relatively new to GWT I have a problem with special charcter ' apostrophe on my tab Whenever my tab title contains special character ' apostrophe the tab hangs.i am not able to close that tab... eg:if my tab title is google's then i am not

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 http://timepedia.blogspot.com/2007/06/gwt-demystified-generators-part-3-

Gwt 2.1 sample project called DynaTableRf not working ?

2010-11-11 Thread suresh babu
Hi I have downloaded the GWT 2.1, when I try to run the sample project called DynaTableRf, It is showing compile time error in javax.validation and in @NotNull, @Size(min = 1) etc... I am working with Eclipse 3.6(Helios) IDE, with Gwt 2.1. Why is this error, Any suggestion about this much appr

Re: Junit blows up in HTMLunit

2010-11-11 Thread Didier Durand
Hi, Does your test case extends GWTTestCase: see http://code.google.com/webtoolkit/doc/latest/DevGuideTesting.html#DevGuideJUnitCreation for all details regards didier On Nov 11, 5:59 pm, darkling wrote: > I'm trying to build some unit tests for a GWT application. > > I'm using GWT 2.2, SmartGW

UiBinding at run time

2010-11-11 Thread TedM
Hi GWT Community, I recently noticed the UiBinding feature in GWT and at first I was really excited because I was using something like this in my form template prototype. But I found out the UiBinding is a compile time thing, which was a major disadvantage for me. because I would like to make ne

Re: Entire Site in GWT?

2010-11-11 Thread lineman78
If your site is big enough to require a dedicated server I recommend Glassfish, but some projects just aren't big enough and shared Java hosting is very difficult to come by. Last time I looked for shared Java hosting some were starting to use Resin due to it's capability of handling both PHP and

Re: how to get regex(Pattern and Matcher) working in client side

2010-11-11 Thread lineman78
Thats nice that they finally added full regex capability. If you need to access a capture group in older versions of GWT use this: public static native String getRegexGroup(String toSearch, String regex, int groupNum) /*-{ return toSearch.match(regex)[groupNum]; }-*/; Or if you need to a

How to change the panel in Activity.start()

2010-11-11 Thread Julio Faerman
I want to start one activity (my form) inside another (my app). I am trying to do that with the 2.1 MVP Framwork and would like to know... 1) Is it possible to configure the ActivityManager (or add place parameter) so that my FormActivity.start() receives a inner panel of my app instead of the out

Re: Not possible to extends CellTree or CellBrowser

2010-11-11 Thread Thomas Broyer
On 11 nov, 23:37, Julien Dramaix wrote: > Hello, > > I'm a bit disapointed by the API of CellTree and  CellBrowser classes. > I'm trying to extends CellTree and CellBrowser to add some stuff when > It renders a cell but it not possible because the API is too closed. > Ex for the CellBrowser : > C

Re: how to get regex(Pattern and Matcher) working in client side

2010-11-11 Thread Thomas Broyer
On 11 nov, 20:34, Jim Douglas wrote: > This can be used in GWT client code: > > http://download.oracle.com/javase/6/docs/api/java/lang/String.html#ma...) > > (Of course, you still need to be aware of the differences between Java > and JavaScript regex implementations). > > To see if a given Java

Not possible to extends CellTree or CellBrowser

2010-11-11 Thread Julien Dramaix
Hello, I'm a bit disapointed by the API of CellTree and CellBrowser classes. I'm trying to extends CellTree and CellBrowser to add some stuff when It renders a cell but it not possible because the API is too closed. Ex for the CellBrowser : CellBrowser.BrowserCellList class is package protected C

How can I add an image to a CellTree leaf node that is visually at the same level as the non-Leaf +/- images?

2010-11-11 Thread Blackberet
I am using the basic resources styles they line up like this; + XXX + YYY - ZZZ * aaa + YYY * where * is the image I've added for a leaf node. The samples or tests have this same problem as well when you use homogeneous nodes. They actually do not have an image for the le

Re: MVP : VP to VP and Nested View communication

2010-11-11 Thread zixzigma
Thank you everyone for your insights. upon further investigation, I have two more related questions, regarding how to implement this Presenter to Presenter communication: Question #1: should Presenter to Presenter communication be through Composition (Has-A) relationship, or eventBus one Presente

Re: how to get regex(Pattern and Matcher) working in client side

2010-11-11 Thread Jim Douglas
This can be used in GWT client code: http://download.oracle.com/javase/6/docs/api/java/lang/String.html#matches(java.lang.String) (Of course, you still need to be aware of the differences between Java and JavaScript regex implementations). To see if a given Java feature will work in GWT client c

how to get regex(Pattern and Matcher) working in client side

2010-11-11 Thread anjan bacchu.dev
We're using GWT 2.03 along with SmartGWT 2.2. I'm trying to use a regex like below in client side code. Pattern pattern = Pattern.compile("\\\"(/\d+){4}\\\""); String testString1 = "[\"/2/4/5/6/8\",\"/2/4/5/6\"]"; String testString2 = "[ ]"; Matcher matcher = pattern.matcher(testString1)

google plugin for eclipse 1.4.0

2010-11-11 Thread pipe
My GWT project manages its dependencies with IvyDE. Since I upgraded to this plugin version, I receive this error when I launch the GWT compiler: Loading inherited module 'com.extjs.gxt.ui.GXT' [ERROR] Unable to find 'com/extjs/gxt/ui/GXT.gwt.xml' on your classpath In previous version I didn't

How can I get a MenuBar's popup menu to pop down after the cursor leaves the popup menu?

2010-11-11 Thread Blackberet
this is weird behavior because the popup menu just stays there and forces me to click somewhere outside it in order for the popup to pop down. thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to goo

Re: Multiple Entrypoints

2010-11-11 Thread Jeff Larsen
Wouldn't it be more performant to have one larger js file that gets downloaded once than 25 separate js files for each tiles page? If it starts getting too big, you could aways introduce RunAsync and then as each jsp page downloads it would pull down only the necessary compiled javascript if it wa

Multiple Entrypoints

2010-11-11 Thread Pablo G.F
I want to have several EntryPoints. My first idea was that having code separate in several EntryPoints would generate so many app.nocache.js as EntryPoints. I´d like this because I'm gonna embebbe this javascript generated in jsp pages with Tiles pattern. So I ´ll just use the exact javascript I ne

Re: anything like smartgwt but totally compatible with gwt?

2010-11-11 Thread Dan Billings
Yeah I find it fully interoperable. On Nov 11, 7:17 am, gcstang wrote: > Not sure what you mean by interoperable, if you could give examples it > would help. > > I've been using SmartGWT for a while on an Admin type tool for our > commerce suite and so far it has been very useful. > > On Nov 10,

SplitLayoutPanel has a setWidgetMinSize(Widget, int) is there a way to do setWidgetMaxSize(Widget, int) ?

2010-11-11 Thread Blackberet
Basically I have a situation where I want to display the Splitter but not have it be able to resize a panel that is collapsed. Theres is a control on the panel which un-collapse's it. So I am thinking if there is a way to fix the maximum size of the collapsed panel which is a Widget in a SplitLayo

Re: Expenses sample failure

2010-11-11 Thread har_shan
Does anyone share any solution? Is this an err in sample itself or we are doing something wrong? am struck in kickstarting my gwt (+ maven) project because of this - expenses sample seem to be the perfect start to me. Thanks for your help. On Nov 11, 6:57 pm, Sun wrote: > i exactly have the sam

Re: RequestFactory and Security/Authentication

2010-11-11 Thread Stephen Haberman
> On 10 nov, 18:35, Stephen Haberman wrote: > > > In the current state, I honestly doubt that RequestFactory should > > > be used in a productive environment, as it introduces really > > > hard-to-overlook security problems. > > > > That was my impression was well. > > I think it really depends

Junit blows up in HTMLunit

2010-11-11 Thread darkling
I'm trying to build some unit tests for a GWT application. I'm using GWT 2.2, SmartGWT 1.6, JUNIT 4.5 (I also tried JUNIT 3.8), Tomcat 6, and Netbeans 6.9.1. What happens is that I'll try to run my tests and the test will crash hard with the following exception: Exception in thread "htmlUnit cl

Re: array of suggestBox?

2010-11-11 Thread jhulford
You're not using a valid array constructor...To do so would look something like this: SuggestBox[] countries = new SuggestBox[]{new SuggestBox(countryOracle)}; However that just creates an array w/ a single SuggestBox in it. Since you indicate the user will potentially want to add an unknown numb

Re: MVP : VP to VP and Nested View communication

2010-11-11 Thread PhilBeaudoin
As Nicolas, though, I suggest you never use the event bus from your view. Let your presenter do the talking. On Nov 11, 5:01 am, Jambi wrote: > I think an EventBus would work fine here. Check out this > tutorialhttp://code.google.com/webtoolkit/articles/mvp-architecture.html > (Events and the Ev

Re: Correct usage of CompositeEditor?

2010-11-11 Thread billy
Just a note to anyone come to this Finally i add a method in my event object like Event getSelf(){ return this; } void setSelf(){ } so my view object now have three editor with @Path("self") NameEditor @Path("self") LocationEditor @Path("self") TimeEditor Please be w

Re: RequestFactory & Editor Framework: AssertionError: addInvocation() should have failed

2010-11-11 Thread Jack
Oh I totally missed that one. With a call to persist it works. Don't know why I dont got this. Seems logical to tell the RequestContext what to do when driver.flush().fire(..) is called. Now as editor + persisting works I realize that after driver.flush().fire() successfully finished the object I

Re: Dev plugin for firefox 3.7

2010-11-11 Thread skrat
There is a big demand for this plugin. And unsatisfied :( On Nov 9, 11:34 am, csillag wrote: > On okt. 26, 00:54, slowpoison wrote: > > > On Sep 14, 8:21 am, John Tamplin wrote: > > > > I am working on it right now.  I have it working on FF40, but I am > > > still trying to get it where one XPI

problem while saving entity with collection while using RequestFactory :"sideEffects":{"DELETE"

2010-11-11 Thread agi
Hello, I've started to use RequestFactory in my project, but I have following problem. I have Classes class Professor { @ManyToMany(...) List subjects; ///setters getters etc } I have created all needed architecture (Proxys, Requests etc) In my application I do : 1) I am fetching List of al

Re: CellTable column text alignment

2010-11-11 Thread Lukas Herman
Thanks for pointing this out. This adds class name to colgroup col, where only limited subset of CSS properties is allowed (http://www.w3.org/TR/CSS2/tables.html#columns). Unfortunately text-align is ignored when set on element. Anyway, addColumnStyleName() requires additional index over added col

Re: uibinder and nested layout

2010-11-11 Thread Baloe
Hi, We are making something similar, but I'm not sure whether we are using the same simple solution as you are. Can you give a small small piece of example code which explains your approach? Thanks a lot!! Baloe On 10 nov, 17:58, Sachin Dole wrote: > thank you! I totally got it. > > On Tue, No

Re: Expenses sample failure

2010-11-11 Thread Sun
i exactly have the same error, before saw this thread i started a new thread. can anybody shed some light on this? On Nov 8, 2:25 am, har_shan wrote: > i just checked out expenses sample project from trunk and seeing > compilation errors in > eclipse:http://google-web-toolkit.googlecode.com/svn/

gwt2.1 Expense example--eclipse reported error to @Proxyfor

2010-11-11 Thread Sun
hi all: After downloading the project i mentioned above from gwt2.1 trunk, there are some errors in my eclipse project: @ProxyFor(com.google.gwt.sample.expenses.server.domain.Employee.class) public interface EmployeeProxy extends EntityProxy { } eclipse said: com.google.gwt.sample.expens

Re: Why does Google not support Maps V3 on GWT?

2010-11-11 Thread Eric Ayers
I would not recommend adopting the change branch changes/vinays/gwt-googe-maps-v3 unless you are a glutton for punishment. We are taking liberties with changing the API. If think you really need Maps v3 and you wnat to start now, use the http://code.google.com/p/gwt-google-maps-v3/ project. This

Re: anything like smartgwt but totally compatible with gwt?

2010-11-11 Thread gcstang
Not sure what you mean by interoperable, if you could give examples it would help. I've been using SmartGWT for a while on an Admin type tool for our commerce suite and so far it has been very useful. On Nov 10, 11:29 am, Sachin Dole wrote: > Hey Guys, > > At our workplace, we use smartgwt and l

Re: Support for IE9

2010-11-11 Thread Thomas Broyer
On 9 nov, 19:45, Navdeep wrote: > Are there any plans for google web tool kit to support IE9, IE9 beta > has been launched and a number of people have installed and have > started using the beta version. See http://code.google.com/p/google-web-toolkit/issues/detail?id=5125 -- You received this

Re: Error where creating instance of SimpleEventBus, GWT 2.1, Eclipse Plugin

2010-11-11 Thread Thomas Broyer
On 9 nov, 20:47, Bogdan Sulima wrote: > Hello all, > > code snippet causes strange error when running code in development > mode > > SimpleEventBus eventBus = new SimpleEventBus(); > > Caused by: java.lang.Error: Unresolved compilation problems: >         The type EventBus cannot be the supercla

Re: MVP : VP to VP and Nested View communication

2010-11-11 Thread Jambi
I think an EventBus would work fine here. Check out this tutorial http://code.google.com/webtoolkit/articles/mvp-architecture.html (Events and the EventBus). A View (Presenter) can fire an event to the EventBus and trigger events on a different View. On Nov 11, 3:57 am, zixzigma wrote: > Hello Ev

GWT 2.0.1 Upgrade Problem

2010-11-11 Thread Atilla İlhan KARTAL
Hi all; I using GWT2.0.4 and i upgraded 2.0.1 but i received this trace. GWT Compiling client-side code. Unknown argument: -out Google Web Toolkit 2.1.0 Compiler [-logLevel level] [-workDir dir] [-gen dir] [-style style] [-ea] [-XdisableClassMetadata] [-XdisableCastChecking] [-validateOnly] [-dra

Re: MVP : VP to VP and Nested View communication

2010-11-11 Thread Nicolas Antoniazzi
Hi, We implemented nested VP in our app. The inner presenter has an interface that the outer can talk to. Only presenter talk each other, never views. Views are just the responsability of the associated presenter. 2010/11/11 zixzigma > Hello Everyone, > > Problem: a View and its Presenter wan

Re: Driver Best Practices with CheckBox and RadioButtons

2010-11-11 Thread Geraldo Lopes
Thomas, Thanks for the information. That was my 1st shoot with Editor framework. Regards, Geraldo On 11 nov, 10:35, Thomas Broyer wrote: > On 10 nov, 14:42, Geraldo Lopes wrote: > > > will0, > > > Thanks for the code piece. I used it to make an extension ofListBox. > > > public class MyListBo

unit test servlet with access to session

2010-11-11 Thread decitrig
I have a RemoteServiceServlet that I'd like to test independently from my client code, however it needs access to an HttpSession object for a great many of the methods. I've thought of a few methods that seem a little hackish: I could refactor most of the logic into @VisibleForTesting methods that

Re: Driver Best Practices with CheckBox and RadioButtons

2010-11-11 Thread Thomas Broyer
On 10 nov, 14:42, Geraldo Lopes wrote: > will0, > > Thanks for the code piece. I used it to make an extension of ListBox. > > public class MyListBox extends ListBox implements > LeafValueEditor { I think you basically reinvented ValueListBox: http://google-web-toolkit.googlecode.com/svn/javadoc

Re: RequestFactory & Editor Framework: AssertionError: addInvocation() should have failed

2010-11-11 Thread Thomas Broyer
On 10 nov, 17:38, Jack wrote: > Hi, > > We start integrating RequestFactory and Editors into our app. But we > constantly get an "AssertionError:  addInvocation() should have > failed". From GWT source code it seems that this error will occur when > calling more then one request method defined i

Re: Is there a way to get the context root in GWT?

2010-11-11 Thread Thomas Broyer
On 10 nov, 18:45, Blackberet wrote: > I need to programmatically get the context root of my gwt web > application. > > How would I go about doing this? Have a look at GWT.getHostPageBaseUrl() -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gr

Re: popup a TabLayoutPanel

2010-11-11 Thread Paul Stockley
Yes it's possible, I use them in dialogs all the time. However, the restriction is that you have to set the size of the TabLayoutPanel explicitly in pixels or EM. I guess you could write a popup that implements the ProvidesResize interface (see javadoc for info). On Nov 10, 10:34 pm, nanotalk wro

Re: gwt 2.1, maven, eclipse 3.5

2010-11-11 Thread Frank Bølviken
Thank you David Chandler. I will look into that :) Frank On 11 Nov, 05:38, David Chandler wrote: > Hi Frank, > > I wrote such a guide in a recent post on the GWT > blog:http://googlewebtoolkit.blogspot.com/2010/08/how-to-use-google-plugin > Follow the steps in the last section. Steps 5 and

Re: RequestFactory and Security/Authentication

2010-11-11 Thread Thomas Broyer
On 10 nov, 18:35, Stephen Haberman wrote: > > In the current state, I honestly doubt that RequestFactory should > > be used in a productive environment, as it introduces really > > hard-to-overlook security problems. > > That was my impression was well. I think it really depends what your use c

Re: Maven stops with i18n generation error

2010-11-11 Thread Thomas Broyer
On 11 nov, 10:07, Alex Nederlof wrote: > I thought the release was official because it's in the Codehaus > repohttp://repo1.maven.org/maven2/org/codehaus/mojo/gwt-maven-plugin/2.1.0/ > > Did you get Maven to work? I was thinking of creating Maven dirs manually > this afternoon but if it's not g

Re: Performance improvements of GWT2.1 for long-based computations

2010-11-11 Thread Jeff Schwartz
Sorry, I meant support MS IE9b. On Thu, Nov 11, 2010 at 6:45 AM, Jeff Schwartz wrote: > Those numbers are quite impressive but what I find equally impressive is > just how much faster Chrome is over the other browsers, including FF beta. > BTW I know GWT doesn't fully suppoMS IE9b but it would be

Re: Performance improvements of GWT2.1 for long-based computations

2010-11-11 Thread Jeff Schwartz
Those numbers are quite impressive but what I find equally impressive is just how much faster Chrome is over the other browsers, including FF beta. BTW I know GWT doesn't fully suppoMS IE9b but it would be interesting to see how stands in relation to the other browsers. Jeff On Thu, Nov 11, 2010

Performance improvements of GWT2.1 for long-based computations

2010-11-11 Thread Lukas Laag
I have just finished porting my chess game (http://www.vectomatic.org/ gwt/lib-gwt-svg-chess/lib-gwt-svg-chess.html) to GWT 2.1 and I would like to report some performance measurements which highlight how much the situation has improved for long-based computations with the release of GWT2.1. The a

Re: RPC-Exception and i18n, while sharing validator code

2010-11-11 Thread Baloe
sorry, I mean in the second alinea "because it is in the client package. " -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email

RPC-Exception and i18n, while sharing validator code

2010-11-11 Thread Baloe
Hi all, I would like to throw an exception at the serverside with a user message. However, I can't access i18n strings at serverside, as these are at the client side. The main goal is to validate user-input at server and client side with the same code. How should I do this? I have something like t

Unexpected errors while 2.1 compiler validates units

2010-11-11 Thread skls
Migrating from 2.0 to 2.1 version I found unexpected errors in the compilation logs: [ERROR] Errors in 'jar:file://gwt-user-2.1.0.jar!/com/google/ gwt/validation/client/constraints/NotGwtCompatibleValidator.java' [INFO] [ERROR] Line 20: The import javax.validation cannot be resolved [INFO

Re: Deferred Binding with interfaces

2010-11-11 Thread Thalles
This also works! Thanks very much for your help! Bye Henry On Nov 10, 8:47 pm, Jeff Larsen wrote: > you could aways wrap the bundle in an implementation. > > interface BundleWrapper{ >      DefaultResources getResources(); > > } > > class BundleWrapperGoodBye implements BundleWrapper{ > >     D

Re: PureGWT Showcase Preview Part II

2010-11-11 Thread Vagner Araujo
Hi Nagin, 2010/11/10 Nagin Kothari > > Hi Vagner, > > The scroll table in the show case in good one. In addition to scrolling ,it > will be better if has following features too. > 1. Header resizing > 2.Column sorting > 3. Column hiding . > 4. Column freezing. > > Will these features be there in

Re: Maven stops with i18n generation error

2010-11-11 Thread Alex Nederlof
I thought the release was official because it's in the Codehaus repo http://repo1.maven.org/maven2/org/codehaus/mojo/gwt-maven-plugin/2.1.0/ Did you get Maven to work? I was thinking of creating Maven dirs manually this afternoon but if it's not going to work at all I won't spend the effort of try

Re: update a single widget lead to the whole page refresh?

2010-11-11 Thread Jason
here is my simplied code. I create a label and a flextable. the label is updated every 300ms. This page make my computer's CPU go up to 100%. public void onModuleLoad() { final Label dateLabel = new Label(); final FlexTable flextable = new FlexTable(); RootPanel.get("errorLabelContai