Re: SplitPanelLayout question

2010-04-16 Thread mkkm...@gmail.com
Hi, If you are using Hyperlink you need to setup History. You need to assiciate a token to each content you want to display and implement History.addValueChangeHandler(xx) method to do what you want according to the token. Otherwise you can a Label with a clickHandler and append the content to

RadioButtonGroup proposal

2010-04-16 Thread markovuksanovic
I think it would be nice to have a RadioButtonGroup object which would hold RadioButtons belonging to the same group. It would also implement a getSelected methold which would return currently selected RadioButton. An example of the code would be sth like. FormPanel fp = new FormPanel();

Re: Alternative to TableListener

2010-04-16 Thread moongwt
Doh ! didn't see that bit in the javadocs. Cheers On Apr 15, 10:57 pm, Thomas Broyer t.bro...@gmail.com wrote: On Apr 15, 10:03 pm,moongwtgroove...@googlemail.com wrote: Using 2.0.3 and noticed that TableListener has been deprecated. What should I be using instead? Deprecated. use

passing data across modules

2010-04-16 Thread Vik
Hie I have two gwt modules. in module 1 i am showing a popup on a page which ask login details. after hitting submitting button i want to pass the user name and password to a different module 2 which is kind of admin dashboard. So how do i pass these values across the module? Thankx and

fileUpload : problem

2010-04-16 Thread laurent
Hello , I've a problem with fileUpload Widget.It exist a method 'getFileName' to get the file browsed.But not to parse the file and get the absolute path of this.I work with a CSV file. More , is there possible to transform the file in BLOB for my GAE application? Exist it a method to change the

Re: Dynamic layout using the DockLayoutPanel

2010-04-16 Thread googelybear
Hi, I am struggling with the same problem: I use the DockLayoutPanel as my main container (being a good coder following Google's recommendations: Use the new LayoutPanels they are much better/predictable/ compatible ..so I hoped on the train) but I want the browser to display a scrollbar as soon

Re: example of styling vertical panel

2010-04-16 Thread helguita
Hello! Here it is an example: in your java class... VerticalPanel verticalPanel = new VerticalPanel(); HTMLPanel w = new HTMLPanel(Greetings); w.setStyleName(vp-htmlPanel); verticalPanel.add(w); in your css:

Unable to find 'de/go2one/sdui/client/MainView.gwt.xml' - But everything looks OK

2010-04-16 Thread malibubu
Hi, I've the following Problem: I want to compile my module MainView, but it fails with the error message Unable to find 'de/go2one/sdui/ client/MainView.gwt.xml'. Directory Structure: -de ---go2one -sdui ---MainView.gwt.xml ---client -MainView.java MainView.gwt.xml: module

Re: Unable to find 'de/go2one/sdui/client/MainView.gwt.xml' - But everything looks OK

2010-04-16 Thread Sripathi Krishnan
This line in your build.xml is incorrect - arg value=de.go2one.sdui.* client.*MainView / When you invoke GWT compiler, you pass the fully qualified name of your gwt.xml file (also called module name). In your case, it is de.go2one.sdui.MainView. --Sri On 16 April 2010 14:21, malibubu

Label.wrap not working in DevMode

2010-04-16 Thread David
I wanted to add a Label with ClickHandler to the title of a DialogBox. There is no direct support for adding widgets to the titlebar, but there is support for HTML. I tried out a little trick - before going on a queste to replace yet another widget in GWT: I use this as a content for the title:

Re: Unable to find 'de/go2one/sdui/client/MainView.gwt.xml' - But everything looks OK

2010-04-16 Thread malibubu
Works fine! Thank you :) :) :) :) On 16 Apr., 11:51, Sripathi Krishnan sripathikrish...@gmail.com wrote: This line in your build.xml is incorrect -  arg value=de.go2one.sdui.* client.*MainView / When you invoke GWT compiler, you pass the fully qualified name of your gwt.xml file (also called

Re: AsyncCalls

2010-04-16 Thread Sripathi Krishnan
You'd better issue the first request after a short delay (150ms for instance) so you can prevent doing the first 2 requests if the first 3 characters are entered fast enough by the user (which is generally the case) Wholeheartedly agree. @Muhannad - Instead of doing this manually, take a

Re: Unable to find 'de/go2one/sdui/client/MainView.gwt.xml' - But everything looks OK

2010-04-16 Thread malibubu
At least, there is one other, little problem: I'm using some classes in my EntryPoint/Composites which are placed in de.go2one.sdui.shared Currently, I got this Messages while compiling: [java] [ERROR] Errors in 'file:/F:/projekte/SharedDesk/src/

Re: Unable to find 'de/go2one/sdui/client/MainView.gwt.xml' - But everything looks OK

2010-04-16 Thread malibubu
Hehe, sorry :) I've found the answer by myself... I just added source path=shared/ and source path=client/ to the gtw.xml Bye On 16 Apr., 12:04, malibubu webmas...@mailball.de wrote: At least, there is one other, little problem: I'm using some classes in my EntryPoint/Composites which are

