Re: Sessions and GWT

2010-06-17 Thread Frederic Conrotte
GWT and Spring Security work perfectly together. See this as a starter point: http://www.jroller.com/sjivan/entry/ajax_based_login_using_aceci http://java.dzone.com/articles/integrating-gwt-spring I advise you to use a classic HTML form for login, not a GWT based login dialog. On Jun 17, 7:19 

Re: Does a private variable in Java stays private when compiled to javascript?

2010-06-17 Thread mmoossen
hi, Shedokan! does it matters? first the generated code is obfuscated so you wont find your class, ctor or var so easily. second the GWT compile optimizes a lot, so it could inline any use of your var and completely remove it. HTH Michael On Jun 16, 5:23 pm, Shedokan shedok...@gmail.com wrote:

Re: Sessions and GWT

2010-06-17 Thread Kasper Hansen
Just curious; why do You recommend a classic HTML form, Frederic ? Cheers. :-) Kasper On Thu, Jun 17, 2010 at 8:25 AM, Frederic Conrotte frederic.conro...@gmail.com wrote: GWT and Spring Security work perfectly together. See this as a starter point:

Re: GWT project with multiple pages

2010-06-17 Thread Stefan Bachert
Hi, On Jun 16, 3:14 pm, Brian Reilly brian.irei...@gmail.com wrote: This is a technique that I'm finding useful for using GWT to implement new features in an existing web application. With multiple pages you will lose the gui state of the GWT- application. Multipages will have poor user timing

Re: Sessions and GWT

2010-06-17 Thread Frederic Conrotte
In our case I didn't want the user to wait for the GWT app to load because he could see the login screen. Furthermore, you should take care at securing both HTML request URLs and RPC requests URLs. On Jun 17, 9:06 am, Kasper Hansen kbhdk1...@gmail.com wrote: Just curious; why do You recommend a

Re: Sessions and GWT

2010-06-17 Thread Frederic Conrotte
I didn't want the user to wait for the GWT app to load because he could see the login screen Correction: I didn't want the user to wait for the GWT app to load BEFORE he could see the login screen. Sorry :) On Jun 17, 9:17 am, Frederic Conrotte frederic.conro...@gmail.com wrote: In our case I

Re: GWT or SmartGWT and Oracle - Stored procedures

2010-06-17 Thread kensai yanesha
The database could be any SQL engine, so the dataserver type schould be sql not hibernate. On 17 čvn, 06:18, kensai yanesha archenr...@googlemail.com wrote: Hello, I am new to GWT at all. My approach is to have an editable grid on the client side and one or more tables on the database side

Re: parsing library for the client side

2010-06-17 Thread lpetit
Thanks guys for the encouragements ! Anybody could give feedback ? Anybody already tried to do this already ? On 17 juin, 01:33, Sky myonceinalifet...@gmail.com wrote: Man, that just sounds kickass! Infinitely better than writing your parser code twice in two different languages and any time

Re: AsyncCallback - returning values to enclosing block

2010-06-17 Thread Joost Bloemsma
Yep, I tried it too, but my wife didn't get the beer!!! On 16 jun, 15:07, Magnus alpineblas...@googlemail.com wrote: Hi, thanks, the mechanism is still too new for me. Now, after debugging exactly what Thomas said (the return val was empty), I understand it. So one can never just fetch

Re: how to enable scrolling for app using DecoratedTabPanel?

2010-06-17 Thread Olivier Monaco
Hi, There is two type of layouts: RIA-like and web-page-like. The RIA-like layout is done using the layout panels. The app stretch to the whole available space. There is no scrollbars. The web-page-like layout is done using HTML tags (and some standard panels). The app don't stretch. If the

Re: DockLayoutPanel inside a ScrollPanel

2010-06-17 Thread Olivier Monaco
Yes, Stefan, I missed it. Thanks. On 16 juin, 18:33, Stefan Bachert stefanbach...@yahoo.de wrote: The layout panels are made to avoid scrolling. They must have a fixed size. The latter sentence is not completly true. A LayoutPanel does not calculate its size from children. Especially it

Browser compatibility for event.getNativeEvent().getKeyCode()

