On 3 Sep., 14:37, Thomas Broyer wrote:
> On Sep 3, 2:24 pm, dduck wrote:
> If you want to cache images, you have to have your server send the
> appropriate HTTP headers so the browser itself appropriately uses the
> image from its cache.
Unfortunately it seems that most browse
Hi,
I have written a GWT client that among other things requests images
that are generated server-side. To conserve bandwith and server CPU, I
would like to cache the images in an url -> image map. To do that
properly, I would need to be able to copy an image as in final Image
myImage = new Image(
Hi,
I have this unusual problem.
I have a form page that redirects to a results page that auto-
redirects to my GWT application page. Now, if the user presses the
browser "Back" button, he goes back to the auto-redirect page, which
is not what he would expect - he wants to get to the form page, s
On 27 Jan., 10:07, dduck wrote:
> I understand that a better stack
> trace mechanism is in the works, but obviously it is not yet part of
> the production branch of GWT. In the mean time we are left to our most
> ancient tools, the printf and our naked brain :)
Turns out
On 26 Jan., 20:51, John Denley wrote:
> This is beyond anything Ive come across before, sorry I cant help anymore,
> though it looks like i did manage to push you in the right direction!
>
> good luck figuring it out...
I finally did.
The root cause was a programming error on my behalf, wh
On 26 Jan., 16:15, Djabi wrote:
> BTW, Your code stills looks like compiled with -style obfuscated.
You are right.
Thought I had fixed it, but hadn't.
Here is the unobfuscated code:
function com_google_gwt_user_client_ui_Panel_
$clear__Lcom_google_gwt_user_client_ui_Panel_2V(this$static){
...and another, this time the one I am actually after:
Class: com.google.gwt.core.client.JavaScriptException
Message:
(TypeError): Result of expression 'a' [null] is not an object.
line: 1520
sourceId: 4968015904
sourceURL:
http://worm:8080/myShopInstall/gwt-results-app/5DF30FE3D0E594F4B64889C27B
On 26 Jan., 13:11, dduck wrote:
> I have done so, but the debugging still points to a piece of
> JavaScript that does not have a clear correspondence to the original
> Java code :(
Specifically it points to this line:
function Y$(a){var b;if(a.Z()){return KK(new IK,Wob)}else{b=lJ(new
On 21 Jan., 15:44, John V Denley wrote:
> for you dduck, the way forward would be to do as leduque suggests
> above and set the compile time flag for style to "detailed" and that
> should give you a much better idea where the error is, you might find
> the followi
Well, using Safari I can now spot the place where the exception is
thrown in the generated JavaScript, but I have no way to relate that
to the Java code that I put into the GWT compiler.
Any clues as to how I do that?
Regard,
Anders
--
You received this message because you are subscribed to th
In a relatively large project I sometimes get this exception:
Class: com.google.gwt.core.client.JavaScriptException
Message:
(TypeError): Result of expression 'a' [null] is not an object.
line: 1513
sourceId: 4996591080
sourceURL:
http://worm:8080/myShopInstall/gwt-results-app/F89E790362E6204FFEC
Hi there,
I made a few measurements on the -draftCompile flag. Remember that it
was supposed to make compilation faster:
With -draftCompile:
Project 1: 57.614s
Project 2: 49.975s
Project 3: 38.656s
Total: ~146 seconds
Without it:
Project 1: 51.889s
Project 2: 59.473s
Project 3: 41.833s
Total:
On Dec 17, 5:27 pm, BugRoger wrote:
> Hi Anders,
>
>
> We use seperate modules for each compile mode. Then we pass a
> parameter into the build file to make it pick up the different
> modules.
Hi Michael,
Thank you for your very detailed and useful example. I will try out
your suggestions, a
Hi,
As described here:
http://code.google.com/intl/da/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#Can_I_speed_up_the_GWT_compiler
...it is possible to cut down on the number of browsers one compiles
for. Unfortunately the solution proposed is not very elegant for our
purposes. We would much
Hi,
We use Ant to build our GWT.
We would like to be able to configure a specific system with a
specific user.agent setting for compilation. This way developers only
need to compile for the specific browser they use, but our production
server would compile all permutations.
Is this at all possi
On 3 Jun., 21:23, Chad wrote:
> Anders,
>
> I do this in my app. I call it an InvisibleButton.
Chad,
That worked like a charm. Much obliged!
Regards,
Anders
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Goo
> live
...should be 'like', obviously. I'm not THAT into making a prettier
PushButton :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Too
Hi,
I would live to create a button that works just like a pushbutton, but
without the grey background. Is there an easy way to just remove th
egrey button outline, or will I have to roll my own component?
Regards,
Anders S. Johansen, ange.dk
--~--~-~--~~~---~--~---
Thanks to all for your replies. I see that it is indeed mentioned in
the docs that one should not (yet) expect a useful response from the
StackTraceElement related functions.
Good to know, and nice to know that I have improvements to look
forward to.
Regards.
Anders
--~--~-~--~~-
Hi,
I have implemented a "trappable command", that will show a popup in
case of an uncaught exception during its execution. It seems that a
stack trace is not available using the normal Java methods - at least
not when run in a browser. Any suggestions?
Here's the code.
/**
* Implement the ex
On 1 Maj, 12:12, hezjing wrote:
> It seems that we cannot add a same label more than once.
Yup. Took me a while to figure out.
Now I usually use a common interface like this for all my widget-
making code:
interface WidgetProvider {
Widget createNewWidget();
}
This both ensures that I ca
Hi,
If I add an image to a panel, it is apparently always left-justified,
no matter what horizontal justification I set the panel to use.
Is there a way of doing this?
Regards,
Anders
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On Apr 29, 7:01 pm, davidroe wrote:
> have you tried zero opacity? this usually does the trick for me as it
> is interpreted as in the DOM and visible.
I'm not quite sure what you mean. Could you elaborate?
Anders
--~--~-~--~~~---~--~~
You received this message
Anyway...
Using the tip from the issues list (set URL in deferred command) I can
get reliable execution of LoadListener on IE, as well as Safari and
FF.
Now I have a different problem.
In IE it seems that an image has dimensions 0 x 0 until visible, even
if it is loaded. Is there any way around
Hi,
I am new to CSS, but not to programming.
I would like to apply a table style that I like (http://icant.co.uk/
csstablegallery/index.php?css=3#r3) to a Grid, but I don't know how to
proceed. Just adding the table CSS to the GWT project's CSS screws
with the general page lay-out, so I assume t
On 15 Apr., 09:47, Salvador Diaz wrote:
> I don't think LoadListener is broken, it's just that there's a catch
> in using it. The actual loading of the image doesn't take place if
> such image is not attached to the document, so if you really want to
> load it without the user seeing the actual l
Hi,
Is there a cross-browser compatible, sure-fire way to tell if an image
is loaded? I have used Loadlistener observers, but they do not work
consistently on IE, and that's a deal breaker...
I need it for delaying preloading of hidden images until the visible
ones have loaded, or have failed lo
> This means you'd have to put a gwt.xml at some package level
> containing the interface and inherit it from your GwtResults.gwt.xml.
> e.g. in dk/ange/orion/gwt, create Models.gwt.xml file with path="models" />, and in your GwtResult.gwt.xml add an name="dk.ange.orion.gwt.Models" />
Thank you
Hi,
I am implementing a rather standard backend/frontend structure. My
backend is implemented in Java. My frontend is implemented in GWT. I
am using Eclipse.
The frontend will be a simple viewer for "some data", that will be
accessed through an interface.
I would like to package this interface
On Feb 26, 7:12 am, arjun wrote:
> Hi
> I'm new to GWT. can you kindly let me know wat i shd do to change the
> default plus/minus sign in the tree with custom images.
Read this:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/bb5c8c892007d80?hl=en&q=
Regards,
Anders
Err, I of cause mean DRAG/drop, not that weird mix of drag and dang ;)
A
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroup
Hi,
I have searched the archives and the web, and all I could find was
1) Drag/drop projects that were only related to widgets.
2) Some discussions, all at least a year old, concluding that it was
either hard and non-standards compliant, or impossible.
Any progress?
Regards
Anders
--~--~--
On 2 Jan., 15:12, gregor wrote:
> Hi Anders,
>
> I looked into this a year or so ago.
Hi Gregor,
Thank you very much for a informative and comprehensive answer. I
guess I will go with the straight image solution for now. It's
feasible, as all the users will use uniform configurations (browser,
Hi,
> Creating a module jar file is quite simple, you just need the following
> things:
Thank you for your help, but I was looking for something a little more
step-by-step.
I have since figured out how to do it. Here is my tutorial that I
wrote for internal use in my company.
Making a GWT mod
Hi,
I would like to make a button that looks like this:
(|| text ||)
...where ( is a rounded left-end of the button, ) is a rounded right-
end of the button, || is a background and "text" can be specified e.g.
at creation. Thus, all buttons of this type would share the same
style, but not the s
On 23 Dec., 22:48, lukehashj wrote:
> I would suggest using a Grid instead of the HorizontalPanel - and then
> use grid.setCellPadding(0), grid.setCellSpacing(0) and
> grid.setBorderWidth(0)
>
> If at that point you still have a gap, I recommend using the firebug
> plugin for firefox for discover
Hi,
I have a project "projectone" that looks roughly like this:
com.company.gwt.projectone
It contains some classes that I would like to re-use in another
project/module "projecttwo". I assume that the best way to do that,
would be to extract those classes, and put them in a Jar file.
The clas
On 23 Dec., 12:05, "Kevin Tarn" wrote:
> I can't find ScrollTable widget in GWT's library. Is that your custom
> widget?
It's from the incubator.
A
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google Web Toolki
On Dec 22, 2:13 pm, "Kevin Tarn" wrote:
> You can add a dummy Label object into right most side, and setCellWidth of
> label widget to 100%.
A good suggestion, but it doesn't fix the real problem.
The table is a ScrollTable with the following style in the CSS
.gwt-ScrollTable {
border-color
Hi,
For reasons that seems good and sufficient, I would like to create my
own radio-group-like group of buttons or images that represent
selecting one state from 4 possible ones. Basically I would like to do
this:
...
I would like to insert this as a widget for a row of data in a table.
Unfort
> Here's the link for the 1.5 wiki doc--which includes the existing
> tutorial, the Developer's Guide, the Reference Guide (such as the API
> doc). The topics are in the process of being
> reorganized.http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog...
When I click your link
Hi,
I am debugging a piece of code that GETting a request to a server that
isn't localhost. The code looks like this:
public void recieveRequest(final ServerResponseRecipient
callbackOnCompletion) {
this.callback = callbackOnCompletion;
final RequestBuil
Hi,
When clicking the "Developers guide" link here:
http://code.google.com/intl/da-DK/webtoolkit/overview.html
..I no longer get the developers guide. I get the Google code
Documentation Reader page instead.
Any idea why?
Anders
--~--~-~--~~~---~--~~
You receive
...and the answer is:
Make a TreeImages descendant that uses transparent images for the
"knees".
interface NoKneesTreeImages extends TreeImages {
@Resource("dk/ange/gwt/dataqualitybrowser/public/images/
transparent-16x16.gif")
public AbstractImagePrototype treeClosed();
Hi,
Subject really says it all.
I would like to use GWT Tree on a panel as a pop-up menu with grouped
menu items, but the expand/collapse knee is a bit of an eyesore for
that purpose...
Sincerely,
Anders S. Johansen, ange.dk
--~--~-~--~~~---~--~~
You received t
Hi all,
I am trying to do something relatively simple: I want to create a
simple, three-pane email-like item browser interface. For that I'm
using a DockPanel to host the components, namely queries, result list
and single item viewer. The queries go in the WEST panel, the result
list goes in the
46 matches
Mail list logo