Re: Application works only in hosted mode

2010-06-12 Thread Stefan Ludwig
Stefan B., this is not a GXT problem. This is a pure GWT issue. I have the same problem when I remove all the GXT stuff (components, inherits and CSS). Was my fault to talk about GXT... ;-) Steff On Jun 11, 6:10 pm, Stefan Bachert stefanbach...@yahoo.de wrote: Hi Stefan, this forum is not

Re: Application works only in hosted mode

2010-06-12 Thread Chris Lercher
Hi Stefan, did you also enable the Firebug Console tab? Do you see any JavaScript Errors/Warnings there? Also, some quick things to try (probably you've already tried them): - Clearing the browser cache. - Cleaning the project from all generated files, then building again. Chris On Jun 11,

Re: 1 layout - 3 browsers - 3 results?

2010-06-12 Thread Alejandro D. Garin
Hi Try this: (only tested on mac FF and Safari) http://www.puntosoft.com.ar/gwt/layoutChess/FormTable.java On Sat, Jun 12, 2010 at 12:23 AM, Magnus alpineblas...@googlemail.comwrote: Hi Alejandro, I think you are replying to a post that I cancelled. I did so, because I managed to reproduce

GWT/iphone/phonegap server communication

2010-06-12 Thread rhodebump
All, I am building an iphone app using GWT/phonegap, so my GWT application will be running from the filesystem in Safari. Given this, would it make sense for me to use RPC to communicate with remote server? My assumption here is that running from the filesystem will allow me to do this. I have

GWT front-end with PHP backend

2010-06-12 Thread rajath
Hi all, I recently tried my hand with GWT hosted on GAE/J, and found it to be really good, especially considering that i did not have to learn javascript. I want to try to build the front end with GWT, but for the back end, we already have a php server which gives json data over restful urls. I

Exception thrown when running on Google Chrome with compiler output style set to ‘OBF’

2010-06-12 Thread elifarley
I'd like to know if you guys have faced the same problem I'm facing, and how you are dealing with it. Sometimes, a small and harmless change in a Java class ensues strange errors at runtime. These errors only happen if BOTH conditions below are true: 2) the application is run on Google Chrome,

Skinning split panels

2010-06-12 Thread Alan's Dad
I'm using SplitLayoutPanel and VerticalSplitPanel in an application. I'd like to reskin the splitters - change the color, size, and maybe put a clickable image on the thing. Unfortunately, the splitter does not appear to be visible in either of the widgets. Am I missing something obvious? I'm

where to define domain objects

2010-06-12 Thread Denis
Hello, I am new to use GWT RPC. I am going to define a domain object which will map to a database table and be transported all across the layers from the data persistence to business logics and finally GWT presentation layer. The question is where should I define those domain objects? Inside the

Re: layout problems with positioning or aligning content

2010-06-12 Thread steveb
What works for me is a g:cell horizontalAlignment=ALIGN_CENTER wrapped around all widgets in a Vertical or Horizontal panel. It's pretty verbose though. When I have time I need to learn how to do this with CSS since it seems like tables are so last decade! On Jun 11, 9:58 pm, Magnus

Re: using gwt for games - svg, canvas or something else?

2010-06-12 Thread Hilco Wijbenga
On 11 June 2010 07:56, Aljosa Mohorovic aljosa.mohoro...@gmail.com wrote: i've found several gwt extensions that have svg or canvas support but i have no idea what to use. i'm trying to create simple games (stuff usually produced in flash) so i was wondering if anybody else tried something

Can't start with GWT

2010-06-12 Thread zeroed
Hello, everybody! I start my experience with GWT and have a problem at the beginning. I tried to setup new project in different IDE's: Eclipse, IDEA, NetBeans, but I failed in all cases. When I start my project and open browser (any browser) I get the following error: Plugin failed to connect

Windows and Linux Tips

2010-06-12 Thread pavelhaque
Hi friends, Do u need Windows and Linux Tips? Please visit the following site: http://windowsandlinuxtips.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Flashing cells for FlexTable

2010-06-12 Thread 82man
Hi all, I just started using GWT and so far its been pretty awesome. I am trying to implement a table where if a value changes it will do a flash ? For example, i have 3 cells and Cell A changes values , I would like flash on that cell (background changes color etc) to show the user that this

GMail attachment 'View' functionality accessible from GWT ?

2010-06-12 Thread Sebastien
Hi, when I'm sending a email with a pdf as attachment to my GMail account, GMail let me access to a HTML version of the PDF with following step : view attachment then Plain HTML. Does the GWT SDK provides an API to do that? (e.g. somehow convert pdf to html either from a attachment from a email

