Re: Uncaught JavaScript exception in Chome

2011-05-25 Thread Bin Wu
An quick update, I have disabled all the extension in Chrome, it seems fixed most of them. I mean I will not get the errors every time by left-clicking, but only happens once I load the webapp in the browser. In Eclipse Dev Console (UnknownFileName:-1) 2011-05-26 15:52:20,140 [FAT

Uncaught JavaScript exception in Chome

2011-05-25 Thread Bin Wu
Hi All, I am really new to GWT and working for my first GWT WebApp. Now I have got an error in the development console from eclipse, it ONLY happens in Chrome (either the latest stable version 11 or the latest beta version 13). I have no idea what is the problem. This happens after I upgraded GWT

Re: This application is out of date, please click the refresh button on your browser

2011-05-25 Thread Ashwani Gupta
I had the same issue. Try restarting your computer and if that doesn't fix it then search for this "ERROR: Expecting version between 5 and 6 from client, got 7" in the group and you can read through what worked for me. Ash On Wed, May 25, 2011 at 10:45 PM, Jose Luis Hernandez < jose.hernande...@

This application is out of date, please click the refresh button on your browser

2011-05-25 Thread Jose Luis Hernandez
Hello! I have a problem with my GWT application. I deploy on Jetty server and it runs. But when I perform a server call (class on server package of GWT), the server returns an error message. The message is: 7|0|6|http://localhost/zbapp/zb_app/|A31E1254E17F9AD731856D6BE34124A2| main.java.com.gwt.ap

Re: Dock Layout Panel

2011-05-25 Thread Seth Hollyman
Use RootLayoutPanel instead of RootPanel in your example code when attaching one of the new Layout Panels. The doclink you referenced has more detail about why, but its a subtle gotcha. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. T

Re: Generating GWT widgets based on an XML template

2011-05-25 Thread Arshad Nadheem
That's awesome... I never tough in the lines of setting CSS into widgets... Thanks a lot! So this means that I can have my reflection thing going on the server side - to populate the Map with key/value pairs of the fields in the DTO..! Cheers, Arshad On Wed, May 25, 2011 at 11:38 PM, Gabriel wro

Re: using GWT with flex?

2011-05-25 Thread Jay Roy
>>> If i understand what you mean, you want to repopulate the grid everytime the data are updated in the backend right ? exactly. yes i think u r right i can do it using timer object. so i am guessing flex does provide asynchronous support in its own way :) I would be curious to see what an AJAX

Re: Forwarding all calls to the initial page

2011-05-25 Thread Seth Hollyman
You might want to check out the javadoc for com.google.gwt.user.client.Window.Location (has helper methods to get access to the URL, hashes, and GET parameters). If this is a precursor to a more advanced application, you may want to take the time to learn how GWT's history mechanism works (st

Re: running GWT compiler low priority

2011-05-25 Thread Seth Hollyman
Depending on how you're calling the compiler, there may be several options available to you: 1) start the compiler at an elevated nice level (nice first, not renicing after start) 2) Tweak the jvm arguments so the compiler is less greedy with resources 3) Consider tweaking the GWT compiler opt

Re: can't get Audio to replay.

2011-05-25 Thread John LaBanca
The first thing to check is that the http headers include the correct mime type. The version of Jetty that GWT uses doesn't return the correct mime-type by default. Take a look at the mime-types defined in the web.xml file of the mobilewebapp sample for an example workaround: http://code.google.c

Dock Layout Panel

