Wow, simple and elegant.
Thank you very much!
This indeed looks like what I was looking for
On Sep 10, 3:38 am, Sri sripathikrish...@gmail.com wrote:
You can use the RequestBuilder class in GWT to make connections to
your server.
Below is the sample code that you can use (from
How integrate COMObject.class? Nobody answer?
Thank's.
On 9 Set, 19:30, Prosky metticelasempretu...@hotmail.it wrote:
Good evening user's, i have a small problem with a configuration of
the classpath of my project. Infact during the debugging of the
project (the structure of the project is
It's not that hard to make dynamic translations loading, and make them
working (almost) the same way as google static i18n.
We adandoned google static i18n because of compile time - we have
huge app, and having 6 languages * 5 browsers = 30 different bundles
was killer shot.
This can be
Hello.
I think, elements inside openlayers have their own cursor style.
You could create transparent topmost div (as lightbox, but
transparent) and show it with cursor: wait. This would do better,
because would block all the other events from being sent to the
underlying widgets.
On Sep 9,
Hi,
When I move my mouse over a DecoratedTabPanel. Is it possible to find
out which is the tab on which my mouse is currently hovering.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
That's true; I was also thinking of redirect.
Also, this is good for non-js browsers. Links users would see it OK,
which is really valuable for me.
Although, does not google ban for body onload='javascript:
widnow.location=http://newsite?aaa'/ ?
This sounds pretty much like a doorway page.
I'm
On 10 sep, 00:30, Ben benzhe...@gmail.com wrote:
Hi, I am using MVP architecture for my application, but I am trying to
use EasyMock to provide mock objects to test all my presenters. I have
a question about testing event handlers from GWT such as ClickHandler.
Does anyone try to use
I want to create a project with multi-user login.
but in HOST brower ,all window are share the same session.
so i can't debug multi-user login case.
If i compile the project, and view it in other brower, It doesn't in
DEBUG Mode.
How can i debug multi-user login in GWT ? thanks
Dear all,
I met an issue with my servlets, then I try the demo servlet given by
Google :
---
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class MyServlet extends
Hi everyone, I get an error message An error occurred while
attempting to contact the server.
Please check your network connection and try again. when I deploy
the contents of my war file
to the Apache server running on my machine and I fetch http://localhost:80
in my web browser.Any
hi all,
i m new with GWT, i want to create a web site..but do not understand
the MVC of gwt. where to write Action class...how n whr to map
it..don't getting the same. plz if anybody clear me ..thanks in
advance..
--~--~-~--~~~---~--~~
You received this message
My problem is exactly the same as the one described at:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/244850e9cde1c733/da5c6bfeb61c8109?show_docid=da5c6bfeb61c8109
Basically, I get the following exception when trying to establish a
connection to a Postgresql Database from
Hi,
When I run my GWT application in Hosted Mode, I'm unable to retrieve
cookies that I previously set. I also compiled the application using
Compile/Browse button in the Hosted Mode, run it in Chrome and the
result is the same: i couldn't even find them in the browser's list of
cookies.
But,
Hi all,
I'm trying to use GWT-RPC in hosted mode to make client requests
against a remote (Weblogic) server. The remote server only accepts
HTTPS connections and identifies itself with a self signed cert.
Unfortunately it appears the hosted mode browser doesn't accept self
signed server certs.
We are new to dev on GAE and GWT. New app works gr8 on many mobile
browsers EXCEPT Blkbry's. Do we have to insert some custom code since
GWT's ajax doesn't work [at all]?
Any suggestions would be greatly appreciated!
thank you
--~--~-~--~~~---~--~~
You
hmm.
seems that search engines are important and that it is important for
many gwt-enriched apps to be found by search engines.
i think it would be cool to have some guidelines do and don'ts for
gwt to be found in search engines. maybe in a wiki and with an
official approval from (at least) the
You could use trunk and OOPHM. Then you can have different browsers,
each with their own user. Using separate profiles in firefox is good for
this (since separate profiles keep cookies separate)
?? wrote:
I want to create a project with multi-user login.
but in HOST brower ,all window are
Have you tried OOPHM? (assuming it's the browser itself that's causing
your problem)
Mike Grayson wrote:
Hi all,
I'm trying to use GWT-RPC in hosted mode to make client requests
against a remote (Weblogic) server. The remote server only accepts
HTTPS connections and identifies itself with
Hi there,
I am using Ubuntu Linux and sun java SE SDK. I was able to run bot
ant hosted and ant build. But in a sudden, I can no longer run
both and got a crashing error. I tried many ways such as restart my
computer, and still got no idea how to solve it.
Here is the error message, when I
2009/9/10 Alexander Cherednichenko lex...@gmail.com
That's true; I was also thinking of redirect.
Also, this is good for non-js browsers. Links users would see it OK,
which is really valuable for me.
Although, does not google ban for body onload='javascript:
widnow.location=
'word delimiter' not 'work delimiter' - I think I was subconciously longing
for a coffee break.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
CustomerComponent extends Composite,
I do panel.add(widget) for all my widgets,
and then do initWidget(panel), in the constructor.
However this GWTTestCase test fails:
public void testShouldAttachAllWidgets() throws Exception {
CustomerComponent component = new CustomerComponent();
you mean session?
at you project :war/WEB-INF/appengine-web.xml
add this:
sessions-enabledtrue/sessions-enabled
2009/9/10 Anca ai...@computervoice.ro
Hi,
When I run my GWT application in Hosted Mode, I'm unable to retrieve
cookies that I previously set. I also compiled the application
Hello,
I'm not sure exactly whether this thread is about a Jx or GWT issue.
In a html page, I try to display a GWT div within a Jx component.
The following example works fine with IE but not Firefox where the
panel is empty and the GWT divs are not resolved when I inspect the
page with
fyi: I have posted a feature request into Hibernates Jira asking for
a new entity mode be added.
Current Hibernate supports the current entity modes.
XML
POJO
MAP
This means that entities can be retrieved and updated again in these
formats. Now, if we could just add JSON to this list.
Having
On 10 sep, 13:40, hjo1620 hjo1...@gmail.com wrote:
CustomerComponent extends Composite,
I do panel.add(widget) for all my widgets,
and then do initWidget(panel), in the constructor.
However this GWTTestCase test fails:
public void testShouldAttachAllWidgets() throws Exception {
We adandoned google static i18n because of compile time - we have
huge app, and having 6 languages * 5 browsers = 30 different bundles
was killer shot.
I don't get that point:
* during development you use hosted mode
* and if you wish to test something specific, you only
need to compile
Is there anyone out there who would l like to help me out? Its
ultimately a commercial product, but Im really not a programmer
anymore, I used to know C, but all this webstuff is hurting my brain!
My current problem is that Ive managed to get my application to create
entries in the datastore (I
Thanks, I'll take a look.
On Thu, Sep 10, 2009 at 2:58 AM, Paul Robinson ukcue...@gmail.com wrote:
Have you tried OOPHM? (assuming it's the browser itself that's causing
your problem)
Mike Grayson wrote:
Hi all,
I'm trying to use GWT-RPC in hosted mode to make client requests
At the end of the day, I'm not trying to con them and get them to see
something different from my ordinary visitors - actually, the opposite - I'm
trying to get them to see what my ordinary visitors see, rather than a blank
page.
Even if they banned me, I'd still do it for accessibility reasons,
I have equal problem
IE7 not draw this
texto = new HTML();
texto.setHTML(scriptbuildRow();/script);
panel.add(texto);
Please help
--~--~-~--~~~---~--~~
You received this message because you
Window.Location.getParameter(FOO);
If I remember correctly.
On Sep 10, 5:02 pm, Pion onlee2...@gmail.com wrote:
How do I retrieve the value of FOO parameter using GWT of the
following: http://localhost:8080/get?FOO=BAR; ?
Thanks in advance for your help.
Another thing to look at is GWT-SL it has Spring, hibernate, Gilead
and many other tools for integration.
Rob
On Sep 9, 12:29 pm, Thomas Holmes thomas.j.hol...@gmail.com wrote:
Yes, absolutely 100% I do have Hibernate working with Annotations!
The Hibernate DAO's and POJO's have all been
But you probably don't want to be doing that because if anything between the
? and the first # changes, your whole app will reload from scratch and
you'll lose all state..
Ian
http://examples.roughian.com
--~--~-~--~~~---~--~~
You received this message because
Hi
I have Problem with call function external javascript in IE7 not draw
this in reload html page
texto = new HTML();
texto.setHTML(scriptbuildRow();/script);
panel.add(texto);
no call function ..??
...no show alert??
Id like to know the current mouse x/y, relative to an element, at an
arbitrary point in my code.
(in this specific case during a scroll wheel event, but I might want
it elsewhere later)
How would I do this?
I'm sure theres a simple function I'm missing, but it just escapes
me :-/
Ian Bambury schrieb:
But you probably don't want to be doing that because if anything between
the ? and the first # changes, your whole app will reload from scratch
and you'll lose all state..
So you have to use http://www.example.com/get#?[querystring]
to avoid that effect?
Regards, Lothar
You can always just comment them out;
!-- --
On Sep 10, 4:19 am, josivan josiva...@gmail.com wrote:
tks... :)
other framework have enabled this feature :)
j.
On 7 set, 06:21, Thomas Broyer t.bro...@gmail.com wrote:
On 7 sep, 02:40, josivan josiva...@gmail.com wrote:
Hi, my
I don't know - it depends what you are trying to do.
You probably want to be using history in some way or passing parameters as
JS variables or JSON or...
Ian
http://examples.roughian.com
2009/9/10 Lothar Kimmeringer j...@kimmeringer.de
Ian Bambury schrieb:
But you probably don't want to
Thanks Jay.. This is great help to me!
- Simal
On Sep 9, 4:47 pm, jay jay.gin...@gmail.com wrote:
In your async interface, rather than declaring the method to return
void, have it return a Request. You can then use the Request::cancel()
method.
jay
On Sep 9, 1:10
Thanks for ur advise.
How about if i define a interface ( View Listener ), then my presenter
implement the View Listener?
Example :
public class MyView extend Composite implement MyPresenter.View {
public interface Listerner {
public void onEdit(String id);
}
Thanks. Window.Location.getParameter(FOO); works.
What does the # mean?
I use http://localhost:8080/get?FOO=BAR#; but
Window.Location.getParameter(FOO) does not pick up the # sign.
How do I retrieve the # as well?
Again, thanks.
On Sep 10, 8:17 am, Ian Bambury ianbamb...@gmail.com wrote:
Hey Thomas,
A little late to the conversation, but I just want to say that I don't
think the ToCollege code (or structure) should require a
hibernate.cfg.xml. It should be ok to annotate the models that live in
your client directory. That wasn't the case with earlier GWT because
the annotations
On 10 sep, 17:22, darkflame darkfl...@gmail.com wrote:
Id like to know the current mouse x/y, relative to an element, at an
arbitrary point in my code.
(in this specific case during a scroll wheel event, but I might want
it elsewhere later)
How would I do this?
I'm sure theres a simple
I just saw http://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax
which mentions about the # sign.
How do I retrieve the value of FOO which includes on this URL:
http://localhost:8080/get?FOO=BAR#123; ?
The result/value of FOO should be BAR#123.
On Sep 10, 8:56 am, Pion
Hi,
I couldn't find a way to set a timeout in GWT RPC call. Am I missing
something or this is done deliberately?
This feature is essential if your client use the system in low quality
network. Responses from the server might be lost sometimes and we
don't want obviously to loose one of two
This seems to work ok, but I hate to write code that depends on
undocumented internals:
ListBox listbox = ...;
int index = ...;
SelectElement selectElement = SelectElement.as
(listbox.getElement());
OptionElement optionElement = selectElement.getOptions
I guess thats how I'll do it :-/
Sure I saw a Dom call once or something though.
On Sep 10, 6:17 pm, Thomas Broyer t.bro...@gmail.com wrote:
On 10 sep, 17:22, darkflame darkfl...@gmail.com wrote:
Id like to know the current mouse x/y, relative to an element, at an
arbitrary point in my
I'm getting the following error when trying to compile an entry-point
module:
Compiling module com.example.gwt.selector.ArticleSelector
Computing all possible rebind results for
'com.example.gwt.selector.ui.ArticleSelector'
Rebinding com.example.gwt.selector.ui.ArticleSelector
Isn't any security that's based on the browser enforcing a policy
essentially a sham?
Or more politely, guaranteed to be ineffective against a deliberate
attack.
The browsers are open source, and the communications channel is
unencrypted,
and you don't have to use a browser at all. There are
Hi, I've been coding a project for quite some time now. It has been
stable, and everything was working great, until this afternoon. I
have a file called Admin.html that has a few div tags:
div id=header align=center/div
div id=button-row align=center/div
div id=content align=center/div
div
Download hibernate4gwt. It is the predecessor of Gilead. There are samples
there on how to use Spring + JPA.
Try the samples, understand how it works, and then move to Gilead. It is
just a matter of changing a few definitions.
If you cant find it, mail me and I will send you the samples.
Alex
Take a backup
Cut out everything except the basic HTML and the
RootPanel.get(header).add(...
If it still does it, post the exact code here.
If not, go back and cut whole chunks out until it works. Then look at what
you just cut out.
Ian
http://examples.roughian.com
2009/9/10 davis
I take a little different approach, but you have most of the
fundamentals. The characteristic interface (i.e., Listener in your
example) shouldn't be defined as part of a particular instance of
MyPresenter.View, as that ties the Presenter directly to a specific
view implementation. Also, I would
I need help with two problems. Please excuse my noobness and give me
some suggestion.
I am using dyuproject to implement openId functionality and under some
condition, my servlet that uses dyuproject returns a response that is
a HTML page. In the head section of this HMTL page, there's a
re. 1) Window.setTitle() is the preferred method. Typically, you avoid
using the DOM based classes directly in your GWT Application.
re. 2) History has nothing to do with the title. Both are
independent..
On Sep 10, 5:39 pm, akumar anshulatashi...@gmail.com wrote:
Hi,
I am working on the
RPC Services do have timeouts, its just that by default they are set
to 0, which effectively means no timeout.
Here's what you can do to set timeouts on your services -
a) Create a custom RpcRequestBuilder, and set the desired timeout
public class MyRpcRequestBuilder extends RpcRequestBuilder
Your client side code must reside under the client sub-package
relative to where your module.xml is defined. If classes are not under
the client package, gwt can't find them.
In your case, your class should be defined at the location com/example/
gwt/selector/client/ArticleSelector.java or
Anything after the # can be picked up by calling History.getToken()
method.
On Sep 10, 12:30 pm, Pion onlee2...@gmail.com wrote:
I just sawhttp://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax
which mentions about the # sign.
How do I retrieve the value of FOO which includes on this
The approach you mention will not work. In fact, if it did work, it
would be a major security issue.
If you want to invoke an external javascript method, you will have to
write some jsni code.
See
http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html
The
Hi
I want to deploy my GWT RCP application in subdomain of my website.
Example: I have a website www.mysite.org and would like to deploy my GWT so
that i can access using my subdomain www.gwt.mysite.org
Could someone explain how to deploy in a subdomain?
Regards
Hlun
isAttached() won't return true unless the Widget has been added to the
DOM.
In your case, you should do something like
RootPanel.get().add(component);
After that, the isAttached() method would return true..
--sri
On Sep 10, 7:40 am, hjo1620 hjo1...@gmail.com wrote:
CustomerComponent extends
I am guessing its because you have already opened the stream by
calling the resp.setContentType(text/plain); method, and are then
trying to get a Writer object. You can either use Stream based
classes, or Writer based classes - not both.
Either remove the setContentType(), or send the response
I am building a request builder to send the request to the server. For
one time i m able to get the response back from the server and for
second time for another request i am not able to get the response
back. my GWT application is hanging and I am not able to see the
diplay.
Can u please help
I understand the idea about some classes beeing GWT-serializable and not
Java-serializable but really can't find a valid use case. Seems more a
misconception to me - just my humble opinion ;)
2009/9/10 George Georgovassilis g.georgovassi...@gmail.com
I was under the impression that
Could someone please update the article at
http://code.google.com/webtoolkit/doc/1.6/FAQ_Server.html#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable
to indicate that IsSerializable is deprecated (or de facto deprecated,
or will be deprecated, or whatever)? When I read this
Revision: 6110
Author: j...@google.com
Date: Thu Sep 10 05:47:55 2009
Log: Initial implementations of Stack and Split layout panels, along with a
few
checkstyle tweaks.
Review: http://gwt-code-reviews.appspot.com/65804
http://code.google.com/p/google-web-toolkit/source/detail?r=6110
Added:
The conclusion here is *not* to deprecate it.
On Thursday, September 10, 2009, Nathan Wells nwwe...@gmail.com wrote:
Could someone please update the article at
http://code.google.com/webtoolkit/doc/1.6/FAQ_Server.html#Does_the_GWT_RPC_system_support_the_use_of_java.io.Serializable
to
On Thu, Sep 10, 2009 at 2:11 AM, George Georgovassilis
g.georgovassi...@gmail.com wrote:
I was under the impression that IsSerializable had been deprecated de
facto. John, does IsSerializable currently override the serialization
policy or this this a proposed behavior?
It doesn't override
Thanks Ray, that's comforting to hear, after having built an application on
the assumption that IsSerializable is a recommended way to do gwt-rpc. Not
that it would be a huge problem... just probably a day of refactoring and
adding @SupressWarning annotations.
Thanks again :)
Nathan Wells
On
Hey, Isaac.
That policy has proven very difficult to live with. (And to tell you the
truth I forgot about it.)
The reasoning here was that we have released incubator jars that work with
1.7 and no plans to issue further ones before 2.0 MS1 lands. Should it prove
necessary to go back and do so we
LGTM. One bit of comment cruft would be good to delete.
http://gwt-code-reviews.appspot.com/64810/diff/1/5
File
user/src/com/google/gwt/uibinder/rebind/messages/PlaceholderInterpreter.java
(right):
http://gwt-code-reviews.appspot.com/64810/diff/1/5#newcode115
Line 115: * @return
LGTM
http://gwt-code-reviews.appspot.com/64808
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
I built incubator against trunk last night. Are you still seeing trouble
there?
The problem on our end has been that having to maintain code that works both
with trunk and with the previous release makes it very difficult to iterate
rapidly on incubator code. What was supposed to be a place that
So...as of right now, what is the *last* version of gwt-incubator that
is guaranteed to work with GWT 1.7? Is it safe to assume that it is
the version immediately prior to the removal of StyleInjector?
thanks,
jay
On Sep 10, 8:28 am, Isaac Truett itru...@gmail.com wrote:
[oops - +gwtc]
Hi,
I am confident that r6108 fixed the problem I was having with GWT
trunk last night. I think I just happened to try to build during a
brief period where the build had broken. By the time r6108 had been
committed, I had already moved on to other things.
I see what you're saying about incubator
Going forward, I think Ray said incubator bits will either migrate into GWT
proper (and be maintained and branched for releases there) or will
languish, so I imagine the advice will gradually become don't use
incubator. I take languish as meaning we'd probably remain stable
against existing
LGTM. One comment typo, one question about a possible extra test.
http://gwt-code-reviews.appspot.com/64812/diff/1/5
File
user/src/com/google/gwt/uibinder/rebind/model/ImplicitCssResource.java
(right):
http://gwt-code-reviews.appspot.com/64812/diff/1/5#newcode67
Line 67: * file rather than
If you're after guarantees I guess that would be 1686, the one that the 1.7
jar was cut from (gwt-incubator-july-14-2009.jar). Looking at the svn
history, nothing has actually changed in the code from that one to the
removal of StyleInjector. It's all wiki edits and such since then.
On Thu, Sep
Revision: 6112
Author: j...@google.com
Date: Thu Sep 10 11:52:42 2009
Log: Delete old cruft, rearrange directory structure to better build the
Chrome
plugin with just what is needed.
http://code.google.com/p/google-web-toolkit/source/detail?r=6112
Added:
/trunk/plugins/npapi/prebuilt/gwtdmp
Yes, I've been using LGTM with comments to mean go ahead and commit, and
I'll look at the changes afterward.
http://gwt-code-reviews.appspot.com/64812/diff/1/5
File
user/src/com/google/gwt/uibinder/rebind/model/ImplicitCssResource.java
(right):
On 2009/09/10 19:54:05, Ray Ryan wrote:
Committed r6114
http://gwt-code-reviews.appspot.com/64812
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
Revision: 6118
Author: amitman...@google.com
Date: Thu Sep 10 16:21:30 2009
Log: Checking in the htmlunit 2.5 sources, for easier debugging
http://code.google.com/p/google-web-toolkit/source/detail?r=6118
Added:
/tools/lib/htmlunit/htmlunit-2.5-sources.jar
Revision: 6120
Author: amitman...@google.com
Date: Thu Sep 10 17:10:13 2009
Log: Adds the htmlunit dependency to oophm. ant dist-dev passes
Patch by: amitmanjhi
http://code.google.com/p/google-web-toolkit/source/detail?r=6120
Modified:
/branches/farewellSwt/dev/oophm/build.xml
84 matches
Mail list logo