Re: Use synchronous RPC on browser close ?

2016-02-17 Thread 'Dominic Warzok' via GWT Users
Hey, thanks for the hint with baconApi but it's the same that the most of our users use IE. @Rocco: Can you post a little example how you use the synchronous callback. We tried to use the provided example. We try to cast our ascync service to GetRemoteServiceProxy but an error occured.

Re: Use synchronous RPC on browser close ?

2016-02-15 Thread Dominic Warzok
> which can not be cached. I also changed this behavior. > > BR > Rocco > > > If you have some additional question or in the case I forgot a file give > me a short feedback. > I know this solution is ugly but it works. > > Am Montag, 15. Februar 2016 10:33:48 UTC+1

Re: Use synchronous RPC on browser close ?

2016-02-15 Thread Dominic Warzok
Hi Rocco, thanks for this very fast answer. We will try it and I will give you a feedback. We had another idea too. Maybe it's a solution to use longpolling or web sockets. So you should have a connection to your client and recognize when it's lost. This would be a nicer way. As I said I

Use synchronous RPC on browser close ?

2016-02-15 Thread Dominic Warzok
Hey Guys, we have a very heavy problem. If a user clicks the edit button in the webpage, the user sets a lock to the databaserecord. I know it is not the right way to handle it on the web but I have no choice. I also read all the posts about not doing synchronus RPC calls in GWT. But we

Re: Send message to server when closing brwosertab

2015-11-09 Thread Dominic Warzok
> > Hey thanks for your Hints. > But you don't recommed this. Can you tell me how to handle it otherwise? @DavidN Can you show me a code example how to do this ? Thanks in advance Dominic -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To

Send message to server when closing brwosertab

2015-11-04 Thread Dominic Warzok
Hi Guys, I have a little problem. I want my server to do some stuff when the user close a tab in his browser. So I used the onWindowsClosing method but the call towards the server often dosn't work. Is there a possiblity to do something like this? I only need to parse an id to my server.

Frame-Panel sends a second request if leaving the Page

2015-09-08 Thread Dominic Warzok
Hi, we've got a Problem. In our web application we use a frame to display some pdf with the browsers pdf viewer. If you open the site with the frame the request for the pdf is called twice. If you leave the page the request is send again. As you can see in the picture below.

Re: DockLayoutPanel scroll content

2015-03-16 Thread Dominic Warzok
Hi, thanks this seems to work. Is it not very nice because the last 20px of my side are lost when I have scrollable content. Is there an other way to handle large content with a header and navigation bar ? -- You received this message because you are subscribed to the Google Groups Google

DockLayoutPanel scroll content

2015-03-16 Thread Dominic Warzok
Hi, I want to change the Layout of my Webapp to a DockLayoutPanel. If I display my search results these run out of my window. When you look at css the DocklayoutPanel give his children overflow: hidden. Is it possible to change this to overflow:scroll? Thanks in advance Dominic -- You

Re: DockLayoutPanel scroll content

2015-03-16 Thread Dominic Warzok
, 2015 at 3:58 PM, Dominic Warzok dom...@googlemail.com javascript: wrote: Hi, thanks this seems to work. Is it not very nice because the last 20px of my side are lost when I have scrollable content. Is there an other way to handle large content with a header and navigation bar

Resize FlexTabel columns with mouse

2015-02-23 Thread Dominic Warzok
Hi Guys. I'm trying to make my flextabels colums resizeable. With the CSS-Property resize: horizontal this is possible in all browsers except IE. But I have to support IE. So does someone have an idea how to do this? Thanks in advance -- You received this message because you are

Test User Interface automaticly

2015-01-13 Thread Dominic Warzok
Hi, We have a very big web application written in GWT. So we are now looking for a way to test our userinterface automaticly. It's not possible to do an full test of the application by one person. For example we would automaticly create a new user and than test if all inputs are correct.

After scrolling popup has wrong postition

2014-09-16 Thread Dominic Warzok
Hi Guys, I have an FlexTable with some TextFields. This Textfields have a Contextmenu. It's all working fine, but if I scroll down the table and than do a right click my Popup appears at the wrong position. Is there any bugfix for this? Here is my Popupcode: protected void showPopUpMenu(