2011-05-25 Thread Doug
Good Evening, I am trying to design an app using DockLayoutPanel (using the example here:http://code.google.com/webtoolkit/doc/latest/ DevGuideUiPanels.html) and I can't seem to get the panel to work. When I run this code in the development server all I get in the browser is a blank page with "hea

Re: using GWT with flex?

2011-05-25 Thread Alain Ekambi
If i understand what you mean, you want to repopulate the grid everytime the data are updated in the backend right ? I think Blase DS does not support pushing Data to the client. Atleast not the free version. A solution could be to set up a timer that will poll data from the backend every 5s

Re: using GWT with flex?

2011-05-25 Thread Jay Roy
let me explain with a simple example We have a flex screen with a data grid. The data in data grid is populated with java collection. The java collection contains stock data which comes from backend. In the backend every 0.5 second the stock data in collection is updated(we get market feed of data

Re: How to edit a live project design in GWT

2011-05-25 Thread A. Stevko
Try building a New Web Application Project and you will see the structure. On Wed, May 18, 2011 at 10:03 PM, naresh web developer < naresh.webdevelo...@gmail.com> wrote: > Hi, > i wanna edit design of a live project design in GWT and i dont know > how to do it..i download all code file of this p

Re: Problem install

2011-05-25 Thread bacourosp
I want work with you and atain good things! twitter:@bacourosp -Original Message- From: Seth Hollyman Sender: google-web-toolkit@googlegroups.com Date: Wed, 25 May 2011 17:09:40 To: Reply-To: google-web-toolkit@googlegroups.com Subject: Re: Problem install Good to hear its now working

Re: using GWT with flex?

2011-05-25 Thread Alain Ekambi
What exactly do you mean with "incorporate ajax" ? Do you mean making async call to the server ? If yes cant you do that with Blase DS ? Like i said before i dont know if the road mxml/as ->External Interface -> js -> gwt -> backend and back is effective because you are adding a lot of o

Re: using GWT with flex?

2011-05-25 Thread Jay
Thanks for response. We are already using blazeds to communicate with our remote spring services. Our present architecture: Flex talks to backend java objects using spring blazeds. I want to incorporate ajax so What I had in mind is Flex mxml/as screen invokes JavaScript invokes java backend? Wou

Re: Problem install

2011-05-25 Thread Seth Hollyman
Good to hear its now working for you! -- 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...@g

Re: Problem install

2011-05-25 Thread Pablo Arnel Bacouros
Thank you very much for your prompt response and your time spent! I managed to install googles supplements with success! :) Note: in the research process to solve this problem, it was interesting to read how to fix it in Fedora, through this link > http://www.shekhargovindarajan.com/tips-n-tri

Re: can't get Audio to replay.

2011-05-25 Thread dani shaulov
I compiled and deployed that and it works. seems it doesn't work only in dev mode. -- 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, se

Re: using GWT with flex?

2011-05-25 Thread Alain Ekambi
Well the suggestion was for the "Integrating Flex with GWT part". If you come from Flex learning GWT should not be a big problem because the development model is very similar. The official GWT Documentation is always a good point to start: http://code.google.com/webtoolkit/doc/latest/DevGuide.h

Re: using GWT with flex?

2011-05-25 Thread Alain Ekambi
May i suggest you Gwt4Air ? :) http://code.google.com/p/gwt4air/ 2011/5/25 Jaggernat > hi guys > > I need to learn GWT and impliment a simple solution using GWT. I come > from flex background. > can anyone point me what the important concepts in GWT is? and in what > order do i learn? > > Goal:

Re: Big Daddy example problems

2011-05-25 Thread bbgott
I have not had the Fatal Exception issue, but I have had other problems with it, when developing on Ubuntu linux. When I try the example on my Mac, it works. I have been able to narrow it down to the fact that the example attempts to connect to 127.0.1.1: for debugging with a local app engine

using GWT with flex?

2011-05-25 Thread Jaggernat
hi guys I need to learn GWT and impliment a simple solution using GWT. I come from flex background. can anyone point me what the important concepts in GWT is? and in what order do i learn? Goal: we are currently developeing a trading app using flex screens but we want to use ajax framework GWT to

Re: Help with WindowBuilder Pro XWT Application Wizard

2011-05-25 Thread Eric
Hm. Can you please observe Window Builder Pro project's website here: http://code.google.com/javadevtools/wbpro/ At the top of the page it says "Google Web Toolkit" Also the Community link, links to this forum. I expect, until that is altered, most people like me who have questions about Window

Re: Aw: Re: ERROR: Expecting version between 5 and 6 from client, got 7

2011-05-25 Thread Ashwani Gupta
Thanks guys for your suggestions. I did clear my browser cache and it did not fix it. But when I copied the latest gwt-servlet.jar file to WEB-INF/lib folder that did fix it. Ash On Tue, May 24, 2011 at 7:18 PM, Paul Stockley wrote: > You can also clear these kind of mismatch errors by cleari

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
Sorry, I don't understand your implementation could you please give me more details ? On 25 mai, 21:31, Nick Chalko wrote: > You will need to do something like this. > > public class ExposeImpl implements IsSerializable { > >   @SuppressWarnings("unused") >   private ConstraintViolationImpl const

