Ah, you're using OSGi. I've had a few difficult to track down problems
too. I use something like the following:
A class which adapts RemoteLoggerServiceImpl:
public class OsgiGwtRemoteLoggerServiceImpl extends RemoteLoggerServiceImpl {
private static final long serialVersionUID =
Oh, just a small remark: The comment in OsgiGwtRemoteServiceServlet
doesn't refer to modules as in GWT modules but to modules of our own
system. Not to confuse anybody.
Arthur
On Tue, Mar 17, 2009 at 7:46 AM, Arthur avand...@gmail.com wrote:
Ah, you're using OSGi. I've had a few difficult to
Hi all ,
Am developing an enterprise application using Gwt and am using RPC to
send a complex objects to the client ,i was wondering of what is the
best practice of serializing/deserializing objects to get the best
performance. not that my RPC request size is approximately 17 - 20 k
its very
Hello,
I was wondering if I can make 2 or more GWT application embedded on
one page. I know this is possible, but, it there a way to make them
communicate with each other?
It seems to me that the only way is through history tokens, but this
coupling is too weak. I have to be sure that the
For hibernate entity beans, can I use hibernate's specific
annotations? I never actually tried it, since we've mapped them
using .hbm.xml config files. But will GWT ignore the annotations or,
better said, how do I map entity beans using annotations without
making GWT scream about the imports? :)
As far as I know it won't complain (doesn't complain when I use annotations
from EoD SQL).
The best way to find out is write a test class with some annotations and try
compile it ;)
//J
djd wrote:
For hibernate entity beans, can I use hibernate's specific
annotations? I never actually
I have a dialog box with a invisible widget at the dialogs bottom. There is
a button to show this (invisible) widget. The Widget is shown and the dialog
box's size grows up (correctly). But when I hide this widget the height of
the dialog box is not reduced back to the initial state. It stays
Hi All,
I'm using Image class for displaying image. I've even provided my
website user the ability to change the image by choosing their own.
When uploading I'll be replacing the old image in the server with the
newly selected image without changing the file name. Since there is no
change in the
Even if it doesn't complain about the annotations... I don't think
this really addresses the problem, does it? If your annotations are
in your client-side code, they aren't going to be used, are they? It
seems to me that putting them there just confuses matters. This goes
back to what some of
Just add smth. like nocache=12345689 to image url where 1234567 is
current time in ms. This way browser will think that image-url has
changed.
On 17 Mrz., 12:25, ArunDhaJ arund...@gmail.com wrote:
Hi All,
I'm using Image class for displaying image. I've even provided my
website user the
Hi,
that actually helped. Turned out it was an Exception in the
constructor of the private member that prevented its initialization,
thus causing problem in the servlet initialization itself.
Thank you very much,
Luigi
On 17 Mar 2009, at 02:00, Vitali Lovich wrote:
You'd have to provide
We use Hibernate to communicate with the database and Spring for IoC.
We also use Spring Security for all the security requirements you
mentioned. Haven't tried Gears yet.
--
Arthur Kalmenson
On Sun, Mar 15, 2009 at 12:25 PM, kedar kedaar.ghane...@gmail.com wrote:
Hi,
I am looking for a
His,
if anyone could share experience with achieving blinking behavior for
several items on a page?
in my case there is a table being shown whose rows should have
multiple blinking elements (labels and images). Each of the blinking
elements has -its own- timeout value defined to stop blinking.
You could do it with a single timer then have your blinking components
listen for a tick event that the timer would fire.
On Tue, Mar 17, 2009 at 8:52 AM, denis56 denis.ergashb...@gmail.com wrote:
His,
if anyone could share experience with achieving blinking behavior for
several items on a
We also used GWT+Spring+Hibernate stack and it worked well for us.
On Tue, Mar 17, 2009 at 12:38 PM, Arthur Kalmenson arthur.k...@gmail.comwrote:
We use Hibernate to communicate with the database and Spring for IoC.
We also use Spring Security for all the security requirements you
mentioned.
We alos use spring / hibernate. Furthermore we used GWT Server Library
(http://gwt-widget.sourceforge.net/) for the clue code between spring
dispatcher servlet and GWT services.
Greetings
Harald
On Mar 17, 1:38 pm, Arthur Kalmenson arthur.k...@gmail.com wrote:
We use Hibernate to communicate
thanks, I would not have come to that idea.
would that, from the implementation point of view, mean that i will
again have elements extending component with appropriate fields,
something like
- isChangable : boolean [if timeNow timeStarted + timeToBlink]
- timeStarted : long
- timeToBlink : int
i solved it today. the explicit configuration from the
*.jar
*.war
*.ear
must correspondent with the xsd/dtd files from sun/jboss in order to
deploy that stuff right. anyway, the ingredients of the connector
chain, i quite amusing :/
thanks for the links hints, i surfed it but couldnt get a
On Tue, Mar 17, 2009 at 5:14 AM, Jason Morris lem...@gmail.com wrote:
Except that objects that are bound to some sort of server-side data store
(DB, FS, whatever) will be
used on both the client and the server. Some of these tools use annotations
to describe parts of the
mapping
Hi,
I am having some problems correctly displaying currency. Here is the
code I am using:
//Format the discount to two decimal places
NumberFormat fmt = NumberFormat.getCurrencyFormat();
String formatted = fmt.format(discountAmount);
discountAmount =
On Mar 17, 1:59 pm, Jason Gillam jason.gil...@gmail.com wrote:
Even if it doesn't complain about the annotations... I don't think
this really addresses the problem, does it? If your annotations are
in your client-side code, they aren't going to be used, are they? It
seems to me that
We have been developing a CRM app using GWT for last few months.
The fully functioning codebase is quite huge for a team of our skills
and size. After web mode - compile we have 5 different cache.html (e.g
39E6CED23236BBA7EF1704B96900B4D8.cache.html) files .. each one of
approximately 545 kb.
On Tue, Mar 17, 2009 at 07:40, Deba padhy.debas...@ensarm.com wrote:
After web mode - compile we have 5 different cache.html (e.g
39E6CED23236BBA7EF1704B96900B4D8.cache.html) files .. each one of
approximately 545 kb.
We are keen to know how these 5 different files with similar size are
Only one of those files is downloaded by the browser. Each one of
those large files is a browser-specific version of all your app's
generated javascript.
You can reduce the size by ensuring you're generating obfuscated code,
and turning on compression in your webserver. Zip one of those files
Hello, I'm trying to create an interface for an application using gwt
to arrange widgets and CSS (bigtime) for widgets properties/styles.
Can somebody give a few links for hints or tutorials on how is it
better to organize, arrange, cascade etc. styles using CSS in GWT ?
Thanks! I just tried, and for my problem, it works great!
On Mar 12, 5:21 pm, Thomas Broyer t.bro...@gmail.com wrote:
On 12 mar, 11:01, nikolcha risticnik...@gmail.com wrote:
I have this:
1. [client] Call server from client via GWT-RPC
2. [server] Create map of the data and store them
Vitali, you are awesome. I was able to pass in the java dataHandler using
JSNI, with an overlay for the SQLResultSet class as you suggested... and it
is working beautifully. Took me a minute to get my head around the overlay
concept, but I get it now, very cool.
Now, I only wish I could have
And I guess I'd be curious to hear if the concern is the amount of
space required for these files on their webserver, which would be
reduced if the code is obfuscated, or if their concern is the size of
the code base as it impacts the browser, which was answered by both
posts. Or if lastly, the
Actually, AFAIK, hosted mode on OS X is Safari. It's an old version of the
browser (IE6 on Windows some old Mozilla branch on linux). You'll need to
use OOPHM if you want HM features with a newer browser *still experimental
though).
On Tue, Mar 17, 2009 at 11:15 AM, Dean Mikel
Sumal and Alex, thanks for your help. This does appear to have been a
FF/connection issue -- I was able to download successfully when I got
back to my usual, reliable network.
Thanks,
-Bill
On Mar 13, 12:43 am, alex.d alex.dukhov...@googlemail.com wrote:
That kind of error with FF occures
On OS X the hosted mode browser is Web Kit (Safari4-ish).
You could set the environment variable DYLD_FRAMEWORK_PATH to point to
your latest WebKit nightly (for your hosted mode launch configuration)
and see how that treats you :-)
-jason
On Mar 17, 2009, at 9:15 AM, Dean Mikel wrote:
Hi,
I am new to GWT. It is very interesting for me to work on GWT. I just
would like to know one thing,
in GWT will support MVC pattern? suppose if I am creating a user login
page and do I need to create the servlets for GWT? I know I can
create servlet. But I just would like to know which is
Hi,currently I'm working on a project with GWT that has this special
condition:we'll deliver two products,a framework and an
application.The application uses the framework classes through a JAR
file.The big problem is that the framework package contains all the
clases that implements Services and
Hi,
First off my apologies, if this is the duplicate topic.
I need to change the style of the panel based on the URL parameter
which contains the syle sheet name (css/LoginMenu.css)
For differrent users, there would be different set of stylesheets.
I have added below JSNI code in my
dear GWT community, I am a student at the University of Amsterdam
working on a Information visualization project for my master. I'm new
to gwt and tried to look for a solution to my challenge, but cannot
seem to find the right one.
what i want to do: I want to use google maps where it is
It's perfectly possible, but the approach I take is this:
MVC is done on the client-side, except changes to the model that affect or
require business logic are asynchronous RPC calls into the servlet.
You have to be careful to understand the asynchronous nature of it notify
the user
Excuse my illiteracy as a newbie if my question is too trivial.
I am trying to build a gwt application, my application is going to be
an extension to an existing big project. In the existing project
there's a package which contains objects with serialization and
deserialization capabilities.
please provide your full code.
you print out formatted oder discountAmount?
why you parse again the formatted string back to discountAmount?
On 17 Mrz., 15:18, fatjack1...@googlemail.com
fatjack1...@googlemail.com wrote:
Hi,
I am having some problems correctly displaying currency. Here is
I would like to store some data on client side so that it can be
access easily everywhere on the client side code (at any level and any
widget), data like what data source, application state (demo or
production)
Without GWT, usually I put it on session, however now the session
access is in
You're right that the problem is GWT won't be able to compile the
files having xstream references. Remember GWT converts parts of your
application from Java to JavaScript.
If you use the GWT standard packaging conventions then everything in
the 'client' folder is restricted to the GWT JRE
joe young schrieb:
So what is the best suggestion to store those data, is there something
like session in client side?
You can define variables static. This has some effects in hosted mode
if you open more than one window but should work in a browser.
Regards, Lothar
Thanks Levi.
That's what I though it would be. Java Javascript conversion won't
allow that to happen.
I wanted to use xstream to create xml files from objects in a quick
and automated way. I was hoping for a case like this:
User clicks a button, through the rpc, a xml file is created from the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Or you could make them non-static member fields of your EntryPoint class. You
can think
of there being an instance of that class around for as long as your app is open
in a
browser window or tab.
We use that approach in our app here. (Static
Ah yes, I saw that but now I see there are a lot more examples i
missed. sorry. It seems that I can use KML/GeoRSS Overlays to do what
I want. I'll dive into it, thanks!
On Mar 17, 6:05 pm, Eric Ayers zun...@google.com wrote:
Hello,
Are you using the gwt-google-apis project for running Google
You can disable obfuscation by putting -style PRETTY on the compiler
command line
On Mar 17, 3:06 pm, MN nietz...@gmail.com wrote:
I have a error message from a user. but i have only some obfuscated
code for the stacktrace.
is there a change to get the realnames method names from this?
is
Can't you just change the style name? something like:
include a all-in-one css:
change the xpto-class-Style to xyzu-classStyle acording to the user
role..?
On Mar 17, 12:07 pm, Sush sush.r...@gmail.com wrote:
Hi,
First off my apologies, if this is the duplicate topic.
I need to change
Ok,
The reason I wasparsing it back in was to convert it from a String to
an integer. I think I have fixed part of the problem. My code now
looks like this:
NumberFormat fmt = NumberFormat.getCurrencyFormat();
String formatted = fmt.format(discountAmount);
discountAmount =
I have been extending different panels to contain features of my app.
I was told the other day that I should always use Composites.
So what are the advantages to extending Composite VS just extending
the class that I would initWidget() with?
--~--~-~--~~~---~--~~
Composite allows you to hide the implementation details of the
underlying panel (or other Widget)...
For instance if you are creating some widget that has 3 columns of
stuff, and are going to use a horizontal panel to be the ultimate
parent of the stuff, you wouldn't want to extend
Hi;
Here's the situation:
My Rpc prepares ArrayListA.
A implements Isserializable interface and it contains some fields and
an arraylistB field.
B implements Isserializable interface and it contains some fields and
an arraylistC field.
C implements Isserializable interface and has primitive
In my GWT project I create modular panels by just extending the panel.
In a meeting the other day a coworker of mine told me to do everything
as Composites.
I am trying to see the advantages for extending Composite instead of
just extending the widget with which I would initWidget() the
Why wouldn't I want people to message the panel into how they want it?
On Mar 17, 3:16 pm, Jason Essington jason.essing...@gmail.com wrote:
Composite allows you to hide the implementation details of the
underlying panel (or other Widget)...
For instance if you are creating some widget that
In many cases it is not appropriate to expose the entire API of the
underlying widget, so a Composite is used.
If you don't want consumers calling certain methods of the underlying
(extended) widget then use a composite, if you really are just adding
additional functionality to an existing
OOo, cool, that works for me~~
Thank you guys for your prompt reply =]
On Mar 17, 3:47 pm, Clint Gilbert
clint.gilb...@childrens.harvard.edu wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Or you could make them non-static member fields of your EntryPoint class.
You can think
Can client code able to use java.util.ResourceBundle?
I have some information in a propertie file and I don't want to get it
via RPC, is there an easy way to do it?
Right now when I use java.util.ResourceBundle in client side code, it
gives me this error~
[ERROR] Hint: Check the inheritance
The Javadoc says .gwt-DecoratedTabPanel uses style .gwt-
DecoratedTabPanel but I don't see that style in the standard CSS file
anywhere. Does this contributed to the display problem on IE where
the corners do not show up?
Can someone explain to me how it works on any browser when the style
seems
When I try to launch Google Web Toolkit hosted mode applications on
Windows Vista, I get the following error:
[WARN] Failed to write: C:\Windows\system32\tomcat\webapps\ROOT\WEB-INF
\web.xml
java.io.FileNotFoundException: C:\Windows\system32\tomcat\webapps\ROOT
\WEB-INF\web.xml (The system
I fixed my own problem. Okay, it seems that you're not supposed to launch
the projectname-shell.cmd from within Eclipse. To launch the project from
within eclipse, use the Run button, or launch the shell manually from a
shell.
On Tue, Mar 17, 2009 at 8:12 PM, Rohit Patnaik quanti...@gmail.com
From the FastTree demo below, when a node is selected, the background
color becomes blue.
http://collectionofdemos.appspot.com/demo/com.google.gwt.demos.fasttree.FastTreeDemo/FastTreeDemo.html
My project requirement dictates that I need the background color to go
all the way to the left
LGTM
http://gwt-code-reviews.appspot.com/12807
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
LGTM
http://gwt-code-reviews.appspot.com/13801
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
Comment by inventoriffic:
This looks amazing.
For more information:
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Author: j...@google.com
Date: Tue Mar 17 07:45:09 2009
New Revision: 5026
Modified:
trunk/dev/core/src/com/google/gwt/dev/jjs/JJSOptionsImpl.java
Log:
Fix checkstyle error.
Patch by: jat
Review by: spoon (TBR)
Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/JJSOptionsImpl.java
Author: rj...@google.com
Date: Tue Mar 17 08:17:42 2009
New Revision: 5027
Added:
trunk/user/src/com/google/gwt/user/client/ui/DisclosurePanelImagesRTL.java
Modified:
trunk/user/src/com/google/gwt/user/client/ui/DisclosurePanelImages.java
The attached patch, relative to trunk r5025, removes deprecation warnings.
--
John A. Tamplin
Software Engineer (GWT), Google
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
The attached patch, relative to trunk r5025, removes PlatformSpecific by
moving the pieces of functionality into CheckForUpdates or SwtHostedModeBase
-- this gets one fewer class we have to maintain an OOPHM overlay class for.
This is split out from the previous patch.
--
John A. Tamplin
Assuming you copy/pasted the relevant code sections correctly (I didn't diff
all that stuff pedantically) this LGTM.
On Tue, Mar 17, 2009 at 12:25 PM, John Tamplin j...@google.com wrote:
The attached patch, relative to trunk r5025, removes PlatformSpecific by
moving the pieces of functionality
LGTM.
2009/3/17 John Tamplin j...@google.com
The attached patch, relative to trunk r5025, removes deprecation warnings.
--
John A. Tamplin
Software Engineer (GWT), Google
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Author: j...@google.com
Date: Tue Mar 17 12:15:06 2009
New Revision: 5029
Modified:
trunk/user/src/com/google/gwt/dom/client/DOMImplMozillaOld.java
Log:
Remove deprecation warnings from DOMImplMozillaOld.
Patch by: jat
Review by: jgw
Modified:
Author: b...@google.com
Date: Tue Mar 17 11:59:31 2009
New Revision: 5028
Added:
changes/bobv/clientbundle/user/src/com/google/gwt/resources/css/ast/CollapsedNode.java
(contents, props changed)
Fred John,
Would you guys mind having a quick look at this miniscule patch? It's very
simple, so I just attached the diff inline.
Background: Fred discovered some pretty odd behavior in his drag drop
library against 1.6, and we tracked it down to a difference between Safari 3
4 (!). It turns
On Tue, Mar 17, 2009 at 1:18 PM, Scott Blum sco...@google.com wrote:
Assuming you copy/pasted the relevant code sections correctly (I didn't
diff all that stuff pedantically) this LGTM.
Thanks, committed at r5030.
--
John A. Tamplin
Software Engineer (GWT), Google
Author: j...@google.com
Date: Tue Mar 17 12:52:54 2009
New Revision: 5030
Removed:
trunk/dev/core/src/com/google/gwt/dev/shell/PlatformSpecific.java
trunk/dev/oophm/overlay/com/google/gwt/dev/shell/PlatformSpecific.java
Modified:
trunk/dev/core/src/com/google/gwt/dev/Compiler.java
Joel,
The null problem is gone. However, with JOEL_PATCH = true, the
event.getX/Y() coordinates are off when the document is scrolled. Launch the
DragDropDemo with the window less that full size, scroll the document down a
bit, then try dragging a red box. You'll notice that the box stays in place
Let me go ahead and commit this, but let's do discuss also eliding setCheck
as well, which we could tack onto the same flag separately.
On Tue, Mar 17, 2009 at 2:35 PM, Ray Cromwell cromwell...@gmail.com wrote:
Can we roll in a disablement of setCheck() as well, or is this going to be
a
Author: sco...@google.com
Date: Tue Mar 17 14:05:14 2009
New Revision: 5032
Added:
trunk/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerDisableCastChecking.java
(contents, props changed)
trunk/dev/core/src/com/google/gwt/dev/util/arg/OptionDisableCastChecking.java
Reviewers: jlabanca, fredsa,
Description:
See recent GWTC thread on the subject.
Please review this at http://gwt-code-reviews.appspot.com/13803
Affected files:
user/src/com/google/gwt/dom/client/DOMImplSafari.java
user/src/com/google/gwt/event/dom/client/DomEvent.java
Hello all,
Is there a special reason for MapWidget to be final? I find it useful
to extend it so I can reach my specialization inside a click listener
for example, though the MapClickEvent.getSender() method. I ask
because I don't like the idea of changing the source of the API when
the whole
Author: br...@google.com
Date: Tue Mar 17 14:58:02 2009
New Revision: 5033
Modified:
releases/1.6/user/src/com/google/gwt/user/tools/README.txtsrc
releases/1.6/user/src/com/google/gwt/user/tools/RpcClientTemplate.javasrc
Log:
Very minor spelling/capitalization tweaks
Modified:
Joel,
I did a quick test in Safari 3 on Mac and things appear to work well,
including scroll. I haven't tested all platforms, so I'm assuming for the
moment they work and that both scroll and zoom are non-breaking features :)
Thanks for digging that deep deep rabbit hole.
Fred
On Tue, Mar 17,
Followups to gwt-google-a...@googlegroups.com.
On Tue, Mar 17, 2009 at 5:58 PM, Alexandre Walter Pretyman
alexandre.prety...@gmail.com wrote:
Hello all,
Is there a special reason for MapWidget to be final? I find it useful
to extend it so I can reach my specialization inside a click
Looks good, with suggestions. Attached is what I meant when I was talking
about subclassing HostedModeBase.BrowserWidgetHostImpl. This should remove
some duplicate code. This also brings HostedMode in OOPHM up to the
present. Apply my patch on top of yours.
On Tue, Mar 17, 2009 at 6:14 PM,
LGTM
http://gwt-code-reviews.appspot.com/13803
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
committed as r5035
Thanks,
John LaBanca
jlaba...@google.com
2009/3/17 jlaba...@google.com
LGTM
http://gwt-code-reviews.appspot.com/13803
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
On Tue, Mar 17, 2009 at 8:38 PM, Scott Blum sco...@google.com wrote:
Looks good, with suggestions. Attached is what I meant when I was talking
about subclassing HostedModeBase.BrowserWidgetHostImpl. This should remove
some duplicate code. This also brings HostedMode in OOPHM up to the
Author: jlaba...@google.com
Date: Tue Mar 17 18:06:16 2009
New Revision: 5035
Modified:
releases/1.6/user/src/com/google/gwt/dom/client/DOMImplSafari.java
releases/1.6/user/src/com/google/gwt/event/dom/client/DomEvent.java
I tried the launch config, but I don't have a plugin installed so I didn't
actually run it. I'd say go ahead and commit and add more launch configs
later.
I agree the BrowserWidgetHost interface is temporarily ugly, but at least
it's straightforward, and we'll remove them eventually.
On Tue, Mar
in gwt incubator's FastTree, moveSelectionUp and moveSelectionDown are both
private.
Please either make these methods protected, so that I can subclass FastTree
and make my own public api to call them, or provide a public API to controll
navigation.
It coudld be as simple as adding these two
On Tue, Mar 17, 2009 at 9:57 PM, Scott Blum sco...@google.com wrote:
I tried the launch config, but I don't have a plugin installed so I didn't
actually run it. I'd say go ahead and commit and add more launch configs
later.
Thanks, committed to trunk as r5036.
--
John A. Tamplin
Software
Author: j...@google.com
Date: Tue Mar 17 22:19:39 2009
New Revision: 5037
Removed:
trunk/dev/oophm/overlay/com/google/gwt/dev/shell/BrowserWidgetHost.java
Modified:
trunk/dev/oophm/overlay/com/google/gwt/dev/HostedMode.java
90 matches
Mail list logo