Use FilterTextBox after a specific time

2014-08-28 Thread Dominic Warzok
Hi, in my webapp we have a very lagre collection. The user has the ability to filter these collection. But if you tipe in one letter and start filtering it needs a lot of time. So I try to change the valueChangeHandler to only update the value in the box after 2 seconds when typing ended.

How to Style a PushButton with CSSResource

2014-07-30 Thread Dominic Warzok
Hi I want to style a gwt-pushButton. So in normal css I overwrite the gwt-PushButton style. But how to do this with a CSSResource ? It's no problem to change the background color or something like this, but I also want to change the diffrent states of the button. Any suggestions? --

Re: Best way to style a web app in diffrent ways

2014-06-27 Thread Dominic Warzok
Hi thank you. That is al lot of information and I will try it. My style ist static. And I don't have to change the whole style. I only have to change the colors of my webapp. I will tell you when I have any results. -- You received this message because you are subscribed to the Google

Best way to style a web app in diffrent ways

2014-06-25 Thread Dominic Warzok
Hi Guys. I try to writa a web app where it is possible to give diffrent styles to them. Whart is the best way to do this. At the moment I'm trying to do this with CSSResource. But this don't work so good. I would do it with a normal css but I have no idea how to style default GWT Styles

Re: Override html styles with css resource

2014-05-15 Thread Dominic Warzok
. On Wednesday, May 7, 2014 5:16:27 AM UTC-4, Dominic Warzok wrote: Hi, as the gwt documentaion says the common way to apply styles is to use css resources. Now I try to implement cssresoures to my webapp. But I don't find an example how to override standard html attributes

Override html styles with css resource

2014-05-07 Thread Dominic Warzok
Hi, as the gwt documentaion says the common way to apply styles is to use css resources. Now I try to implement cssresoures to my webapp. But I don't find an example how to override standard html attributes. For example I want to style a link. In normal CSS I use: a{ color: xxx; }

Re: Override html styles with css resource

2014-05-07 Thread Dominic Warzok
that you inject in your onModuleLoad, and your GWT app is the only thing in the HTML host page) but yes it's possible. On Wednesday, May 7, 2014 11:16:27 AM UTC+2, Dominic Warzok wrote: Hi, as the gwt documentaion says the common way to apply styles is to use css resources. Now I try

Hyperlink don't work in Internet Explorer

2014-03-19 Thread Dominic Warzok
Hi, in my GWT webapp I use some Hyperlinks. But these Hyperlinks have a Table with content inside. In this Table there is an image and some text behind. In InternetExplorer it works when I click at the image but if I click at the text nothing happens. Any idea why this happen ? Chrome

Create complex own styles

2014-03-17 Thread Dominic Warzok
Hi, I have a webapp and this app should get different styles. Which is the best way to do this? At the moment we use the webapp.css in the war folder to overwrite the styles. But this isn't nice in my opinion. How does gwt do this with it default styles ? Is it possible to write

Expand all Items of a Tree

2014-03-13 Thread Dominic Warzok
Hi, I try to write my own Tree Widget because the given GWT Tree isn't Styleable enough for me. Now my problem is a method that expand and collapse alle Items that are in the Tree. I tried a lot of things yet but allways something doesn't work. If you have an suggestion let me know ;).

Re: Change CSSResources in different Projects

2014-03-07 Thread Dominic Warzok
Hi thanks for your support, Now it's working very well. My Factory now looks : public class PSGResourceFactory { private static PSGResourceFactory fac; private PSGResources resources; public PSGResources getResources() { if ( resources == null ) { resources =

Change CSSResources in different Projects

2014-03-06 Thread Dominic Warzok
Hi, I have written a little webapp f.e. myWebapp there I use CSS Resourses like they are discribe at the GWTProject site. Now I need that other Web Apps that use my WebApp as an jar file can change the css resource. I found this

Re: GWT module 'MySampleApplication' may need to be (re)complied

2014-03-06 Thread Dominic Warzok
Did you use the development mode or super dev mode ? If not you have to run google Compile. In eclipse you have to rightclick the projectfolder than google - google compile. Greets Dominic On Thursday, March 6, 2014 3:39:40 PM UTC+1, Owais Zahid wrote: I am new to GWT. I am using