Re: Detect panel remove call

2011-05-25 Thread Ben Imp
I believe if you can add a handler (via addAttachHandler) that will fire when it is removed. However, at that point I'm not sure you can really prevent the panel from being removed, if that is your goal. -Ben -- You received this message because you are subscribed to the Google Groups "Googl

Re: PreloadedTable alternative - GWT Incubator is death?

2011-05-25 Thread Seth Hollyman
Have you taken a look at the new Cell widgets, particularly the CellTable? http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html -- 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

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Nick Chalko
You will need to do something like this. public class ExposeImpl implements IsSerializable { @SuppressWarnings("unused") private ConstraintViolationImpl constraintViolationImpl; @SuppressWarnings("unused") private PathImpl pathIpml; @SuppressWarnings("unused") private HashSet hashS

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread A. Stevko
I have hibernate-validator-4.1.0.Final.jar and validation-api.1.0.0.GA.jar in my lib I downloaded them from the Hibernate Validation project at http://www.hibernate.org/subprojects/validator.html Hibernate Validator 4.x is the reference implementation for JSR 303 - Bean Validation

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
I red it, but nothing about RPC On 25 mai, 20:49, Nick Chalko wrote: > Take a look athttp://code.google.com/p/google-web-toolkit/wiki/BeanValidation -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to goo

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Nick Chalko
Take a look at http://code.google.com/p/google-web-toolkit/wiki/BeanValidation -- 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 e

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
These Classes are not in the api : javax.validation.ConstraintViolationException_CustomFieldSerializer org.hibernate.validator.engine.ConstraintViolationImpl_CustomFieldSerializer org.hibernate.validator.engine.PathImpl_CustomFieldSerializer How can i add them ? I added gwt-servlets-deps.jar b

Re: Problem install

2011-05-25 Thread Seth Hollyman
It appears you're either using an old update site, and/or possibly an old version of eclipse (3.3 is no longer supported by the GPE team). I'd consider redoing the install into a fresh eclipse (preferably 3.6). The basic GPE update instructions are located here: http://code.google.com/eclips

Re: download gwt application data

2011-05-25 Thread David Chandler
OK, that's quite different. In that case, you'll want to use the browser's Developer Tools or something like TamperData (FF extension) to inspect each request and copy the request URL into your script. With these tools, you'll also be able to see the server response, which you can cut and paste to

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread A. Stevko
Try adding gwt-servlet-deps.jar and gwt-servlet,jar to your build path. On Wed, May 25, 2011 at 10:06 AM, Adolfo Panizo Touzon < adolfo.pan...@gmail.com> wrote: > user/javax and user/org/hibernate files ??? > The libraries? > > 2011/5/25 MaximeMularz > >> I want use the Validation API, >> http:/

Re: Generating GWT widgets based on an XML template

2011-05-25 Thread Gabriel
Indeed you can't use reflection, but note that a vast majority of the widget properties are actually style (as in CSS) properties, so you can take advantage of it. I'm thinking in this direction: in your DTO have a Map where the keys are style properties and the values are the style values, and on

Re: Problem install

2011-05-25 Thread Pablo Arnel Bacouros
NOTE: worth noting that use "Ubuntu 10.04 LTS (Lucid Lynx) thanks! 2011/5/25 Pablo Arnel Bacouros > hello Seth Hollyman, > I'm trying to install through Help> Software Update> Find and install ... > > I am attaching screenshots descricion that reflects the error. > > Thanks for your time. > > >

Re: Code Google Information

2011-05-25 Thread David Chandler
What do you mean "use reference from"? The GWT documentation at code.google.com/webtoolkit is officially maintained by Google. Please do use it when learning GWT. Thanks, /dmc On Wed, May 25, 2011 at 1:06 AM, Noor wrote: > Hello, > I'm doing a project on google web tookit, i want to know if i c

Re: Problem install

2011-05-25 Thread Seth Hollyman
This is part of the web tools platform from eclipse.org itself. How are you attempting to install the Google Plugin for Eclipse? If its via update site, this dependency should be resolved for you automatically by eclipse. -- You received this message because you are subscribed to the Google

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Adolfo Panizo Touzon
user/javax and user/org/hibernate files ??? The libraries? 2011/5/25 MaximeMularz > I want use the Validation API, > http://gwt-code-reviews.appspot.com/1040802/show > but I don't where add the user/javax and user/org/hibernate files > > > On 25 mai, 17:00, Adolfo Panizo Touzon > wrote: > > htt

Problem install

2011-05-25 Thread Pablo Arnel Bacouros
hello, when I try to install the google in my eclipse, said that it the following item: <<< org.eclipse.wst.xml.core >>> Where I can download? Thanks for your time! ;) -- *@bacourosp TecnoSystemCA.com.ve * *TECNOSYSTEM C.A* -- You received this message because you are subscribed to the Google

