Re: UIBinder and UI update/change at runtime

2016-02-28 Thread vadim
Gilberto, Thank you very much - you saved me a lot of time figuring out what is happening. The problem was indeed in DockLayoutPanel "add" method that is locked after adding "center" widget. I didn't mention this note at documentation. When I replaced DockLayoutPanel with LayoutPanel - e

UIBinder and UI update/change at runtime

2016-02-26 Thread vadim
Hello all, I have View, created by UIBinder using DockLayoutPanel. I have a button there. I would like after pushing the button change UI layout of the view (for example add new widget to it). Having it attached to uifield = "dockPanel" allows me to read different properties of the DockL

MVP, UIBuilder and View update from the code

2016-02-22 Thread vadim
Hello, I have View created by UIBuilder withing MVP framework. After it is displayed I would like to swap some elements from the java code upon event. I was able to get widget and remove it by executing: Widget w = rootPane.getWidget(1); rootPane.remove(w);

EventBus and orientation changes for devices

2016-02-22 Thread vadim
Hello all, I just started to work with EventBus and don't feel it well. I have to implement code that detects device orientation change (landscape or portrait) and re-draw UI depending on that change. I have found example at GWT samples (MobileWebApp), but implementation is a bit har

Re: eclipse unit tests with GWT 2.8+ and maven

2016-02-22 Thread vadim
Jens, thank you -- I have changed runtime JRE from 1.7->1.8 and everything starts to work as expected! -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-t

eclipse unit tests with GWT 2.8+ and maven

2016-02-22 Thread vadim
Hello all, I have started to write simple unit tests and was able to run them from command-line with "mvn test". Unfortunately I was not able to do the same from eclipse environment. As I can see startup log is something different than one, produced by maven. Is this way of testing (from

Re: Mobile application from GWT examples. Testing mobile on desktop

2016-02-11 Thread vadim
Thank you for hint Rogello. I cleaned up all the caches, but it didn't help. Then I remembered that SuperDev mode creates some temporary files under /tmp. After cleaning up tmp by rm -rf /tmp/gwt* everything starts to work as expected. -- You received this message because you are subscribe

Mobile application from GWT examples. Testing mobile on desktop

2016-02-10 Thread vadim
mpl. There are no references to the ClientFactoryImpl in the source code. How does it load ClientFactoryImpl and why? Are there any hidden conventions? Thank you, Vadim -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe

Re: Unable to install GWT Developer Plugin (ver 1.0.11357) on Chrome 48

2016-02-01 Thread vadim
Thank you Jonathon - I missed technical details that SDBG is, in fact, JS debugger, so should not depend from the GWT version indeed. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it

Re: Unable to install GWT Developer Plugin (ver 1.0.11357) on Chrome 48

2016-02-01 Thread vadim
It seems plug-in relies on old DevMode. I wonder how it will be running with GWT-2.8.0-beta1 and JsInterop -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to g

Re: erro migrating hibernate

2016-02-01 Thread vadim
What hibernate-validator version do you use? From my experiments you can't use version higher than 4.3.1.Final because it breaks dependency of GWT validation-api-1.0.0-GA -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this gr

Re: Unable to install GWT Developer Plugin (ver 1.0.11357) on Chrome 48

2016-02-01 Thread vadim
You can't see server-side code at the browser. I believe every class that is marked in gwt.xml file as translatable generates source maps, but this is not server-side code. I will try shortly what you have suggested. Thanks! -- You received this message because you are subscribed to the Google

Re: Unable to install GWT Developer Plugin (ver 1.0.11357) on Chrome 48

2016-02-01 Thread vadim
SuperDev mode is the only supported mode right now. You don't need any plug-ins for it. Enable source maps and you will be able to put breakpoints in the browser. It is nice for client code debug, but I don't know any good option to test server-side code in the same way. -- You received this

Re: Working polymer example?

2016-01-07 Thread vadim
You have probably missed something doing project set-up. Follow the tutorial carefully. Both examples (Widget and Element) on GWT site are working. I have done both of them around half a month ago. You just need to keep in mind that GWT version must be 2.8. I would suggest you to use 2.8-beta1

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
Thank you, Thomas. Your advice helped again. Now I know the main UI layout building principle -- do not mix *Panels with *LayoutPanels! :) On Wednesday, January 6, 2016 at 6:12:48 PM UTC+2, Thomas Broyer wrote: > > > Use SimpleLayoutPanel instead of SimplePanel, and RootLayoutPanel instead > o

Re: Working polymer example?

