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 of
I have use this.
this.getComo().addKeyPressHandler(new KeyPressHandler() {
@Override
public void onKeyPress(KeyPressEvent event) {
int teclado = event.getNativeEvent().getKeyCode();
if ((teclado
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 t
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
Thax u very much, i can see the problem. The problem is the above panel
cover over the button part, so i couldn't click. I changed the bottom to
5px, now i can click it.
It's not good, do u know how to code dialogbox to locate in that position,
with dialogbox we just ned to setModal=false, & it
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, Th
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
Use chrome developer tools and find what is residing in z-order in front of
your div. I have the same requirement and it works just fine.
Tim
On Oct 4, 2013 10:15 AM, "Tom" wrote:
> 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
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 t
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 m
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 make
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 wrote:
> I am trying to use method addHandler on a Button. Following is my code
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) {
mode"?). Are you
using 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-Butt
On Jun 27, 6:49 pm, mohamed salah
wrote:
> -
> salaam
>
> this Solutions in not true
>
> ---
> final Button sendButton = new Button("Send");
> sendButton.setEnabled(false);
>
> Also i have t
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)
The
-
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 But
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)
The
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 Toolkit" group.
To view this discussion on the web vi
if you are using UI-Binder , you can either your the styleName or
addStyleNames property. for example
--
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-we
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 are
On Mar 17, 9:34 pm, Deepali Bhandari 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 usage of fieldupdat
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,
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
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 t
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, Ctrl+F5
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, Ctrl+F5
On 12 avr, 15:26, aditya ch 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
Have you tried remov
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 [ERROR] [
>
> > 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.
>
On Apr 12, 11:24 am, aditya ch 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 scr
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:0
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.
Th
For example I took html from a designer which is given below.
How can i add click event which shows alert from GWT?
final Button button = new Button("OK");
I dont allow to add button dynamically from GWT by
RootPanel.get("sendButtonContainer").add(button);
I am
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
nothi
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
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 bun
Hi all,
I am try to make round corner using css But I am not able to do
rounded corner.
My css style is:
.box {
background-image: url(/images/nw.gif), url(/images/ne.gif), url(/
images/sw.gif), url(/images/se.gif);
background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
On Feb 5, 2:33 pm, fonghuangyee wrote:
> 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?
http
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 To
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 wrote:
> Dear all;
>
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
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. An
The CSS for the background declaration is invalid. Also there's no
need for tabs and carriage returns. Try this:
button.setHTML(" Home ");
The best practices solution, however, is to have an external
stylesheet with styling rules defined:
.cool-button {
background: transparent url(home.gif) n
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 wrote:
> Try setting the style using a css class rather than t
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 wrote:
>
> Hi all,
>
> I
Hi all,
I used the setHTML property for the Button to get some really nice
styles for the buttons in my application. This works perfectly in IE
but does not seem to work in Mozilla and Chrome. In Mozilla and Chrome
I dont see the images on the button which are visible on IE.
My sample code i
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" wrote:
> this is a little hackey, and doesnt work in hosted mode, but...
>
> public void onModuleLoad() {
> final Button sendButton = new Bu
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" wrote:
> 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, Ia
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 wrote:
> final Button button = new Button("button", new ClickHandler()
> {
> @Override
> public void onClic
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
2
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()
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
--~--~-~--~~~---~--~--
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");
.
54 matches
Mail list logo