How to get rounded corners for FieldSet

2010-04-16 Thread sridevi macherla
Hi, How to get RoundedCorners through FieldSet.class? Thanks Sri -- 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 to

Re: UiBinder performances: widgets without ui:field still instantiate?

2010-04-16 Thread Paul Stockley
If you place widgets in your UI binder template then the system will instantiate the appropriate widgets even if you don't refer later to them in your code. The system still needs to create them as they are required to render the HTML page and implement interactions with the user. As a rule, I

Re: Dynamic layout using the DockLayoutPanel

2010-04-16 Thread Ian Bambury
You are trying to mix two incompatible concepts: A DockLayoutPanel added to the RootLayoutPanel will use all available screen space. No more. No less. Always. It isn't meant to scroll. It's meant to be the size of the screen. If you want stuff to scroll in the window, don't use LayoutPanels. If

Re: RPC Endpoints and threads

2010-04-16 Thread Paul Grenyer
Hi Sri Thanks for the fast response, that was really useful! Thanks Paul On Thu, Apr 15, 2010 at 9:48 AM, Sripathi Krishnan sripathikrish...@gmail.com wrote: Servlet containers typically make only one object of your Servlet. This object is shared across several threads. Several threads is a

Re: No ability to scroll

2010-04-16 Thread Ian Bambury
Hint: Some indication of what you are doing would help. :-) Ian http://examples.roughian.com On 16 April 2010 06:18, Jonny jonny.bren...@gmail.com wrote: When my page goes vertically beyond the size of the window I don't have the ability to scroll. The info is being painted (i can select

Finally trying Image Bundles

2010-04-16 Thread ben
I'm using GWT 1.7 (can't upgrade to GWT 2.0 due to inability to bring plugins into network as a separate download) I am trying to migrate all our various images into one location using image bundles. I finally got it loading correctly, I group images in individual folders, like menus, treepanel,

Re: Finally trying Image Bundles

2010-04-16 Thread ben
Also, I did a search, and found a couple people from a while back with the same issue, but no one ever posted the resolution...maybe there wasn't one? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Mixing Projects

2010-04-16 Thread John
On Mon, Apr 12, 2010 at 11:40 AM, Jason Parekh jasonpar...@gmail.com wrote: As you've found, dependent projects are a very rough area in GPE.  One solution that should work for you is: in your main project, use Link Source to add your widget project's source folders. Jason and Craigo, I

Re: passing data across modules

2010-04-16 Thread Erick Audet
Hi Vik, One way to do this is to use the session to push your objects into. In your RemoteServiceServlet do: this.getThreadLocalRequest().getSession().setAttribute(name. {the name}); this.getThreadLocalRequest().getSession().setAttribute(password. encrypt({the password}) ); //of course you

Re: gwt app load tests