Error in expanding GWT Tree

2014-02-25 Thread Dominic Warzok
Hi, in my WebApp I use a GWT Tree. I have made a Button, when you klick this button the whole tree should be expanded / closed. But when I click the button sometimes a TreeItem does not close. When I debug this I can see that the open state is not changed but I called the method

CellTable with 2 Headers

2014-01-17 Thread Dominic Warzok
Hi together, I want to Build a CellTable simular to this: --- | HeaderTitle A | HaederTitle B| | C |D |E| F| G | H | I found a lot of answers to this

Detect swipe events in gwt

2013-09-24 Thread Dominic Warzok
Hi, i got a little web app and it should support mobile devices. Like in the G+ app I want to display the Navigationbar when a User swipe from the left screen to the right. Is something like this possible in GWT ? I try all the time to get a touchEvent. But if I add a Handler to my Button

Re: How to use different CSS/Code for different browsers/devices/os?

2013-09-17 Thread Dominic Warzok
Hey there is a very simple but nice Example in gwt-Demo-Apps. The presentation can be watched here: http://youtu.be/N1aCo5LvMf8 I use this to decide if my webapp it's on a tablet or on a normal browser. -- You received this message because you are subscribed to the Google Groups Google Web

Conditional CSS doesn't work on Tomcat

2013-09-05 Thread Dominic Warzok
Hey all maybe you can help me :) I want to use some Conditional CSS in my webapp. For test I build in some simple user.agent detection like it ist describe herehttp://www.gwtproject.org/doc/latest/DevGuideClientBundle.html#CssResource . Now my main.css looks like this: @if user.agent

Re: Conditional CSS doesn't work on Tomcat

2013-09-05 Thread Dominic Warzok
Okay, I will try to get a Resoure interface. On Thursday, September 5, 2013 8:25:06 AM UTC+2, Dominic Warzok wrote: Hey all maybe you can help me :) I want to use some Conditional CSS in my webapp. For test I build in some simple user.agent detection like it ist describe herehttp

Re: Conditional CSS doesn't work on Tomcat

2013-09-05 Thread Dominic Warzok
So I got it to work :-) thanks for this tip. But I have another question. When I add styles from MyResources it works fine. But what is about overwriting styles in css file? Have I to include the stylesheet in my gwt.xml too ? -- You received this message because you are subscribed to the

Change Stylesheet depending on device

2013-09-04 Thread Dominic Warzok
Hey, it ist possible to change the css in GWT depending which device the User has? f.e. if the User call my WebApp with chrome I want to load myWebapp.css when the User load from a website I want to remove myWebapp.css and replace it with myWebappMobile,css. I'm looking for something

Re: Problem with AbstractCell in IE

2013-08-28 Thread Dominic Warzok
Hey sorry for late reply, but it takes some time here to test it. It won't work either I remove the float: left or if I use you sulution without a table. Could this happen because target:_blank ? Thanks in advance On Friday, August 23, 2013 10:32:08 AM UTC+2, Jens wrote: Does it also

Problem with AbstractCell in IE

2013-08-23 Thread Dominic Warzok
Hey, i've got a problem with an AbstractCell. I created a class to get an image link. This class extends an abstract cell. To display the link I created a SelfHTML template. This looks like this: @Template ( + a href=\{0}\ style=\white-space: nowrap;\ target=\{3}\ +

Style GWT-Tree to a non hierarchal Layout

2013-06-28 Thread Dominic Warzok
Hi together, I found a lot of threads to this problem but it seems there is no solution. But maybe somone of you have a fix for my problem. We use a tree for our navigation. So there ist not so much space for the hirachal layout of the tree. It is possible to remove this? With firebug I

Re: Problem with DateBox

2013-04-22 Thread Dominic Warzok
Thanks I will read it maybe I find a solution there ;) On Friday, April 19, 2013 12:19:08 PM UTC+2, Jens wrote: Maybe there is a problem with winter and summer time? That could be, especially for older dates. We also had problems with it, take a look at:

Problem with DateBox

2013-04-19 Thread Dominic Warzok
Hey, I use a DateBox in my webapp to store birthdays. Now something strange happend. If i compile my project and run it on my server. The DateBox decrease the birthday by one day each time I save the form. But it only happens when the month is bigger than 7. Maybe there is a problem with

