Hi Shi!
create a constructor for your MenuHome and move the code from the Composite()-
Method into this constructor.
Extending from Composite is correct! ^^
Don't know why you use a method for doing this... ;)
...
public MenuHome() {
VerticalPanel vPanel = new VerticalPanel();
// Do You really
Hi,
I am reading the defer binding :
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideDeferredBindingReplacement
However, who will set the user.agent property? Will it be set by the
bootstrap javascript automatically? If yes, then how can i get
On 16 sep, 18:14, walden [EMAIL PROTECTED] wrote:
Thomas,
On Sep 16, 11:10 am, Thomas Broyer [EMAIL PROTECTED] wrote:
(I you ask me my opinion: GWT-RPC is not RESTful so I don't use it,
but the hability to share a class between client and server code is
appealing; I'm not using such a
On 17 sep, 10:17, peterx86 [EMAIL PROTECTED] wrote:
Hi,
I am reading the defer binding
:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=goog...
However, who will set the user.agent property? Will it be set by the
bootstrap javascript automatically?
Yes, through a
On 17 sep, 06:09, Brice [EMAIL PROTECTED] wrote:
Good evening. I am working on a new GWT app and I noticed a few
strange behaviors in IE 7 that I didn't see in FireFox / Safari.
Particularly that a link with a #token will cause a page refresh if
its in my wrapper HTML, but not if its
Hi All,
I've created a tiny but powerful gwt project
The Goal is to provide a MVC framework based on the simple, well
designed and powerful PureMVC framework.
This offer an opportunity to have the same design patterns what ever
you code in Java, .Net, Pythom, PHP ...
Find all necessary
Hi everybody,
I have this particular problem.
I am creating a file.It is working in hosted mode means the file is
getting created. But when i deploy my project on tomcat and try to run
the application the file is not getting created
This is my code.
try{
File file1 = new File(C:\\logE.txt);
Ryan schrieb:
I have this particular problem.
I am creating a file.It is working in hosted mode means the file is
getting created. But when i deploy my project on tomcat and try to run
the application the file is not getting created
If we are talking about the application that run in the
Thanks Lothar,
I am talking about server side code here, because the client would
anyway not support writing files.
Problem is how do I view this stack trace of the error .
Where can I view the stack trace.
Any pointers to how to view the stack trace.
regards,
Cherian
On Wed, Sep 17, 2008 at 1:13 PM, Ryan [EMAIL PROTECTED] wrote:
Thanks Lothar,
I am talking about server side code here, because the client would
anyway not support writing files.
Problem is how do I view this stack trace of the error .
Where can I view the stack trace.
Any pointers to
Ryan schrieb:
I am talking about server side code here, because the client would
anyway not support writing files.
Doesn't prevent people from trying ;-)
Problem is how do I view this stack trace of the error .
Where can I view the stack trace.
Any pointers to how to view the stack
Thanks. ;)
On 16 Sep., 18:42, Isaac Truett [EMAIL PROTECTED] wrote:
On Sun, Sep 14, 2008 at 5:52 AM, daniel.z
[EMAIL PROTECTED] wrote:
I'm using GWT 1.5.2 with hibernate4gwt 1.1b and the maven-
googlewebtoolkit2-plugin 2.0-beta20 and im currently getting multiple
differing
Tomcat is keeping it's log-files in tomcat 6.0\logs or /tomcat6/
logs. Look for preferences to know what file that is, but basically
you can just take the file with the last changed-date. Normally
you'll find all Exceptions- or System.out.print-output-messages
there.
P.S. Is Linux your
There is a login-page on startup at my GWT-Application. The user
enters his login name and password and clicks a button to sign in. In
my server- implementation there is a method which should sign the user
in (and gets back a result- state):
...
public int loginUser(String user, String password)
Use Case
1. Disable browser context menu by default
2. Enable browser context menu on edit controls like EDIT boxes,
listboxes etc when such controls receive focus. This is required so
that you can do the normal highlighting, cut, copy and paste from such
controls
3. When edit controls lose
thanks alex,
I am workng on windows.
Now the problem is that all system.out.println statements written in
classes that extend remoteserviceservlet are not printed in the logs
i.e. stdout file.
Any system.out.println statements written in classes that do not
extend remoteserviceservlet are
I want to reuse source code(that is published under apache 2),but
the guy of writer used a method:
com.google.gwt.user.client.rpc.impl.AbtractSerializationStream.shouldEnforceTypeVersioning(),it
existed in 1.5 RC 2,but has been deprecated in the v1.5.2,I can not
find any suggestion how
Ryan schrieb:
I am workng on windows.
Now the problem is that all system.out.println statements written in
classes that extend remoteserviceservlet are not printed in the logs
i.e. stdout file.
Logging with System.out.println is bad style. Inside a servlet
you better use
com.google.gwt.user.client.rpc.impl is not part of the supported
public API (*.impl.* usually isn't).
As far as a replacement, I can't really help you. You could contact
the author and find out if there's a new version of the library on the
way.
On Wed, Sep 17, 2008 at 8:56 AM, Alex Luya
It appears that the oncontextmenu event won't get previewed correctly in all
circumstances. I've entered issue 2895 to this effect.
If the code you mention above is no longer working, it is probably because
the oncontextmenu property is being overwritten by sinkEvents(). Try moving
it to after
Isaac Truett wrote:
com.google.gwt.user.client.rpc.impl is not part of the supported
public API (*.impl.* usually isn't).
As far as a replacement, I can't really help you. You could contact
the author and find out if there's a new version of the library on the
way.
On Wed, Sep 17, 2008
Brice,
I got similar problems when i was working on a GWT
application. In my case all History changes are triggered by my
application itself no external hyper links.(History.newItem()).
However sometimes IE7 reloads the page. I applied a FIX suggested in
the following thread.
On Sep 17, 5:37 am, Thomas Broyer [EMAIL PROTECTED] wrote:
On 16 sep, 18:14, walden [EMAIL PROTECTED] wrote:
Thomas,
On Sep 16, 11:10 am, Thomas Broyer [EMAIL PROTECTED] wrote:
(I you ask me my opinion: GWT-RPC is not RESTful so I don't use it,
but the hability to share a
Hi there
I have never encountered PureMVC but have been developing using GWT
for around 10 months now.
We have come up with various methods of attempting to implement the
MVC approach through GWT none of which we have been that happy with to
be honest.
I'll read up on PureMVC and how it works
Hi,
I've just upgraded one of my projects from 1.4.60 to 1.5.2, and
everything went very smoothly, but...
when my application tries to fetch a large number of objects from the
server (via RPC, returns HashMapInteger,xxx, about 6000 entries) it
takes a very very long time!
Before the upgrade this
Not sure I understand your question. Yes, viisibility of the Session
in your service handling code is awkward, but you have figured out
what to do, as demonstrated by your code.
I have to say that this is yet another example of jumping through all
sorts of hoops trying to do custom
Thanks. Although the error message that it is not able to find the
source is misleading as it makes it seem like that it trying to
generate javascript out of it.
Regards
Kapil
On Sep 14, 7:26 pm, Arthur Kalmenson [EMAIL PROTECTED] wrote:
It's not possible to use EasyMock in GWTTestCases.
I'm sorry, but I have to admit that I don't know HTTP Basic or Digest.Can
you explain more (and any good article/tutorial)?
Thank you!
On Wed, Sep 17, 2008 at 10:57 PM, walden [EMAIL PROTECTED]wrote:
Not sure I understand your question. Yes, viisibility of the Session
in your service
Hi
I have a GWT application, and it is running without HTTPS.
What need to be done if I want this GWT application to run with HTTPS?
Is there any changes in the code and configuration?
Can I test HTTPS in hosted mode?
Is there any difference when designing a GWT application for HTTP and HTTPS?
Thanks for your responses... I kind of get the thing working. Here is
my logic:
On the server-side, I periodically query the database for new records
and append them to my Object[][] data. Whenever the client click
Refresh button for example, the server-side will send the data[][]
back in JSON
I'm wondering if it is some sort of network issue - the Maps API has to load
from a server at google.
Also, even though you shouldn't need a key, you could go to
http://code.google.com/apis/maps and get one for localhost. IIRC, some
parts of the API (Geocoding maybe?) do need a key, even if its
Could it be that you have some sort of proxy setup to get to the Internet?
If so, the hosted mode browser probably isn't aware of it.
John T. on the GWT team suggested you try 'wireshark' to see if the requests
to fetch the Google Maps API were getting off of the machine.
-Eric.
On Wed, Sep 17,
Yeah it gets to http://maps.google.com/maps?gwt=1amp;file=apiamp;v=2.x
from my machine using firefox 3. No proxies in my way either.
On Sep 17, 1:58 pm, Eric Ayers [EMAIL PROTECTED] wrote:
Could it be that you have some sort of proxy setup to get to the Internet?
If so, the hosted mode browser
bump.
anyone else?
On Tue, Sep 16, 2008 at 10:09 PM, Pavel Byles [EMAIL PROTECTED] wrote:
Yes... reset is what I was referring to
On Tue, Sep 16, 2008 at 4:43 PM, Eric Ayers [EMAIL PROTECTED] wrote:
I didn't see a resize() function other than reset()
On Tue, Sep 16, 2008 at 4:25 PM,
I am working on a new class and I want to expose instance fields and
methods via a prototype via JSNI so I can call from third party script
into my GWT code like this.
var mySimpleObject = new Simple(test);
test.callMyName();
I have been working through a series of examples that build on each
Hi,
I am gettiing a hash/dictionary from the server as a JSON string. This
looks some thing like:
{a: bar, b: foo, c: [x, y, z], d: {1: xxx, 2:
yyy}}
Is there some class that can convert this to a HashMap?
Thanks,
--~--~-~--~~~---~--~~
You received this message
What version of eclipse did you use?
On Sep 17, 2:20 pm, Eric Ayers [EMAIL PROTECTED] wrote:
I just loaded gwt 1.5.2 and gwt-maps milestone r290 onto a machine whose
/etc/issue reports Ubuntu 8.04.1 (64 bit)
JVM is: /usr/lib/jvm/ia32-java-6-sun/jre/bin/java
I ran the stock HelloMaps demo
So going by this theory does it do the conversion of junit libraries since
they are needed. ?. Since mocking is such an essential part of unit testing
could some one suggest how one should include it in GWT. My GWT Classes
incorporate both pure java classes and overlays on existing javascript
Kind of a simple question, but I notice that some of my GWT projects
have a bin directory. I understand it holds the compiled versions of
my class files from src, but it is not created when a project is
started (using the project/application creators), so when is it
created? Also, what happens
This is probably trivally easy, but I find the documentation on
modules a little sparse so hopefully someone will help me out.
I have a project under Eclipse that I have split into a client side
project and a server side project. I do this so that I can run the
server under Tomcat 6 rather than
I'm trying to choose an appropriate framework for a mid-large scale
web app. I've built apps using JS and javascript libraries, such as
Dojo and Prototype, but am looking for a more comprehensive approach.
I like what I see in GWT, but for the most part I don't want to do
large scale UI
Folks, I'm trying to choose an appropriate framework for a mid-large
scale web app. I've built many apps using JS and javascript libraries,
such as Dojo and Prototype, but am looking for a more comprehensive
approach. I like what I see in GWT, but for the most part I don't want
to do large scale
I had the same problem as well. And I found that in my hosted.html I
had external.gwtOnLoad(window, modName); and it was not working.
Then I made some changes (I made them a lot so I am not realy sure
which one was correct) and then the result in hosted.html was
external.gwtOnLoad(window,
Hi Guys,
I would like to create an application where I can create the actual
forms/windows dynamically and add GWT controls to the windows
dynamically. I was wondering whether anyone has tried to do this
before, seeing that I'm not getting any information on how to do it.
Basically the process
I tried elem.getAttribute(value). It unfortunately, didn't change
the behavior.
As for using a text box, this example is a dumbed down version of what
I'm doing. The real application is integrating GWT as part of other
(non-GWT) JavaScripts. The other JavaScripts are inserting data into
an
I use GWT to build a pictures gallery (3 by 3) which get the images
from a server. Each image is unique.
The client will request from the server and a java servlet will
generate the image.
The problem is when the pictures gallery displays the images,
sometimes it would shows same image although
Marcus,
I'm not sure if you have resolved this or not, but this happened to me
when I was integrating GWT into a JBoss application. I had to right-
click on the the src folder and do a Refresh. Just hitting F5
wasn't reloading everything. As an alternative (if this doesn't
work), you could
On Wed, Sep 17, 2008 at 5:50 PM, Kapil Sachdeva [EMAIL PROTECTED] wrote:
So going by this theory does it do the conversion of junit libraries since
they are needed. ?
GWT comes with a JUnit implementation that suits the needs spec'd out
by the GWT developers. I'm not sure what that actually
This is the first time I've heard of the Fusion product. From looking at
the First Base Solutions website, it looks different from the Google Maps
API that gwt-google-apis wraps.
On Tue, Sep 16, 2008 at 11:24 AM, Brad [EMAIL PROTECTED] wrote:
I'm currently developing a GWT app that uses the
I have couple of RPC servlet(which extends RemoteServiceServlet) and
couple of HTTPServlet (TestJSONServlet) which extends from
HTTPServlet, when I am trying to call non RPC servlet from my
application I am getting an error saying ClassNotFound, my
compilation output folder has
That blog post does a bunch of stuff in step 3 that I definitely
would not recommend. Building your own version of GWT for that is not
necessary. You can set those properties in your own module and it
will redefine them. Or if you really need to, you can just put your
own UserAgent.gwt.xml in
To be honest, GWT is not that great at the team designer vs
developer separation at the moment. There are ways to mitigate that
(tools like Instantiations designer), and approaches that help (clear
rules for css names for widgets/elements and then a designer who can
really just work with the CSS
not sure, but maybe there are some datatype penalty issues (long vs
double etc). Did you profile your server side code?
On Sep 17, 10:28 am, hbatista [EMAIL PROTECTED] wrote:
Hi,
I've just upgraded one of my projects from 1.4.60 to 1.5.2, and
everything went very smoothly, but...
when my
Search the group...
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/85267b4604f7e70f#
On Sep 16, 3:50 pm, Joe Larson [EMAIL PROTECTED] wrote:
Our main application is a WebObjects app. We're now adding Web 2.0
into the equation. We're rebuilding isolated pages at
yes, there are differences.
Testing: Use -noserver. Google for it on this newsgroup for more info
on how that works.
SSL has three notable differences. These aren't the only ones, but
probably the biggest surprises:
CACHING: Web browsers were designed to cope with idiot web server
maintainers.
Yah, my new JSON library will. But it's not ready quite yet. Well, the
reading bit's ready - still working on writing. If you want to beta
test it, mail me. The core contributors are more or less agreed that
the current offering is a bit weak so you might see it as part of the
core GWT library in
Hi,
I have been unable to debug GWT application in eclipse.
I tried running the debugger with the main class as
com.google.gwt.dev.GWTShell. Doing so and checking the textbox Stop in
main the debugger halts in main as expected, but the hosted browser is
never opened and it never comes to
Danke Lothar,
I think I should got my answer using
getServletContext().log(...) .This does the job.
I still have to check whether it creates files or not. But atleast it
has started printing statements to the log.
regards,
Cherian
--~--~-~--~~~---~--~~
You
Hello Miguel,
Here are changes to the release notes for the Maps RC1 release. The only
thing we might add that might be release note worthy is the retrieval of the
Google Earth plugin object.
M maps/distro-source/src/release_notes.html
--
Eric Z. Ayers - GWT Team - Atlanta, GA USA
Author: [EMAIL PROTECTED]
Date: Wed Sep 17 07:53:35 2008
New Revision: 3661
Modified:
changes/spoon/runAsync/samples/showcase/src/com/google/gwt/sample/showcase/client/ContentWidget.java
Log:
Don't put ContentWidget.onLoad behind runAsync; run it synchronously.
Modified:
LGTM
On Tue, Sep 16, 2008 at 7:40 AM, Eric Ayers [EMAIL PROTECTED] wrote:
I updated issue 171 - the 1.5.2 release is broken on this unit test, but
has been subsequently fixed. See GWT issue 2841
http://code.google.com/p/google-web-toolkit/issues/detail?id=2841
On Mon, Sep 15, 2008 at 4:30
Hello Miguel,
This patch adds an overload to LocalSearch.setCenterPoint() to accept a
JavaScriptObject parameter. It can be either a raw GLatLng or GMap2 object,
or it can be a LatLng object from the gwt-maps API (which is just a Java
overlay type for GLatLng). I tested this manually by
I wasn't including the source files. Disregard. Release should be
soon.
On Sep 17, 3:38 pm, chris.ruffalo [EMAIL PROTECTED] wrote:
One final bit of help.
I'm having problems building a jar that will work with the modules to
compile under a normal project. If I export the jar with Eclipse
Author: [EMAIL PROTECTED]
Date: Wed Sep 17 17:16:17 2008
New Revision: 3663
Added:
changes/jat/oophm-trunk-r3274/plugins/xpcom/VisualStudio/
changes/jat/oophm-trunk-r3274/plugins/xpcom/VisualStudio/firefox-xpcom.sln
(contents, props changed)
Released here : http://code.google.com/p/google-web-toolkit/issues/detail?id=343
Let me know what you think.
On Sep 17, 6:42 pm, chris.ruffalo [EMAIL PROTECTED] wrote:
I wasn't including the source files. Disregard. Release should be
soon.
On Sep 17, 3:38 pm, chris.ruffalo [EMAIL
65 matches
Mail list logo