Re: Russian GWT tutorial

2014-01-23 Thread Andrey
Ссылка не работает((( среда, 5 ноября 2008 г., 14:01:20 UTC+4 пользователь GoCha написал: > > Русское ководство GWT > http://gocha.org/index.php?option=com_content&task=view&id=16&Itemid=28 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Make my custome class work with XML & UiBinder

2013-12-09 Thread Andrey Damintsev
Hello! In our project we doesn`t use UiBinder and Xml. Whole interface we write by java code. I dont like this approach. I want to do it with Xml (I think there is less code because all forms are similar). So I have a class UiForm. That has an method whitch create FieldLabel and cover Witdget w

What happend after GWT.create()

2013-10-25 Thread Andrey Damintsev
Hello! I use GWT about half year. But I cant understand what happens after GWT.create(). I read some FAQs articles and there said that occurs a deferred bindings. Ok! But how It realised from Java. I start to read sources of ServerGwtBridge class, but cannot understand. Can somebody advice any

Re: Servlet Response formatting in IE

2013-05-01 Thread Andrey
servlet side: private String encodeXMLContent(String encodedContent) { encodedContent = encodedContent.replace("<", "<"); encodedContent = encodedContent.replace(">", ">"); return encodedContent; } On the client side private String decodeUploadContent(String xml) {

Re: empty "ghost" place token getting created

2013-02-20 Thread Andrey Nemchenko
The same situation. I removed handlers but it didn't help. The problem in com.google.gwt.place.shared.PlaceHistoryHandler#tokenForPlace: if (defaultPlace.equals(newPlace)) { return ""; } Solution in using empty ("") token for default place. -- You received this message because you are subs

Re: embed web font just like @sprite

2012-08-21 Thread Andrey Korzhevskiy
Yeah, right, thank you but... One can use @sprite images without explicit declaring in DataResources etc. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web

embed web font just like @sprite

2012-08-21 Thread Andrey Korzhevskiy
Is there a way to embed font file into css via data-uri just like @sprite does it to embed images? i mean if i write this: @font-face { font-family: 'MyFont'; src: url(MySuperWebFont.otf); } then gwt would generate css like this: @font-face { font-family: ' MyFont '; src: url("d

Re: GWT 2.5.0-rc1 and eclipse (3.7 and 4.2) problems

2012-07-06 Thread Andrey Korzhevskiy
I had that problem. The solution is to clean cache/cookies/etc in your browser (i use firefox for devmode). среда, 4 июля 2012 г., 9:36:51 UTC+4 пользователь Juan Pablo Gardella написал: > > Hi folks, > > I tried with eclipse 3.7 and eclipse 4.2 run inside eclipse with GWT > 2.5.0-rc1 and had t

Editor onPropertyChange

2012-04-08 Thread Andrey Minogin
How can I handle property change event on an editor? Is this feature implemented? It seems that com.google.gwt.editor.client.ValueAwareEditor.onPropertyChange(String... paths) is not being called from anywhere. -- You received this message because you are subscribed to the Google Groups "Googl

Editor onPropertyChange

2012-04-08 Thread Andrey Minogin
How can I handle property change in an Editor? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5Csx6ivfQ24J. To post to this group, send email t

Re: GWT strange code generation on float numbers

2012-02-20 Thread Andrey Korzhevskiy
.01 can be expressed in JS floating number. The thing is not in IEEE and runtime number representation. The thing is in that literal constant should not be changed. I mean if in Java code I see 'float myNum = 0.01', I expect to see it in generated JS as 'var myNum = 0.01' -- You

GWT strange code generation on float numbers

2012-02-08 Thread Andrey Korzhevskiy
Hello everyone, I found interesting issue. Suppose I have this java code: float f = 0.01f; someFunc(f) which is generated by GWT into js code, something like that someFunc(9.9534e-7) So my question is: if GWT sees constant in code why it processes this constant so strange? I expect to s

The data in Sub-Editors not saved in the database with using Editors and RequestFactory

2011-10-04 Thread Andrey Kadatsky
Hi all! I am beginning programmer, learning GWT, the first link on request "GWT forum" led here, so I decided to ask here. English is not my native language, but I hope that you will understand the essence. Individually each simple Editor successfully stored in the database: (http://pastebin.com/S2

GWT checkbox widget with custom id atribute for checkbox input

2011-07-20 Thread Andrey
Hi All, GWT checkbox widget generates the code below: ... gwt-uid-XXX, where XXX is auto generated values. Is it possible to assign custom IDs (or pattern) to checkbox input for example: ... Or ... Best regards, Andrey. -- You received this message because you are

Re: Error when installing GWT plugin for Eclipse 3.6

2011-03-28 Thread Andrey
Sorry for my last post: i've downloaded GWT from another link before and it didn't work. Now i tried your link and all is fine! At last i'm ready for tutorials and quick start! Hooray! =) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To

Re: Error when installing GWT plugin for Eclipse 3.6

2011-03-28 Thread Andrey
Already used that variant (your links are equal) - it havn't helped: there is another kind of error like "There is no repository in your archive file". -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to go

Error when installing GWT plugin for Eclipse 3.6

2011-03-28 Thread Andrey
Hi all! When i'm installing and it is already half a progress bar i recieve following error message: "An error occurred while collecting items to be installed session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to

Re: problema de integracion con Eclipse

2011-03-28 Thread Andrey
Dear Author and others: please, write in English! Because it is mentioned that this group is in English! I suppose i have same problem with Eclipse-GWT integration and i cant read your message!((( -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" g

Re: Cannot change CSS in dev mode

2011-03-04 Thread Andrey
>> Ben They are not caching. They are locked by Jetty and eclipse cannot save the changes ("File is not writeable"). >> Brian This doesn't concern GWT ClientBundles. It concerns dev mode Jetty behaviour. Jetty locks all static resources while running. That's really strange. -- You received this

Cannot change CSS in dev mode

2011-03-04 Thread Andrey
When running GWT app in dev mode static web resources such as css- files cannot be changed. To change a line in css I must stop server, change and run again. That's really inconvenient. Is there any workaround? Thanks! -- You received this message because you are subscribed to the Google Groups

Multi url GWT app

2010-12-16 Thread Andrey
Hello! Consider we have a web site with static pages like: /index /products /contacts ... And we want to add dynamic GWT pages like: /request (a request form) /register (register form) /price (price calculator) ... What is the best way to perform this? I don't want to create a separate GWT modu

MVP docs/tutorials/examples

2010-12-07 Thread Andrey
Hello, We are going to use GWT 2.1 MVP in our projects. The problem is that there seems to be too little information about this framework. This doc is very poor: http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html For example it tells nothing about how to use EventBu

TOOLTIPS FOR HEADER GRID !!!

2010-10-07 Thread Andrey H.
I set tooltip text for header grid (ColumnConfig.setToolTip), BUT I CAN'T SET TOOLTIP CONFIGURATION!!! I need for set ToolTipConfig.dismissDelay property, because dismissDelay by default 5000ms. Tooltips disappeared after 5sec and it's look very ugly!!! It's bug or may be I mistake? How I can set

Problem with call Window.open inside AsyncCallback.onSuccess for IE

2010-10-06 Thread Andrey H.
Hi All! I have strange problem: When I call Window.open function(servlet, which return file for download) inside AsyncCallback.onSuccess, then new tab opens and immediately closed, the file isn't downloaded. For Fierfox it's work fine, for IE - bad. This part of code: new AsyncCallback() {

Re: Can we run selenium tests in GWT dev mode?

2010-09-17 Thread Andrey
That doesn't work. My question is: how should we run selenium in dev mode? On Sep 16, 6:13 pm, András Csányi wrote: > On 16 September 2010 16:07, Andrey wrote: > > > Or we should compile the app first? > > I think you can run the test because dev mode uses the browser. &

Can we run selenium tests in GWT dev mode?

2010-09-16 Thread Andrey
Or we should compile the app first? Thanks in advance! -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-too

How to emulate a class with field of type Object

2010-03-07 Thread Andrey
Hi GWT guru-s, I've got a class (which I cannot modify) with a field of java.lang.Object type. I want instances of this type to be avaliable at client. For that, I wrote GWT-emulated implementation and attached it with . The problem is that GWT uses signature checking policy to ensure that all fiel

Re: Custom class emulation problem.

2010-03-05 Thread Andrey
parameter, should its emulated version have same methods and fields signature too? If this is also true, does this mean that if I want to emulate one class from a library, there are great chances that i will have to emulate whole library? On 5 мар, 12:10, Andrey wrote: > Hello, > > I'm usi

Custom class emulation problem.

2010-03-05 Thread Andrey
Hello, I'm using GWT 2.0 and now playing with custom emulation and serializers. I've got a complex class CDO which has many imports and cannot be explicitly RPC-serialized in any way. So, I created its emulation with only few methods and added to my gwt.xml. Also I created CDO_CustomFieldSerializ

Re: Validating ClientBundles ?

2010-02-18 Thread Andrey
Hi there, Are there any news about this issue? I've got two GWT installations - 1.7.0 and 2.0.0 and NO (!) google projects in my workspace. Still, when opening a large non-gwt project always crashes eclipse. This is definitely a show-stopper! -- You received this message because you are subscrib

Is OOPHM single threaded?

2010-01-10 Thread Andrey
Hello! Is OOPHM built-in server single threaded? I wanted to test two simultaneous users log into my service and it doesn't work in OOPHM but works on standalone server. Is it true that I cannot test server multithreading with OOPHM? Thanks in advance! -- You received this message because you a

GWTShell dev mode problem

2009-12-19 Thread Andrey
Hello! I have war/WEB-INF/web.xml in my project but GWT-plugin still launches GWTShell instead of DevMode. What should I do? Thanks! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@

Re: How to embed one gwt app in another?

2009-12-18 Thread Andrey
Forgot to mention, it works OK after Compile/Browse, so the problem is only in hosted mode On 19 дек, 00:15, Andrey wrote: > Hello, > > i'm using GWT 1.7 > I have a gwt app which is already deployed to external server. Now I > want to include that app in my new GWT appli

How to embed one gwt app in another?

2009-12-18 Thread Andrey
Hello, i'm using GWT 1.7 I have a gwt app which is already deployed to external server. Now I want to include that app in my new GWT application. I tried that using iframe, but now Hosted Mode fails with [ERROR] Unable to find 'xxx.gwt.xml' on your classpath where "xxx" is from my other applicat

Re: Chrome loading indicator

2009-12-18 Thread Andrey
the pause shouldn't be too small. 1 sec seems to be enough, but it should be checked on slow machines too. On 11 дек, 19:44, Andrey wrote: > Hello! > > I am using comet (server push) in my application. When user logs in a > secondary connection being created. It is an ordinary GWT RPC

Re: Disable backspace

2009-12-18 Thread Andrey
P.S. To replicate this just open any page, say Google, in Firefox and than go directly to your program. Your program will become the second in the browser's history. Then just press "Back" browser button. On 18 дек, 10:59, Andrey wrote: > Hello! >

Re: Disable backspace

2009-12-17 Thread Andrey
ogram"); } }); as Ian Bambury advised. That solves the problem and it seems to be necessary for most of the GWT applications as it is easy to: 1. press backspace when focus is lost from the input field; 2. press back button on the mouse if you have one. On 15 дек, 08:32, Joe Cole wrote: > Hi An

Disable backspace

2009-12-12 Thread Andrey
Hello! My application is desktop-like, so it does not need any history support. The problem is that when I edit a form and accidentally lose focus and then press Backspace key to delete a character browser performs history.back() and the whole application is unloaded losing all the data. How can

Chrome loading indicator

2009-12-11 Thread Andrey
Hello! I am using comet (server push) in my application. When user logs in a secondary connection being created. It is an ordinary GWT RPC call with 50 sec timeout and retry. Everything is OK except that Chrome and the Chrome only shows loading indicator as if the page is loading. How can I get r

Re: GWT Developer Plugin not working IE8

2009-12-09 Thread Andrey
The same problem. And it was reported a few times before. On 9 дек, 07:50, ksachdeva wrote: > Same issue for me also. > > Windows Vista SP2 / IE 8. > > Works fine in Firefox. > > Regards > Kapil > > On Dec 8, 3:00 pm, Sekhar Ravinutala wrote: > > > Thanks, see my responses below. > > > On Tue, D

Re: GWT 2.0 - startupUrl field

2009-12-02 Thread Andrey
al) brower's address bar. So, the startupURL is really > no longer as useful as a first-class launch configuration option. > > > > On Sat, Nov 28, 2009 at 6:39 AM, Filipe Sousa wrote: > > On Nov 28, 11:03 am, Andrey wrote: > > > Hello! > > > > Wh

GWT 2.0 - startupUrl field

2009-11-28 Thread Andrey
Hello! Why is startupUrl field removed from run configuration in RC2? For example, I use a servlet as a main page, GWT plugin obviously cannot determine the servlet's url itself and gives me incorrect url by default. Now I need to set -startupUrl in program arguments. It would be better if your r

Ant test

2009-11-16 Thread Andrey
Hello! Is it normal that SVN build doesn't pass tests? Every time I build GWT from SVN I get errors while executing "ant test". -- 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-tool...@google

Re: How to RPC-serialize data manually on client?

2009-11-10 Thread Andrey
rowser to handle as normal. > > HTH > Paul > > Andrey wrote: > > Jason, > > > this is exactly what I was thinking of. My question is how to do this > > part: "have a field that contained the serialized rpc style data"? How > > can I rpc-serialize it? &g

OOPHM is slow

2009-11-08 Thread Andrey
Am I right that is verification of the code to conform GWT's Java language subset? So, why not make a checkbox "don't verify code" to give an opportunity to run code fast and check it only periodically, say once a day. Thanks in advance! Andrey --~--~-~--~~---

Unit testing problem with widgets

2009-11-01 Thread Andrey
x27;t know how to workaround this. I don't need this debugIdImpl. I just want to create a mock. Thanks in advance! Andrey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To

OOPHM - another port

2009-10-25 Thread Andrey
Hello! I want to run two apps in OOPHM simultaneously (one is main site, and other is admin editor) How can I change OOPHM bind port 9997 ? Currently I see [ERROR] Unable to bind socket on port 9997 -- is another session active? when running second app. Thanks in advance! --~--~-~--~-

OOPHM IE plugin doesn't work

2009-10-24 Thread Andrey
s plugin work? I must add that I don't see this plugin in Service - Plugins menu in IE. Should it be there? Windows Vista IE 8 with last updates Andrey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google

JSP version problem

2009-10-21 Thread Andrey
Hello! There is a big problem with JSP in Development mode. It uses java 1.4 and I cannot change the version. I thought this problem was eliminated, because I hadn't been facing it for long time using builds from SVN. Today after updating from SVN I met it again. Could this problem be solved so

Re: Caching and SSL

2009-10-20 Thread Andrey
http://www.infoq.com/articles/gwt-high-ajax Compression: 3. Add compression="force" to your Connector in server.xml Check your modifications with: http://www.whatsmyip.org/http_headers/ http://www.whatsmyip.org/http_compression/ On Oct 16, 10:36 am, Andrey wrote: > Hello! > >

Re: Caching and SSL

2009-10-15 Thread Andrey
Hello! I want to cache javascript (it is in .html files, right?). As I see now in Forefox 3.5 application loads every time and it takes a lot, as scripts are rather big. Andrey On Oct 14, 3:39 pm, Austen wrote: > I believe that the no-cache issue is only a problem for IE? > > Does

Caching and SSL

2009-10-14 Thread Andrey
Hello! I am using Tomcat with SSL and it seems that my GWT app is not cached. I've read some posts here but still don't have clear understanding. My questions are: 1. How can I check whether caching for my app is enabled or not? 2. Why GWT http headers contain "cache-control: no-cache" by defaul

Hosted mode windows position

2009-09-07 Thread Andrey
Hello! Is there any way to restore previous hosted mode windows position and size. Every time I start a hosted mode server I need to: 1. move hosted mode server window to the second monitor; 2. expand hosted mode browser, because it opens very small by default. It would be much better if they r

1.7 NoSuchMethodError IncompatibleRemoteServiceException

2009-08-01 Thread Andrey
Hello! I have got a really strange issue. When I run my application I get server-side errors like: java.lang.NoSuchMethodError: ru.aml.client.database.Row.set(Ljava/lang/ String;Ljava/lang/String;Ljava/lang/Object;)V ... com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This app

How to include js scripts from JAR?

2009-07-28 Thread Andrey
t, but it never seems to intercept script requests, at least in hosted mode. E.g. I map my servlet in *.gwt.xml as My servlet never gains control; looking at the log, everything is managed by some "development shell servlet". Is there a way to load JS files from a predef

External server and gwt.rpc

2009-07-07 Thread Andrey
Hello! GWT 1.6. When I run my application in hosted mode with embedded Jetty everything is OK. But when I use my own tomcat in "-noserver" mode I get the following problem: when I change some server-side classes which involve serialization the gwt.rpc file is recompiled and it brings a lot of pro

Add class to SerializationPolicy

2009-06-30 Thread Andrey
Hello, everyone! How can I add a class to SerializationPolicy directly? I don't want to reference it in Service class and I cannot refernce it as a non-transient member. I need this because this class is a member of another class having its own custom serializer and this class also has its own ser

(JSNI) Accessing "this" instance from inner JS functions

2009-03-01 Thread Andrey
Hi list, I want to setup a listener to a widget from java code using JSNI. The listener will call java method. Here's my code: class PageToolbar extends PagingToolbar { private native void patch() /*-{ var pagingToolbar = th...@com.gwtext.client.widgets.component::getOrCreateJsObj()();

Re: Simple app for DB view (?)

2008-11-28 Thread Andrey
odule to compile gwt.module=unipac.Main # Path of the GWT installation directory.Use Internet-Standard of forward slases for this path gwt.install.dir=D:/Andrey/downloads/java/gwt-windows-1.5.3 # Folder within the web app context path where the output # of the GWT module compilation will be stored. gw

How to test server-side code?

2008-11-28 Thread Andrey
callback.onRowsReady(request, result); } }); } ... Regards, -Andrey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit

Re: Why it's so slow?

2008-11-28 Thread Andrey
On Nov 27, 6:03 pm, Andrey <[EMAIL PROTECTED]> wrote: > 1) "Debug" mode does not work in NetBeans since: [ERROR] Out of > memory; to increase the amount of memory, use the -Xmx flag at startup > (java -Xmx128M ...) Ok, this can be solved by patching the line in /nbp

Re: Why it's so slow?

2008-11-27 Thread Andrey
/27/fixing-compilation-in-gwt4nb/ does not help. I inserted the ant code into build.xml but I do not see any result. May be to switch off "build on save"? So, for now I do not know acceptably development circle for client- side development :(.

Re: Why it's so slow?

2008-11-26 Thread Andrey
On 26 нояб, 15:11, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > Andrey schrieb: > > > So, how is it possible to develop anything with such a speed? > ... > ... > In hosted mode, a press on refresh is all you need, if you > have changed classes concerning the

Why it's so slow?

2008-11-26 Thread Andrey
message: " ... Computing all possible rebind results for 'com.acme.client.AddressBookService' ... ". So, how is it possible to develop anything with such a speed? Regards, -Andrey --~--~-~--~~~---~--~~ You received this message because you are subs

Simple app for DB view (?)

2008-11-25 Thread Andrey
world, Woodstock components provide such a tool, as an example... Regards, -Andrey --~--~-~--~~~---~--~~ 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-W

Re: Basic login security/session management question

2008-10-26 Thread Andrey
walden! I also don't get why we need cookies. Can you please answer to this question? Why don't we store session id in JS variable? On 1 окт, 15:44, walden <[EMAIL PROTECTED]> wrote: > Hi nogridbag, > > You might just want to "begin at the beginning" and read the HTTP > Basic and HTTP Digest spe

JUnit GXT mock problem

2008-10-13 Thread Andrey
Hello! I am trying to test my MVC GWT application which uses GXT widgets. The JUnit4 is used, not GWTTestCase. So GWT.Create is disabled by GWTMockUtilities.disarm(); We expect to mock all GXT widgets. But there is one unresolved problem: java.lang.UnsatisfiedLinkError: com.google.gwt.core.clie

Localization: getting messages by dynamic parameter

2008-10-01 Thread Andrey
Hello! I want to solve the problem of correct localization of noun cases (nominative, accusative) and genders in some languages: Russian, Spain and so on. The problem is that a word in my case comes from database, so its gender is dynamic information. I am going to make a few messages, each for

Remote exception cause is lost during serialization

2008-09-29 Thread Andrey
Hello! When an exception is thrown on server while handling RPC call, I set its cause to informative exception (i.e. database exception) and I want to use this information on client. While on server I can see the cause and print it, but when exception gets to the client cause is set to null ! W

Re: Worker with Gwt-Gears 1.1 RC

2008-09-14 Thread Andrey
Hello! I am very interested in Java-workers too. Please, someone tell us when this feature is going to be implemented? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group,