Re: How to simulate a click for a GWT button using fireEvent

2017-01-27 Thread Privat
Hello Nantanael, You have provided GWT Java code. You might have misunderstood. I wish to fire the event in *JavaScript*, on the front-end. (The compiled code) I have no access to the GWT code. I simply want to manipulate the front end (The compiled code) What I am asking requires knowledge

Re: How to simulate a click for a GWT button using fireEvent

2017-01-27 Thread natan clara
I have use this. this.getComo().addKeyPressHandler(new KeyPressHandler() {     @Override     public void onKeyPress(KeyPressEvent event) {     int teclado = event.getNativeEvent().getKeyCode();     if ((teclado

How to simulate a click for a GWT button using fireEvent

2017-01-27 Thread Privat
I am trying to simulate a mouse click event on GWT (Google Web Toolkit) Application in *<=IE8* (using fireEvent, not dispatchEvent) A sample custom button can be found here: http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwCustomButton (The toggle button is easiest to see if

Simulate F11Key in GWT button

2015-10-07 Thread NewbieGwtUser
Hi everybody, I'm a newbie in developing with GWT, and I'd like to create an application in which I want to create a button that simulate exactly the F11Key event. Could someone tell me if is this possible or not and if yes, how ??? Thank you so much. -- You received this message because you

why the GWT button inside a Div with position-fixed doesn't work?

2013-10-04 Thread Tom
I want to use a div to create a box that is near to the bottom right corner of the browser. The box Div will lie right on top of the footer to the bottom right corner of the browser. The requirement is that that Div must be in that desired position * relatively* to the browser size. It means

Re: why the GWT button inside a Div with position-fixed doesn't work?

2013-10-04 Thread Tom
Can u talk clearly? I don't use development tool, but i am using eclipse to GWTP. What is the correct way to code css in this case? On Saturday, October 5, 2013 12:37:21 AM UTC+10, Timothy Spear wrote: Use chrome developer tools and find what is residing in z-order in front of your div. I

Re: why the GWT button inside a Div with position-fixed doesn't work?

2013-10-04 Thread Timothy Spear
Yes, but I am on a phone at a car dealership waiting for my car. :-) Using Eclipse for three development tool does not matter. I use eclipse and command line depending on what I am working on. The CSS you displayed is correct. With the assumption you connected the button click event correctly,

Re: GWT Button becoming transparent due to CSS?

2013-08-21 Thread AgitoM
Well I further investigated the problem, and it turns out its a bug in WebKit browsers. The widget is not redrawn by the browser, despite the fact it's newly created. Does anyone know how to manually trigger a widget redraw or a browser Resize event? Hope anyone knows. -- You received this

GWT Button becoming transparent due to CSS?

2013-08-20 Thread AgitoM
Am currently developing a website for use in mobile browsers, and noticed that on some of the hand phones, buttons are not shown as visible. This sometimes happens upon the creation of a widget, on other occasions when re-creating a certain widget. Changing the orientation of the screen can

Re: Widget.addHandler() on GWT Button not working correctly

2013-01-02 Thread Goktug Gokdogan
Button#addClickHandler uses #addDomHandler which calls #sinkEvents to start receiving events. If only addHandler is called, the button will not start receiving the vent. On Fri, Dec 28, 2012 at 10:15 PM, Atul Acharya a885.a242...@gmail.comwrote: I am trying to use method addHandler on a

Widget.addHandler() on GWT Button not working correctly

2013-01-01 Thread Atul Acharya
I am trying to use method addHandler on a Button. Following is my code: private void attachClickHandler(Widget widget) { ClickHandler clickHandler1; ClickHandler clickHandler2; clickHandler1 = new ClickHandler() { @Override public void onClick(ClickEvent event) {

Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)

2011-06-27 Thread somaldo
Hi Currently am working on the Gwt button disable in crossbrowser. In Internet explorer its working properly But in Mozilla firefox and Chrome the button is not disabled properly and whenever mouse over on the disabled button, button got focus( but clicking event function is not occuring

Re: Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)

2011-06-27 Thread mohamed salah
- salaam this Solutions in not true --- final Button sendButton = new Button(Send); sendButton.setEnabled(false); Also i have tried the following thing. final Button sendButton = new

Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)

2011-06-27 Thread somaldo
Hi Currently am working on the Gwt button disable in crossbrowser. In Internet explorer its working properly But in Mozilla firefox and Chrome the button is not disabled properly and whenever mouse over on the disabled button, button got focus( but clicking event function is not occuring

Re: Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)

2011-06-27 Thread somaldo
On Jun 27, 6:49 pm, mohamed salah mohamedhasanshaks...@gmail.com wrote: - salaam this Solutions in not true ---  final Button sendButton = new Button(Send);      

Re: Gwt Button Disable problem in Mozilla firefox and Chrome(cross browser)

2011-06-27 Thread Thomas Broyer
a theme from GWT or rolling your own stylesheet? If using the clean theme, then I don't see an issue on the Showcase: http://gwt.google.com/samples/Showcase/Showcase.html#!CwBasicButton The change in the border is wilfull, the CSS reads: .gwt-Button[disabled]:hover { border: 1px outset #ccc

Re: font-size: does not work for GWT button and flextable

2011-06-25 Thread Ashwin Desikan
if you are using UI-Binder , you can either your the styleName or addStyleNames property. for example UiBinder /UiBinder -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: font-size: does not work for GWT button and flextable

2011-06-25 Thread Ashwin Desikan
a need to display differently then you would have to update your CSS for those properties. Check out the GWT Button class and it would you the details about the CSS properties you can override Thanks Ashwin -- You received this message because you are subscribed to the Google Groups Google Web

font-size: does not work for GWT button and flextable

2011-06-24 Thread Bob
How do you change the font size in a GWT Button or a GWT Flextable? The standard CSS of font-size: 150%; does not work, but color: red; does work. Also, font-family does not work for flexible (but does for button) I am new to GWT. thanks Bob -- You received this message because you

Re: gwt button cell

2011-03-20 Thread Deepali Bhandari
On Mar 17, 9:34 pm, Deepali Bhandari deepalib...@yahoo.com wrote: Hi I have a cell table in which the first column, is a button cell. I need to be able to add style to it. I am unable to find code samples for it. I would also like to be able to click on the button cell. Somewhere I saw

gwt button cell

2011-03-18 Thread Deepali Bhandari
Hi I have a cell table in which the first column, is a button cell. I need to be able to add style to it. I am unable to find code samples for it. I would also like to be able to click on the button cell. Somewhere I saw usage of fieldupdater but am unclear on it/ --thanks. -- You received this

Re: gwt button cell

2011-03-18 Thread permi reddy
Hii All, I am working on GWT,i have one property file.on project load i read that property file with servlet (like load on start up tag in web.xml in normal java concept) and put into one static map .now i want use those property file values in client side,how can i do this.. On Fri,

Buttons and .gwt-Button CSS

2010-08-19 Thread Maurice
Hi! I have a global stylesheet for my project, with .gwt-Button, .gwt- Label etc. defined in it. All the .gwt-Label CSS settings are picked up in my UI, eg. I can add a margin and watch the Labels adjust accordingly with a refresh. However, .gwt-Button doesn't seem to allow adjustments

Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread aditya ch
Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.0.3 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Every browser Detailed description (please be as specific as possible): Could not able to render GWT button on the screen in hosted mode. Please find the stack trace i'm getting 10:32:08.234

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread Thomas Broyer
On Apr 12, 11:24 am, aditya ch adityac1...@gmail.com wrote: Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.0.3 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Every browser Detailed description (please be as specific as possible): Could not able to render GWT button on the screen

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread aditya ch
: Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.0.3 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Every browser Detailed description (please be as specific as possible): Could not able to render GWT button on the screen in hosted mode. Please find the stack trace i'm getting 10:32

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread Sripathi Krishnan
as possible): Could not able to render GWT button on the screen in hosted mode. Please find the stack trace i'm getting 10:32:08.234 [ERROR] [com.tradiant.gwt_demo.Demo] Unable to load module entry point class com.tradiant.gwt_demo.gui.client.DemoModule (see associated exception

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread Thomas Broyer
On 12 avr, 15:26, aditya ch adityac1...@gmail.com wrote: Not exactly. Earlier I used that for quick compilation and I can surely say it's not on when I'm running on hosted mode. You might be running into issue 4823 or similar. http://code.google.com/p/google-web-toolkit/issues/detail?id=4823

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread aditya ch
Yeah Thomas, you are right. I have posted the exception occurring in Chrome, but as I mentioned earlier, similar kind of issue is even happening in FF, IE as well. If you want, I can even post the stack trace I'm getting with FF. Yes, I did a lot of refreshes in the browser with Ctrl+R, F5,

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread aditya ch
Yeah Thomas, you are right. I have posted the exception occurring in Chrome, but as I mentioned earlier, similar kind of issue is even happening in FF, IE as well. If you want, I can even post the stack trace I'm getting with FF. Yes, I did a lot of refreshes in the browser with Ctrl+R, F5,

GWT button event problem

2010-03-23 Thread msaif
For example I took html from a designer which is given below. How can i add click event which shows alert from GWT? table align=center tr td id=nameFieldContainerinput type=button name=x id=x value=OK //td /tr /table final Button button = new Button(OK); I dont allow

Re: GWT button event problem

2010-03-23 Thread rudolf michael
well you need to know when to use the DOM and when to use the RootPanel, usually RootPanel works only on DIV tags while the DOM can traverse any kind of html tags. so in your case you can add a button with a click dynamically by using DOM. but i dont use this, try to use DIVs as much as you can.

Clicking a GWT button from javascript?

2010-03-06 Thread ChristianP
Hi GWT'ers, I have a website which uses both GWT and regular javascript. In one case, I would like some javascript code to click a GWT button on the same page. That works pretty well in Safari, but not in Chrome. I'm using getElementById(...).click(); for clicking the button, but nothing happens

Re: Rounded Corner In Gwt Button

2010-02-10 Thread mariyan nenchev
For my custom buttons i use Flex Table with 1 row and 3 columns: left, repeat and right, where left and right are images with rounded corners and repeat is 1px width image that is repeated. I also have predefined styles that are placed in enum. The only problem here is that my images are not in

Re: Rounded Corner In Gwt Button

2010-02-10 Thread George Georgovassilis
There is a way using a button with the sliding door techique [1]. The example does it with a link simulating a button, but it also works with buttons. Please be advised that buttons pose an unforseen behavior when pressed: they displace their content by a few pixels. Unfortunately not all browsers

gwt-button : Firefox Dotted Border

2010-02-05 Thread fonghuangyee
Hi, is there anyone notice that the gwt button will show dotted border when focus on firefox. i try .gwt-button:focus { outline : none; } but the dotted border still there. Any solution? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

GWT button

2009-12-30 Thread muhannad nasser
Dear all; Does anyone have a good CSS or style for GWT button because i hate the rectangular shape.. and i tried to do the sliding door effect, it worked fine but there was some problems in IE, and the hover effect did not work also in IE... thanks -- ~~~With Regards~~~ Muhannad Dar

Re: GWT button

2009-12-30 Thread Jim Douglas
Muhannad, If you just want the browser's default button style, you can try this: http://code.google.com/p/google-web-toolkit/issues/detail?id=4400 Button button = new Button(); button.removeStyleName(gwt-Button); On Dec 30, 1:02 am, muhannad nasser muhannadna...@gmail.com wrote: Dear all

Re: GWT Button style using HTML - Mozilla Compatibility

2009-09-25 Thread abhiram wuntakal
Hi Zak, Thanks for that. But i was planning to have uniform style for all the buttons. I have some 15-20 different kinds of buttons. I dint want to write a separate CSS for each of them. I just realized that using HTML would be a really convenient way of implementing the icons for buttons.

Re: GWT Button style using HTML - Mozilla Compatibility

2009-09-24 Thread Venkatesh Babu
Try setting the style using a css class rather than the style attribute, in the way specified in your code. If you don't have a css file, you can just create the css class within your html file. Hope this helps. -Venkatesh On Thu, Sep 24, 2009 at 2:08 AM, abhiram abhir...@gmail.com wrote:

Re: GWT Button style using HTML - Mozilla Compatibility

2009-09-24 Thread abhiram wuntakal
I got some really cool styles with HTML tags and so thought of sticking on to it. Any idea why the image which I set on the button using HTML did not appear in Firefox? regards, Abhiram On Thu, Sep 24, 2009 at 4:55 PM, Venkatesh Babu venkatbab...@gmail.comwrote: Try setting the style using a

Re: GWT Button style using HTML - Mozilla Compatibility

2009-09-24 Thread Zak
The CSS for the background declaration is invalid. Also there's no need for tabs and carriage returns. Try this: button.setHTML(div style=\background:transparent url(home.gif) no- repeat; width:95px; height:23px;\ Home /div); The best practices solution, however, is to have an external

Re: Doing a mailto: with a gwt button

2009-06-01 Thread Donald.W.Long
Ok, thanks give me something to work from. Both examples look like a method. Thanks again for the help On Jun 1, 12:41 am, Dean S. Jones deansjo...@gmail.com wrote: depending on the platform, this works, but always pops up a blank browser window,... I was trying to avoid that On May

Re: Doing a mailto: with a gwt button

2009-06-01 Thread Donald.W.Long
I did the below and it worked fine in hosted mode, I am running GWT 1.6 What version are you running? On May 31, 10:19 pm, Dean S. Jones deansjo...@gmail.com wrote: this is a little hackey, and doesnt work in hosted mode, but... public void onModuleLoad() {                 final Button

Doing a mailto: with a gwt button

2009-05-31 Thread Donald.W.Long
Hi all, Most likely this is a stupid question but what I need to do is have a button that the user hits and then it does the normal mailto: href. What is the code to accompilish this? Thanks and sorry for such a simple question. Donald W. Long

Re: Doing a mailto: with a gwt button

2009-05-31 Thread Dean S. Jones
this is a little hackey, and doesnt work in hosted mode, but... public void onModuleLoad() { final Button sendButton = new Button(Send); RootPanel.get(sendButtonContainer).add(sendButton); sendButton.addClickHandler(new ClickHandler()

Re: Doing a mailto: with a gwt button

2009-05-31 Thread Ian Bambury
final Button button = new Button(button, new ClickHandler() { @Override public void onClick(final ClickEvent event) { Window.open(mailto:x...@x.x;, _blank, ); } }); Ian http://examples.roughian.com 2009/6/1

Re: Doing a mailto: with a gwt button

2009-05-31 Thread Dean S. Jones
depending on the platform, this works, but always pops up a blank browser window,... I was trying to avoid that On May 31, 11:40 pm, Ian Bambury ianbamb...@gmail.com wrote:         final Button button = new Button(button, new ClickHandler()         {             @Override            

GWT Button does not work after asigning a stylename

2009-05-20 Thread Paul van Hoven
I wrote the following code Button firstPB = new Button( msgs.srw_first(), this ); hPanel.add( firstPB ); This works fine and i have no problems. But after adding... Button firstPB = new Button( msgs.srw_first(), this ); hPanel.add( firstPB ); firstPB.setStyleName(PaginationButton-Passive);