Re: Strange compilation errors on linux platform

2011-04-14 Thread paxdei
I ran into the same problem (compile fails only on linux) with GWT version 2.2.0 With hacking some log statements into the GWT compiler I finally found the reason: java.io.FileNotFoundException: /XXX/calendar.year.gif (Too many open files) at java.io.FileInputStream.open(Native Met

Re: CellTable Dynatable SimplePager last Button

2011-04-14 Thread Metronome & Basic
I think that AsyncDataProvider must be the answer to have a working (>|) last button in simple pager but I didn't find any example with RequestFactory Patrick - Original Message - From: "Metronome & Basic" To: Sent: Wednesday, April 13, 2011 5:56 PM Subject: Re: CellTable Dynatable

Radio button label unstable

2011-04-14 Thread Neel
hide and show of radio group 2 or more times, its label started shifting right. please help -- 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

Re: onclick(Widget w) in version 1.5 and onClick(ClickEvent ce) in version 2.2 - After upgrading

2011-04-14 Thread scono1986
I solved my problem using the following solution: onClick(htmlLink); =>> htmlLink.fireEvent( new ClickEvent(){} ); I hope this solution will help everybody who has same my problem. If you have any solutions else, please reply for discussing ^^ On Apr 14, 10:25 am, scono1986 wrote: > In vers

handle event inside a Cell of a CellTree

2011-04-14 Thread lamre
Hi, i want a cell to handle an event(double click) but i am having problems on making it work. I was trying to insert to handle this event overriding onBrowserEvent and make different actions based on event type. I don't now what the problem but it doesn't work. Thanks. Cell cell = new AbstractCel

Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-14 Thread Thomas Broyer
On Wednesday, April 13, 2011 8:56:15 PM UTC+2, nino ekambi wrote: > > Hi Thomas. > I m aware of the File API in HTML5. But as you can see the API is > supported in different level by the broswer providers. IE does not support > it at all. So the only cross browser solution will be a pl

R: Re: CellTree and RPC

2011-04-14 Thread ciosbel
Ok, this is old, but for future related questions, here is how i did. Define an AsyncDataProvider of your own, like: public class MyDataProvider extends AsyncDataProvider { protected void onRangeChanged(final HasData display) { // calling my RPC method to obtain inner elements

Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-14 Thread nino ekambi
I Agree :) Even dough that File API still have a long way to go to reach the level the plug in hav. I m still waiting for a decent HTML5 library to read and write Excel and PDF files on the client. 2011/4/14 Thomas Broyer > > > On Wednesday, April 13, 2011 8:56:15 PM UTC+2, nino ekambi wrot

Re: unexpected performance issue with GWT 2.1.1 CheckboxCell and compiler optimization

2011-04-14 Thread Thomas Broyer
Well, the Showcase sample uses new CheckboxCell(true, false) for a selection cell, so maybe you could make it work? http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable It uses DefaultSelectionEventManager.createCheckboxManager() to handle selection instead of a FieldUpdater, as that

Re: GWT URLs with # don't work with IE7

2011-04-14 Thread Thomas Broyer
On Wednesday, April 13, 2011 7:33:29 PM UTC+2, Roy wrote: > > Hello, > > There seem to be a know issue with IE which doesn't respond to URLs > that have # sign in them. > See for example: > https://mootools.lighthouseapp.com/projects/2706/tickets/638-request-fails-when-url-has-hash-in-ie7 >

Request Factory: executing request method with entity proxy parameter does not fire callback

2011-04-14 Thread Owen Ilagan
Hi! I've managed to get Request Factory to work somewhat, but I'm stuck at a point where I attempt to execute this code in my client Activity class: AppRequestFactory factory = clientfactory.getAppRequestFactory(); EmployeeProxy employeeProxy = factory.employeeRequest().create(EmployeeProxy.class

Re: Request Factory: executing request method with entity proxy parameter does not fire callback

2011-04-14 Thread Owen Ilagan
Forgot to add this... My Entity Locator Class: public class EmployeeLocator extends Locator{ public static final PersistenceManager persistenceManager() { return PMF.get().getPersistenceManager(); } @Override public Employee create(Class clazz) {

Re: handle event inside a Cell of a CellTree

2011-04-14 Thread Thomas Broyer
You have to pass "dblclick" to the AbstractCell constructor, or "dblclick" events won't be routed to your cell. new AbstractCell("dblclick") { ... } You can also use DoubleClickEvent.getType().getName() instead of the "dblclick" constant if you prefer. And of course, event.getType() returns "d

Re: Request Factory: executing request method with entity proxy parameter does not fire callback

2011-04-14 Thread Thomas Broyer
On Thursday, April 14, 2011 12:38:26 PM UTC+2, Owen Ilagan wrote: > > Hi! > > I've managed to get Request Factory to work somewhat, but I'm stuck at > a point where I attempt to execute this code in my client Activity > class: > > AppRequestFactory factory = clientfactory.getAppRequestFactory

Re: handle event inside a Cell of a CellTree

2011-04-14 Thread lamre
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 google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more optio

Re: suggestionBox backed with pairs value->text (id->ambiguous name)

2011-04-14 Thread tanteanni
meanwhile i found http://eggsylife.co.uk/2008/08/25/gwt-suggestbox-backed-by-dto-model/ that helped much. essential is not only to overwrite the oracle but "suggestion". On 12 Apr., 12:43, tanteanni wrote: > i need a way to get a suggestion box that suggests from an ambiguous > list of strings,

jquery validation in GWT

2011-04-14 Thread Aman sachdeva
i am trying to make validation using Jquery in GWT but the text box value is not getting the value in jquery native method. Any example for Jquery in gwt will be appreciated. Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post

Re: GWT URLs with # don't work with IE7

2011-04-14 Thread Andy
Is this the issue you're referring to? http://code.google.com/p/google-web-toolkit/issues/detail?id=2152 If so, we use two different workarounds, depending on the case. See my comments throughout that thread. A substantial portion of our page views are generated by requesting an HTML fragment fr

Re: IE (8 & 9) reload app when internal link clicked

2011-04-14 Thread Andy
I just replied to another person that I think is experiencing the same issue: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/addcece637e80138/66b8d354a637c9c1#66b8d354a637c9c1 It's really nasty but you can see our workaround in this thread: http://code.google.com/p/google

distinguish between click and double click

2011-04-14 Thread lamre
Hi, i overrided onBrowserEvent of AbstractCell to handle click and double click event, the problem is now that when doubleclicking i cature two click events and a double click event. I need to handle both of them in a cell but can't distinguish. Thanks. Cell cell = new AbstractCell("dblclick","cl

App Engine UserService login dialog - how gwt app gets completion event

2011-04-14 Thread dreamer
Hi, I am checking user login using RPC, if not user not logged in I am launch login URL from GWT. Once login in over GWT app is getting control. but how to capture the return event from login dialog? = user login url in rpc service == String url = userService.createLoginURL("/");

Aw: IE (8 & 9) reload app when internal link clicked

2011-04-14 Thread Jens
Change it to GWT Hyperlinks and I think it should work in IE. I had a similar problem using GWT Anchors, see: http://code.google.com/p/google-web-toolkit/issues/detail?id=5280 . In my case I used GWT Anchors with ClickHandlers which result in link code and IE unloads the page for such links onc

Re: IE (8 & 9) reload app when internal link clicked

2011-04-14 Thread Andy
That is a good suggestion, but in our case, the HTML was coming from the server via RPC and inserted into the page using setInnerHTML. Therefore the links weren't GWT widgets at all. On Apr 14, 10:45 am, Jens wrote: > Change it to GWT Hyperlinks and I think it should work in IE. > I had a similar

Re: App Engine UserService login dialog - how gwt app gets completion event

2011-04-14 Thread Thomas Broyer
There's no "return event": the suer will be redirected back to your app, just like the first time, but this time he's authenticated. Your "return event" will be your onModuleLoad. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post t

Aw: Re: IE (8 & 9) reload app when internal link clicked

2011-04-14 Thread Jens
Hm ok..if you can not change your code to use GWT widgets (only widgets are mostly cross browser compatible) then you probably can create a custom widget that takes the generated html from the server to display it but also listens for DOM click events (using sinkEvents and onBrowserEvent). And

tips please to figure out a widget for a cell

2011-04-14 Thread Rajesh
Hi, The application I am doing right now is a calender which would be used to manage appointments. i have used the simple flex table to build view for a given months. I want to figure out a widget I can put in to this cell that would hold the "date" along with some color strips corresponding to dif

OSGi & GWT

2011-04-14 Thread Jose Luis Hernandez
Hello! I would like to deploy an application into OSGi server as OSGi bundle. My server is Felix. Could someone send me a manual/tutorial to achieve that Thanks in advance! Regards! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To po

GWT and OSGi

2011-04-14 Thread Jose Luis Hernandez
Hello! I would like to deploy an application into OSGi server as OSGi bundle. My server is Felix. Could someone send me a manual/tutorial to achieve that Thanks in advance! Regards! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To po

GWT and Spring

2011-04-14 Thread João Peixoto
Hi everyone First post, so lets not blow it I did post this in the Spring forums as well. I've been searching quite a lot for ways to integrate GWT with Spring, but so far I haven't found any working method. I think that the problem is that some detail step is missing, but nevertheless here goes w

Problems qith ALIGN.CENTER DockPanel

2011-04-14 Thread Jose Luis Hernandez
Hello! I have a problem with DockPanel. I would like to center DockPanel in the screen. I have the next class to perform login/password screen. But when I add the dockPanel to RootPanel, it doen not align CENTER. Could someone help me??? Thanks in advance! Regards! public class ZB_app implements E

the reverse: creating properties file out of existing Constants/Messages interfaces

2011-04-14 Thread vlad.balan
Hello, with GWT's i18nCreator and i18nSync classes you can create a corresponding Constants subinterface for your existsing properties file. How can you achive the reverse? A revers operation would use your Constans interface (containing information like @Generate(String[] formatFQCN, String filen

the reverse: creating properties file out of existing Constants/Messages interfaces

2011-04-14 Thread vlad.balan
Hello, with GWT's i18nCreator and i18nSync classes you can create a corresponding Constants subinterface for your existsing properties file. How can you achive the reverse? A revers operation would use your Constans interface (containing information like @Generate(String[] formatFQCN, String filen

Showing Captcha using UiBinder

2011-04-14 Thread Jonas
I have a registration page for new users using SimpleCaptcha. I got it to work without UiBinder but can't get it to work with. Does anyone have any ideas to what I'm doing wrong? The following works (without UiBinder): private static String html = " ... ... "; HTMLPanel panel = new HTMLPanel(htm

TabLayoutPanel - how to maximize a tab widget?

2011-04-14 Thread Magnus
Hi, how can a tab widget in a TabLayoutPanel have its maximum size? I know how to use the onResize method, but inside this method I cannot retrieve the size of the available space. It seems to work different within a TabLayoutPanel. Thanks Magnus -- You received this message because you are su

Activity and Editors Framework

2011-04-14 Thread dm.shodan
I´ve been working on some small projects using GWT MVP framework + GWT Editors framework. I have Views interfaces with fields declared like: @Path("field") IsEditor> getField(); Views implementations look like this: @UiField IsEditor> field; public IsEditor> getField(){ return field; }

Re: TabLayoutPanel - how to maximize a tab widget?

2011-04-14 Thread Thomas Broyer
With TabLayoutPanel (and more generally, all layout panels), the children are sized depending on their parent; whereas the TabPanel resizes itself depending on the current tab's widget size. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group

GWT in Modal Popup, return value

2011-04-14 Thread Bhupendra
Hi, I have a gwt web application which open in a modal popup. I want to return a value back to opener page page this gwt application modal window closing. I am $wnd.returnValue in IE but it not working, opener page get value as undefined. Can some help what is wrong here. See the following code-

Re: Showing Captcha using UiBinder

2011-04-14 Thread Thomas Broyer
Create your image *before* the createAndBindUi and use @UiField(provided=true) on your field, to tell UiBinder that it should use the field's value rather than construct the widget and inject it into the field. ...or you can let UiBinder create the image and simply do a setUrl() afterwards. -

Re: TabLayoutPanel - how to maximize a tab widget?

2011-04-14 Thread Jeff Larsen
what component contains your TabLayoutPanel? Is it a layout panel, or HTML panel? If it is an HTML panel, flow panel or anything that isn't a layout panel, you probably need to set the height to "100%" on the containing panel for it to work. -- You received this message because you are subscr

Re: Webapp runs in development mode perfectly but fails on test server

2011-04-14 Thread Rob Tanner
On Apr 13, 2:15 pm, Juan Pablo Gardella wrote: > is there other stacktrace?. There aren't an error > > 2011/4/13 Rob Tanner > > > Hi, > > > My webapp runs perfectly in development mode, but when I build the WAR > > file and move onto a test server, I have problems.  Database > > connections are

Re: Webapp runs in development mode perfectly but fails on test server

2011-04-14 Thread Jeff Larsen
Do you have access to your test server? Can you set it up to run in a mode where you can connect eclipse through the remote debugger. -- 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

Re: Webapp runs in development mode perfectly but fails on test server

2011-04-14 Thread Alan Chaney
Have you checked that the jar files that you require are actually in the war file? The tomcat errors appear to be saying that you don't have all the jars present. Its possible to develop gwt applications without all the jars being present in the WEB-INF/lib folder because gwt finds them for yo

Re: GWT and OSGi

2011-04-14 Thread Gary S
Chapter 15 of OSGI in Action just published by Manning converts the Stockwatcher example to a web application bundle and shows both local and remote servers with distributed OSGI. Another chapter shows Apache Aries and the Blueprint container. -- You received this message because you are subscrib

Re : Webapp runs in development mode perfectly but fails on test server

2011-04-14 Thread Thomas Broyer
Le mercredi 13 avril 2011 23:01:56 UTC+2, Rob Tanner a écrit : > > Hi, > > My webapp runs perfectly in development mode, but when I build the WAR > file and move onto a test server, I have problems. Database > connections are failing and hitting the return key does not move the > cursor to t

Re: Activity and Editors Framework

2011-04-14 Thread Y2i
Can you modify the view interface so that instead of ((ValueBoxBase)view.getField()).setEnable(true) you simply call view.enableField(true) -- 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-to

Re: the reverse: creating properties file out of existing Constants/Messages interfaces

2011-04-14 Thread Soon Fatt Hoo
On your constants interface add this @Generate(format = "com.google.gwt.i18n.rebind.format.PropertiesFormat") then compile your gwt code with -extra extras @Generate(format = "com.google.gwt.i18n.rebind.format.PropertiesFormat") public interface ExampleConstants extends ConstantsWithLookup {

Fatal GWT Designer problem: line 75 contains unexpected attribute 'generator'

2011-04-14 Thread cri
Starting today, whenever I try to open a GUI class in GWT Designer window, the windows fails to come up. In the .gwt-log file I get the error indicated below. I really have no idea what could be causing the problem. I am able to run the application in both hosted and web mode without issue. As I ha

Cell List bound to selection issue?

2011-04-14 Thread Javier
I'm not sure if this is the expected behaviour or it is a bug. When using a CellList with a MultiSelectionModel and a BOUND_TO_SELECTION keyboard policy: - You can not select multiple cells (when using CTRL + click). - Click events update the selection despite of any EventTranslator / CellPreviewH

Re: Fatal GWT Designer problem: line 75 contains unexpected attribute 'generator'

2011-04-14 Thread cri
Well, I got this fixed but I don't really know what the problem was. To trouble shoot the problem, I created a new gwt project using the eclipse plugin. when I tried to open the entry point class with gwt designer, I got the very same problem. So, it wasn't a problem with my project but with my ecl

Re: distinguish between click and double click

2011-04-14 Thread Trevor Skaife
The best way for you to handle both the click and double click differently would be to handle the double click yourself. So when you get a click, start a timer for X ms (the longest time between clicks for a double click). If the user clicks again, it's a double click, if the timer runs out, single

Re: GWT and Spring

2011-04-14 Thread Juan Pablo Gardella
Welcome to GWT. You can try read this first: 1) Best Practices!!! gwt http://dl.google.com/io/2009/pres/Th_0200_GoogleWebToolkitArchitecture-BestPracticesForArchitectingYourGWTApp.pdf 2) gwt-dispatch + spring http://pgt.de/2009/09/16/use-spring-with-gwt-dispatch/ http://pgt.de/2009/12/09/sample-

Re: CellTable Dynatable SimplePager last Button

2011-04-14 Thread Greg Dougherty
Great! Thanks, that worked. Even better, I now have two simple pagers, one above my table, the other below, that "play nice' with each other (hit an arrow on one, both update). Greg On Apr 13, 10:46 am, Ahmed Mohammed wrote: > Create instance of simplepager resources and pass to the SimplePage

Creating a DockLayoutPanel with non-fixed sizes ?

2011-04-14 Thread Eric Andresen
Does anyone know if it is possible to create a layout panel that behaves like a dock layout panel, but allows the outer panels to size to their "natural" sizes? What I'm trying to accomplish is a panel with a north and a center. I want the North panel to size to the natural height of its conte

Re: Server Side ColumnSorting with AsyncDataProvider

2011-04-14 Thread Soon Fatt Hoo
Don't you mean CellTable#getColumnIndex(sortList.get(0).getColumn()) then look up the string from ColumnMap by using the index? On Mar 15, 1:22 pm, John LaBanca wrote: > You can call CellTable#getColumn(int) to get the Column object from the > index.  Then you can use a Map of Column to ServerCol

Re: Web application starter project send button missing

2011-04-14 Thread KC
When I followed the instructions to perform a "GWT Compile" and then open the corresponding .html page, I found that Chrome wouldn't display the entry field or the button, but IE would. On Apr 13, 3:29 pm, David Chandler wrote: > Hi Bob, > > It takes a few seconds for the dev mode plugin to initi

UiBinder implementation question.

2011-04-14 Thread roge.delgado
Hi All! This is my first post, so i hope this are the right place to post :) Recently I'm started to see the UiBinder feature that GWT 2.1 introduced, but while reading the documentation a doub about the useage or implementation appeared. I understand the concept of UiBinding and the declarative U

Using GWT only for UI design

2011-04-14 Thread The Main Meyn
I would like to know how I could draw my boundaries with GWT; I want to use it only for UI design; I have a project with Tomcat/ MySQL / simple MVC framework / I am ready to modify the servlets according to what is required by GWT, is there a small tutorial that could help me with such a situation

View GWT RPC traffic

2011-04-14 Thread Leung
Hi Is it possible to view the GWT RPC transaction on tools like ethereal? Thanks Ming -- 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 grou

connecting MySql to Eclipse (GWT)

2011-04-14 Thread gwtuser
Hello, I am trying to connect MySql to a gwt based project in eclipse. I have been searching for a whilebut i couldn't really understand what do i have to do to establish a connection to database. all i did so far is, i have downloaded Connector J folder which has a file "mysql-connector-java-5

Re: connecting MySql to Eclipse (GWT)

2011-04-14 Thread John Doran
The way to approach it would be to create a RPC to process your JDBC server side. On Thu, Apr 14, 2011 at 11:19 PM, gwtuser wrote: > Hello, > I am trying to connect MySql to a gwt based project in eclipse. > I have been searching for a whilebut i couldn't really understand > what do i have t

Re: connecting MySql to Eclipse (GWT)

2011-04-14 Thread John Doran
Have a read of this, exactly what you need. http://altair.cs.oswego.edu/~tenberge/tenbergen.org/misc/DB-Access-in-GWT-The-Missing-Tutorial.pdf Regards, John. On Thu, Apr 14, 2011 at 11:28 PM, John Doran wrote: > The way to approach it would be to create a RPC to process your JDBC server > side.

Re: connecting MySql to Eclipse (GWT)

2011-04-14 Thread gwtuser
Could you explain me of how to create a RPC for this purpose. Thanks. On Apr 14, 4:28 pm, John Doran wrote: > The way to approach it would be to create a RPC to process your JDBC server > side. > > > > On Thu, Apr 14, 2011 at 11:19 PM, gwtuser wrote: > > Hello, > > I am trying to connect MySql

Re: connecting MySql to Eclipse (GWT)

2011-04-14 Thread gwtuser
I am not able to open the link Thanks On Apr 14, 4:33 pm, John Doran wrote: > Have a read of this, exactly what you > need.http://altair.cs.oswego.edu/~tenberge/tenbergen.org/misc/DB-Access-in... > Regards, > John. > > > > On Thu, Apr 14, 2011 at 11:28 PM, John Doran wrote: > > The way to appr

Channel API for GWT

2011-04-14 Thread Kathiravan Tamilvanan
Is this already available. I could not find any info on this. -- 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-w

Re: Channel API for GWT

2011-04-14 Thread Matthew Hill
Just use JSNI. -- 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+unsubscr...@googlegroups.com. For mo

Re: Request Factory: executing request method with entity proxy parameter does not fire callback

2011-04-14 Thread Owen Ilagan
Hey thanks! It worked. I didn't know I was creating two different instances with employeeRequest(). On Apr 14, 6:53 pm, Thomas Broyer wrote: > The fire(Receiver) method of a Request is just a shortcut for > Request#to(Receiver) and RequestContext#fire(). -- You received this message because you

Re: TabLayoutPanel - how to maximize a tab widget?

2011-04-14 Thread Magnus
Hi, the hierarchy is: DockLayoutPanel -> TabLayoutPanel -> RichTextArea There is one tab that contains only a RichTextArea, and this RichTextArea should occupy the whole tab. Setting its size to "100%" does not work, so I think I have to size it within the onResize method. This works in other ca

Re: Creating a DockLayoutPanel with non-fixed sizes ?

2011-04-14 Thread Magnus
Hi, I wanted to do the same, i. e. have a MenuBar at the top and set it to its "natural" size. I remember that I posed nearly the same question here. But I still have no solution for this. I set the height of the upper panel manually, resulting in a Menubar that is too high on most systems. Magnu

GWT Request Factory Entity @NotNull Validation doesnt seem to be working

2011-04-14 Thread Owen Ilagan
Hi! So I finally got Request Factory to work on my Eclipse environment and I'm trying out the Entity validation features. Following the example on the tutorial, I add @NotNull to my Entity class property like so: import javax.validation.constraints.NotNull; @Entity public class Employee {

Re: Can't compile gadget with GWT Plugin 2.2 or 2.3 Beta

2011-04-14 Thread dicko
Thanks for your help guys but I'm still having trouble. Do I just need to import the project and then re-compile it? If so, I'm getting this error: [ERROR] Unable to load class 'com.google.gwt.gadgets.linker.GadgetLinker' java.lang.ClassNotFoundException: com.google.gwt.gadgets.linker.GadgetLink