CAPS Lock 0n/off

2010-06-12 Thread gopal
I have some code for login page. There are one dynamic have TextItem and PasswordItem. Now when user enter some keys in this textitem or password field i want to set warning for capsLock is on or off on both. How can i set this? Please give me some proper reply on this i m try to 2-3 days for

Re: GWT front-end with PHP backend

2010-06-12 Thread Muhammad Saifullah
gwt created js is nothing but a normal JS ,executed in browser. so backend is either PHP or Java. if you use ajax in GWT and server side is PHP then you use RequestBuilder Class. if server side is Java then you may use either RequestBuilder/GWT.create(abc.class); On Sat, Jun 12, 2010 at 2:17 AM,

Re: Exception thrown when running on Google Chrome w ith compiler output style set to ‘OBF’

2010-06-12 Thread Thomas Broyer
On 11 juin, 23:05, elifarley elifar...@gmail.com wrote: I'd like to know if you guys have faced the same problem I'm facing, and how you are dealing with it. Sometimes, a small and harmless change in a Java class ensues strange errors at runtime. These errors only happen if BOTH

Re: CAPS Lock 0n/off

2010-06-12 Thread aditya sanas
Hello, You can either register textbox with onkeyuphandler which will give access to each keycode entered by using that if character entered is from A-Z that you can check as A has value 65... In this way you can achieve what you are trying to do and to show a message you can use anything as per

Re: Can't start with GWT

2010-06-12 Thread aditya sanas
If you wish to run your application in debug mode then only you need to have that extra parameter in your URL e.g. http://localhost:/demoapp?gwt=127.1.0.1somthing like this but you want to run application just start the server and enter the url as http://localhost:/ or your

Re: Flashing cells for FlexTable

2010-06-12 Thread aditya sanas
Hi, you can set particular styling for that cell for specific period of time say for 2 seconds and less than that and just remove this styling after that time. as flexttable has method as getFlexCellFormatter().setStyleName(stylename); remove this style after 2 seconds. so user will be

Event Delegation: onBrowserEvent() is never called unless there is a handler attached

2010-06-12 Thread Sky
I have a FocusPanel that doesn't have any event handlers attached to it. I override the FocusPanel's onBrowserEvent() but it never gets called unless I add a specific handler to it. What am I doing wrong? I thought the onBrowserEvent() gets called on any and all Widgets regardless of whether it's

Re: CAPS Lock 0n/off

2010-06-12 Thread Sky
Ya, but the user might just be holding the shift key and is intentionally entering capitol letters. The reality is that there STILL is no way to directly detect in a browser whether the capslock button is on/off. However, I believe it is possible to deduce this logically depending on whether the

RPC ing Annotations

2010-06-12 Thread Riyaz Mansoor
Hi GWT 2 docs mention that data enhanced objects (JDO) can now be RPC ed. It also mentions a few annotations by name. http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes However, there is very little information available AFAIK. Does the GWT 2

Re: GMail attachment 'View' functionality accessible from GWT ?

2010-06-12 Thread Sky
No, it does not. GMail is opening it in Google Docs. They wrote their own pdf reader that converts a pdf to html and display it in your browser. You will have to do the same if you want to do that. However, I believe most browsers can view pdfs if you have the Adobe Reader installed. I suppose a

Re: Event Delegation: onBrowserEvent() is never called unless there is a handler attached

2010-06-12 Thread Sky
Solved. Forgot to sinkEvents() in the constructor... my bad. It's been like a year since I did custom event handling :P cheers On Jun 12, 12:48 pm, Sky myonceinalifet...@gmail.com wrote: I have a FocusPanel that doesn't have any event handlers attached to it. I override the FocusPanel's

Re: Flashing cells for FlexTable

2010-06-12 Thread Sky
Use the Timer class for doing that. It's super easy to create and schedule Timers for doing asynchronous and delayed work like that. Or you could even make it better by fading from one color to the next color as an animation. Just make a class extend the Animation class and you'll auto override

Re: Exception thrown when running on Google Chrome w ith compiler output style set to ‘OBF’

2010-06-12 Thread Sky
Ya, I would seriously suggest upgrading to the GWT 2.0.1 because so many tiny little bugs have been fixed over all the releases. You'll have to start a new project and copy your code over to deal with the structure changes and other little stuff that changed in the project since GWT 1.5. It's not

