You can't, at least not directly. GWT does only what HTML does, and
in HTML images are loaded via the SRC attribute in an IMG element.
You can write basic doGet/doPost servlet that returns and image and
put use its URL in com.google.gwt.user.client.ui.Image.setUrl() (which
sets the SRC attribute).
Hi Thomas,
ok, thank you.
I'll move the code below the dialogbox invocation into the submit
event handler.
Magnus
On 7 Sep., 16:03, Thomas Broyer wrote:
> On Sep 7, 3:28 pm, Magnus wrote:
>
> > Hi,
>
> > I want to use a modal DialogBox and used setModal.
>
> > The GUI makes it modal, but my c
I have look for some various approaches, i have also tried the one
posted in one of the forums, thanks to the link ^^
On Sep 8, 1:59 am, George Georgovassilis
wrote:
> The answer is not that easy. You can bring hibernate managed objects
> (almost) transparently to GWT applications, have a look at
On Wed, Sep 8, 2010 at 2:43 AM, lineman78 wrote:
> It is because content and header all both children of the gwt-
> DisclosurePanel class and they expect you to use child selectors.
> Here is what they expect you use so that you don't end up with
> collisions:
>
> .gwt-DisclosurePanel .content {
When you're creating a component to existing web-site it is quite likely
someone has used the "content" class name. Therefore his CSS will merge with
your ".gwt-DisclosurePanel .content".
There seem to be a naming convention in GWT. This just shows that there's a
good reason to have one.
On Wed, S
Use Window.Location.assign("url") inside the gwt Entry point module so that
you can redirect to different page
Regards
Suresh Babu G
On Wed, Sep 8, 2010 at 12:19 AM, Deepak Singh wrote:
> Hi Nirav
>
> Just right click on project(Eclipse IDE) and create new html. It
> auotomatically configures th
We are trying to use the emma library to measure the code coverage of gwt
client code, our test case is driven by Selenium RC.
But we observed that some event handler code is never covered although we
are pretty sure the event is triggered and handled.
We did some hack to GWT source code and add
Just a note on SmartGWT -
Built-in GWT widgets rely on the browser to garbage collect a detached
DOM tree. In older browsers like IE6/7 we found a number of cases
where this didn't work completely, so we opted for manual destroy().
It's possible that as of IE8/9 all such leaks are gone (personall
It is because content and header all both children of the gwt-
DisclosurePanel class and they expect you to use child selectors.
Here is what they expect you use so that you don't end up with
collisions:
.gwt-DisclosurePanel .content {
border: 2px solid black;
}
On Sep 5, 11:08 am, Jaroslav Zár
you can try adding different handlers such as a click handler or mouse
down handler and call event.preventDefault().
On Sep 6, 9:06 am, ulgerang wrote:
> Hi,
>
> I am making 'ImageButton' that extends 'Image' and implemented
> 'HasEnabled' interface.
> I made 3 state, disable,mouseover, enable.
>
In other words you are using JSONP client code to hit a JSON service.
Without more info I am assuming this is your problem. In order to
make cross site requests using the method described on the page you
referenced you service needs to output JSONP, that is wrapping the
JSON with a call to the spe
Hi,
I have been trying to set up a Maven/GWT/Eclipse project and keep
running into road blocks. I have Eclipse 3.6 (Helios) with m2eclipse
and GWT plugins installed. I was trying with Eclipse 3.5 (Galileo)
but thought I may have messed up some config thing and figured I'd
start clean and upgrade
Hi John,
On aug. 11, 18:06, John Tamplin wrote:
> On Wed, Aug 11, 2010 at 10:46 AM, Chris Conroy wrote:
> > The short answer is that after preliminary support went in, the supporting
> > libraries changed upstream. Also, when the prelim support went in Windows
> > dev libraries weren't even avai
Instead defining your own oracle (which is, indeed, the best
solution), just use a MultiWordSuggestOracle.
There you can find methods like:
setDefaultSuggestions(Collection
suggestionList)
or
setDefaultSuggestionsFromText(Collection
suggestionList)
You can simply add suggestions to you oracle (or
Speeding up reloads would very much be appreciated.
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit
Hi Rajeev,
I have the same error using either eclipse or Springsource Sts with
Roo. I am not sure if any of what follows helps but these two sections
are from my error log.
Thanks, Terry
java.lang.ClassCastException: org.eclipse.jdt.internal.core.JavaModel
cannot be cast to org.eclipse.jdt.core.
CaptionPanel panel = new CaptionPanel(myWidget) which is not
possible... only String and HTML is possible.
How can I add a widget as a CheckBox to a caption of a CaptionPanel?
Thank you for any suggestion
--
You received this message because you are subscribed to the Google Groups
"Google Web T
Hi Nirav
Just right click on project(Eclipse IDE) and create new html. It
auotomatically configures this new html. Now u can put element here
and then
RootPanel.get(div id).add() will work.
Regards
Deepak
On Sun, Sep 5, 2010 at 9:08 PM, Nirav Joshi wrote:
> Hi all
> i am new user of the GWT a
The answer is not that easy. You can bring hibernate managed objects
(almost) transparently to GWT applications, have a look at Gilead [1]
Much has been said about Spring and GWT, a quick forum search will
surely bring something up
[1] http://noon.gilead.free.fr/gilead/index.php?page=gwt
On Sep
Here's a sample project I'm working on that does an upload to
blobstore as well as uses the high performance image serving
framework:
http://github.com/ikai/gwt-gae-image-gallery
Warning: This is still a work in progress, but the upload/image
serving bits are there.
On Sep 6, 9:54 am, Brandon Do
Here's a sample project I'm working on that does an upload to blobstore as
well as uses the high performance image serving framework:
http://github.com/ikai/gwt-gae-image-gallery
Warning: This is still a work in progress, but the upload/image serving bits
are there.
On Mon, Sep 6, 2010 at 9:54 A
On Sep 6, 5:06 pm, ulgerang wrote:
> Hi,
>
> I am making 'ImageButton' that extends 'Image' and implemented
> 'HasEnabled' interface.
> I made 3 state, disable,mouseover, enable.
> When I was making disable, I have to block the click event from the
> widget.
> but I couldn't find the way.
>
>
On Sep 7, 5:34 pm, Maurice wrote:
> Hi,
>
> I have a UIBinder that looks like this:
>
>
>
>
> Some
> Stuff
>
>
>
>
>
>
>
>
>
> The idea is that from the java code I can
Hibernate will be integrated withing your Spring application. So I
think you should first learn Spring if going use one... As GWT
application in result is no more than JavaScript, GWT will never know
anything about hibernate.
On Sep 7, 11:16 am, aces2805 wrote:
> Hi, I'm just new with GWT would l
Hm, seems I didn't noticed this thing. Thanks for advice.
On Sep 7, 5:03 pm, lmolinero wrote:
> Hi, Why don't you just use multiple gwt modules in the same GWT
> proyect in eclipse.
> One module for each functionality, i mean.
>
> On Sep 7, 8:51 am, "M. Eduard" wrote:
>
> > Hi,
> > Say I have Sp
Hi Jeff,
I did try to use it, but I still need to know the position of the element I
want the popup to appear below. It's when I try to find this position that
the problem arises (due to scrolling apparently not taken into account).
--
Tanguy
2010/9/6 Jeff Chimene
> On 09/05/2010 04:53 PM, Ta
You could have your GWT handler call your javascript handler using JSNI.
On Mon, Sep 6, 2010 at 12:42 PM, GWT noob wrote:
> When I declare a event handler on a html element both at the GWT
> level(using ClickHandler's onclick) and at the external Javascript
> levele(by using the onlclick attrib
No. This particular issue is isolated to the DevMode JVM.
On Tue, Sep 7, 2010 at 8:18 AM, chrisr wrote:
> Does the issue that you're working on now give you any reason to
> believe it could be an issue in the browser as well, under some
> similar circumstances?
>
> On Sep 3, 2:18 pm, Chris Conroy
Hi,
I have a UIBinder that looks like this:
Some
Stuff
The idea is that from the java code I can call:
centerContainer.clear();
centerContainer.add(myTotallyDiffe
How to change CSS without reload the page?
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr
Instead of trying to block the event, why not just eat it. In your
widget, on the click event, check the state of the widget. If the
state is enable, only then fire the click event to any registered
listeners.
HTH,
Chad
On Sep 6, 10:06 am, ulgerang wrote:
> Hi,
>
> I am making 'ImageButton' that
On Sep 6, 8:26 am, blueJ wrote:
> http://127.0.0.1:/ApplicationScaffold.html?gwt.codesvr=127.0.0.1:...
>
> Here is what happened--for me--this is not trivial--thanks
>
> Loading modules
> com.lawo.demo1.gwt.ApplicationCommon
> Loading inherited module 'com.google.gwt.app.App'
>
try running "tools/scripts/maven_script.sh" from the root of the GWT
checkout. This will build a current copy of GWT and them to your local
maven repo. You should then be able to do a "mvn compile", "mvn
gwt:compile", "mvn gw:run".
On Sun, Sep 5, 2010 at 9:08 AM, superdama wrote:
> Hi guys,
>
Hi, Why don't you just use multiple gwt modules in the same GWT
proyect in eclipse.
One module for each functionality, i mean.
On Sep 7, 8:51 am, "M. Eduard" wrote:
> Hi,
> Say I have Spring web application. Some functionality where I need
> JavaScript is developed using GWT under Eclipse. What
On Sep 7, 3:28 pm, Magnus wrote:
> Hi,
>
> I want to use a modal DialogBox and used setModal.
>
> The GUI makes it modal, but my code after dialog.center (); gets
> executed immediately.
modal != blocking
The only blocking dialogs are Window.alert, Window.confirm and
Window.prompt (IE has had
Hi.
I'm trying to implement dynamic tree.
During creation it contains only root node.
When I click open - it fetch nodes data via RPC call.
How I can pass information to which parent I should add nodes?
I defined AsyncCallback handler to parse response, but it has no
access to parent node.
I was
I have followed the steps here:
http://code.google.com/webtoolkit/doc/1.6/tutorial/Xsite.html
to create a call to another server for JSON data.
Firebug shows an "invalid label" error when i run the application.
I had a search for solutions and all I could find was things about
adding parenthesis
Hi,
i would like to create a login panel, when i must enter username and
password. Next I check if the data are correct. When the data are
correct I reload home page and I see message "Hi ! etc...".
When I refresh site i logged on.
Now I have something like this:
Test.java (default):
public void
Hi, I'm just new with GWT would like to ask if there are some
references that I can follow in integrating spring 3.0 and hibernate
with gwt. The usual sites that I go in uses maven, well I just think I
just need a plain and simple example. Hope some of you guys can help
me. Really appreciate it ...
Hello,
I'm currently developing a Spring/GWT application most things are
going just fine but I've experienced some troubles integrating with
Spring Security. It looks like there is no way to install "global"
handlers for asyncCallback failures to handle 401/403 errors. As I've
found there's curren
Hi all
I checked out the code for gwt 2.1, i wanted to see the last changes
in the CellTable component. A nice addition is the SafeHtmlTemplate.
But one drawback of the current implementation of the CellTable
component is that you cannot reuse the code from the CellTable by
extending it. For examp
Hello,
I am trying to use the com.google.gwt.xml.client module with my
GWT-1.5.3.
I want to basically fetch data, from an XML File and store it in a
document.
Document document = XMLParser.parse(xmlContent);
XMLParser.removeWhitespace(document);
Everything works fine in Hosted mode.
In the web mo
Hi,
I have this problem that is nearly driving me crazy.
We need a RichTextEditor that will give us some basic functionality
like the RichTextArea combined with the RichTextToolbar from the
examples give us. But we have one requirement that is not met by the
example, and that is the possibility to
Hi,
I am making 'ImageButton' that extends 'Image' and implemented
'HasEnabled' interface.
I made 3 state, disable,mouseover, enable.
When I was making disable, I have to block the click event from the
widget.
but I couldn't find the way.
Is there any way to block the click event?
--
You r
Hi guys,
I got the same issue. Still don't know how to solve the problem.
Frustrating.
-Zack
On Aug 25, 9:22 pm, tc wrote:
> Does anyone know why I would get this error when trying to run the
> samples/expensesapp via maven.
>
> : java.lang.NoClassDefFoundError: org/datanucleus/
> Persistence
Please help with error below.
Is this mean that the class com.voxbone.voxAPI.Country could not be
serialize or it is just simple
NoClassDefFoundError ?
Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type
'org.dozer.MappingException' was not in
Hi all
i am new user of the GWT app.
I want help from you guys to guide me for having multiple html/jsp
page with one entry point.
Let us i want to have two pages page1.html,page2.html.
page1.html is a login page.
when i logged in then it should redirect to page2.html.
How will i do it with the he
I am trying to upgrade a GWT 1.4 application to 2.0 but I am having a
problem with the welcome file.
The 1.4 application uses a servlet as the welcome file. The servlet
checks the user credentials and forwards to the HTML page that loads
the GWT application if the user has the right credentials.
Or better yet, do it the cool way:
http://code.google.com/p/gwt-exporter/
Cheers
Søren
--
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-tool...@googlegroups.com.
To unsubscribe from this gro
Hello
There is one quite unfortunate class-name in the DisclosurePanel DOM. The
widget serving for content gets class-name "content" assigned. Such generic
name is very collision prone, which situation I'm currently facing.
Is there any special reason why this element did not get gwt-prefixed
clas
hi Vik
I think the sufficient help is available on the Google's Site.
Wouldn't it sufficient to resolve your issue ?
Thanks and Regards
Nirav Joshi
On Mon, Sep 6, 2010 at 10:56 PM, Vik wrote:
> Hie
>
> gwt sdk is missing in my project and when i try to add there is a red cross
> on it. if i go
When I declare a event handler on a html element both at the GWT
level(using ClickHandler's onclick) and at the external Javascript
levele(by using the onlclick attribute of the html element), the GWT
event handler is overriding the event handler in the external
javascript. Is there a way to have
Hi,
I want to use a modal DialogBox and used setModal.
The GUI makes it modal, but my code after dialog.center (); gets
executed immediately.
How can I do it so that code execution waits? Must I do this with
asynchronous calls? Can you give an example?
The application is a chess game. When a pa
Hi,
I tried to pass an Image object via RPC, but it doesn't work:
com.google.gwt.user.client.ui.Image is not assignable to
'com.google.gwt.user.client.rpc.IsSerializable' or
'java.io.Serializable' nor does it have a custom field serializer
(reached via com.google.gwt.user.client.ui.Image
How can
Does the issue that you're working on now give you any reason to
believe it could be an issue in the browser as well, under some
similar circumstances?
On Sep 3, 2:18 pm, Chris Conroy wrote:
> Okay, well if it's *in* hosted mode (read: the JVM), then it's a known issue
> that I'm working on at th
Just for the completeness: I recall what was the problem with the GWT
integration:
As I said I had an iframe with the src attribute pointing to a
separate html file with the login form. Then, to inject the JS code
for form submission I needed to wrap the form. But I did not get
access to the ifram
Hi,
Say I have Spring web application. Some functionality where I need
JavaScript is developed using GWT under Eclipse. What is the approach
of project organizing ? As I see for each functionality I need, for
example some menu, tree-menu, some widgets, I must create each
separate project, then com
Hi ,
I am adding the items to the suggestoracle on onmodule load. Its working
fine if the match is found for the key pressed (alphabet) .
But i want to show *all Existing Items* from the suggestoracle when their is
no match found for the key pressed (alphabet) by the user ???
Pls let me know if a
On 6 Sep., 19:59, Thomas Broyer wrote:
> But honestly, I don't understand how this design is any different from
> redirecting to the login page (unless maybe you have a "cancel" button
> that leaves you in the app, i.e. without reload)
Well, from my point of view it would be nice if the login for
Hey all,
did someone manage to run a seam generated application with gwt
compilied sources in hosted mode on JBoss?
http://community.jboss.org/wiki/UseJBossToolswithGoogleGWTPlugin -
does not help really in my case - its the wrong order ;) I already
have my application and want to ADD a gwt appl
On Sep 7, 5:53 am, Andrew Hughes wrote:
> Seems like I can kinda answer two of these questions myself now...
>
> Q: How can loader1.gwt-image be "loading.gif"?
>
>
>
>
> �...@sprite .loader1 {
> gwt-image: 'loading';
> padding-left: value('loading.getWidth','px');
> width
61 matches
Mail list logo