2010-06-17 Thread ruds
Hello there, I have a focus panel where i added a MouseDownHandler to it. now in my MouseHandler i am doing the following: public void onMouseDown(MouseDownEvent arg0) { if(arg0.getNativeEvent().getKeyCode()==Event.BUTTON_LEFT){ }else if(arg0.getNativeEvent().getKeyCode()==Event.BUTTON_RIGHT){ }

Re: MVP questions

2010-06-17 Thread Olivier Monaco
Hi, Depending on the size of object2, I will use a dedicated presenter or not. Commonly, I like to have a dedicated one so I can easily reuse it, extends it... and, more important, I have more encapsulation, reducing the complexity of my code. Olivier On 16 juin, 17:20, Bilousme

Re: Browser compatibility for event.getNativeEvent().getKeyCode()

2010-06-17 Thread Jaroslav Záruba
There are couple of issue-reports for key-handlers, very old ones. This has been also reported. On Thu, Jun 17, 2010 at 10:06 AM, ruds roud...@gmail.com wrote: Hello there, I have a focus panel where i added a MouseDownHandler to it. now in my MouseHandler i am doing the following: public

Re: Browser compatibility for event.getNativeEvent().getKeyCode()

2010-06-17 Thread Jaroslav Záruba
And they apply to 2.1 m1 too. 2010/6/17 Jaroslav Záruba jaroslav.zar...@gmail.com There are couple of issue-reports for key-handlers, very old ones. This has been also reported. On Thu, Jun 17, 2010 at 10:06 AM, ruds roud...@gmail.com wrote: Hello there, I have a focus panel where i added

Re: GWT client timestamps for humans

2010-06-17 Thread PEZ
Now fixed. Many thanks for alerting on it! (I'm quite the GWT newbie.) /PEZ On Jun 16, 12:33 pm, Thomas Broyer t.bro...@gmail.com wrote: On Jun 16, 9:38 am, PEZ p...@pezius.com wrote: Hello, I want to inform you all that I've ported PrettyTime (http:// ocpsoft.com/prettytime/) to GWT

Gwt Developer Plugin for Safari does not work

2010-06-17 Thread István Szoboszlai
Hello, The developer mode plugin for safari stopped working a while ago. I am using a Mac. The symptom is, that when I point my browser to the url given by devmode in eclipse, safari simply comes up with the please download devmode plugin. Doesn't matter how many times I reinstall the plugin, it

Re: Browser compatibility for event.getNativeEvent().getKeyCode()

2010-06-17 Thread Thomas Broyer
On 17 juin, 10:06, ruds roud...@gmail.com wrote: Hello there, I have a focus panel where i added a MouseDownHandler to it. now in my MouseHandler i am doing the following: public void onMouseDown(MouseDownEvent arg0) { if(arg0.getNativeEvent().getKeyCode()==Event.BUTTON_LEFT){ }else

Re: AsyncCallback - returning values to enclosing block

2010-06-17 Thread Thomas Broyer
On 16 juin, 14:52, aditya sanas 007aditya.b...@gmail.com wrote: LOL Thomas.[?] That was great example to determine async calls. To be fair, the beer/wife metaphor was originally described in much more details by Jason Essington almost 2 years ago:

Re: GWT client timestamps for humans

2010-06-17 Thread Thomas Broyer
On 16 juin, 14:43, PEZ p...@pezius.com wrote: Oh, and I was planning to add a few more locales soon... What's the implications? It obviously adds permutations to the app. You can however add as many *.properties files to support additional locales without forcing anyone. Have a look at

Re: Does a private variable in Java stays private when compiled to javascript?

2010-06-17 Thread Thomas Broyer
On 16 juin, 17:23, Shedokan shedok...@gmail.com wrote: Hello, I am looking at GWT's features and can't figure out weather a variable declared in java as private will stay private once compiled in GWT. By private I mean unaccessible to anyone except for the constructor or the construtors

Re: Browser compatibility for event.getNativeEvent().getKeyCode()

2010-06-17 Thread Jaroslav Záruba
Sorry if that is the case, my response was affected by the fact that I have ran into that 0-bug yesterday. On Thu, Jun 17, 2010 at 11:36 AM, Thomas Broyer t.bro...@gmail.com wrote: On 17 juin, 10:06, ruds roud...@gmail.com wrote: Hello there, I have a focus panel where i added a

Re: History and server call.

2010-06-17 Thread Thomas Broyer
On 16 juin, 15:31, Tristan tristan.slomin...@gmail.com wrote: sounds like you're reinventing the place service, with event bus, with local cache rpc service, but doing it in a new, innovative, complex and if the code grows on you perhaps unintelligible way. if you're the only one who will

Re: AsyncCallback - returning values to enclosing block

2010-06-17 Thread Chris Boertien
What you want to do is have some method in the caller that is waiting for the result that the callback can call once the data is retrieved. So you would make the getUser() method return type void and, if the class defining that method is the same as the one calling that method, add another method

Re: Browser compatibility for event.getNativeEvent().getKeyCode()

2010-06-17 Thread rudolf michael
Well the following worked fine for me, but i did a different implementation though @Override public void onBrowserEvent(Event event) { super.onBrowserEvent(event); if(DOM.eventGetType(event)==Event.ONMOUSEDOWN){ if (DOM.eventGetButton(event) == Event.BUTTON_RIGHT){

Re: History and server call.

2010-06-17 Thread Ravi Sharma
Hi Thomas, I checked this URL http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html, for GWT 2.1 but didnt find much information about Activities. Is it explained somewhere else. Can you share such info/link so i can look into it dont reinvent everything. I am about to start implementing

Re: History and server call.

2010-06-17 Thread Jaroslav Záruba
I searched too but have found only this: http://code.google.com/p/google-web-toolkit/source/browse/branches/2.1/bikeshed/src/com/google/gwt/app/place/ http://code.google.com/p/google-web-toolkit/source/browse/branches/2.1/bikeshed/src/com/google/gwt/app/place/It seems to be missing in 2.1 m1 yet.

Re: SerializerBase.check(String,int) throws useless exception?

2010-06-17 Thread Chris Lowe
I just had to debug one of these errors. I just set a break point where the exception is raised (i.e. SerializerBase.java:161). I ran my app in debug developer mode and when I hit the breakpoint I was able to inspect the parent call in the stack where there is a method parameter called instance.

Re: GWT, servlet, JSP and datastore

2010-06-17 Thread kensai yanesha
Tristan maybe you could help me, do you have any completed Eclipse project with grid connected to database? I would thank you if you could provide me such thing to learn more. I am on dead point. We will use only stored procedures for communication with database and I am not able to find any rich

Re: Simple working example of the Data Presentation Widget CellTable

2010-06-17 Thread bond
Hi, someone can post a complete example of use of Data presentation Widget? it'll be also welcome an example of server side. Thanks Best regards On 3 Giu, 14:14, Paul Stockley pstockl...@gmail.com wrote: Sorry my message got truncated: Your over complicating it. You should just subclass

Re: GWT client timestamps for humans

2010-06-17 Thread PEZ
Thanks for clarifying. Obviously it wasn't obvious to me. =) /PEZ On Jun 17, 11:43 am, Thomas Broyer t.bro...@gmail.com wrote: On 16 juin, 14:43, PEZ p...@pezius.com wrote: Oh, and I was planning to add a few more locales soon... What's the implications? It obviously adds permutations to

Order in new CellTable

2010-06-17 Thread bond
Hi, I'm using the new GWT2.1M1. I'm testing CellTable and it seems very beautiful. I've 2 questions: -how I can order the data display clicking on the column header? -how I can add an onMouseOver event on a single cell? Thanks very much Best regards -- You received this message because you

Re: Order in new CellTable

2010-06-17 Thread Jaroslav Záruba
The Expenses demo-app uses ordering columns: http://gwt-bikeshed.appspot.com/Expenses.html (see report details) source: http://code.google.com/p/google-web-toolkit/source/browse/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/ On Thu, Jun 17, 2010 at 2:06 PM, bond daniele.re...@gmail.com

Re: GWT, servlet, JSP and datastore

2010-06-17 Thread Tristan Slominski
hey there, my work is on app engine so i don't have an example you requested, but probably someone else in the community does. On Thu, Jun 17, 2010 at 06:06, kensai yanesha archenr...@googlemail.comwrote: Tristan maybe you could help me, do you have any completed Eclipse project with grid

Re: History and server call.

2010-06-17 Thread Tristan Slominski
here's an example i wrote that walks through place service, hope that helps with place service concepts. note that I got feedback that two types of place events that i implemented here are not necessary and that one would be sufficient, but i haven't had the time to refactor yet. it should however

Re: Gwt Developer Plugin for Safari does not work

2010-06-17 Thread Miguel Méndez
Which version of Safari are you using? Also, what version of Mac are you using? On Thu, Jun 17, 2010 at 5:34 AM, István Szoboszlai mrsz...@gmail.comwrote: Hello, The developer mode plugin for safari stopped working a while ago. I am using a Mac. The symptom is, that when I point my browser

Re: GWT or SmartGWT and Oracle - Stored procedures

2010-06-17 Thread kensai yanesha
Well, I went trough many tutorials and howtos on internet. The one was amazing and it solved all my needs. DataSource definition is in XML and I can execute CRUD operations using storedc procedures on the database side. I am talking about project SmartClient. One can define DataSource using this

SmartGWT and Database integration example

2010-06-17 Thread kensai yanesha
Hello there, could someone provide me with complete eclipse project where schould be used rather SmartGWT then GWT gui components integrated with any sql type database engine? This will really help me. Thank you. Kensai -- You received this message because you are subscribed to the Google

Re: gwt2.0 memory leak

2010-06-17 Thread Daniel Le Clere
For some reason my last message didn't go through. I don't have time to retype the other thing, but essentially have a look at http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#DataPresentationWidgets and gwt incubator. You want to re-implement it using a design that utilises

Re: MVP questions

2010-06-17 Thread Bilousme
Ok but what recommend the MVP pattern ? - one View/presenter by screen ? - one view/presenter by data object model... It's not really clear (at least for me) On Jun 17, 10:08 am, Olivier Monaco olivier.mon...@free.fr wrote: Hi, Depending on the size of object2, I will use a dedicated presenter

Re: What's the best/easiest way of doing server-side persistence with GWT?

2010-06-17 Thread kensai yanesha
Hi, could you release your GWT mysql project somewhere on the web. Would be very helpful for me see real complete project of GWT and database integration. I have to say, that in my case we plan to use stored procedures only on the db side for access data. thx. kensai On 21 kvě, 16:50,

Re: Order in new CellTable

2010-06-17 Thread Jim
I got all source code from this repository and created a project - bikeshed21. I fixed some minor issues because Parser and Render classes are duplicated in two packages. Now I got a clean Eclipse project without any syntax errors. But I can not run it because there are DataNucleus-enhance

On struts2gwtplugin...

2010-06-17 Thread Vince
Hello, We've been using GWT 1.7.1 with struts2gwtplugin-0.2.1 for quite sometime now with zero problems until now... We're currently encountering a NullPointerException on a callback transmission which goes like this... java.lang.NullPointerException at

Re: New book, ESSENTIAL GWT

2010-06-17 Thread FKereki
Thanks for the reference. I can add the index of the book: Chapter 1. Developing Your Application - Rich Internet Applications; Advantages of GWT; Software Methodologies to Apply Chapter 2. Getting Started with GWT 2.0 - Why use GWT?; The GWT Components; Setting GWT Up Chapter 3. Understanding

Re: Sessions and GWT

2010-06-17 Thread fmod
I think you can pretty much solve the problems related with performance in runAsync() calls. So in the initial package have only the minimum code for showing an empty page and the login, and after a successful login start getting the data needed. That will also fix (I think) problems related with

Re: New book, ESSENTIAL GWT

2010-06-17 Thread FKereki
Hi! This book is geared towards GWT 2, including all its new features. I cover items such as UiBinder, code generators, deferred binding, MVP, etc. Quoting from the preface of the book: Chapters 1 through 3 deal with the basic setup for working with GWT. After considering the main reasons and

Re: On struts2gwtplugin...

2010-06-17 Thread Vince
Hello, We found the problem... First of all we were looking at the wrong AJAX call which started the entire puzzle over what was happening, totally our mistake. Second of all, we were indeed encountering a null value in one of our callback communications. We fixed the problem... Having said

GWT Help in NYC

2010-06-17 Thread David E.
I built a fairly large GWT app, it is a word processor of sorts, everything is FlexTable based. It has about 100+ class files. It's working pretty well, but I'm having issues that I'm having problems figuring out. I'm operating in a vacuum over here. There are no other programmers in my company

Re: HELP Problem JPA with the datasource of smartGWT

2010-06-17 Thread ckendrick
You should post this in the SmartGWT forums at forums.smartclient.com. On Jun 14, 8:09 am, samounas elmokhtari.as...@gmail.com wrote: Can u help me please? On 14 juin, 14:55, samounas elmokhtari.as...@gmail.com wrote: Hi, I have a problem with the file mapping of JPA anddatasource.xmlof

Re: DialogBox glass panel incorrectly scrolls in Chrome (with fixed position HTML header)

2010-06-17 Thread ChrisK
I managed to fix this by changing some absolute positioning styling I had. It looks like this is caused by absolutely positioned elements like a main body div. GWT sets the height of the glass panel in CSS to the height it think the body is, but it's wrong since the absolutely positioned elements

Re: Access ClientBundle ImageResource from UiBinder

2010-06-17 Thread CJ Bilkins
I've succeeded in getting sprites to work via uibinder though it doesn't seem possible to get it to work how you'd like (or arguably at all). I looked high and low for a complete working example and couldn't find one, so I'm going to try to be as verbose as possible in the hope that you and

Re: History and server call.

2010-06-17 Thread Thomas Broyer
On 17 juin, 12:30, Ravi Sharma ping2r...@gmail.com wrote: Hi Thomas, I checked this URLhttp://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html, for GWT 2.1 but didnt find much information about Activities. Is it explained somewhere else. Can you share such info/link so i can look

Re: History and server call.

2010-06-17 Thread Ravi Sharma
Hey guys, I have been thinking about all this MVP architect(i am new to it) and history management and show on ready pattern etc and came up with following design/idea. Lets see if it will work and feel free to comment on it. 1) Something happens on UI(Some User activity like mouse click,

Maven Module, Custom GWT Widget and RPC

2010-06-17 Thread Tim G
Hello all, We are in the initial stages of implementing GWT into our current set of web apps. The goal is to develop a series of individual custom GWT based widgets deployed to various apps as maven modules. The basic structure of said projects would be as such: Parent (pom)

Re: GWT and CSS

2010-06-17 Thread Mohamed Cherb
Use addStyleName() method and use your own class to override the properties declared by gwt-Button 2010/6/16 Magnus alpineblas...@googlemail.com Hi, I used CSS and setStyleName to style my widgets, until I found out that my widgets look less cool when I do that. I now understand that each

Using the addAndReplaceElement to add Widgets

2010-06-17 Thread Thiago Miranda de Oliveira
Hi.. Here in my company we've decided to adopt the GWT for a working project but we are facing a huge barrier. Gwt has it's own widgets but they won't be used for their HTML/CSS produced that is almost impossible to transform in our design and HTML/CSS needs. So we've decided to create our own

jaas authentication in jetty

2010-06-17 Thread treyed
Hello, I am trying to use JAAS to authenticate my users. My project is in GWT v2, which runs jetty. I use eclipse for development. From http://code.google.com/p/google-web-toolkit/issues/detail?id=4462 I found out that jetty doesn't like any realm definitions in web.xml, so I moved them to

GWT

2010-06-17 Thread gourineni rakesh
Hi, I m Rakesh. I m developing a GWT based eclipse project.The project is about sensor web application for Buoys n i used google maps to display the Buoy locations.For this the GWT i m using is 2.0.3, eclipse is 3.4 Ganemade n Tomcat is 5.5.9. Recently I have upgraded the Sensor Web project

trying to run bikeshed app and got error in Loading module 'com.google.gwt.core.XSLinker'

2010-06-17 Thread Otto
Hi, I was playing around with GWT and learning it and found the bikeshed source code. I got it to compile but when I try to run it I get errors. As you can see it seems the root of my problem is in module XSLinker: [TRACE] Loading inherited module 'com.google.gwt.user.User' - [TRACE] Loading

Regarding GWT 2.0.3

2010-06-17 Thread gourineni rakesh
Hi, I m Rakesh. I m developing a GWT based eclipse project.The project is about sensor web application for Buoys n i used google maps to display the Buoy locations.For this the GWT i m using is 2.0.3, eclipse is 3.4 Ganemade n Tomcat is 5.5.9. Recently I have upgraded the Sensor Web project

Inserting an external HTML/JSP Page in GWT

2010-06-17 Thread Gaurav Munjal
Is there an option that when the user clicks on one of the buttons in gwt, in a seperate panel a html page ( kind of an iframe) is inserted whose link will be specified by us. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

create table with the server response

2010-06-17 Thread Luan
I would like to create a table with the server response. Example: Sending a name and age to the server and the answer should come within the DialogBox in table form. name | age -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

Image and setUrl()

2010-06-17 Thread ehab_refaat82
i wrote this code to view an image in Image widget. String src = file:///+file System Path; src = src.replaceAll(, /); Image image = new Image(); image.setUrl(src); no images appears. Note that: i want to view an image found on my computer file system. --

Best way to Deserialize JSON String to Java Object

2010-06-17 Thread Jose Luis Estrella Campaña
Hello Folks ! I'm glad to say that I'm a brand new user of GWT, a very happy one by the way. However, as any newcomer I have questions, One in particular. Here it goes: What's the easiest, most straight forward way to deserialize a JSON String on the Server side and instance a Java Object from

Re: MVP questions

2010-06-17 Thread Elmaho
Hey, In my opinion you'll need only one presenter/view with interface containing a method to request object2 in each tab selection. These objects are too related to be separated. Like I said 'In my opinion' Hope this help On Jun 16, 4:20 pm, Bilousme julien.dram...@gmail.com wrote: Hello all,

GWT server side WebServiceException when service is offline

2010-06-17 Thread noosy
I have a RPC style GWT app that has some server side code which contains references to a few different web services which it act as clients to. What I noticed the other day is that when one of my web services is offline it causes a javax.xml.ws.WebServiceException when the server side code is

Web server magic?

2010-06-17 Thread Matt
When I run a GWT application in eclipse, what is serving the web page? I haven't installed a web server, yet something is answering requests on port when I run the application through eclipse. Does the eclipse plugin include a web server? I'm having problems loading pages now... says: HTTP

Module Failure of Development mode

2010-06-17 Thread wwl
I have a problem. you can first see here http://code.google.com/intl/de-DE/webtoolkit/gettingstarted.html#running I tried to give this command ant devmode ,but I get the following error in my shell: Port 127.0.0.1: is already is use; you probably still have another session active and in

Am I breaking MVP, (VIEW IS PASSIVE) !!?

2010-06-17 Thread Elmaho
Hey all, I've read some articles on MVP pattern, and at the first glance I thought that am understanding it, but now am very confused about the term VIEW IS PASSIVE. By that I understand that events are handled in the presenter (it's too simple to separate and it's also obvious). But what

Acentos en gwt

2010-06-17 Thread seba
Hola, estoy haciendo un trabajo y tengo el mismo problema...los labels que poseen palabras acentuadas se visualizan mal. Agradezco su ayuda seba -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Custom GWT Widget and RPC

2010-06-17 Thread Tim G
Can you make a RPC call from a custom GWT widget (i.e. a Search Box widget) which then can be packaged as a jar and added to another projects build path? For example: I have a custom widget that is comprised of a textbox, button and a popup panel. What I want it to do is on the click event,

Problem with RequestBuilder

2010-06-17 Thread alian rea
Hallo guys, i'm new of this group. I'm new developer for GWT 2.0 and SmartGWT. I've a problem with RequestBuilder. There are one frontend and one backend. The first is an java GWT application, the second is a PHP scripts, and they speak with JSON. Now The first application is in port and the

Safari 5 on Mac crashes interacting with plugin

2010-06-17 Thread Tinny
My GWT application which has been running happily now for a year is now broken. The symptom: Safari 5 reports that it has quit unexpectedly while using the Aspera Web plugin (a third-party plugin that my app uses for allowing file uploads and downloads). This issue is 100% repeatable. GWT

Am I breaking MVP, (VIEW IS PASSIVE) !!?

2010-06-17 Thread Elmaho
Hey all, I've read some articles on MVP pattern, and at the first glance I thought that am understanding it, but now am very confused about the term VIEW IS PASSIVE. By that I understand that events are handled in the presenter (it's too simple to separate and it's also obvious). But what

Serialization of Inner/Nested Class

2010-06-17 Thread chris
I am getting the ..gwt.client.rpc.SerializationException: Type 'org.impressions.client.view.component.Header$Model' was not included in the set of types which can be serialized by this SerializationPolicy.. I am trying to serizlialize a simple inner/nested class which works on server side but

css loading

2010-06-17 Thread Mohammad
My requirement is to support multiple themes. For achieving that need to change the .css file and images at runtime. Can anyone help me out, How to support multiple theme mechanism. Regards Zubair -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Invoke SOAP Web Service from GWT on the server side.

2010-06-17 Thread AgitoM
For a big GWT project I am working on, we need to to retrieve data from other computer systems. Based on my previous experience, a good way to integrate these two systems, is to integrate them together using a SOAP based Web Service. Preferably I would like to server side of my GWT project to

Re: PushButton in UiBinder

2010-06-17 Thread david
On Jun 14, 1:26 pm, David Grant davidgr...@gmail.com wrote: Anyone know how to put a PushButton in to a ui.xml file and set the up/down text or up/down image? Dave Use a @uihandler annoration in the java class to change the button text . You may also want to apply a style to changed the

Calling RSS service in GWT from the server side

2010-06-17 Thread AgitoM
Over the past few days I have been working on a small GWT based application which retrieves and displays Weather information from YAHOO RSS in real time. To get information from the YAHOO RSS feed, I am using the HttpClient from the org.apache.commons library. Using this library I attempt to make

jaas authentication in jetty, jetty.plus not included?

2010-06-17 Thread treyed
I sent a similar message to this earlier but it doesn't seem to have shown up; Anyway, I am trying to configure JAAS authentication in jetty as follows in web-jetty.xml, but I keep getting a classnotfound exception for org.mortbay.jetty.plus.jaas.JAASUserRealm. Even trying to import this class

Re: Safari 5 on Mac crashes interacting with plugin

2010-06-17 Thread Chris Conroy
On Wed, Jun 16, 2010 at 8:49 PM, Tinny mar...@soundfirm.com.au wrote: My GWT application which has been running happily now for a year is now broken.  The symptom:  Safari 5 reports that it has quit unexpectedly while using the Aspera Web plugin (a third-party plugin that my app uses for

enable/disable widgets?

2010-06-17 Thread Magnus
Hi, how can I enable/disable a widget (TextBox, Button, etc.)? I would like to iterate all Widgets of a form and set this status. I found no appropriate methods in the Widget class... Magnus -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Does a private variable in Java stays private when compiled to javascript?

2010-06-17 Thread Stefan Bachert
Hi, probably not, I am quite sure that there is a way using (native) JavaScript. However, as long you only code in Java effectively it is private. And remember, even in Java it is possible to access private var from outside. Some OR-mapper doing so. Or your debugger. When your question is about

Re: Regarding GWT 2.0.3

2010-06-17 Thread Andrés Cerezo
Try to open it with the xml editor of eclipse (design view) perhaps It has an erroneus character (space, etc) and you can`t see it. 2010/6/16 gourineni rakesh grakesh...@gmail.com Hi, I m Rakesh. I m developing a GWT based eclipse project.The project is about sensor web application for

Re: how to enable scrolling for app using DecoratedTabPanel?

2010-06-17 Thread Stefan Bachert
Hi Ingo, from user point of view neither of your mentiones widget should scroll at all. RootLayoutPanel \_ DockLayoutPanel (TabLayout class) \_ DecoratedTabPanel (TabCenterView class) \_ScrollPanel \_Content A \_ScrollPanel \_Content B \_ScrollPanel \_Content

Re: Web server magic?

2010-06-17 Thread fmod
Yes, GWT comes with an embedded server, for testing your apps. If you open the Run Configurations dialog from eclipse it will uncover part of this magic. About that error, what are you trying to do? Maybe reloading the web services (there is a refresh button in the dev mode view), or re-run the

Re: Web server magic?

2010-06-17 Thread treyed
So I guess Jetty is running somehow... but I don't know how to fix this problem since everything is magic and hidden from me. Yes, GWT comes embedded with jetty for a webserver. Have you tried to run the sample project that comes GWT? If not, you should start there. Install the google

Re: Pass a Java Object between to Opener Window

2010-06-17 Thread Stefan Bachert
Hi, you may run into browser incompatibilities and security issues with such an approach. Did you consider to pass the object via the url. Maybe as query part? Stefan Bachert http://gwtworld.de On Jun 16, 7:21 pm, keyvez key...@gmail.com wrote: Hi, I am trying to pass a custom Java object

Re: Acentos en gwt

2010-06-17 Thread fmod
Supongo que el problema viene que estarás guardando los documento en un charset distinto al especificado en la página html. meta http-equiv=content-type content=text/html; charset=UTF-8 Puedes probar ese encoding a lo que estes usando, o si estas usando eclipse prueba de ir a preferencias /

Re: GWT or SmartGWT and Oracle - Stored procedures

2010-06-17 Thread ckendrick
Be sure to compare the cost of the product to the value of your time spent re-creating the same functionality, maintaining it, and missing out on all features we keep adding to the SQL subsystem. As well as not finishing your project as soon, slipping deadlines etc. As well as delivering a

Re: Access ClientBundle ImageResource from UiBinder

2010-06-17 Thread CJ Bilkins
It seems my guess that you could store images outside of the directory is wrong. Because ui:image's field name is the image filename, the images can only be stored in the same directory as the ui.xml file. On Jun 17, 12:55 pm, CJ Bilkins cory.mawhor...@gmail.com wrote: I've succeeded in getting

Re: Using the addAndReplaceElement to add Widgets

2010-06-17 Thread Olivier Monaco
Hi, What do you think about that way : SearchForm.ui.xml g:FormPanel styleName=search form action= method=post g:HTMLPanel fieldset ... /fieldset /g:HTMLPanel /g:FormPanel SearchForm.java public class SearchForm extends Composite { interface Binder

Re: Problem with RequestBuilder

2010-06-17 Thread Chris Conroy
On Wed, Jun 16, 2010 at 9:16 AM, alian rea aliandre...@gmail.com wrote: Hallo guys, i'm new of this group. I'm new developer for GWT 2.0 and SmartGWT. I've a problem with RequestBuilder. There are one frontend and one backend. The first is an java GWT application, the second is a PHP scripts,

Re: Problem with RequestBuilder

2010-06-17 Thread Olivier Monaco
Hi, Configure your backend server to serve the folder where your GWT HTML page is (and the compiled JS). Then, open this page in your browser. The URL may be something like: http://localhost:88/mypage.html This load the compiled version of your application. Add a parameter named gwt.codesvr

Re: Access ClientBundle ImageResource from UiBinder

2010-06-17 Thread Tristan
Thanks for taking the time to share your findings. It's a good clear example / starting point for understanding the plumbing. On Jun 17, 2:15 pm, CJ Bilkins cory.mawhor...@gmail.com wrote: It seems my guess that you could store images outside of the directory is wrong.  Because ui:image's field

Re: GWT and CSS

2010-06-17 Thread André Moraes
You could use the CssResource + ClientBundle. It is inlined in the HostedPage, so you probably will not have problems with the standard.css. You simply call the addStyleName passing the result of a function call. Check out the link to get more information:

Re: History and server call.

2010-06-17 Thread Tristan Slominski
So I will just adress things you see as a benefit, ie decoupling of server calls from presenters / views and decoupling views from presenters. First, though, I think you shouldn't call it MVP. In my opinion it seems that what you're doing is MVC where the model is helped out by RPC. There is

Re: Regarding GWT 2.0.3

2010-06-17 Thread gourineni rakesh
Thanks Cerezo for the reply I had opened web.xml file from xml editor but I couldnt find any error. Can you check whether my web.xml format is correct? Regards, Rakesh 2010/6/17 Andrés Cerezo acerezoguil...@gmail.com Try to open it with the xml editor of eclipse

Re: Access ClientBundle ImageResource from UiBinder

2010-06-17 Thread Jaroslav Záruba
I've searched in the issue tracker and haven't found this being reported. Could someone confirm please whether the described behavior is intended (as weird as it seems) or whether this is a bug, so we can file the report...? Same applies for the other ?glitches?... It would kinda suck to leave

Re: Cleaning up threads on GWT application shutdown

2010-06-17 Thread jjd
Jason and jhulford, Thanks for your advice. I checked into ServletContextListener and it looks like it should work fine. I'm about to give it a try. Thanks. --Jim-- -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

  1   2   >