Re: Entry Points -- can you replace them in module.xml?

2010-03-30 Thread Peter Simun
you have to set default value for supported_browser property. -p- On 30. Mar., 21:21 h., Skyfort wrote: > Hey all, I am trying to do something like this: > > > > >         >         > > > > > but it gives an ugly error. Is this even a possible thing to do? > > Here is the error -- thanks

Extending widget built by UIBinder

2010-03-30 Thread Blessed Geek
I have a class UIPopup which is coded with UIBinder. public class UIPopup extends DecoratedPopupPanel { private static PopupUiBinder uiBinder = GWT.create(PopupUiBinder.class); interface PopupUiBinder extends UiBinder{} @UiFactory public UIPopup getThis(){ return this; }

Menu Item and MVP

2010-03-30 Thread mic
Just sharing some thoughts Would the MenuItem class need to implement HasClickHandler so that when a MenuItem is clicked, the action can be handled in the presenter. At this time, the MenuItem needs an object that implements the Command interface, so the view seems to know about the presenter

Re: Newbie question : Problem with GWT RPC when running running through GWT + AppEngine tutorial

2010-03-30 Thread vijay
Ping! On Wed, Mar 31, 2010 at 1:58 AM, vijay wrote: > hi, > I am using GWT 2.0.3 version, I am going through the steps mentioned in GWT > tutorial > > http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html > > When trying to integrate login service I get following exception. I trie

Re: New GWT widget resource, of sorts: vaadin.com/directory

2010-03-30 Thread fonghuangyee
hi emarc, since u are familiar with vaadin, can i ask u a question regarding vaadin demo? Why every click from the demo will send a request to server to retrieve something like this : for(;;);[{"changes":[["change",{"format": "uidl","pid": "PID0"},["0", {"id": "PID0","height": "719px","width": "14

Re: New GWT widget resource, of sorts: vaadin.com/directory

2010-03-30 Thread fonghuangyee
hi emarc, since u are familiar with vaadin, can i ask u an question regarding vaadin demo? Why every click from the demo will send a request to server to retrieve something like this : for(;;);[{"changes":[["change",{"format": "uidl","pid": "PID0"},["0", {"id": "PID0","height": "719px","width":

Re: Problem using java projects in GWT

2010-03-30 Thread lineman78
You cannot use source code from a java project in GWT directly. All GWT code must be in the client path of a module. i.e. sura.ticketcheck.bo.Instancia is not part of a GWT module. There is one workaround I have gotten to work(only once, so no guarantee). 1) Create a file BoModule.gwt.xml in yo

Re: RequestBuilder and compressed xml file

2010-03-30 Thread bradrover
Well forget that error message... I'm just trying to figure out now why my RequestBuilder Accept-Enc0ding header is not being used. I add this code: requestBuilder.setHeader("Accept-Encoding", "gzip, deflate"); and I get this result in chrome for request headers: Referer:http://localhost:8080/Sd

Dynamic Module Loading

2010-03-30 Thread lineman78
I know this is a common request of people trying to make pluggable applications. It seems that every time someone comes up with a solution to this problem the GWT team changes the way the core linkers work and break the solution. I was wondering if anyone knows a way to dynamically load a module

Re: RequestBuilder and compressed xml file

2010-03-30 Thread bradrover
I'm probably doing this wrong,but I compressed the xml file to a zip, when I request the zip file using RequestBiulder in hosted mode running Chrome it crashes the plug-in. com.google.gwt.dev.shell.BrowserChannel$RemoteDeathError: Remote connection lost at com.google.gwt.dev.shell.BrowserChann

Re: RequestBuilder and compressed xml file

2010-03-30 Thread Sripathi Krishnan
You don't have to do anything special on the client side - the browser will automatically deflate it before you get the content. Just make sure that your server side code respects accept-encoding request header before sending down a compressed file. --Sri On 31 March 2010 02:02, bradrover wrot

Re: Problem using java projects in GWT

2010-03-30 Thread kozura
This using Eclipse? Be sure it's actually in the classpath under the Run Configurations dialog, as the GWT compiler needs to find it there even if Eclipse doesn't. On Mar 30, 1:28 pm, Lucas Rios wrote: > Hi everybody > > I'm trying to use a Java project in GWT but I have had some problems > beca

RequestBuilder and compressed xml file

2010-03-30 Thread bradrover
I have some larger xml files than I 'd like, but I need to pull them down and parse them client side. If I zip these up can I still use RequestBuilder to get the content to the client and deflate it, or is there a better way ? -- You received this message because you are subscribed to the Google

Newbie question : Problem with GWT RPC when running running through GWT + AppEngine tutorial

2010-03-30 Thread vijay
hi, I am using GWT 2.0.3 version, I am going through the steps mentioned in GWT tutorial http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html When trying to integrate login service I get following exception. I tried using a normal GWT RPC and it also gave me similar exception. Ma

Re: Server side: start independent Thread at deploy on server

2010-03-30 Thread t.dave
just initialize the thread in the servlet's init() method and shut it down in the servlet's destroy() method. then just make sure that the servlet is started on server startup by adding this to the servlet definition in your web.xml: i think that should be the same regardless if you're running

Stop caching by complier in temp folder

2010-03-30 Thread Anky
Hi, I am facing a situation here. The compiler generates some XXX_TypeSerializer.java files and gwtc.tmp folder on compliation under the Document..settings/Temp folder. Is there any way to avoid this step? This causes a problem when I reload the application on the same browser. I am using Goo

Problem using java projects in GWT

2010-03-30 Thread Lucas Rios
Hi everybody I'm trying to use a Java project in GWT but I have had some problems because I can't compile the GWT project. I have done this: 1.Make a xxx.gwt.xml in the java project. 2. Add a external JAR (java project) in the java build path of the GWT project. In Projects and libraries tabs.

Problem using java projects in GWT

2010-03-30 Thread Lucas Rios
Hi everybody I'm trying to use a Java project in GWT but I have had some problems because I can't compile the GWT project. I have done this: 1.Make a xxx.gwt.xml in the java project. 2. Add a external JAR (java project) in the java build path of the GWT project. In Projects and libraries tabs.

Entry Points -- can you replace them in module.xml?

2010-03-30 Thread Skyfort
Hey all, I am trying to do something like this: but it gives an ugly error. Is this even a possible thing to do? Here is the error -- thanks! [ERROR] Unable to load module entry point class com.test.client.EntryPoint (see associated exception for details) java.lang.Nu

Entry Points -- can you replace them in module.xml?

2010-03-30 Thread Skyfort
Hey all, I am trying to do something like this: but it gives an ugly error. Is this even a possible thing to do? Here is the error -- thanks! [ERROR] Unable to load module entry point class com.test.client.EntryPoint (see associated exception for details) java.lang.Nu

Parameter 0 of is of an unknown type 'java.lang.String/2004016611' - error when running through AppEngine+ GWT tutorial

2010-03-30 Thread vijay
hi, I am using GWT 2.0.3 version, I am going through the steps mentioned in GWT tutorial http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html When trying to integrate login service I get following exception. Mar 30, 2010 6:44:49 PM com.google.appengine.tools.development.ApiProxyL

Re: Scroll techniques for mobile phones

2010-03-30 Thread davidroe
If you disable the zooming capabilities of the viewport, very tall panels should be scrolled by the OS. On Mar 24, 11:18 pm, Sekhar wrote: > How are folks (or is anyone) doing page scrolls for GWT apps on mobile > phones? I'm having a bad time getting things going on say Android. > E.g., the scro

request compressed xml file

2010-03-30 Thread bradrover
I have some xml files I need to request from the client side, and parse. I have this working with RequestBuilder, but some of the files are pretty big, and I'd like to compress them. Is it possible to retrieve gzipped xml files from the server somehow using RequestBuilder ? Or, is there a better st

Re: running gwt visualisation sample

2010-03-30 Thread imgnik
and of course, i got the build.xml off from gwt distribution and modify it. On Mar 31, 2:04 am, imgnik wrote: > Thanks! > > "ant eclipse.generate" > > On Mar 28, 10:04 am, kozura wrote: > > > Read Showcase/README.txt, first bullet point: -- Option A: Import your > > project into Eclipse (recomme

Re: running gwt visualisation sample

2010-03-30 Thread imgnik
Thanks! "ant eclipse.generate" On Mar 28, 10:04 am, kozura wrote: > Read Showcase/README.txt, first bullet point: -- Option A: Import your > project into Eclipse (recommended) -- > > On Mar 27, 8:01 pm, imgnik wrote: > > > sorry.. i think i didn't explain clearly.. i want to import the > > samp

Re: Flex communication problems

2010-03-30 Thread Jeff Chimene
On 03/30/2010 04:30 AM, terje_sverje wrote: > Hi, > > I am desperately trying to get pwrlscript Array objects from GWT to > Flash. Do you mean "perl script"? > So far I have only been able to communicate Strings. > > Does anyone know how to transfer Array objects?? -- You received this messag

Re: Piriti: JSON and XML mapper

2010-03-30 Thread Thad
Thanks, Harald. I've been very frustrated with GWT's lack of XPath and with dealing with XML on the client via the DOM. It's okay went I create the XML and can ensure that fields are there, but difficult when I can't. Currently my approach has been to convert the XML to JSON. That's not been id

Re: Passing form object

2010-03-30 Thread Thad
The approach I use is to create a Hidden widget on the form. In my onSubmitHandler() I bundle the information I want to send with the form into a JSON object and assign its string to the Hidden widget. Then on the server all I do is look for the value of the Hidden widget, and parse the JSON objec

Re: Stop a nuclear disaster

2010-03-30 Thread Ian Bambury
'Our' government? There are far worse things than nuclear accidents. Like off-topic posts, for example. Ian http://examples.roughian.com On 28 March 2010 03:58, wrote: > Hi , > Our government is churning out one hazardous bill after another. This time > it is a bill called the Civil Liabilit

Devmode PushButton error when loading module in IE7

2010-03-30 Thread Zak
When trying to load my app in IE7 Devmode, I receive the following error (package name changed to protect the innocent): 00:02:20.199 [ERROR] Unable to load module entry point class com.mydomain.myapp.client.MyModule (see associated exception for details) com.google.gwt.core.client.JavaScriptExcep

Stop a nuclear disaster

2010-03-30 Thread deepakreddy.t
Hi ,Our government is churning out one hazardous bill after another. This time it is a bill called the Civil Liability for Nuclear Damage, and it's coming up for a vote in a couple of days. The bill lets U.S. corporations off the hook for any nuclear accidents they cause on Indian soil. They'd o

Re: Flex communication problems

2010-03-30 Thread cretz
You can always attempt to marshal/unmarshal yourself, but that usually isn't the best way. I recommend http://noon.gilead.free.fr/gilead/. On Mar 30, 6:30 am, terje_sverje wrote: > Hi, > > I am desperately trying to get pwrlscript Array objects from GWT to > Flash. > So far I have only been able

Re: GWT Incubator scrolltable

2010-03-30 Thread Davis Ford
Hi, take a look at my blog write-up that shows an example of how to use PST -> http://zenoconsulting.wikidot.com/blog:17/ On Sun, Mar 21, 2010 at 3:31 PM, Kwame wrote: > Does anyone have the full source code for this paging scroll table > demo: > http://collectionofdemos.appspot.com/demo/com.goog

MVP and custom widgets

2010-03-30 Thread crojay78
Hi, I am using the MVP approach in my project and just created a new TableWidget which uses the PagingScrollTable. My TableWidgets is working as expected but only without communication to the presenter of tthe view. My problem is how can process clicks on the table of my CustomWidget in the presen

Re: Attaching items to tabs to TabLayoutPanel

2010-03-30 Thread kozura
Well easy, just use a layout widget instead of HTML widget. For example, FlowPanel fp = new FlowPanel(); fp.add(new Text()); fp.add(new Button("Press me")); p.add(fp, "Text and Button"); On Mar 30, 6:15 am, Kurt_Sultana wrote: > Hi! > > I'm experimenting with TabLayoutPanel... basically what I

Re: Decorator panel outlook problem

2010-03-30 Thread Ian Bambury
It's because the deck part of the tabpanel expands its contents to full width. Always been annoying, that one. The decorated panel then stretches and the cells work out their own widths. This means that the edge cells (decorated bits) stretch to greater than they should be and you see all the imag

Not able to view the design mode

2010-03-30 Thread Neetha
Hi All, I have just started using GWT, I have downloaded GWT and GWT Designer and I have started a test application as well. I was able to create a Composite in the design mode, but I was not not able to view the Design mode in the main Java program, which is the Entry point class I guess, where w

Compiling problems GWT 2.0

2010-03-30 Thread indenovo
Hi, I migrate my App from gwt 1.7 to GWT 2.0 but when i try to compile it,it doesn't worked.Sometimes it works (1/100 of intent of compiling).I use netbeans,gwt 2.0 ,gwt.ext 2.0.6, gwt-ext-ux 0.3. It seems that's memory's problems,but i'm not sure,i try to change the parameter gwt.compiler.jvmargs

How to Configure GWT to use apache? [Ubuntu]

2010-03-30 Thread Rafael Farias
The GWT is using only Tomcat with port , when I try to access a PHP file that is in the /var/www, the directory read by apache in Ubuntu, I get this error: com.google.gwt.http.client.RequestPermissionException: The URL http://127.0.0.1/Quadrante.php is invalid or violates the same-origin secur

gwt window.open()总被chrome拦截:求解决办 法

2010-03-30 Thread 浪子孤魂
用jsni也没能解决,我需要弹出一个播放器 public class Popup implements EntryPoint { @Override public void onModuleLoad() { final Button button = new Button("click me"); button.addClickHandler(new ClickHandler() { @Override

How to re-use i18n messages in different template with uibinder

2010-03-30 Thread Leon
Hi all, According to this article http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinderI18n.html, it says "if we take some care with how we manage our translated properties files, a message that happens to be used in more than one template will only need to be translated once". However, i

Advice request for GWT newbie

2010-03-30 Thread Dave
I'm a newbie with GWT and before I go about trying to implement a solution using the technology I thought I would first ask advice. I have an application that handles well data transmitted to it over socket connections, transforms the data, and forwards it to other components for further processi

Attaching items to tabs to TabLayoutPanel

2010-03-30 Thread Kurt_Sultana
Hi! I'm experimenting with TabLayoutPanel... basically what I want to do is attach an HTML page with its widgets etc... for each tab. So far I have managed this: TabLayoutPanel p = new TabLayoutPanel(1.5, Unit.EM); p.add(new HTML("Twitter Configuration"), "Twitter"); p.add(new HTML("MySQL Config

Re: working with GWT and PHP in the development mode

2010-03-30 Thread Marcello Nuccio
It is also possible to use the embedded Jetty server. Here's how I do it: 1) install "Eclipse for PHP Developers" from http://www.eclipse.org/downloads/ 2) install "Google Plugin for Eclipse" adding to eclipse the update site http://dl.google.com/eclipse/plugin/3.5 3) create a "New Web Applicat

Decorator panel outlook problem

2010-03-30 Thread Fendy Tjin
Decorator panel outlook went a mess when expanded its width. example source: DecoratedTabPanel tabPanel = new DecoratedTabPanel(); // expand the width of the tab panel tabPanel.setWidth("1000px"); tabPanel.setAnimationEnabled(true); // a new tab String[] tabTitles = { "Home", "Content", "More

NullPointerException at GWTShellServlet.doGetPublicFile (GWT 2.0.3) - GWT Eclipse plugin 1.3.2

2010-03-30 Thread Marek
Hi, I have problem with running development mode from GWT Eclipse plugin version 1.3.2. I'm connecting to dev mode with Chrome. In logs I find this: [WARN] /com.test.Test/C43A8DC1E50D698B543BF589D0244ECC.cache.png java.lang.NullPointerException at com.google.gwt.dev.shell.GWTShellServlet.d

New GWT widget resource, of sorts: vaadin.com/directory

2010-03-30 Thread emarc
Hi, It occurs to me that the Vaadin Directory that was launched today might actually be an interesting resource for GWT widgets. http://vaadin.com/directory (Also, I'm personally quite excited about it, and want spread the word - feedback welcome!) It's not a plain GWT resource, since it's actual

GEP 1.3 : com.google.gdt.eclipse.suite.* packages not exported

2010-03-30 Thread Fred
Hi, I'm trying to set up a m2eclipse project configurator for GEP during my spare time (I'll open source the code eventually, it's just I haven't setup any SCM yet). So far, I've been able to add the GWT nature to maven projects, set the war source directory using the GEP API. I'd like to create/

Re: PagingScrollTable running example please???

2010-03-30 Thread Felipe Peña
That's look simple, Here's another way http://wiki.cs.rpi.edu/trac/metpetdb/browser/trunk/mpdb-client/src/edu/rpi/metpetdb/client/ui/widgets/paging?rev=945 saludos y good luck ! 2010/3/30 crojay78 > Hi, > > thanks for the answer, it really helped. > > Also I found a running example project he

Flex communication problems

2010-03-30 Thread terje_sverje
Hi, I am desperately trying to get pwrlscript Array objects from GWT to Flash. So far I have only been able to communicate Strings. Does anyone know how to transfer Array objects?? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post

Re: PagingScrollTable running example please???

2010-03-30 Thread crojay78
Hi, thanks for the answer, it really helped. Also I found a running example project here http://zenoconsulting.wikidot.com/blog:17/ In the comments he explained me how to retrieve by using maven On 29 Mrz., 18:45, Felipe wrote: > HI, Here's an example : > > publicMyClass implement EntryPo

Re: Session management in GWT

2010-03-30 Thread olivier nouguier
hi, If you've change the window location, you can: - give some info if in the url, limited and ugly. - provide a (remote) service to expose user details to the new module (I suppose AdminDashboard.jsp is hosting another GWT module). - for the JSP you can access to the servlet api to retrieve us

Re: Blank screen in IE7 but normal in IE6, IE8, FF

2010-03-30 Thread Peter Simun
Did you tried to switch compatibility mode in IE7 ? It should help you. -p- On 17. Mar., 12:38 h., tankesz wrote: > Hi, > > I am new in GWT and I have a problem with LayoutPanel. > Adding LayoutPanel to the north side of a DockLayoutPanel works > correctly. > But when I put DeckPanel into the ce