Hi,
As far as I know, the Dozer solution suffers of the following issues :
- The service class must know how the entity has been loaded to
use the proper clone configuration (not a very good encapsulation),
- Each configuration is associated to one XML file, which can be
expensive for
Hi,
I need to call a servlet from my GWT application. It all works fine,
except that I appear to need different code for hosted mode versus
deployment in Tomcat. In hosted mode, this works:
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, URL
Those are two different URLs. /IDServlet means http://host/IDServlet while
IDServlet means http://host/WhereEverTheCurrentPageIs/IDServlet. In hosted
mode, your servlet is mapped to http://localhost:/IDServlet. In web
mode, your servlet is probably mapped to something like
I've been editing a GWT 1.4.x project to run with GWT 1.5.2. The
application works fine in hosted mode. But deployed in Tomcat, it
recently started showing only a blank screen in Firefox.
Firebug tells me that __gwt_initHandlers is not defined
Here is a snapshot of the full Firebug error:
Hallo everybody,
I have just programmed a chat application to be applied to Android
(SDK m5-rc15) and to as many browsers as possible.
At present I am exploiting only the GWT (1.5.1) API, with the 'smack'
library which allows connection to a xmpp server. (For now I'm using
just Firefox as XMPP
hello!
I created a project and add a lot of panels. Completion of the basic
operation of the panel to switch between, but my project can not use
the browser's back/forward button. What is the problem?
History is not just for the link.
How should I do?
Thanks.
Hello,
I'm using Gwt on mac os x on ppc. I created a simple MenuBar with
separator (no MenuBarImages), but I got this error in the shell:
ERROR] Uncaught exception escaped
java.lang.RuntimeException: Deferred binding failed for
'com.google.gwt.user.client.ui.MenuBar$MenuBarImages' (did you
Still having the same problem.
I need to make the selected link from the menu to be in a different
color. When the user goes to a specific page, that page on the menu is
in a different color.
How can I add a class/id to the menu items?
In MenuItem class there is private static final String
On 7 oct, 15:38, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Thanks.
Is there recommandation to use DOM ? how must i use
DOM.seteventlistener ?
You have to call DOM.setEventListener(elt, null) whenever elt is
detached from the document (that's what Widget.onDetach does) or at
least at
On 7 oct, 14:04, ivovnenko [EMAIL PROTECTED] wrote:
Hello everyone.
Is there any way to set scroll position in incubator's ScrollTable?
The use case:
I'm adding the element to the bottom(top) of the ScrollTable, and I
want it to be selected and visible - need to scroll to its position.
On 7 oct, 14:26, Isaac Truett [EMAIL PROTECTED] wrote:
Those are two different URLs. /IDServlet meanshttp://host/IDServletwhile
IDServlet meanshttp://host/WhereEverTheCurrentPageIs/IDServlet. In hosted
mode, your servlet is mapped tohttp://localhost:/IDServlet. In web
mode, your servlet
Actually yes. This seems to be slow down in FF3 on my mac. I have
asked people to test using ff3 on Windows and they say its slower but
not as sever as on the mac.
Thanks,
Manuel
On Oct 6, 5:51 am, Sumit Chandel [EMAIL PROTECTED] wrote:
Hi Manuel,
Thanks for the follow-up. As far as I can
Hi Thomas and Alex,
Thanks for your fast reply, I was Ill these last days so sorry for my
delay.
this is
because you don't have the required styles names in your CSS file
(main.css). Otherwise, GWT would load the styles from your file.
Alex: Belive me they are there and firefox shows them as
I expect thats what I'm missing then!
My calling method is as follows:
public native static void getJson(int requestId, String url, CallModel
handler)
/*-{
var callback = callback + requestId;
var script = document.createElement(script);
script.setAttribute(src, url+callback);
Hello everyone.
Is there any way to set scroll position in incubator's ScrollTable?
The use case:
I'm adding the element to the bottom(top) of the ScrollTable, and I
want it to be selected and visible - need to scroll to its position.
Thnx
--~--~-~--~~~---~--~~
You
Hi all,
I'm using i18n for the first time in a GWT app. When I add the
following line in my gwt.xml file :
extend-property name=locale values=en,fr /
The app crash in hosted mode (stack trace below). I'm using a noserver
configuration (PHP backend). The problem seems to be that GWT can't
find
Well, haven't noticed such methods in ScrollTable...
On Oct 7, 5:32 pm, Thomas Broyer [EMAIL PROTECTED] wrote:
On 7 oct, 14:04, ivovnenko [EMAIL PROTECTED] wrote:
Hello everyone.
Is there any way to set scroll position in incubator's ScrollTable?
The use case:
I'm adding the element to
I'm using gwt1.5, and don't see such methods in ScrollTable.
On Tue, Oct 7, 2008 at 8:19 PM, Peter D. [EMAIL PROTECTED] wrote:
They were added in GWT 1.5. So if you are using a 1.4 version or lower
they do not exist.
On Oct 7, 1:11 pm, ivovnenko [EMAIL PROTECTED] wrote:
Well, haven't
Thank you both for the responses. I haven't tried it out yet, because
I am right now stuck with another problem. I wonder if it is caused by
a similar misunderstanding on my part.
My application needs several files on the server
(myproject.properties, log4j.properties, hibernate.cfg.xml and so
Hi Isaac,
I went to this URL,
http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=MakingIncubatorBetter,
however I could not SVN to either
http://google-web-toolkit.googlecode.com/svn/tools/
or
Can anyone give an estimate for when GWT 2.0 will be released? Will it
be within a year? Or two years?
I ask because we have decided to move our fairly large application to
GWT as soon as the i18n-part becomes sufficiently mature and we need
to know how to prioritize our resources. That is, we
Hi again,
I tried this now:
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, URL
.encode(GWT.getHostPageBaseURL()
+IDServlet));
as you suggested, and it works fine, both in hosted mode as well as in
Tomcat.
Thank you very much for your
Hi! Mine is a project with the classes (in the package DAO) that
communicate with the database. The problem is that GWT apparently does
not recognize the classes out of /src/client.
The struct of my project is:
/src/
/src/dao/
/src/to/
/src/client/
/src/server/
/src/public/
The compilation of my
Shi schrieb:
Hi! Mine is a project with the classes (in the package DAO) that
communicate with the database. The problem is that GWT apparently does
not recognize the classes out of /src/client.
How do you come to that conclusion?
The compilation of my GWT application from this result:
Hi David,
Alternatively, until something like the GWT.runAsync() feature comes out,
you could design your GWT components as two separate entities, where one can
be painted into the main display or main root panel at a time so you can
control which component you want to load up and display.
I'm
My GWT application is using a native function to call another GWT app
embedded in my main app:
native JavaScriptObject openWindow(String param) /*-{
$wnd.open('./ProjectB.html?param='+param, '_blank');
return true;
}-*/;
The ProjectB window opens and it's app runs perfectly.
Thank you for reply me!
How should specify the source package in the file .gwt.xml?
I changed the file .gwt.xml:
module
inherits name=com.google.gwt.user.User/
inherits name=com.gwtext.GwtExt/
entry-point class=gwt.client.GwtApplication/
source path=to/
stylesheet
Shi schrieb:
How should specify the source package in the file .gwt.xml?
I changed the file .gwt.xml:
[...]
source path=to/
That's correct, but you need to add all source-paths if you
specify source-paths. So now, client is missing.
Regards, Lothar
In a few cases, I've found that the Widget I'm working with isn't
getting events as I expected. Fixing this entails something like this:
class MyWidget extends Widget {
. . .
protected void onAttach() {
super.onAttach();
DOM.setEventListener( getElement(), this );
}
Well, the explanation, in case it is any use to someone else, is this.
I had been paring down my previous multiple entry point app to
having just one entry point. As I wanted only a log in dialog at the
outset, I had nothing, or almost nothing, in the RootPanel. I had not
planned on
It's by design that the second and subsequent calls to tryCreate
return null. The null return value indicates that the generator has
already created an implementation for the given type. You should just
bail out early in that case. I usually write my generators like this:
public String
I have run into a strange problem with an existing project I have been
working on. It runs on GWT 1.5.2, OS X, 10.5.5, Java5. The project I
am working on has been in development for the last 4 months on this
configuration. I debug it daily, make changes, etc.
Yesterday I was starting up the
I forgot to mention, the only logging I can find is in system.log:
Oct 7 15:11:33 vanjma12 /System/Library/Frameworks/JavaVM.framework/
Versions/1.5.0/Home/bin/java[423]: CPSSetForegroundOperationState():
This call is deprecated and should not be called anymore.
Oct 7 15:11:35 vanjma12
SID wrote:
Dear experts,
I have come across this GWT recently and I need to know more about it
and its usage. I need to develop some intranet applications like
Contact Manager, Activity Manager, Some workflow for ESS (like leave
request, business travel request, etc), and some other
Thank you! I know how should I do!
On 10月7日, 下午10时32分, Isaac Truett [EMAIL PROTECTED] wrote:
Hi!
Are you using History.newItem() and HistoryListener(s) to switch between
panels? Can you show us that code?
On Tue, Oct 7, 2008 at 4:32 AM, hooly.jia [EMAIL PROTECTED] wrote:
hello!
I
Hey Isaac!
It looks like it was a firewall error. You were spot on!
Anyway, I'm at home trying to make this JAR so I can ship it to work.
I tried to import using Tortoise SVN to http://google-web-toolkit-
incubator.googlecode.com/svn/trunk/ but it was asking for a username
and password. I tried
Hello Miguel,
Here is another patch I'd like for you to review. It addresses issue 189 in
the issue tracker:
http://code.google.com/p/gwt-google-apis/issues/detail?id=189
The problem was very easy to solve, but I went ahead and added some more
unit testing and eliminated some warnings from a
Hello Ian,
I had a coworker take a look at the data binding framework. It looks
really good so far, but we had a couple of questions:
- Is it possible to run the binding on demand instead of automatically
with the attached listeners? Say I want to only run the binding after
the user pressed the
Would it be typical to addHandler() for a DOM event and *not* want to sink?
If so, then it makes more sense for the names to be uniform, perhaps even
left as is.
It would typically be the case that you would want to sink, however this is
not always true, so we want users to have the option
Author: [EMAIL PROTECTED]
Date: Tue Oct 7 07:54:14 2008
New Revision: 3724
Modified:
trunk/user/src/com/google/gwt/user/client/ui/DialogBox.java
trunk/user/src/com/google/gwt/user/client/ui/PopupPanel.java
Log:
Let users drag DialogBoxes off the screen in any direction, but only as
It might be good for the javadoc on the setter methods to mention that they
have no immediate effect if called while the dialog is showing. In fact,
should we encourage people to hide the dialog before using the new setters?
It looks like we have no test coverage for the panel's behavior in its
On Tue, Oct 7, 2008 at 10:56 AM, Arthur Kalmenson [EMAIL PROTECTED] wrote:
Yes, I'm looking to avoid updating the bean automatically. I want to
specify when the bean should be updated.
I see. I hadn't thought of that use case. As it stands, no, you
can't do that. BoundFieldImplB, P has a
On Tue, Oct 7, 2008 at 11:30 AM, Ray Ryan [EMAIL PROTECTED] wrote:
On Tue, Oct 7, 2008 at 10:51 AM, Emily Crutcher [EMAIL PROTECTED] wrote:
Would it be typical to addHandler() for a DOM event and *not* want to
sink? If so, then it makes more sense for the names to be uniform, perhaps
On Tue, Oct 7, 2008 at 11:36 AM, Emily Crutcher [EMAIL PROTECTED] wrote:
On Tue, Oct 7, 2008 at 11:30 AM, Ray Ryan [EMAIL PROTECTED] wrote:
On Tue, Oct 7, 2008 at 10:51 AM, Emily Crutcher [EMAIL PROTECTED] wrote:
Would it be typical to addHandler() for a DOM event and *not* want to
Thanks for keeping us honest, Ray! Alex and I will add a test for this
behavior to DialogBoxTest and reply back on this thread with the code
review.
On Tue, Oct 7, 2008 at 11:26 AM, Ray Ryan [EMAIL PROTECTED] wrote:
Shouldn't there be a change to PopupTest to go along with this?
On 10/7/08,
Hi Miguel,
This patch addresses issue 183, a typo in a method name:
http://code.google.com/p/gwt-google-apis/issues/detail?id=183
I renamed the method in the library class and updated the test.
M test/com/google/gwt/gears/client/localserver/LocalServerTest.java
M
Hi Arthur,
On Tue, Oct 7, 2008 at 1:51 PM, Arthur Kalmenson [EMAIL PROTECTED] wrote:
I don't mean to nitpick, but it's actually the editor that puts back
the previous value, not the converter. The converter just throws a
ConversionException if the String couldn't be converted. It's up to
Author: [EMAIL PROTECTED]
Date: Tue Oct 7 15:35:36 2008
New Revision: 3726
Modified:
changes/jat/oophm-branch/dev/core/src/com/google/gwt/dev/util/log/SwingLoggerPanel.java
Log:
Don't display stubbed-out filtering controls.
Modified:
48 matches
Mail list logo