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
--~--~-~--~~~---~--~--
Because you haven't added it to the DOM?
Maybe GWT should throw an error if it's not attached, but it doesn't.
Ian
http://examples.roughian.com
2009/6/1 Josué
>
> Hello All,
>
> The following code is not throwing a RuntimeException. Someone here
> know why?
>
> button = new Button("button");
Yes,I have,but only got some usefulness info:
Roshan a écrit :
> Hi Alex,
> Check the source code of the suggest box example that comes in the
> Showcase application included in the samples bundled with the gwt
> distribution.
>
> Best regards,
> Roshan.
>
> On May 31, 2:01 pm, Alex Luya wrote:
>
Hello All,
The following code is not throwing a RuntimeException. Someone here
know why?
button = new Button("button");
button.addClickHandler(new ClickHandler(){
@Override
public void onClick(ClickEvent event) {
throw new RuntimeException(".onClick() not implemented");
}});
On Mon, Apr 27, 2009 at 7:51 PM, marco wrote:
>
> This seems a similar issue as with GWT 1.5.3, in that both seem to
> require a 32bit JVM to run properly.
The 32b JVM is needed for the hosted mode. In production we are using
64b pure server.
--~--~-~--~~~---~--~
Have you tried the new DatePicker in GWT 1.6?
http://gwt.google.com/samples/Showcase/Showcase.html#CwDatePicker
On Sun, May 31, 2009 at 3:23 PM, Thad wrote:
>
> I understand that DatePicker will allow setting the hour, minute, etc.
> if that is set in the Date. What I'm looking for is a UI li
my BAD --> had a look with firebug and it was there behind the rest of
the stuff, I just had to define the following css class:
.dateBoxPopup {
z-index: 100;
}
On May 31, 8:32 pm, John_Idol wrote:
> When I said *this* example I meant to include the link but I didn't --
>
> >http
Nike dunk high shoes wholesale\retail
Our company mainly deal with the import and export of the brand sports
shoes, clothes, jewelry, bags , glasses, etc . Products such as Nike
Jordan sell well in America , Canada , as well as Europe and other
countries. Our objective is to supply products of fir
When I said *this* example I meant to include the link but I didn't --
> http://gwt.google.com/samples/Showcase/Showcase.html#CwDatePicker
On May 31, 8:30 pm, John_Idol wrote:
> Hi All,
>
> I am following this example and the example in the DateBox
> specification - so I have smt like this in my
Hi All,
I am following this example and the example in the DateBox
specification - so I have smt like this in my OnModuleLoad:
public void onModuleLoad() {
_dateBox = new DateBox();
_dateBox.setValue(new Date());
RootPanel.get().add(_dateBox);
}
Problem is when I click on the Da
I was having similar problems on 64 bit Ubuntu Jaunty; adding the
GTK_PATH environment variable made the error message disappear.
However, now that I've added a new service that tries to persist some
objects using JPA, I get the following errors when the service is
called:
The server is running
A young start-up at a prominent seed capital program needs a smart,
imaginative, resourceful GWT developer to join us as cofounder. We've
used GWT to build a website that helps people learn foreign languages
with the help of captioned video.
The seed capital program connects us to a bunch of seri
to the people who created gwt ..
thank you..
you people make web programming such a pleasure
--~--~-~--~~~---~--~~
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
Hello,
I have a largish Spring MVC Web Application deployed as a .war file.
Can some one give me pointers as to how to GWT enable this? Is it as
simple as dropping a jar file into the lib folder and tweaking the ant
build file? It is not possible to start from the GWT template
application and mov
I'm having the same problem as the OP. I'm working through the
StockWatcher tutorial, and I set breakpoints on the specified lines in
updateTable. Eclipse shows checkmarks on the breakpoint indicators
after the hosted-mode browser starts. Extra calls to GWT.log
demonstrate that control is passing
Hi All,
I am new to GWT and just started to study about it. I am reading 'GWT
in Practice' book as a start. What I am planning to do while learning
GWT is to implement a web chat client and server. I need to add this
to a web site, some thing similar to what FB does. But I don't need it
to be muc
Hi
I am interested in how to add AJAX behavior like on Facebook to action-
based site (eg. site on Struts, Stripes, etc.) using GWT.
For example site has such action URLs:
http://site.com/user/add
http://site.com/user/edit?id=1
http://site.com/user/1/delete?id=1
and in Facebook manner, it would
Dear All,
I'm New Member, I want Ask about this,
what's differences GWT and GWT-EXT?
Which one the best between GWT and GWT-EXT?
Regards,
Firdaus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolki
Hello guys!
I am using GWT-1.6 + gwt-ext-2.0.5 + gilead (previous name is
hibernate4gwt).
I encountered next problem:
I am getting next exception when sending to the client an instance of
class bellow which extends form LightEntity:
com.google.gwt.dev.shell.HostedModeException: Expected primi
Hello,
In my project, I am using the Ext-Gwt jar files for creating the GWT
app
and when I am going to compile so, it gives me the following error,
I saw in the some forums, they answered like add classpath to your
project,
but I am already add the jar file into my project and in tag
of gwt.xml
Hello,
I am new to GWT and currently have it running in Eclipse 3.4 with the
GWT plugin:http://code.google.com/appengine/docs/java/tools/
eclipse.html
I seem to have everything running fine in the Hosted Browser (and even
IE for that matter) but I cannot figure out what is wrong when I try
to ru
Sorry in advance if this topic has already been covered before, but I
just can't seem to find the answer to this.
Because I'd like to have manageable code, I'm trying not to place
everything in one single class (like I see in all the basic examples).
So I have several Component classes that cover
Hi Everyone,
I'm hoping someone can help me out with a really frustrating issue
I've been having. I've searched the web for days on this and have
found nothing. My issue is that I have a TabPanel with a number of
tabs on it. Each tab has a similar sort of layout with a text box, a
button, and a f
I understand that DatePicker will allow setting the hour, minute, etc.
if that is set in the Date. What I'm looking for is a UI like the
incubator's now deprecated DateTimePicker class had. Otherwise users
are left having to enter a time format correctly in text boxes.
To my mind, DateTimePicke
Hay, maybe it will tip more people to stop using IE with any luck ;)
Might give Opera a bit of a boast actualy, seeing as they seem quite
ahead in the html5 support.
On May 29, 3:57 am, "Dean S. Jones" wrote:
> The announcement does say it was built with GWT and
> HTML5http://googleblog.blogsp
Hi,
How to include classes from other projects (and jars) is described
here: http://www.vogella.de/articles/GWT/article.html
Best regards, Lars
On 30 Mai, 14:10, Sagar wrote:
> Hello All,
> I am having a GWT1.6 module running fine. But now i want to add some
> external java projects to this as
Hi,
I recommed to start with a few GWT online tutorials and see what your
learning need is.
Best regards, Lars
On 30 Mai, 20:50, paw wrote:
> I've read a few posts with recommended books for GWT, but I haven't
> touched Java since around 1996. Should I study up on Java before
> learning GWT o
In my application I want users to be able to download a file from the
server (via a servlet), but **not** require them to enable pop-ups, as
they do if I use
native void openURLInNewWindow(String url) /*-{
$wnd.open(url);
}-*/;
I tried this class. It works under
Thanks Adam, that was exactly the problem. Now it works fine.
On 31 Mai, 15:38, Adam T wrote:
> Hi Paul,
>
> You most likely want to write your JSNI call to the external
> Javascript function using the $wnd scope, i.e.
>
> public static native void initGoogleMaps() /*-{
> $wnd.initializeGoogle
For what it is worth, I solved the problem by doing this:
private static native int eval(int x, int y, int z) /*-{
eval("var x = " + x);
eval("var y = " + y);
eval("var z = " + z);
return parseInt(eval("x + y * z"));
}-*/;
And it seems to work, but seems there could be a smarter way. Th
Yeah the browser support is currently limited, but I think that it
might be preferable to forcing people to download gears? Either way,
I'd imagine it degrades gracefully from HTML5 -> Gears -> Nada
depending on the browser. I'd really like to see this kind of support
in GWT.
Additionally, I read
Hi Paul,
You most likely want to write your JSNI call to the external
Javascript function using the $wnd scope, i.e.
public static native void initGoogleMaps() /*-{
$wnd.initializeGoogleMaps();
}-*/;
//Adam
On 30 Maj, 20:10, Paul van Hoven
wrote:
> I need some javascript in my page that can
Don't forget Java 6.
Sent from my BlackBerry® wireless device
-Original Message-
From: rjcarr
Date: Sun, 31 May 2009 02:12:17
To: Google Web Toolkit
Subject: Re: Returning to Java after a long lapse and starting with GWT. Any
recommended books that cover both?
You could probably l
You're going to want to read the developer guide about modules. They
are pretty easy to create, just create a module xml file. Then, when
you have multiple modules, you'll need to define which modules inherit
from which others, but again, it is quite simple.
However, there really isn't much of
Hi Eric,
i build a widget that uses maps for gwt that should run on the iphone.
I tried this with my own device which uses this version of the safari
browser:
"Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; de-de)
AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77
Safar
Could you better describe the problems you're seeing on the different
platforms?
The only thinks I can think of is you'll need to include *all* the
platform jars in your ant file (I do this with gwt-dev-*.jar) and then
add that special "XstartOnFirstThread" when you detect a mac.
Other than that
Hi Alex,
Check the source code of the suggest box example that comes in the
Showcase application included in the samples bundled with the gwt
distribution.
Best regards,
Roshan.
On May 31, 2:01 pm, Alex Luya wrote:
> I tried to get it work:
> suggestBox.getTextBox().addClickHandler(new ClickHan
I do exactly this and can put a breakpoint where ever I want, on the
server/client side and it stops as well...
Can you debug in hosted mode without the -noserver option ?
Do you start the hosted mode correctly (in debug mode)?
Btw: I am using MyEclipse, tomcat 6.x, gwt 1.6.4.
-- Ed
--~--~
You could probably learn as you go but you might get frustrated
quickly as java has added quite a few features since your last use.
I'd read a what's new to java 1.4 and then a what's new to java 1.5
and then read over the gwt getting started guides and a few other
examples and you should be fine
I tried to get it work:
suggestBox.getTextBox().addClickHandler(new ClickHandler(){
suggestBox.showSuggestionTionList();
});
But failed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group
To include a quick example, say I have this:
private static native int eval(int x, int y, int z) /*-{
return parseInt(eval("x + y * z));
}-*/;
But this gets rewritten to something like this:
function q(a,b,c) { return parseInt(eval("x + y * z")); }
So I get errors saying "can't find variable
I have a jsni method and when it is translated it is getting
rewritten. I thought I read somewhere that this shouldn't happen, but
now I can't find where I read that.
I'm using the javascript eval() function (nasty, I know), and it works
fine in hosted mode, but when the java gets translated it
Debugging the jruby on rails code on the server works correctly so the
server backend runs and debugs correctly.
the problem is that the code client package that runs in the hosted
mode, does not stop at the break points...
It runs correctly, but no breakpoints...
Do I have to make any configurati
46 matches
Mail list logo