Re: Selecting TextInputCell

2011-05-25 Thread tjmcc18
Try clicking though and editing the TextInputCells in the showcase. It takes multiple clicks... how can I get around that? http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellSampler -TJ On May 25, 10:23 am, tjmcc18 wrote: > I have a CellTable which makes use of TextInputCells to allow

Re: Generating GWT widgets based on an XML template

2011-05-25 Thread Arshad Nadheem
Thanks for the response Gabriel... it's the 1st option that I'm looking for. Generating HTML is not an option for me, since each of my widgets need to be self-contained components. So, the 1st option is the way to go for me. But this is where my problem starts... I'd love to use reflection to popu

Re: StockWatcher javascript compile does not open browser

2011-05-25 Thread Seth Hollyman
It appears you're looking at a very old version of the tutorial docs. Are you actually using gwt 1.6? If not, you can either swizzle the version of the docs you want in the left nav pane, or just consult the latest version at http://code.google.com/webtoolkit/doc/latest/tutorial/compile.html

Re: download gwt application data

2011-05-25 Thread Raphael André Bauer
On Wed, May 25, 2011 at 5:24 PM, barz1 wrote: > Thanks for the response, I apologize for the unclear post, but I guess > I mean, for instance say I click the search button on my gwt > application and it returns a page of search results that are pulled > from the server. I am interested in writing

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
I want use the Validation API, http://gwt-code-reviews.appspot.com/1040802/show but I don't where add the user/javax and user/org/hibernate files On 25 mai, 17:00, Adolfo Panizo Touzon wrote: > http://code.google.com/webtoolkit/doc/trunk/DevGuideServerCommunicati... > > 2011/5/25 Adolfo Panizo T

Re: GWT Designer not working?

2011-05-25 Thread Navindian
its a working small u.i sample.. On Wed, May 25, 2011 at 8:21 PM, gwa wrote: > Either is really a initialization timeout because your computer is > slow / ui is large > or you can check if you havn't a proxy defined at the system level (on > windows, check IE network connection). (gwt designer t

PreloadedTable alternative - GWT Incubator is death?

2011-05-25 Thread Go2one
Hi everyone, because of performance issues we are using the PreloadedTable instead of FlexTable. No I read, that GWT Incubator is death? Is there any alternative to the PreloadedTable? By the way: Why does PreloadedTable not support the method getCellForEvent(event) (like the FlexTable)? How can

Spiffy UI?

2011-05-25 Thread t.dave
is anyone familiar with the Spiffy UI framework? http://www.spiffyui.org/ it potentially looks very interesting but i've only given it a quick once-over, and haven't dug in enough to really figure out pros & cons. -- You received this message because you are subscribed to the Google Groups "Go

Re: download gwt application data

2011-05-25 Thread barz1
Thanks for the response, I apologize for the unclear post, but I guess I mean, for instance say I click the search button on my gwt application and it returns a page of search results that are pulled from the server. I am interested in writing a script in which I can mimic such a server request and

StockWatcher javascript compile does not open browser

2011-05-25 Thread Bob
I am working my way through the STockWatcher tutorial at http://code.google.com/webtoolkit/doc/1.6/tutorial/compile.html but have a problem at this section: 2. testing in web mode Everything works fine in host mode, but the instructions say when you compile to JavaScript (the red tool box with a

Re: GWT remote logging

2011-05-25 Thread Dave
Adding a mapping to my web.xml made it work. Thanks a bunch! On May 25, 1:53 am, Alexandre Ardhuin wrote: > Have you add an URL mapping in your web.xml ? > >     >         remoteLogging > > com.google.gwt.logging.server.RemoteLoggingServiceImpl let-class> >     >     >         remoteLogging >

Re: Generating GWT widgets based on an XML template