2016-01-06 Thread vadim
Do you use mojo Maven plug-in? Have you enabled JSInterop like tutorial said? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googl

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
DockLayoutPanel does not implement AcceptsOneWidget interface and thus can not be passed to ActivityManager as parameter for activityManager.setDisplay(appWidget). Without ActivityManager display function widget is not shown. It seems tricky. -- You received this message because you are subsc

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
I am using UIBinder and MVP to construct View. View ui.xml file is very simple (with DockLayoutPanel on the top): .panelHeight { height: 300px; } Empty Not empty DockLayoutPanel is not a part of t

Re: Layout principles for UIBinder with Polymer elements

2016-01-06 Thread vadim
Thank you for response N Troncoso, I have figured out that none of my assumptions were true. If I don't give width/heights as parameters for DockLayoutPanel it is still present in document DOM, but not visible. The reason for that is somehow depends from the widget I put into it. For example:

Re: MVP and Polymer elements

2016-01-05 Thread vadim
Thomas, you were absolutely right -- I missed that reference at my .html file. I got MVP working with Polymer on simpler example - hellomvp. With mobilewebapp I have errors now, but I think they are connected to GIN. -- You received this message because you are subscribed to the Google Groups "

MVP and Polymer elements

2016-01-04 Thread vadim
Hello all, It seems that MVP framework is not compatible with Polymer elements. I have compiled and run mobilewebapp from samples and it went correctly unless I add any polymer element to ui.xml file. What I did: 1. Added Vaadin reference to MobileWebApp.gwt.xml : 2. Added depende

Layout principles for UIBinder with Polymer elements

2015-12-28 Thread vadim
Hello all, After a number of experiments I have decided to build UI using UIBuilder and Polymer elements library. Tutorials went well and I have build my own interface mixing standard GWT DockLayotPanel (for widget placement) and paper/iron elements from the library. I am not very exper

Re: GWT Asynchronous callback and UI

2015-12-21 Thread vadim
On Monday, December 21, 2015 at 2:12:50 PM UTC+2, Paul Robinson wrote: > > You appear to be adding an item without also creating that item. That > suggests the item already exists, and is possibly already displayed. You > can't have the same widget appearing more than once. That may be your >

GWT Asynchronous callback and UI

2015-12-21 Thread vadim
Hello all, I have a Composite with Widgets that are populated from the database. Let's assume I need to add new Item object and ID for this object comes from database after object is persisted on the server. So I did: private void addItem(String title, String description) {

Re: GWT SDM Polymer

2015-12-21 Thread vadim
Hello Ed, I am working with polymer elements 1.2.1.0 and GWT 2.8.0-beta1 closely and I found one missing thing at your configuration. Particularly at your gwt.xml should be: * * The problem may be connected to GSS that is switched off by default, but must be "ON" for

Re: GWT SDM Polymer

2015-12-21 Thread vadim
Hello Ed, I am working with polymer elements 1.2.1.0 and GWT 2.8.0-beta1 closely and I found one missing thing at your configuration. Particularly at your gwt.xml should be: * * The problem may be connected to GSS that is switched off by default, but must be "ON" for

Exceptions and UI : different results in FF and Chromium

2015-12-17 Thread vadim
Hello, I am using GWT 2.8.0-beta1 and UIBuilder with polymer elements. Have found such nasty (bug?) behaviour --> I got exception from DB and show it with Window.alert("") function. After alert window has appeared and closed: 1. Firefox 43 builds UI elements normally and I see all the

Re: GWT 2.8.0 release notes - not official

2015-12-16 Thread vadim
Is there any date when 2.8.0 release might happen? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this

Re: GWT Polymer Tutorial

2015-12-16 Thread vadim
Dear Ed, You probably has already seen my post a week ago about Polymer Tutorial. I got reversed 2.7 GWT library and can answer your question -- you can't use it with polymer. Version 2.7 misses JsInterop support required for Polymer. To get it work you need to use GWT 2.8 beta1 or SNAP

Re: Organizing project files with UIBinder

2015-12-15 Thread vadim
Thank you Thomas, I did as you said - put my resources under src/main/resources with the same package name. I have better project layout under Eclipse and maven puts them into the same package during deploy, so application runs without error. On Tuesday, December 15, 2015 at 10:52:50 A

Re: Organizing project files with UIBinder

2015-12-15 Thread vadim
Thank you for response Luke, I am going to build project using Polymer UI elements and MVP. Thus I have no option other than GWT 2.8.0 and GSS. CSS is not working for this type of projects (or better to say - they work in auto conversion mode). I am afraid that if I keep .java, .gss, .ui

Organizing project files with UIBinder

2015-12-14 Thread vadim
Hello all, I have read the chapter http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html about GWT project layout, but still have some questions: 1. View .ui.xml files are "by default" located at the same folder where .java files are. Is it better to move them to s

Re: FIrefox and Polymer : Ripple effect an UI style