CellTable Multiselction Model with Checkbox and Onclick

2013-04-02 Thread Dominic Warzok
Hey, I'm trying to implement a CellTable where you can click on checkboxes to select some rows and you should also can Crlt + click on the cells to select some rows. But that doesn't work :(. I am able to implement the checkboxes oder the clicks but not both together. Does anyone knows

Re: Get String Width in Pixels

2013-03-19 Thread Dominic Warzok
Thanks, that works great ;) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit 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 group, send

Get String Width in Pixels

2013-03-18 Thread Dominic Warzok
Hey, is there a possibility to get the expected Srting width in pixel ? I need this because I have a navigation bar with a width of 300px. And there are varius names which I want to show in it. Now I want to truncate the String if it is longer than 300px. Thanks in advance -- You

Re: Close Event thrown before click event ?

2013-03-14 Thread Dominic Warzok
This won't work either. In my opinion the Problem is, if the panel is open and you click on the button the Panel will be closed and the button is enabled again. But then the clickEvent reach the button and so the panel is shown again. On Wednesday, March 13, 2013 11:07:02 PM UTC+1,

Re: Close Event thrown before click event ?

2013-03-14 Thread Dominic Warzok
partnerhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/PopupPanel.html#addAutoHidePartner(com.google.gwt.dom.client.Element)of the dialog. On Wednesday, March 13, 2013 9:11:43 AM UTC+1, Dominic Warzok wrote: ** Hey, I have a button which shows a DialogBox

Close Event thrown before click event ?

2013-03-13 Thread Dominic Warzok
** Hey, I have a button which shows a DialogBox when you click on it. But if you click on the button while the DialogBox ist shown. It will be closed and then open again. It seems that the closeEvent of the DialogBox is thwrown before the clickEvent on the button. So if you check

Vertical Menu Bar klick on arrow

2013-03-06 Thread Dominic Warzok
Hey, I'm developing a little website. Now I try to use a MenuBar and it is working fine but there is a little arrow which shows, that there is a pop up menu. (See attachment) But I can't click on it. In tests the all my users try to klick on this arrow because they expected this would

Problem use GWT 2.5.0 Super Dev Mode

2013-02-27 Thread Dominic Warzok
Hey I try to use Super Dev Mode in my web app. But I always get the message Can't find any GWT Modules on this page. code serverhttp://127.0.0.1:9876/ I follow these Steps to get Super Dev Mode running in eclipse: 1. *add* add-linker name=xsiframe / set-configuration-property

Re: Problem use GWT 2.5.0 Super Dev Mode

2013-02-27 Thread Dominic Warzok
with the xsiframe linker and devModeRedirectEnabled? On Wednesday, February 27, 2013 10:09:59 AM UTC+1, Dominic Warzok wrote: Hey I try to use Super Dev Mode in my web app. But I always get the message Can't find any GWT Modules on this page. code serverhttp://127.0.0.1:9876/ I follow

onbeforeunload / onWindfowClosing only if the user leaves the page

2013-01-14 Thread Dominic Warzok
Hello, I have a little problem with my webapp. I want to log out the user if he leaves the page. So I tried it with onWindowClosing but this method is also called, if the user reload the page. Is there a way to get information if the user leave or reload the page ? Thanks Dominic --

Can I get the URL where the User want's to go ?