2011-05-25 Thread Gabriel
Hi, I can think of two options to implement what you want: 1) On the server side generate DTOs that represent the UI structure and on the client side read them and build the UI accordingly. 2) Generate pure HTML on the server and use it as the value of an HTML widget. The choice depends on what e

Re : Re: GEP: Signing in with Google Account vs. Proxy

2011-05-25 Thread gwa
Hi, I've the same issue. I'm able to update my eclipse installation but the click on "sign in to google..." simply fail with a 'connection timeout'. On the global proxy settings (I use windows) i've done some test like to define a proxy that i can check connection on, but no connection from G

Re: download gwt application data

2011-05-25 Thread David Chandler
GWT apps manipulate the browser's DOM directly via Javascript, so there is no HTML layout. Is that what you mean by "page content"? However, you can use the Snapshot Firefox extension to save the DOM structure at a given point in time as an HTML file. HTH, /dmc On Wed, May 25, 2011 at 10:47 AM, b

download gwt application data

2011-05-25 Thread barz1
The company I work for is switching its front end to a gwt application and I was wondering if it is possible to write a script (whether with bash and wget or cURL, or java or anything) that enables me to download the actual content of the gwt web application. Because right now if I try with a comm

Re: GWT Designer not working?

2011-05-25 Thread gwa
Either is really a initialization timeout because your computer is slow / ui is large or you can check if you havn't a proxy defined at the system level (on windows, check IE network connection). (gwt designer try to connect to a localhost port, but if a proxy is defined, sometime designer send you

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Adolfo Panizo Touzon
http://code.google.com/webtoolkit/doc/trunk/DevGuideServerCommunication.html#DevGuideSerializableTypes 2011/5/25 Adolfo Panizo Touzon > I don´t understand. ¿What´s the problem? > > Maybe you can declarate HashMap in the client side and can´t transport by > rpc. > > I´m not sure, but, what´s the

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Adolfo Panizo Touzon
I don´t understand. ¿What´s the problem? Maybe you can declarate HashMap in the client side and can´t transport by rpc. I´m not sure, but, what´s the problem? 2011/5/25 MaximeMularz > The implementation (http://code.google.com/p/google-web-toolkit/source/ > browse/trunk/samples/validation/src/

Selecting TextInputCell

2011-05-25 Thread tjmcc18
I have a CellTable which makes use of TextInputCells to allow the user to edit data. I would like this to behave in a spreadsheet like manner such that the user can select the various textboxes and make changes as they see fit. However, the default behavior for selecting the textboxes is not desi

GWT Designer not working?

2011-05-25 Thread Navindian
org.eclipse.wb.internal.core.utils.exception.DesignerException: 4103 (GWT initialization timeout.). at com.google.gdt.eclipse.designer.GwtExceptionRewriter.rewrite(GwtExceptionRewriter.java:59) at org.eclipse.wb.internal.core.utils.exception.DesignerExceptionUtils.rewriteException

GWT initialization timeout.

2011-05-25 Thread Navindian
It is not working with the latest also. Design Page has n't opened till date..10 developers here tried different ways to see Design Page. On Fri, May 20, 2011 at 9:10 AM, Navindian wrote: > I need to use GWT Designer and it seems not to be working.. > Can anybody saw working version of gwt desig

Re: Help - Trying to make XWT application

2011-05-25 Thread Eric Clayberg
XWT is an Eclipse UI technology for defining SWT-based UIs using XML. It is unrelated to GWT. On May 24, 1:14 pm, Juan Pablo Gardella wrote: > What is XWT? > > 2011/5/23 Eric > > > > > > > > > I did the following steps > > 1) Install Java > > 2) Install Eclipse > > 3) Install WindowBuilder, SWT

Re: Help with WindowBuilder Pro XWT Application Wizard

2011-05-25 Thread Eric Clayberg
Please note that XWT is an Eclipse technology that is unrelated to GWT. As such, this is the wrong place to ask any questions about it. If you have questions about XWT or how to configure a project to use XWT, they should be asked in the Eclipse XWT forum. For questions specifically about WindowB

Re: GWT Designer + GXT - Palette don't display GXT components

2011-05-25 Thread Eric Clayberg
GXT is only supported for GWT Java UIs. UiBinder does not provide an API for non-standard parsers, so, in general, GXT won't work with GWT Designer in UiBinder mode. GXT works fine using GWT Designer and GWT Java UIs. On May 24, 10:08 am, Jonathan wrote: > Hi Eric, > I'm editing a Uibinder file