2015-12-14 Thread vadim
I was able to solve the problem by adding this line to main gwt.xml file: I would also recommend for newbies, like me, to look at the following resource: http://blog.arcbees.com/2015/04/14/getting-started-with-css-gss-gwt/ Vadim. On Sunday, December 13, 2015 at 12:11:53 PM UTC+2, va

Re: FIrefox and Polymer : Ripple effect an UI style

2015-12-14 Thread vadim
Thank you, Jens. I have no errors now, but window is blank again. Components still are not visible.. So simple task, so many troubles. I hope when I get it -- it will be less painful Vadim. On Monday, December 14, 2015 at 11:13:31 AM UTC+2, Jens wrote: > > Correct GSS syntax is witho

Re: FIrefox and Polymer : Ripple effect an UI style

2015-12-14 Thread vadim
Got this: Invoking generator com.google.gwt.uibinder.rebind.UiBinderGenerator [INFO] [ERROR] Unexpected text in element: "@external toolbar; @external header; @external content;": (:4) on: @external toolbar; @external header; @external content; .toolb

Re: FIrefox and Polymer : Ripple effect an UI style

2015-12-14 Thread vadim
Thomas, Sorry for dumb question, but where should I put this @external reference? I have Main.ui.xml and legacy CSS block. I have tried to do like this: @external .toolbar { background: #4285f4 !important; } @external .header { font-size: 200%;

Re: FIrefox and Polymer : Ripple effect an UI style

2015-12-13 Thread vadim
Actually if I add any styling with notation FF stops to generate the output. I have blank pages. Can it be connected somehow to development mode I use? I run "mvn gwt:run" and open default browser from the GWT application. On Sunday, December 13, 2015 at 12:11:53 PM UTC+2, va...@ant.ee wrot

FIrefox and Polymer : Ripple effect an UI style

2015-12-13 Thread vadim
Hello all, Doing tutorials I have found that Ripple effect with UI style provided in example makes elements invisible. I have tested with FireFox 26 and 42 -- all the same. At Google chrome everything works as expected. Why this style blanks the page in FireFox? paper-icon-

Re: GWT and Polymer example does not run

2015-12-11 Thread vadim
:) Vadim. On Friday, December 11, 2015 at 3:31:27 PM UTC+2, Ümit Seren wrote: > > or you can simply use GWT 2.8.0-beta/snapshot ? ;-) > > On Friday, December 11, 2015 at 1:36:05 PM UTC+1, va...@ant.ee wrote: >> >> I was really surprised, but here is result of my in

Re: GWT and Polymer example does not run

2015-12-11 Thread vadim
er to be able to use Polymer elements. Vadim. On Thursday, December 10, 2015 at 6:50:57 PM UTC+2, va...@ant.ee wrote: > > Hello all, > > I have followed GWT tutorial to build TodoList polymer example and > during runtime got the following error: > > [ERROR] Err

Re: GWT and secure login

2015-12-10 Thread vadim
Thank you Ümit! I will follow the second approach. It is also described a bit better. On Wednesday, December 9, 2015 at 3:37:15 PM UTC+2, Ümit Seren wrote: > > Well as for any SPA (Single Page App) authentication and authorization is > a concern of the server and not really the client. > > T

GWT and Polymer example does not run

2015-12-10 Thread vadim
Hello all, I have followed GWT tutorial to build TodoList polymer example and during runtime got the following error: [ERROR] Errors in 'com/vaadin/polymer/elemental/Function.java' [INFO][ERROR] Line 6: JsFunction cannot be resolved to a type [INFO][ERRO

GWT and secure login

2015-12-09 Thread vadim
Hello all, I have found GWT project documentation and examples at website fantastic. All major subjects are described with nice examples. What do I really miss there is user login and security (sessions, validation, etc.) Can't really imagine any web-project without user handling. For su

Re: JSNI function and DevMode

2014-07-03 Thread Vadim Vinogradov
Try the following code: $wnd.launchMenuEvent = $entry(function() { @our.package.ui.NavigationContainer::handleMenuEvent(Ljava/lang/String;) }); On Tuesday, July 1, 2014 11:08:39 PM UTC+4, gktcs wrote: > > We have a simple GWT (2.5.1) and GXT (3.0.6) application which has a menu > built from a

Re: Chrome 15, GWT DMP Plugin crashes

2012-10-19 Thread Vadim
Same issue on Chrome 22.0.1229.94 -- 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/-/rpaRjSFWymwJ. To post to this group, send email to google-web-

Re: Resolved problem with cyrillic symbols on local host, but it back after uploading on google

2009-08-04 Thread Vadim Barsukov (vadbars)
Sergei, IMHO you should check whether the written source files actually in UTF-8. I had a similar case. In Russian: Наверное, стоит проверить, в какой кодировке сохранены файлы. У меня был похожий случай. Оказалось, что один из файлов был записан неправильно. -- Vadim Barsukov http