Re: where to define domain objects

2010-06-12 Thread Sky
Hi Denis. I'm not going to be of much help, but I am curious and want to understand what a Domain Object is. Is this supposed to be essentially a global object for the web app that is not user dependent but all layers need access to it's methods/members? TBH I haven't used GWT for a fully layered

Re: app engine with hosted mode

2010-06-12 Thread Sky
I dunno, it just works with Eclipse. A GWT project created in Eclipse with AppEngine chosen for the server automatically runs the AppEngine server and it all works beautifully. lol, I should stick to answering threads specifically about the GWT ui and widgets cuz that's what I'm pretty good at :P

Re: Help to find only clickable panel except focuspanel

2010-06-12 Thread Deepak Bammi
On Wed, Jun 9, 2010 at 10:04 AM, Deepak Bammi deepak.ba...@gmail.comwrote: Stefan, Can you please help me to remove tab index from focuspanel ? Regards, Dev On Mon, Jun 7, 2010 at 4:49 PM, stefan bachert stefanbach...@yahoo.dewrote: Hi Deepak, I would prefer to discus in the gwt

SplitLayoutPanel - initial split between top and bottom panel

2010-06-12 Thread parvez.chau...@gmail.com
I am trying to use SplitLayoutPanel, everything seems to be working fine, except that on initial start, center panel (bottom panel) covers the north panel (top panel) completely. I have to use split bar to bring it down, I must be missing some property, any suggestion what should I do so that

Re: Help to find only clickable panel except focuspanel

2010-06-12 Thread Sky
Why do you want to remove the input box that is auto placed inside the focus panel? It's hidden and can't be indexed by tabbing. I never thought it was the case, but GWT claims that not all browsers support all events on DIV elements and they provide a workaround by using the hidden textbox (I

Re: Cross Site XML-HTTP?

2010-06-12 Thread KeremTiryaki
I think you should check here:https://developer.mozilla.org/En/ HTTP_access_control because you can not make a request to other domains directly. There are some method to overcome this kind of problems. iframe : http://developer.apple.com/internet/webcontent/iframe.html JSONP :

Creating Links out of Tab Items

2010-06-12 Thread gangurg gangurg
First there is a Page which list out list of all Employess . When uSer clicks on one employee , I construct a TabLayoutPanel TabLayoutPanel tabPanel = new TabLayoutPanel(1.5, Unit.EM tabPanel.add(new HTMLhttp://www.google.com/search?q=allinurl%3AHTML+java.sun.combntl=1 (Employee), Employee);

Re: Cross Site XML-HTTP?

2010-06-12 Thread Sky
You must have had a very old browser indeed to have been able to load XML from a different server than what is in the browser's address bar (which is the factor that determines whether a call triggers SOP or not... it's always fine to set the src or anything (such as script elements) to something

Re: GWT HTTP GET function

2010-06-12 Thread Sky
That won't be very helpful either. The issue is that the call is happening asynchronously and you have no idea when it's going to come back with the server response. The idea is that your onResponseReceived() method calls a some other method, passing the response. So whatever object needs the

Re: Efficient GWT Client-Server Communication methodology

2010-06-12 Thread Sky
I don't know anything about the Itemscript libraries that bill posted about, but I took a quick glance and it looks worthwhile investigating. Personally, I suspect that GWT-RPC does not have more bandwidth overhead but there would be a tad bit more processing overhead on both the client and

Re: GWT front-end with PHP backend

2010-06-12 Thread tyler
Hi Rajath, I've been using GWT with PHP backends, almost exclusively, with great success. The GWT docs have a pretty good tutorial. http://code.google.com/webtoolkit/doc/latest/tutorial/JSON.html#client Just ignore Section 1 (Creating a source of JSON data), which talks about implementing the

Re: Efficient GWT Client-Server Communication methodology

2010-06-12 Thread Anne
Thank you Bill and Sky. In the case of XML, it requires XML parsing. Won't that be an overhead over GWT-RPC? The tips by Sky, about sending multiple async calls will be greatly useful. Thanks. On Jun 13, 7:46 am, Sky myonceinalifet...@gmail.com wrote: I don't know anything about the

Re: GWT front-end with PHP backend

2010-06-12 Thread Subhrajyoti Moitra
http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html For cross site requests. It also uses PHP script in the example. Subhro. On Sun, Jun 13, 2010 at 10:04 AM, tyler ty...@thamtech.com wrote: Hi Rajath, I've been using GWT with PHP backends, almost exclusively, with great