Re: Initialization Parameter in GWT

2011-05-25 Thread Myth17
Moreover once I have the Connection reference, I would like to share it with multiple RemoteServiceServlets. How can I achieve that? -- 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@g

Generating GWT widgets based on an XML template

2011-05-25 Thread Arshad
Hi all, I'm pretty new to GWT, so please bear... Coming from a Struts background, GWT concepts takes a lot of getting used to :) I have a requirement of defining a user interface in a custom XML template, process it to generate a technology independent generic component tree, and use this tree to

can't get Audio to replay.

2011-05-25 Thread dani shaulov
I want an audio file to play every time I click a button. Can't find a way that works. Tried: final Audio boom1 = Audio.createIfSupported(); boom1.addSource(Resources.INSTANCE.boom1().getUrl(), AudioElement.TYPE_MP3); boom1.load(); Button b1 = new Button("Boom1"); b1.addClickHandle

SimpleEventBus: How to add a handler and fire an event for it when nested in a "parent" handler?

2011-05-25 Thread Panam
In my "parent" handler, I'd like to initiate an rpc call and react to it when it arrives. Thus in short, the setup is as follows thisMethodIsCalledBytheParentHandler(){ HandlerRegistration messageRetrievedHandlerRegistration = myEventBus.addMessageRetrievedHandler(new MessageRetrievedHandl

problem install

2011-05-25 Thread bacourosp
hello, when I try to install the google in my eclipse, said that it the following item: <<< org.eclipse.wst.xml.core >>> Where I can download? Thanks for your time! ;) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group

ant build using javac/gwt shows errors when eclipse/gwt build does not

2011-05-25 Thread sldahlin
In the gwt project in Eclipse uses Eclipse to compile the java code using the automatic build feature then the gwtc compile using ant does not show any problems. If however, I clean all the existing .class files and then execute an ant build which runs javac and then gwtc, I get problems with my JP

Detect panel remove call

2011-05-25 Thread jpp1jpp1
I have a class that extends gwt Panel. Is there a way to detect when it is removed so I can ask for confirmation? -- 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

Re: send gwt-user.jar with validation projects

2011-05-25 Thread MaximeMularz
Sorry I didnt' care your name !! On 25 mai, 15:07, MaximeMularz wrote: > Hi, > > I've compiled the last version of GWT, I've uploaded on my google > account, if you want the file send me email, max...@mularz.fr > > Regards > > On 23 mai, 06:29, Juan Pablo Gardella > wrote: > > > Paste stacktrac

Re: send gwt-user.jar with validation projects

2011-05-25 Thread MaximeMularz
Hi, I've compiled the last version of GWT, I've uploaded on my google account, if you want the file send me email, max...@mularz.fr Regards On 23 mai, 06:29, Juan Pablo Gardella wrote: > Paste stacktrace if you want better help > > 2011/5/22 apanizo > > > Someone could send a compilation of g