2012-12-18 Thread Dominic Warzok
Hi all, I'm looking for a while now to find a method which gives me the URL the USer typed in. For example: the user is on my webpage www.xyz.com/www/mysite.html and now he types in the browser bar www.google.de and hit enter. It is possible to get the new url in my webapp? Thanks in

Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
Hey together, I try about a day to find an equvalent to the javascript confirm-dialog. My problem is that when the user reload the webpage, he should get a dialog with a Yes and a No button where he can decide to only reload the page or to log off from the page. I found a jQueryUi Dialog

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
Because the Dialog Box don't interrup the reload process. The Dialog Box is shown but then it disapears when the page is reloading. On Monday, December 17, 2012 12:31:43 PM UTC+1, Aldin wrote: Why don't use DialogBox? On Mon, Dec 17, 2012 at 12:28 PM, Dominic Warzok dom

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
:15 PM UTC+1, Aldin wrote: You actually need this https://sites.google.com/site/develop4experts/tips-and-tricks/dontleavethispage, right? But implemented in GWT? On Mon, Dec 17, 2012 at 12:41 PM, Dominic Warzok dom...@googlemail.comjavascript: wrote: Because the Dialog Box don't

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
click Leave this Page. If user click Stay on this Page the Dialog have just to close? On Mon, Dec 17, 2012 at 12:51 PM, Dominic Warzok dom...@googlemail.comjavascript: wrote: boolean confirm = Window .confirm(Do you want to leave this Pa -- You received this message because

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
() or com.google.gwt.user.client.Window.Location.replace(newURL); On Mon, Dec 17, 2012 at 12:57 PM, Dominic Warzok dom...@googlemail.comjavascript: wrote: Yes if the user click on leave this page, he will be logged out of the application (Maybe redirect). If he click on stay the page will only be reload. On Monday, December

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
this in your app project? On Mon, Dec 17, 2012 at 1:19 PM, Dominic Warzok dom...@googlemail.comjavascript: wrote: No I' not using the history and in my opinon this is not necessary. The way this should go is. The user press F5 or Crlt + R than the dialog should appear and the user can decide

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
Window.confirm()? We use this at the moment but there you can't change the buttons. In this confirm Dialog only OK or ´Cancel is avaible. In that specific case, you'll want to Window.addClosingHandler and setMessage on the event. We also have this handler added and it works well. Butt

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
UTC+1, Thomas Broyer wrote: On Monday, December 17, 2012 3:50:44 PM UTC+1, Dominic Warzok wrote: Window.confirm()? We use this at the moment but there you can't change the buttons. In this confirm Dialog only OK or ´Cancel is avaible. In that specific case, you'll want

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
realy be closed. So my Question is be implementd in the onWindowClosing method and my logoutcode in the onClose method Thanks for your help On Monday, December 17, 2012 4:41:41 PM UTC+1, Dominic Warzok wrote: Yeah that's nice it's something we are looking for. But how do I interupt

Re: Equivalent to javascript confirmdialog ind GWT

2012-12-17 Thread Dominic Warzok
The solution is posted her on Stackoverflowhttp://stackoverflow.com/questions/2562658/execute-code-on-window-close-in-gwt . And here is my code (it's only a extract of the full class) : *public class MainPresenterV extends MainView* *extends BasicPresenterV* *implements HistoryTokens,

Problem with gwt-MenuBarPopup

2012-11-30 Thread Dominic Warzok
Hi Guys, i have a little Problem with my MenuBar. It is possible to set the z-index value from gwt-MenuBarPopup ? At java doc I didn't found this css-Property but in my Website it exist. Thanks Domi -- You received this message because you are subscribed to the Google Groups Google Web

Alignment in Horizontal Panel

2012-10-11 Thread Dominic Warzok
Hi I want to align some Buttons to the Left in my HorizontalPanel. This is my examplecode. public void onModuleLoad() { HorizontalPanel buttonsPanel = new HorizontalPanel(); Button test1 = new Button(Test1); Button Test2 = new Button(Test me );

Animated Speedometer

2012-08-15 Thread Dominic Warzok
Hi together, I want to build an animated speedometer with GWT but I have no idea where to start. I have visited the GWT showcase website and found some animation there. But it is alway how to move a picture from one position to another, in my case I need to rotate the needle, and not to move

Re: Animated Speedometer

2012-08-15 Thread Dominic Warzok
Yes thats the very big problem with the IE8. But ca. 90% of my useres use this. :-( Thanks for the Speedometer Example this helps me a lot. Am Mittwoch, 15. August 2012 10:40:42 UTC+2 schrieb Jens: Hmm IE8 does not support CSS3 rotate/transform/animation/transition and with pure JS I

DialogBox won't get CSS attribute box-shadow

2012-08-09 Thread Dominic Warzok
Hi everyone, I have a DialogBox an want to add a box-shadow to it. So at the end it should look like endversion.png. But when I write my DialogBox class and use the method setStylePrimaryName() or setStyleName() the given String would be applied to the DialogBox. CSS attributes like