I am already sucessfully running GWT 1.5 without any problems. I
decided to try out the new release candidate of 1.6. I built the
default project (with the webAppCreator) and didn't change anything.
It runs fine under web mode - but under Host mode I get:
Navigation to the webpage was canceled
Any ideas guys?
On Apr 2, 7:32 pm, Pints rohitvad...@gmail.com wrote:
Hi,
Does anyone has any idea that how can we define a servlet in GWT which
can behave as a Listeners of servlets.
Do i have to do a complete RPC to call any normal servlet also.? I
believe yes as to talk to server RPC
Hi,
actually the layout of my application looks as shown below:
- src
- WebContent
- ... (a couple of other dirs not relevant for the problem)
Below src I have separate directories for java, test and a
couple of special source directories. Inside of my WebContent
directory, I have WEB-INF and
Try adding another widget on top of the panel and adding the
background to that?
If you are not familiar enough with the output html/css page structure
in your browser you should inspect this with the MS Developer Toolbar
plugin for IE and/or Firebug plugin for FF. They also allow you to
change
Hi guys,
Is TypeOracle.getType, which the JavaDoc says 'finds a type given its
fully qualified name', meant to work with parameterized qualified
names?
I've got a Generator that does...
typeOracle.getType( myType.getQualifiedSourceName() )
...and it works fine, but when I change it to...
Well, you can always take an iframe to load a complete gwt-app. But
that's probably not exactly what you need.
On 3 Apr., 03:28, myapplicationquestions bhagwat.pa...@gmail.com
wrote:
Thanks a lot. But isn't this a major limitation that we cannot harness
the power of page designers? Can GWT
Thanks.. sorry to bug everyone again.. but to what extent can i
customize the page created by GWT as i need and just include 2
modules one on the left and center everything else my own html,flash?
Thanks,
Parag
On Apr 3, 6:58 am, alex.d alex.dukhov...@googlemail.com wrote:
Well, you can
Hi,
I have developed simple GWT application which conatian
firsrname,lastname, birthYear
field.
Now I am trying to add validation for birthYear field .
I have added
1) gwt-validation-1[1].0.jar
2)gwt-vl-hibernate-0.5b.jar
in classpath of environment variable.
my application code are:
Hi All,
Here are a couple of elementary questions, pardon me if they sound
very naive but i really really need to know the answer :-
1. why do we need to do a setEndPoint on the client-side stub we get
from GWT.create() ??
2. is the resultant stub as thus created threadsafe or is their any
has there been any update on this problem? I have a PHP backend
exposed via JSON, and want to develop using hosted mode. Is this
simply impossible without tricky proxy stuff in apache? My backend
cannot run in hosted mode, so I basically have no way to do step-
through debugging.
In 1.6.2, I have tried inject my css in gwt.xml, and it works!
Does it mean I lost all standard.css style?
And could you give an example about The other possibility (untested)
is to inherit the xxxResources module
(e.g. ChromeResources) instead and include the appropriate link
rel=stylesheet in
redzedi wrote:
Hi All,
Here are a couple of elementary questions, pardon me if they sound
very naive but i really really need to know the answer :-
1. why do we need to do a setEndPoint on the client-side stub we get
from GWT.create() ??
because you choose what the name of your
if (o.nodeType)
works after change to:
if (o o.nodeType) {
On Apr 2, 3:14 pm, Christopher Lariscy - Curriculum Advantage
chris.lari...@gmail.com wrote:
We are now receiving an IE error on each page of our existing code.
When tracing this into the compiled files we find that it is
I am new to GWT , i have created a app where a user has to login now
whenever a user logs in successfully, i have to load a application
according to the user logged in . How do i load a new application from
another GWT application.
--~--~-~--~~~---~--~~
You
For reference, you can already use the latest webkit nightly (safari4)
as your hosted mode engine (web inspector and all) on OS X! This works
in both GWT 1.5 and 1.6.
The trick is to set the environment variable: DYLD_FRAMEWORK_PATH=/
Applications/WebKit.app/Contents/Frameworks/10.5
This
On 3 avr, 15:52, 秦锋 feng.w@gmail.com wrote:
In 1.6.2, I have tried inject my css in gwt.xml, and it works!
Does it mean I lost all standard.css style?
I don't understand...
And could you give an example about The other possibility (untested)
is to inherit the xxxResources module
Ah, that is what I've been wondering. Is this is a limitation of GWT
that I have to work around, or am I'm just missing something.
One comment in that issue page says that you can use a SimplePanel and
set the position to absolute in the CSS. I am unable to get that to
work. Below is the code
On 3 avr, 02:53, asianCoolz second.co...@gmail.com wrote:
when using GWT.create(..) for image bundle, i18n or service
1.should i put the GWT.create() as global variable private final in
the main class (entry point) and pass as reference to all my composite
class files that required it?
2.
On 3 avr, 03:28, myapplicationquestions bhagwat.pa...@gmail.com
wrote:
Thanks a lot. But isn't this a major limitation that we cannot harness
the power of page designers? Can GWT module be embedded in any
existing page?
Yes, definitely. RootPanel.get(...) will do a document.getElementById
Hello
In my web.xml file I'm using the following configuration to enable
HTTP authentication for my app:
security-constraint
web-resource-collection
web-resource-nameDemo Application/web-resource-name
url-pattern/*/url-pattern
/web-resource-collection
auth-constraint
On 3 avr, 15:47, DavidPShaw wowkr...@gmail.com wrote:
has there been any update on this problem? I have a PHP backend
exposed via JSON, and want to develop using hosted mode. Is this
simply impossible without tricky proxy stuff in apache? My backend
cannot run in hosted mode, so I
Hello,
You can always change your shell command params to point to any other
Servlet container/app server.
i dont think that the Jetty server which comes with the toolkit has support
for such thing.
in you shell-cmd.bat, add the following:
com.google.gwt.dev.GWTShell -noserver -port 8080
where
LOL I wish I could delegate to a front-end designer. It's not always
an option.
What I am struggling with is how to add another widget on top of a
panel. The link you provided does not describe how to do this.
AbsolutePanel and PopupPanel seem to be the only way that I have
found.
PopupPanel
Thanks, for your reply.
This would mean, that I could only debug the client code in Eclipse
and that the war file needs to be rebuilt and deployed every time I
change the server code, right?
-- Roman
On Apr 3, 5:00 pm, rudolf michael roud...@gmail.com wrote:
Hello,
You can always change your
if you changed the static files like .css, .html and others then yes you
will need to re-deploy the war to see the changes in your hosted mod
browser.
But if you did change the .java files, then you will see the changes on the
fly. means that no need to re-delpoy your war, just refresh your hosted
Cool trick I found on the web:
Your case is simple, just use the -noserver option to launch hosted
mode, and load your host page directly from your [test] php server.
The embedded tomcat server is really only useful for testing the
simplest of java back-end bits, and is not particularly useful for any
other back-end
GWT RPC is *NOT* the only way to talk to your web server. See:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideServerCalls
for more details.
Although I imagine that you can setup hosted mode's embedded Tomcat
instance (assuming that you're
I'm also getting StackOverflowError from com.google.gwt.dev.Compiler.
I've tried to increase stack size to 32 MB (-Xss32m), but compilation
still fails with StackOverflowError. When I tried to use even bigger
stack size, jvm failed to start with OutOfMemoryError.
M.
On Apr 1, 2:25 pm, Isaac
Michal,
Have a look at issue #3510 (link below). Scott's working on reducing
the memory usage in the compiler. I think he committed some of that
work to trunk recently, but I haven't tried it yet.
http://code.google.com/p/google-web-toolkit/issues/detail?id=3510q=stack%20overflow
Some things
Thanks for the suggestions
I still wished it would be possible to use internal jetty server and
configure it to support HTTP authentication. It would make debugging
of the server code a lot easier.
-- Roman
On Apr 3, 5:33 pm, Vitali Lovich vlov...@gmail.com wrote:
Cool trick I found on the
Hi,
I have a xml module just to compile only for Firefox. I override the
following directive:
set-property name=user.agent value=gecko1_8/
Why the compiler say:
Compiling 2 permutations ?
The same for happend for set-property name=user.agent value=safari/
I don't have an extra locate, just
One way is to call Window.Location.assign with the URL of the new
application (which the URL varying based on the user's identity).
We've implemented a similar requirement with our current project. Our
login page actually is *NOT* a GWT application but instead is a simple
form (handled by a
yeah, the widget trigger won't work.
I think you can interfere somewhat with window closing -- if you take
a look at what happens in Gmail, when you are drafting up a reply, and
you try to close the window, it will give you that confirmation popup.
The same functionality is available in GWT. I
Thanks very much!! Sorry but I had not noticed that post!
For me is working with:
gwt.compiler.jvmargs=-Xmx1G -Xss1024k
Regards
On 3 Apr, 19:58, Jason Essington jason.essing...@gmail.com wrote:
have you tried increasing the stack size? -Xss
-jason
On Apr 3, 2009, at 11:46 AM, bond wrote:
Please Help,I just tested my gwt app with RPC on host mode it works fine.
When I deployed the app to Tomcat it does not work. I get the following
message when the client issue a RPC call to the server: The call failed on
the server; see server log for details .
When I looked at the logs of Tomcat
Hello,
I am having issues of extreme slowness with an upgrade to 1.6.3.RC2
Windows.
I am able to run the WebApp in Hosted Mode and everything is
displaying and interacting with RPC no problems with both versions. I
the classpath is the same within both run configurations. I have
added
Greetings folks,
I have an application developed in GWT and I would like to print tall
GWT widgets (i.e. taller than one page).
I found a method that works with Safari and Chrome browsers but it
didn't work with FireFox.
Maybe, it's related to the fact that Safari and Chrome are based on
the
This video?
http://www.youtube.com/watch?v=dJbt2CHOd9g
Yeah. I'd love to get my hands on that plugin. But nobody's talking about it.
If I ever get a job at Google, I am allowed to know more about the
plugin, and I am allowed to talk about it, I'll let you know. ;)
On Thu, Apr 2, 2009 at
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting
That sounds like what you need.
On Wed, Apr 1, 2009 at 6:24 AM, JK samochad...@gmail.com wrote:
Hi All,
I’ve read a lot of discussions related to multi-module applications
but I still don’t have a solution for my problem.
In
Why not just give the MyProjectWeb project to the GWTShell in the
classpath? Provided you used the client and server subpackages of
the same root package in all three projects (or made a gwt module in
the same package as the server code in the MyProjectGwt project and
inherited it
Hi TwiZ,
Are you using the MyApplication-shell script generated by the projectCreator
in GWT 1.5 or are you using an Eclipse run configuration to start up hosted
mode? In either case, you will need to make the change as described in the
documentation reference you made above. The documentation
Hi
I have theese two native javascript functions: (just a simply example)
public native void function1( ) {
alert( function2( ) );
}
public native int function2( ) {
return 9;
}
It seems that function1 can not see and invoke function2.
Is that true? Is there a way to resolve that
It seems that prior to GWT 1.5, element.toString() did the right
thing. When I moved to GWT 1.5.3, I had to switch to using
DOM.toString( elem );
jay
On Apr 3, 11:53 am, HommeDeJava claude.coulo...@gmail.com wrote:
Greetings folks,
I have an application developed in GWT and I would like to
Hi Jay,
Using DOM.toString(obj.getElement()) I get something more usable.
no more [object HTMLDivElement] or [object]
There's still some problems but I'm out of the dark age!
Thank you so much!
Claude
On Apr 3, 5:27 pm, jay jay.gin...@gmail.com wrote:
It seems that prior to GWT 1.5,
I am new to GWT, below style is not working,
.gwt-Button[diabled] {
font-family: Tahoma, Arial, Verdana, sans-serif;
font-size: 10pt;
border: black 1px solid;
}
any suggestions on how to provide style info for disabled buttons
using CSS.
Thanks guys, I was considering either JBoss or Spring and it looks
like Spring is the better choice.
On Mar 17, 9:07 am, Harald Pehl harald.p...@googlemail.com wrote:
We alos use spring / hibernate. Furthermore we used GWT Server Library
(http://gwt-widget.sourceforge.net/) for the clue code
Don't know if you're directly pasting your css here or retyping,
But your rule says diabled and not disabled
On Apr 3, 3:55 pm, newbie09 som.siva...@gmail.com wrote:
I am new to GWT, below style is not working,
.gwt-Button[diabled] {
font-family: Tahoma, Arial, Verdana, sans-serif;
Agreed (though sticking to the recommended client and server, and
possibly shared, subpackages, it's still fairly easy to *not*
reference client code form server code and vice versa).
Human beings will make mistake if they are able to. I don't want to
keep telling my developers all these
Hi,
You might want to mention where your located.
Cheers,
Scott
On Apr 1, 3:15 pm, mike177 mikeall...@gmail.com wrote:
Hello,
We are looking for an exprienced GWT developper with visible
references to work onwww.homeprodigy.com. This might develop into a
long term relationship once this
Please Help,
I just tested my gwt app with RPC on hosted mode, it works fine. When
I deployed the app to Tomcat (Linux) it does not work. I get the
following message when the client issue a RPC call to the server: The
call failed on the server; see server log for details .
I included
I want to navigate from one HTML page to another (P1.html to P2.html).
On start up my code loads P1.html as entrypoint. I have a few buttons
there as navigation buttons. One of the buttons when clicked should
take me to p2.html.
I have to load a new page (that's my requirement) but do not want
Why do you want to do it like this? It's a very strange requirement for an
Ajax-based site, and not wanting to remove and add widgets means that you
will get very little (if any) benefit from using GWT.
If that is really what you want to do, I'd suggest looking at some other
languages.
Ian
On Apr 3, 10:03 pm, Tony Strauss tony.stra...@designingpatterns.com
wrote:
One way is to call Window.Location.assign with the URL of the new
application (which the URL varying based on the user's identity).
We've implemented a similar requirement with our current project. Our
login page
On Apr 3, 10:03 pm, Tony Strauss tony.stra...@designingpatterns.com
wrote:
One way is to call Window.Location.assign with the URL of the new
application (which the URL varying based on the user's identity).
We've implemented a similar requirement with our current project. Our
login page
Hi,
I'm now using gwt develop my web application. I create a gwt project
'OnlineBanker' in command line and import it into eclipse. The server
side code of OnlineBanker need to use the class in another java
project 'FinancialToolkit'. I export FinancialTookit as a jar file,
and import it into
Hellu,
I would like to know whtat the current status is of incoparating more
basis interface in GWT?
We talked about this a long time ago, but there more important issues
then:
Comment by kibork:
Enabling this option breaks all RPC calls that do return some complex
type(also not void or primitive).
For more information:
http://code.google.com/p/google-web-toolkit/wiki/NoClassMetadataOptimization
--~--~-~--~~~---~--~~
Comment by kibork:
First impression is that this really makes some performance boost. At least
it's noticeable. I'll try to make some benchmarking and calculate absolute
values.
For more information:
http://code.google.com/p/google-web-toolkit/wiki/NoCastCheckingOptimization
The RPC subsystem has been updated in trunk to deal with this properly
(using a server-side type map). If you're seeing breakage as a result of
this, please describe the scenario in detail.
On Fri, Apr 3, 2009 at 10:43 AM, codesite-nore...@google.com wrote:
Comment by kibork:
Enabling this
[java]Scanning for additional dependencies:
file:/home/vlovich/workspace/sacred_heart/src/ece456/client/services/ResourceFactory.java
[java] Computing all possible rebind results for
'ece456.client.services.comm.rpc.StaffService'
[java] Rebinding
Author: sco...@google.com
Date: Fri Apr 3 09:36:11 2009
New Revision: 5183
Modified:
trunk/user/src/com/google/gwt/user/client/rpc/impl/RequestCallbackAdapter.java
trunk/user/src/com/google/gwt/user/server/rpc/impl/ServerSerializationStreamReader.java
Log:
Hooking up a couple of
LGTM
Some nits, do with them what you will and commit this puppy.
http://gwt-code-reviews.appspot.com/15803/diff/4001/4004
File user/src/com/google/gwt/dom/client/StyleInjector.java (right):
http://gwt-code-reviews.appspot.com/15803/diff/4001/4004#newcode35
Line 35: head).getItem(0));
line
http://gwt-code-reviews.appspot.com/15803/diff/4001/4004
File user/src/com/google/gwt/dom/client/StyleInjector.java (right):
http://gwt-code-reviews.appspot.com/15803/diff/4001/4004#newcode35
Line 35: head).getItem(0));
I mentioned this in another review, but this common idiom can fail if
the
Can we add safely add head if we don't find it?
On Fri, Apr 3, 2009 at 2:43 PM, cromwell...@gmail.com wrote:
http://gwt-code-reviews.appspot.com/15803/diff/4001/4004
File user/src/com/google/gwt/dom/client/StyleInjector.java (right):
Bob, can you review this patch for me?
Currently SOYC can run into some really long file names when
generating output for large packages. The attached patch shortens the
package names to reduce the frequency this happens.
It's likely worth doing such shortening more consistently, but package
Am I missing something? There doesn't appear to be a way to query for all of
the supported Common Timezones, which makes it problematic to construct a UI
dialog that asks the user to specify a TimeZone without hard coding. Simple
Timezones have the problem that they don't provide DST information,
On Fri, Apr 3, 2009 at 7:28 PM, Ray Cromwell cromwell...@gmail.com wrote:
Am I missing something? There doesn't appear to be a way to query for all
of the supported Common Timezones, which makes it problematic to construct a
UI dialog that asks the user to specify a TimeZone without hard
This is probably the wrong time to ask -but updating styles via the
addition of style tags seems very limiting.
If I recall IE (cant recall which vetsion was probably 7) chokes when
a page has more than thirty odd style elements.
Why not add new rules using StyleSheet.addRule/insertRule or
It seems to me that calling addRule/insertRule a hundred times would be
pretty slow (just look how many rules are in the GWT Theme CSS), not to
mention there are cross-browser issues to deal with, when a simple,
well-tested, mechanism exists already. Sometimes doing the 'proper' thing is
not an
You can get the CssRule/CSSStyleDeclaration as text via the cssText
property, but AFAIK, there is no property on document.styleSheets[n] that
allows setting the whole stylesheet at once using text. If there is, it's
certainly not part of the W3C DOM CSS OM.
-Ray
On Fri, Apr 3, 2009 at 8:21 PM,
That's correct because they cascade. The benefit of specifying which
stylesheet to inject into is that the gwt stylesheet can contain
defaults which are in turn overridden at will in user defined
stylesheets.
Currently it's a free for all with ordering being undpecified which
makes it
The current solution of allowing you to inject as the first child of head
works just fine, at the loss of user defined stylesheets needing to use
!important, but it is also extremely simple to implement, and the low
hanging fruit. Iimposing that StyleInjector would have to use
73 matches
Mail list logo