Re: JSNI, qualified reference to static method (devmode works fine!

2011-05-25 Thread Chris
Thank you for your reply; this resolved my issue. I hadn't quite wrapped my head around JSNI and was going by some examples I found online that used "var that = this" before calling the JSNI method. Thanks again. On May 20, 3:55 pm, Thomas Broyer wrote: > If it's static, why do you qualify it wi

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
The implementation (http://code.google.com/p/google-web-toolkit/source/ browse/trunk/samples/validation/src/com/google/gwt/sample/validation): public class GreetingServiceImpl extends RpcServlet implements GreetingService { private final Validator validator = Validation.buildDefaultValidato

Re: MVP pattern uncaught exception

2011-05-25 Thread Jordi Planadecursach
Problem identified. Thanks for the help. The activity was injected to the View after its construction while the activity was requested by the class inicializator. I am forced to pass the activity in the constructor of the view. Is that a good practice? On 24 Maig, 22:58, Alisson Prestes wrote:

Отг: Re: RequestFactory updating issue: update entity which has fields that are not listed in the proxy interface

2011-05-25 Thread Miroslav Genov
I think that I found where is the problem. The problem is that I'm initializing my id locally and RF is checking whether you are doing that by using the EPHEMERAL placeholder. /** * A placeholder value for {@link #clientId} to indicate the id was not * created locally. */ public st

Dealing with XSRF/CSRF

2011-05-25 Thread HelperMethod
Am I correct, that if I pass a self-generated sessionID with every RPC request, and only check this sessionID instead of the one passed in the cookie header, the session can't be hijacked by malicious sites? I know that you should also send this sessionID in the cookie and then compare it with the

Re: new html page wizard broken ?

2011-05-25 Thread Tor Pedersen
I get the same thing on Windows... there is allready a registered issue @ http://code.google.com/p/google-web-toolkit/issues/detail?id=6338 Hopefully they will fix this pronto, as a gwt project isn't going to fly very far without an html page. As a workaround I guess you can create a new project w

Отг: Re: RequestFactory updating issue: update entity which has fields that are not listed in the proxy interface

2011-05-25 Thread Miroslav Genov
I just wrote a small test in my sample project injecting-request-factory that explains for what I'm talking about. Here is the commit of changes: https://github.com/mgenov/injecting-request-factory/commit/c7855f9bca9ae07982d7298af63350c697f2582b Here is the source code of the test: https://gith

Problem with getting height of element

2011-05-25 Thread Globee
Hi, I am currently working on my own implementation of scrollable panel because I want to have opportunity to customize style of scrollbar but I encountered some problem. I want to hide scrollbar when it is not needed. Idea is simple. I listen for LoadEvent fired by content of this panel and wh

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread Adolfo Panizo Touzon
You can save the errors strings in an arrayList and transpor by rpc to the client side. 2011/5/25 MaximeMularz > Hi, > > Client Side no probem it works, but ServerSide I can't catch the > excepetion becasue HashSet is not supported by RPCService : > > [ERROR] javax.servlet.ServletContext log: Ex

Re: RequestFactory updating issue: update entity which has fields that are not listed in the proxy interface

2011-05-25 Thread Thomas Broyer
RF won't (shouldn't) *set* the installationDate to null. If it's set to null, it's because when you retrieve the Contract by ID (assuming it's an EntityProxy), i.e. in Contract.findContract static method or a Locator's find method, you retrieve an object that has a null value in installationDat

Re: Validation-api-1.0.0, Doesn't work

2011-05-25 Thread MaximeMularz
Hi, Client Side no probem it works, but ServerSide I can't catch the excepetion becasue HashSet is not supported by RPCService : [ERROR] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'java.util.HashSet'

Re: RequestFactory: Find out which exception was thrown at serverside

2011-05-25 Thread opn
Thanks again! It's working now! -- 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...@googleg

Re: Strange gwt compile error: JPrimitiveType JReferenceType

2011-05-25 Thread Raphael André Bauer
On Fri, May 20, 2011 at 3:34 PM, Raphael André Bauer wrote: > On Fri, May 20, 2011 at 3:15 PM, Brian Reilly wrote: ... Just a quick follow-up: - Bug 2478 seems to be related and I added a description of our problem (http://code.google.com/p/google-web-toolkit/issues/detail?id=2478#c11) - Hotfix:

RequestFactory updating issue: update entity which has fields that are not listed in the proxy interface

2011-05-25 Thread Miroslav Genov
Hello, I'm encountering an issue with RequestFactory when I'm trying to update an entity which has properties that are not listed in the proxy objects. For example, in my case I have the following structure: Contract String contractCode; // gets/sets String serviceName; // gets/sets Date

Initialization Parameter in GWT

2011-05-25 Thread Nitish Upreti
Hello Everyone I am working on establishing Database connection in my GWT Application with MySQL. I want the database to read a set of 'init' parameters so as I dont need to 'hand code' DB URL and Usernames and Passwords. I googled a while for possible solutions but got a bit overwhelmed by the po

Re: Better XSRF protection in 2.3?

2011-05-25 Thread cbauer
On May 15, 8:38 pm, meder wrote: > The problem with using session ID as XSRF token is that applications > mark session cookies as HttpOnly[1] to protect against cookie theft > via cross-site scripting (XSS) attacks. This means that client-side > code can't access the session ID value in a cooki

Re: Setting Up A Login Page To Use SSL

2011-05-25 Thread Max Jonas Werner
Nick, On Tuesday, May 24, 2011 11:56:57 PM UTC+2, Nick Apperley wrote: > > Max - With regards to point 1 I did consider it but it isn't feasible > to use SSL for the entire website when large amounts of data is being > sent to/from the server. Most of the data being received from the > server i