2010-04-16 Thread Bojan
I did some testing with Apache jMeter. It's an ugly tool but it has very nice features. On Apr 15, 12:49 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: Hi, How to do load tests to gwt app? Please suggest tools/frameworks and best practices. Regards. -- You received this message

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread Christian Schuhegger
I just wanted to mention that I have the same problem after I updated the google eclipse plugin to its newest version. I was using gwt 2.0.1 and gae 1.3.1 before. Now I ahve gwt 2.0.3 and gae 1.3.2. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Simple test: GWT app with jmeter

2010-04-16 Thread Bojan
On Apr 14, 4:33 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: Hi, I want to profile my gwt app. I must use jmeter, but i do not know how to configure http requests with gwt. When i make one, from firebug i can seehttp://mydomain/bft/client/dispatch And in the Post tab:

retriving custom event parameters problem

2010-04-16 Thread ParagM
Hi, I am developing a GWT application with presenter, dispatcher and gin. I have a presenter which is retrieving an ArrayListJobPosting from server and firing a ManageJobsEvent. dispatcher.execute(new GetJobPostings(userId), new DisplayCallbackGetJobPostingsResult(display) {

Re: GWT Problem

2010-04-16 Thread ParagM
You can call textBox.ensureDebugId(string id) method to set the id which can be use in javascript. :) On Apr 15, 1:19 pm, jatan bhavsar jatanbhav...@gmail.com wrote: Hi All,  hope You are fine,I need some assistance for getting GWT Textbox value in Javascript. I have Login page which has

Help with new application GWT JAVA

2010-04-16 Thread ricca82it
Hi boy, I have one problem, i have to do an application in gwt + java that connect to one db mysql and when one user is log on i have to show some features. I have one problem which the GUI. How i can design it? Which editor i can use for it? Excuse my bad english Thanks to all -- You

Transferring an image over an PRC call

2010-04-16 Thread Ahmet
Hi everyone, My application has an upload file feature and allow users to upload image files to the server using an httpServlet. That part works fine, the file gets uploaded and placed in the WEB-INF folder (I don't want public access), required url and other info is filled into the database

Problem with DevMode and GWT 2.0.3

2010-04-16 Thread Yves
Hi. I was an happy user of GWT 1.6, using its HostedMode class to debug my Java code. I've installed GWT 2.0.3 and I can't debug anymore. I've installed new Eclipse plugin, that should open a new eclipse view called Web Application Debug View, but when I try to debug my application, I don't see

Help for ASP.Net Developer to migrate to GWT

2010-04-16 Thread drthink
I am developing a website and have a what might be relatively easy question for a GWT native. The question surrounds how to create and initialise objects within GWT. I am a former ASP.Net developer so my questions are along the lines of how I do something I would have previously done in that

Rolebased authorisation in GWT

2010-04-16 Thread sven
Hello everybody, I'm doing right now my first steps in GWT and my task is to build a rolebased authorisation for a GWT application. The goal is that users can login into the GWT application, but the users have no rights. They gain their rights through a role, that is linked to a user. Every role

Removing a widget that's making async calls

2010-04-16 Thread Vladimir
Hello All! I'm running into an issue that I can't figure out...Here is the scenario: 1. I'm using a SplitLayoutPanel RIGHT_PANEL (VerticalPanel): I'm creating a whole bunch of nested flextables (that's the only design I could use due to the nature of the input). Each flextable has elements

Re: Mixing Projects

2010-04-16 Thread Brian Smith
Hi John Is there a reason you're using link source over putting projects onto build paths? Here's what I would do: Create three projects. Put the widget you want to use in project A and project B into project C. Set the build path of both project A B to include project C (properties-java build

Re: Transferring an image over an PRC call

2010-04-16 Thread Subhrajyoti Moitra
i solved this issue, by not getting GWT-RPC in middle. Instead just a plain servlet, that returns images with appropriate content-type. The img tag, src attribute points to the ImageServlet, which serves the image. I am also interested to know if someone has solved this problem of different

Re: How to make part of the text bold in a ListBox

2010-04-16 Thread Subhrajyoti Moitra
I dont think a select element allows you to decorate text within its options. If you want decorated text, u need a custom widget, a PopupPanel, with rows of text, which can respond to MouseCLick and keyboard events. HTH Subhro. On Thu, Apr 15, 2010 at 10:52 PM, Ming Cui ming...@google.com wrote:

Re: Dynamic layout using the DockLayoutPanel

2010-04-16 Thread kozura
Actually you CAN use LayoutPanels just fine within your application where it makes sense. The only restriction is, you must either set their size explicitly, or implement a resize event. I've been using them for instance inside of DialogBoxes and such, even though I don't currently use them in

Re: Removing a widget that's making async calls

2010-04-16 Thread Paul Stockley
Declare your async RPC interface to return Request instead of void. Then for each active async call keep track of the Request returned. When you remove your panel, call the cancel method on the request(s). If you do cancel in progress RPC calls you will get an IO exception on your server because

Re: Problem with DevMode and GWT 2.0.3

2010-04-16 Thread kozura
You might be happier with the separate window hosted mode, just use your previous Java Application instead of Web Application, and change the main class from HostedMode to DevMode. This will bring up a separate window instead of the embedded eclipse tab, and a handy Launch in Browser button.

fileUpload widget: problem

2010-04-16 Thread laurent
Hello , I've a problem with fileUpload Widget.It exist a method 'getFileName' to get the file browsed.But not to parse the file and get the absolute path of this.I work with a CSV file. More , is there possible to transform the file in BLOB for my GAE application? Exist it a method to change the

Re: Compilation Error

2010-04-16 Thread Rajeev Dayal
Hm, I'm wondering if there is some sort of issue with multiple versions of JDT appearing on the classpath. Does Drools utilize JDT? What does your build path look like? On Thu, Apr 15, 2010 at 5:00 PM, rxm0203 rxm0...@gmail.com wrote: I hope this is the correct mailing list for the question. We

Re: Mixing Projects

2010-04-16 Thread John
On Fri, Apr 16, 2010 at 9:35 AM, Brian Smith bmjsm...@gmail.com wrote: Hi John Is there a reason you're using link source over putting projects onto build paths? Yes, Jason mentioned that method. Here's what I would do: Create three projects. Put the widget you want to use in project A and

Re: Rolebased authorisation in GWT

2010-04-16 Thread kozura
Unless your problem is truly unique, I'd probably not go the route of deferred binding to solve this problem. Not for the reason you mention; compiling many modules for deployment is not really a big deal, disk space is cheap. But I think it will make your architecture and testing far more

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread Rajeev Dayal
To clarify, GWT 2.0+ no longer uses the Hosted Browser - it makes use of Out-Of-Process-Hosted-Mode. See code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html for more information. When using GWT 2.0+ with the Google Plugin for Eclipse, you'll see the Development Mode View pop

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread Rajeev Dayal
Can you list your build path? It seems like there may be some conflicting classes on your build path. On Sun, Apr 11, 2010 at 7:58 PM, DanG danielmger...@gmail.com wrote: When I create a GWT project in eclipse with gwt2.0.2 and google app engine 1.3.2 and the most updated eclipse plugin for

Async RPC during CloseHandler.onClose()

2010-04-16 Thread Danny Goovaerts
I've implemented a CloseHandler to makes an async call to the server to store the loc -- 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,

Re: Rolebased authorisation in GWT

2010-04-16 Thread sven
Thx for your quick response. Of course the server shouldn't allow operations that the user isn't allowed to. I just wanted to know if it's possible to serve the browser only the code he is allowed to see. But you're right, even if an attacker can see methods it would be useless for him as long as

Re: Rolebased authorisation in GWT

2010-04-16 Thread sven
Thx for your quick response. Of course the server shouldn't allow operations that the user isn't allowed to. I just wanted to know if it's possible to serve the browser only the code he is allowed to see. But you're right, even if an attacker can see methods it would be useless for him as long as

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread kozura
Ah thanks Rajeev, been looking for that, it works except you have to set USE_REMOVE_UI=true. And since you asked... Maybe it's a little I'm used to it, but I find the Swing UI much more convenient than the Development mode view: - Clear tabs for Jetty and each browser window that comes up,

Own ImageResource

2010-04-16 Thread Stefan Bachert
Hi, I would like to have an additional constraint on a ClientBundle containing only ImageResources. I want to assure that certain images were defined. My approach is to derive a new ResourceType from ImageResource and deriving an generator from ImageResourceGenerator class. Is it sufficient to

Re: Finally trying Image Bundles

2010-04-16 Thread kozura
Ben, Not sure what you mean by the not upgrading because plugins, you can download the required browser plugin files separately at http://gwt.google.com/missing-plugin/MissingPlugin.html and install them at will. I'd recommend moving to 2.0 if you can, although you'll have to change over to

Re: Problem with DevMode and GWT 2.0.3

2010-04-16 Thread Rajeev Dayal
What type of launch configuration are you using to launch your application? Is it a Web Application Launch Configuration, or are you using a Java Launch Configuration? Can you check your Firefox installation to see if you have the GWT Developer Plugin installed already? Also, can you blow away

Re: Problem with DevMode and GWT 2.0.3

2010-04-16 Thread kozura
Coincidence, someone just posted how to do this from Web Application, just add Environment variable USE_REMOTE_UI with a value of true to get the separate window. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread Rajeev Dayal
On Fri, Apr 16, 2010 at 11:03 AM, kozura koz...@gmail.com wrote: Ah thanks Rajeev, been looking for that, it works except you have to set USE_REMOVE_UI=true. Really? I'm glad it's working, but I think the right way to set it is to define an environment variable of USE_REMOTE_UI and set its

Re: gwt app load tests

2010-04-16 Thread mariyan nenchev
Thanks i managed with it. -- 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 to

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread kozura
It's definitely USE_REMOTE_UI=true to get the SWING UI, which semantically makes sense anyway.. (yeah REMOVE was a type, fingers faster than brain). As for the rest, I'm sure I could fiddle with the devmode to fix some of the navigation annoyances, but with my workflow the window works much

Re: Label.wrap not working in DevMode (for DialogBox with button)

2010-04-16 Thread kozura
Just wrapping it is not going to work, as just HTML doesn't place the widget in GWT's widget hierarchy. I don't think the clickhandler should even work? You need to have the dialog adopt your widget. FYI here's my working sol'n for getting a close button in the upper left corner, just extending

Re: fileUpload : problem

2010-04-16 Thread kozura
Check out http://code.google.com/p/gwtupload/, fairly easy to use, nice upload gui including progress bar, and from what I understand can be configured to work with GAE. On Apr 16, 2:16 am, laurent bagno_laur...@hotmail.com wrote: Hello , I've a problem with fileUpload Widget.It exist a method

Re: example of styling vertical panel

2010-04-16 Thread Ian Bambury
Have you got anything in the VP? It would be useful to see the code that doesn't work rather than just guessing from all the things you might be doing wrong. Ian http://examples.roughian.com On 16 April 2010 16:36, Vik vik@gmail.com wrote: Hie I am not using uibinder so tried above

Re: RadioButtonGroup proposal

2010-04-16 Thread kozura
Not a bad idea, but probably would make this just a grouping object vs a widget, since there are myriad ways you might want to lay these out and you don't want to have to deal with this in RadioButtonGroup. So code more like: FormPanel fp = new FormPanel(); RadioButtonGroup rbg = new

Re: Dynamic layout using the DockLayoutPanel

2010-04-16 Thread googelybear
a major drawback of the normal panels is that you have almost no support for uibinder (ok, CellPanel has, but subclasses like DockPanel dont, also StackPanel doesn't). Is it planned to support uibinder also with normal panels in the feature? Or will this be mainly available for the LayoutPanels?

Re: Help for ASP.Net Developer to migrate to GWT

2010-04-16 Thread drthink
Well I think I may be able to answer my own question: As part of the GWT SDK there are some demo applications which show off the features of the GWT product (http://code.google.com/webtoolkit/ examples/). One of these applications, the showcase application, matches the complexity I am looking

Re: Rolebased authorisation in GWT

2010-04-16 Thread Sripathi Krishnan
To easily hide/disable things from the user if he doesn't have access, we created a custom class 'SecurePanel' Assuming you are using uibinder, we then have something like this in our ui.xml my:SecurePanel *role=admin* h2Secure Page/h2 gwt:Button ui:field=mySecureButton text=My very

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread Rajeev Dayal
Actually, after some more investigation, there is a bug here, which is why USE_REMOTE_UI=true is working. We'll have this fixed in the next version of GPE, but to make sure that you get the Swing UI, follow these steps: -In your launch configuration, navigate to the Environment tab, and set

Re: HTML5 Video in Mobile Safari

2010-04-16 Thread DCYorke
I do know that if the video is too large for iPhone, you'll see the slashed play button. On Apr 13, 10:44 am, KevMo kevinps...@gmail.com wrote: 'm trying to code a site in GWT that plays videos with HTML5. Everything works great on the desktop, but mobile Safari on both the iPhone andiPaddo

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread Christian Schuhegger
On 16 Apr., 16:41, Rajeev Dayal rda...@google.com wrote: However, we'd be curious to know why you actually prefer the Swing UI to the Development Mode view :). I use instantiations gwt designer plugin for eclipse and it has the keyboard shortcut Shift+Alt+X G for launching the Swing UI and the

Service implementation URL not specified

2010-04-16 Thread Vik
Hie I am getting this while switching from one module to another via code like: Please advise Button login = new Button(Login, new ClickHandler() { public void onClick(ClickEvent event) { loginModuleService.doLogin(userName.getText(), password.getText(),

Re: Removing a widget that's making async calls

2010-04-16 Thread Vladimir
Paul, thanks a lot! This did the trick. Thanks again! Vladimir On Apr 16, 10:15 am, Paul Stockley pstockl...@gmail.com wrote: Declare your async RPC interface to return Request instead of void. Then for each active async call keep track of the Request returned. When you remove your panel,

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread Christian Schuhegger
On 16 Apr., 17:03, kozura koz...@gmail.com wrote: Ah thanks Rajeev, been looking for that, it works except you have to set USE_REMOVE_UI=true. How did you find out so quickly that the parameter was called USE_REMOVE_UI instead of USE_REMOTE_UI? I could not find that parameter in any

Re: Unable to bring up the hosted mode console for my web application

2010-04-16 Thread kozura
Oh man I hope not, REMO*V*E was my typo heh. Maybe what you're seeing is what Rajeev describes, where it doesn't grab the latest value correctly. I just tried what he suggested and it seems that is correct: USE_REMOTE_UI=false, but you have to switch to the main tab and hit apply before running.

Re: Mixing Projects

2010-04-16 Thread t.dave
have you put the code of project B somewhere that project A can see it when it is deployed? if you put different projects on the build path in eclipse it will compile fine but i don't think that cuts it when it comes time to deploy. i'm doing something similar, where i have one GWT project

Re: Label.wrap not working in DevMode (for DialogBox with button)

2010-04-16 Thread David
Hi, Well actually it does work. I just did a Label.wrap of the element followed by addClickHandler and the handler is correctly triggered. I will however need to switch to an approach like yours... but that is a lot of low-level code while all they had to do was provide the possibility to put a

Google Cloud Print

2010-04-16 Thread Horcrux7
Are there any plan to support Google Cloud Print with GWT. Good printing was the point that we have missing in GWT. -- 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

Re: java.util.Calendar

2010-04-16 Thread Chris Lercher
There's an entry in the issue tracker: http://code.google.com/p/google-web-toolkit/issues/detail?id=603 On Apr 14, 11:43 am, marclurr mbarrett.m...@gmail.com wrote: Hello, I'm sure this has been asked somewhere before but I can't seem to find it: Is there likely to be a port of

Re: Label.wrap not working in DevMode (for DialogBox with button)

2010-04-16 Thread kozura
Ok, I had several issues trying to take this approach, one of which was difficulty getting events called. My lovely hack above in the end works for now. You're right this is inelegant and will break, but hopefully when it breaks it'll be because dialog buttons are supported:

Re: Immutable object from the business layer

2010-04-16 Thread Chris Lercher
Hi, I don't want to comment on the design decisions (maybe others will). But what you could do in your current situation to keep the web app (your UI's server part) stateless, is probably to just retrieve the object _again_ from the backend by looking it up via its ID. I hope, the business tier

Re: Can we Integrate reCaptcha with GWT FormPanel

2010-04-16 Thread BimboJones
hi, you can use the recaptcha library for java is pretty simple to use: On client: final RecaptchaWidget rw = new RecaptchaWidget(RECAPTCHAKEY); panel.add(new HTML(div id=\recaptcha_image\/div)); TextBox response = new TextBox(); response.getElement().setId(recaptcha_response_field);

Handling events

2010-04-16 Thread İNGİLTERE EMRE BEY
Hi, i am new to GWT and i have one question, how to to handle events in seperate class, i have done some basic java and when registering event for example to button its gives option to setActionCommand() so its when there is two button its know which one is click by this option, is it possible to

Re: GWT MVP

2010-04-16 Thread nino ekambi
Hi, I cant find the informations. Can you please tell me where to look on the page ? thx and greets Al 2010/4/16 gengstrand gengstr...@gmail.com I covered the differences between MVP and MVC in this presentation. http://www.dynamicalsoftware.com/gwt I hope that helps. On Apr 15, 5:23

How to see my posts

2010-04-16 Thread Sid
Hello, I have made a post GWT ...geting 2 elements in one row and how to link to several html files instead on of only one a few days back. I do not know the status of this...neither do I know how to go to this post. Once logged in is there some link which says go to my posts or something like

[gwt-contrib] Re: Fix @GwtScriptOnly for anonymous classes, also make it work for nested, inner (issue331802)

2010-04-16 Thread scottb
Hey John, I took an initial look but I'd like you to look through this also. http://gwt-code-reviews.appspot.com/331802/diff/1/2 File dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java (right): http://gwt-code-reviews.appspot.com/331802/diff/1/2#newcode374

[gwt-contrib] Re: Fixes a couple of issues with the RemoteUI and GPE DevMode view interaction. The problem is GPE... (issue323801)

2010-04-16 Thread rdayal
LGTM. http://gwt-code-reviews.appspot.com/323801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
Shouldn't GWTTestCase extend JClassType somehow? -Marko -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] GWTTestCase and JClassType

2010-04-16 Thread John Tamplin
On Fri, Apr 16, 2010 at 12:05 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: Shouldn't GWTTestCase extend JClassType somehow? I'm not sure what you are referring to -- GWTTestCase is for running GWT tests, and JClassType is a TypeOracle type representing a non-primitive Java type. --

[gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
Basically, I'm trying to figure out how to implement Junit 4 into GWT. For the beginning I am interested on how to apply some annotation to some method in GWTTestCase and somehow detect, in GWTTestCase translatable code, that a specific method has some annotation applied. The idea is to apply some

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

2010-04-16 Thread bobv
Reviewers: jgw, Message: Joel, This review isn't super high-priority and is kind of long. I got a more than just a bit irritated at how hard it was to try to make what should have been a simple change to ImageResourceGenerator and decided that the code needed a rework. If you think that

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread John Tamplin
On Fri, Apr 16, 2010 at 1:26 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: Basically, I'm trying to figure out how to implement Junit 4 into GWT. For the beginning I am interested on how to apply some annotation to some method in GWTTestCase and somehow detect, in GWTTestCase

[gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
Well I've been looking at the existing code and I have seen that JClassType implements getMethods(). Then I would be able to check if a method has Annotation applied - using isAnnotationPresent() method. I am not sure how to check if a method has an annotation applied and not to use the

[gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
I just noticed that there is HasAnnotations interface... I might try putting that to use... On Apr 16, 9:38 pm, Marko Vuksanovic markovuksano...@gmail.com wrote: Well I've been looking at the existing code and I have seen that JClassType implements getMethods(). Then I would be able to check if

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread John Tamplin
On Fri, Apr 16, 2010 at 3:45 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I just noticed that there is HasAnnotations interface... I might try putting that to use... On Apr 16, 9:38 pm, Marko Vuksanovic markovuksano...@gmail.com wrote: Well I've been looking at the existing code

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
I like challenges :):) On Fri, Apr 16, 2010 at 10:09 PM, John Tamplin j...@google.com wrote: On Fri, Apr 16, 2010 at 3:45 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I just noticed that there is HasAnnotations interface... I might try putting that to use... On Apr 16, 9:38 pm,

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
One more question - why aren't JUnit 4 libraries used? I think junit4 supports junit3 test style? Am I right? On Fri, Apr 16, 2010 at 10:12 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I like challenges :):) On Fri, Apr 16, 2010 at 10:09 PM, John Tamplin j...@google.com wrote:

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Freeland Abbott
I think that's correct, but we historically have been pretty lazy about updating our dependencies... On Fri, Apr 16, 2010 at 4:39 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: One more question - why aren't JUnit 4 libraries used? I think junit4 supports junit3 test style? Am I right?

Re: [gwt-contrib] Re: GWTTestCase and JClassType

2010-04-16 Thread Marko Vuksanovic
Ok, I'll just save you some time... :) but will first check if everything is ok once the dependencies are replaced... On Fri, Apr 16, 2010 at 10:46 PM, Freeland Abbott fabb...@google.comwrote: I think that's correct, but we historically have been pretty lazy about updating our dependencies...

[gwt-contrib] Implement RPC custom serialization for Collections.singletonList() (issue357801)

2010-04-16 Thread rice
Reviewers: jat, Description: Implement RPC custom serialization for Collections.singletonList() Please review this at http://gwt-code-reviews.appspot.com/357801/show Affected files: M user/src/com/google/gwt/user/client/rpc/core/java/lang/Long_CustomFieldSerializer.java M

[gwt-contrib] Ensure static initialization is atomic (found by findbugs) (issue341802)

2010-04-16 Thread rice
Reviewers: kathrin, Description: Ensure static initialization is atomic (found by findbugs) Please review this at http://gwt-code-reviews.appspot.com/341802/show Affected files: M user/src/com/google/gwt/user/client/Cookies.java Index: user/src/com/google/gwt/user/client/Cookies.java

[gwt-contrib] Re: Fix @GwtScriptOnly for anonymous classes, also make it work for nested, inner (issue331802)

2010-04-16 Thread jat
LGTM with a couple of questions http://gwt-code-reviews.appspot.com/331802/diff/9001/10001 File dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java (right): http://gwt-code-reviews.appspot.com/331802/diff/9001/10001#newcode1266

[gwt-contrib] Re: Implement RPC custom serialization for Collections.singletonList() (issue357801)

2010-04-16 Thread jat
LGTM http://gwt-code-reviews.appspot.com/357801/diff/1/5 File user/super/com/google/gwt/emul/java/util/Collections.java (right): http://gwt-code-reviews.appspot.com/357801/diff/1/5#newcode121 user/super/com/google/gwt/emul/java/util/Collections.java:121: return (item == element) || (item !=

[gwt-contrib] CFG: Always jumping to first case statement (issue318802)

2010-04-16 Thread aizatsky
Reviewers: Lex, Description: CFG: Always jumping to first case statement Please review this at http://gwt-code-reviews.appspot.com/318802/show Affected files: M dev/core/src/com/google/gwt/dev/jjs/impl/gflow/cfg/CfgBuilder.java A

  1   2   >