Resolution Independent GUI in GWT

2008-10-31 Thread Ashutosh

Hello Everyone
I am working on a Calendar application. My GUI(Client Side) is in GWT.
 My GUI is not resolution independent .
Can any body give me some suggestion
that can help me to make my GUI resolution independent.

Thank u
Ashutosh

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Clearing Browser cache for upadated deployments

2008-10-31 Thread mat

Hi,

What I usually do is append a random querystring (for each new
version) to the javascript include on the HTML page.

e.g

http://www.google.com/MyScript.js?
version=20081101">

The browser sees this as a different URL to "http://www.google.com/
MyScript.js".


Mathew
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Resolution problem

2008-10-31 Thread vaibhav
Hi Group,

I am working on a huge calendaring application. My web client is on GWT. I
am facing the problems of resolution. My GUI is not resolution independent
and I know that it is a common problem all around. Can any body help me out
with some strategy which should be adopt or some kind of frameworks or api
which can help me to make my GUI resolution independent.

 

Thanks in advance

 

Regards

Vaibhav Saxena


--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



In Mozilla Firefox my main panel is only visible after resizing the browser

2008-10-31 Thread ce...@web.de

Hi,

I am using GWT 1.5.3 and GWT-Ext 2.0.5 on Mozilla Firefox 3.0.3.

The problem is that after I compile my GWT project and open the
generated static .html file in Mozilla Firefox the whole main panel is
invisble. Only after resizing the browser the panel becomes visible.

I am using a normal Panel with BorderLayout with 3 inside panels
(north, center, south) (inside these panels other panels reside). This
Panel is added on the Viewport.

On IE7 everything works fine and the panel is visible from startup.

Does anyone have an idea on how to solve/workaround this problem?

Thx very much in advance.

Cheers
Sascha

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Why my email is a spam?

2008-10-31 Thread Sumit Chandel

I think you're right. I just got one of those bounce back messages
myself.

I'll forward this issue to the Groups folks in the hopes that someone
in the team might be able to take a look at this and figure out what's
going on.

Cheers,
-Sumit Chandel

On Oct 31, 8:42 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote:
> Burntmail bounce some of my posts back to me (or were, anyway) here's the
> top of an old one...I assumed  (but I didn't look into it) that they have
> one of your IP addresses flagged as a spammer and it depends which server
> sends guyr his copy whether it comes back or not..
> Ian
>
> Hi. This is the qmail-send program at burntmail.com.
> I'm afraid I wasn't able to deliver your message to the following addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> <[EMAIL PROTECTED]>:
> Sorry - The message you have sent was identified as spam by Spam Assassin
> (message bounced)
>
> --- Below this line is a copy of the message.
>
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 8815 invoked from network); 27 Oct 2008 19:39:01 -
> Received: from unknown (74.52.149.146)
>  by burntmail.com with SMTP; 27 Oct 2008 19:39:01 -
> From grbounce-URXhbgUoKJv19SwTjLwVe-FQBsBy=guyr=burntmail.com@
> googlegroups.com Mon Oct 27 14:38:31 2008
> Return-path:  googlegroups.com>
> Envelope-to: [EMAIL PROTECTED]
> Delivery-date: Mon, 27 Oct 2008 14:38:31 -0500
> Received: from [74.125.46.35] (helo=yw-out-2526.google.com)
>        by mx01.burntspam.com with esmtp (Exim 4.63)
>        (envelope-from  [EMAIL PROTECTED]>)
>        id 1KuXv5-0006Bz-JU
>        for [EMAIL PROTECTED]; Mon, 27 Oct 2008 14:38:31 -0500
> Received: by yw-out-2526.google.com with SMTP id 4so496204ywg.22
>        for <[EMAIL PROTECTED]>; Mon, 27 Oct 2008 12:38:28 -0700 (PDT)
> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
>        d=googlegroups.com; s=beta;
>        h=domainkey-signature:received:received:x-sender:x-apparently-to
>         :received:received:received-spf:authentication-results:received
>         :dkim-signature:domainkey-signature:received:received:message-id
>         :date:from:to:subject:in-reply-to:mime-version:content-type
>         :references:reply-to:sender:precedence:x-google-loop:mailing-list
>         :list-id:list-post:list-help:list-unsubscribe:x-beenthere-env
>         :x-beenthere;
>        bh=vHo5IurUL/abMBIhrK4+y4REDGXPInjPKWOh6Pgc/lo=;
>        b=S5cnu2bRWbQu07PeIjEGX9NXYB68+BxiyDhHQZJlcb4rFNHpPgvDv0a2Me9xVToyNx
>         BXtLKKnCI6kPPQnhb5V/pGIVatmRTRP/l1Jd3ewJ1DN97PGPeUyL9vq6jabIM796kr8h
>         8OomumKNk8BdSkqwub0bdnDA+akATmAY9movs=
> DomainKey-Signature: a=rsa-sha1; c=nofws;
>        d=googlegroups.com; s=beta;
>        h=x-sender:x-apparently-to:received-spf:authentication-results
>         :dkim-signature:domainkey-signature:message-id:date:from:to:subject
>         :in-reply-to:mime-version:content-type:references:reply-to:sender
>         :precedence:x-google-loop:mailing-list:list-id:list-post:list-help
>         :list-unsubscribe:x-beenthere-env:x-beenthere;
>        b=yhEJEvgGcpchAC6Owf3glNzH9V7g8V6DPc/dF8bjJtP1YPea5GQ7buo1CfUalFyP14
>         RNYMP2q0MfSIGmPQMquO9s0cZlRL9/Wft2Jnpv2WI8qPfy3Jb3Eg9apynkDWiW5XTyJ1
>         99Ev53kF7/sICGyqXAQyFcdmdNMl8J0nrqooc=
> Received: by 10.150.49.11 with SMTP id w11mr171274ybw.22.1225136299788;
>        Mon, 27 Oct 2008 12:38:19 -0700 (PDT)
> Received: by 10.106.151.34 with SMTP id y34gr66074prd.0;
>        Mon, 27 Oct 2008 12:38:07 -0700 (PDT)
> X-BMDA-Edge: IPR=0,DYN=0,SRB=0,SPM=7.4,BTS=1.1,RBL=0,HIS=0,WHT=0,STR=0
> X-Sender: [EMAIL PROTECTED]
> X-Apparently-To: Google-Web-Toolkit@googlegroups.com
> Received: by 10.114.111.6 with SMTP id j6mr2741561wac.29.1225136282393; Mon,
> 27 Oct 2008 12:38:02 -0700 (PDT)
> Received: from rv-out-0708.google.com (rv-out-0708.google.com [
> 209.85.198.249]) by mx.google.com with ESMTP id
> k32si3310260wah.1.2008.10.27.12.38.01; Mon, 27 Oct 2008 12:38:01 -0700 (PDT)
> Received-SPF: pass (google.com: domain of [EMAIL PROTECTED] designates
> 209.85.198.249 as permitted sender) client-ip=209.85.198.249;
> Authentication-Results: mx.google.com; spf=pass (google.com: domain of
> [EMAIL PROTECTED] designates 209.85.198.249 as permitted sender)
> [EMAIL PROTECTED]; dkim=pass (test mode) [EMAIL PROTECTED]
> Received: by rv-out-0708.google.com with SMTP id k29so3205725rvb.30 for <
> Google-Web-Toolkit@googlegroups.com>; Mon, 27 Oct 2008 12:38:01 -0700 (PDT)
> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
> h=domainkey-signature:received:received:message-id:date:from:to
> :subject:in-reply-to:mime-version:content-type:references;
> bh=Sn75XVdZRwCt1PBXaRHvz2IiJEsAp8ixStbiQkB+lUA=;
> b=FNUBFgYjAH6mqqGCDxJury/aKeAs+LUQ9cU6WeTisOQrB4b6xLny7aLqL5Fi0MP+Nu
> mnNyWyHt84P57oCpZ463KLtAOVP0SaCBm1ENKAK6EvCw17ij+IsfL97cY/rW/miqkhFz
> SGGUsrd/2dh+/mgTM8JmghMtt9shI3onMaF8A=
> DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
> h=message-id:date:from:to:s

Re: Why my email is a spam?

2008-10-31 Thread Ian Bambury
Burntmail bounce some of my posts back to me (or were, anyway) here's the
top of an old one...I assumed  (but I didn't look into it) that they have
one of your IP addresses flagged as a spammer and it depends which server
sends guyr his copy whether it comes back or not..
Ian







Hi. This is the qmail-send program at burntmail.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry - The message you have sent was identified as spam by Spam Assassin
(message bounced)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 8815 invoked from network); 27 Oct 2008 19:39:01 -
Received: from unknown (74.52.149.146)
 by burntmail.com with SMTP; 27 Oct 2008 19:39:01 -
>From grbounce-URXhbgUoKJv19SwTjLwVe-FQBsBy=guyr=burntmail.com@
googlegroups.com Mon Oct 27 14:38:31 2008
Return-path: 
Envelope-to: [EMAIL PROTECTED]
Delivery-date: Mon, 27 Oct 2008 14:38:31 -0500
Received: from [74.125.46.35] (helo=yw-out-2526.google.com)
   by mx01.burntspam.com with esmtp (Exim 4.63)
   (envelope-from )
   id 1KuXv5-0006Bz-JU
   for [EMAIL PROTECTED]; Mon, 27 Oct 2008 14:38:31 -0500
Received: by yw-out-2526.google.com with SMTP id 4so496204ywg.22
   for <[EMAIL PROTECTED]>; Mon, 27 Oct 2008 12:38:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
   d=googlegroups.com; s=beta;
   h=domainkey-signature:received:received:x-sender:x-apparently-to
:received:received:received-spf:authentication-results:received
:dkim-signature:domainkey-signature:received:received:message-id
:date:from:to:subject:in-reply-to:mime-version:content-type
:references:reply-to:sender:precedence:x-google-loop:mailing-list
:list-id:list-post:list-help:list-unsubscribe:x-beenthere-env
:x-beenthere;
   bh=vHo5IurUL/abMBIhrK4+y4REDGXPInjPKWOh6Pgc/lo=;
   b=S5cnu2bRWbQu07PeIjEGX9NXYB68+BxiyDhHQZJlcb4rFNHpPgvDv0a2Me9xVToyNx
BXtLKKnCI6kPPQnhb5V/pGIVatmRTRP/l1Jd3ewJ1DN97PGPeUyL9vq6jabIM796kr8h
8OomumKNk8BdSkqwub0bdnDA+akATmAY9movs=
DomainKey-Signature: a=rsa-sha1; c=nofws;
   d=googlegroups.com; s=beta;
   h=x-sender:x-apparently-to:received-spf:authentication-results
:dkim-signature:domainkey-signature:message-id:date:from:to:subject
:in-reply-to:mime-version:content-type:references:reply-to:sender
:precedence:x-google-loop:mailing-list:list-id:list-post:list-help
:list-unsubscribe:x-beenthere-env:x-beenthere;
   b=yhEJEvgGcpchAC6Owf3glNzH9V7g8V6DPc/dF8bjJtP1YPea5GQ7buo1CfUalFyP14
RNYMP2q0MfSIGmPQMquO9s0cZlRL9/Wft2Jnpv2WI8qPfy3Jb3Eg9apynkDWiW5XTyJ1
99Ev53kF7/sICGyqXAQyFcdmdNMl8J0nrqooc=
Received: by 10.150.49.11 with SMTP id w11mr171274ybw.22.1225136299788;
   Mon, 27 Oct 2008 12:38:19 -0700 (PDT)
Received: by 10.106.151.34 with SMTP id y34gr66074prd.0;
   Mon, 27 Oct 2008 12:38:07 -0700 (PDT)
X-BMDA-Edge: IPR=0,DYN=0,SRB=0,SPM=7.4,BTS=1.1,RBL=0,HIS=0,WHT=0,STR=0
X-Sender: [EMAIL PROTECTED]
X-Apparently-To: Google-Web-Toolkit@googlegroups.com
Received: by 10.114.111.6 with SMTP id j6mr2741561wac.29.1225136282393; Mon,
27 Oct 2008 12:38:02 -0700 (PDT)
Received: from rv-out-0708.google.com (rv-out-0708.google.com [
209.85.198.249]) by mx.google.com with ESMTP id
k32si3310260wah.1.2008.10.27.12.38.01; Mon, 27 Oct 2008 12:38:01 -0700 (PDT)
Received-SPF: pass (google.com: domain of [EMAIL PROTECTED] designates
209.85.198.249 as permitted sender) client-ip=209.85.198.249;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
[EMAIL PROTECTED] designates 209.85.198.249 as permitted sender)
[EMAIL PROTECTED]; dkim=pass (test mode) [EMAIL PROTECTED]
Received: by rv-out-0708.google.com with SMTP id k29so3205725rvb.30 for <
Google-Web-Toolkit@googlegroups.com>; Mon, 27 Oct 2008 12:38:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from:to
:subject:in-reply-to:mime-version:content-type:references;
bh=Sn75XVdZRwCt1PBXaRHvz2IiJEsAp8ixStbiQkB+lUA=;
b=FNUBFgYjAH6mqqGCDxJury/aKeAs+LUQ9cU6WeTisOQrB4b6xLny7aLqL5Fi0MP+Nu
mnNyWyHt84P57oCpZ463KLtAOVP0SaCBm1ENKAK6EvCw17ij+IsfL97cY/rW/miqkhFz
SGGUsrd/2dh+/mgTM8JmghMtt9shI3onMaF8A=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=message-id:date:from:to:subject:in-reply-to:mime-version
:content-type:references;
b=eQn4woevd9FQvnPVuZWEj3w782ELDTJEmGVMlJjRb1WsixaVCTdq0TbWaj87HCXQ5E
G79QuflP2/H8Cg8wIESAUgaQN2u8emrAvBSMsr5reKG49vQDQzSbJg6mc7px0n0+XKig
T3YMThBTQCwfhOx/9ZxtbmZpZXKm2uMHbQVA4=
Received: by 10.141.48.10 with SMTP id a10mr3484525rvk.4.1225136281314; Mon,
27 Oct 2008 12:38:01 -0700 (PDT)
Received: by 10.140.225.6 with HTTP; Mon, 27 Oct 2008 12:38:01 -0700 (PDT)
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 27 Oct 2008 19:38:01 +
From: "Ian Bambu

Re: Why my email is a spam?

2008-10-31 Thread Sumit Chandel
Hi Hez,
I can confirm that your replies are indeed posted on the GWT developer
forum. I'm wondering what gave you the impression that your messages were
being filtered as spam. Possibly related to what Ian was talking about?

@Ian: are you saying that email senders who post up on the groups are
getting bounce back replies because [EMAIL PROTECTED] might not be getting
them?

Cheers,
-Sumit Chandel

On Mon, Oct 27, 2008 at 12:32 AM, hezjing <[EMAIL PROTECTED]> wrote:

> Hi
> I failed to reply my own post with the subject "Does panel has border?"
> because it is being filtered as a spam!
>
> Can someone advice me what should I do now?
>
>
> :-(
>
>
> --
>
> Hez
>
> >
>

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: StackPanel showStack(-1)

2008-10-31 Thread Sumit Chandel
Hello again,
What I meant was, you would probably have a method like the following to
make the calls to setStackVisible() and set the visibleStack field:

private native void closeAll(StackPanel stackPanel) /*-{
[EMAIL PROTECTED]
::setStackVisible(IZ)([EMAIL PROTECTED]::visibleStack,
false);
[EMAIL PROTECTED]::visibleStack = -1;
  }-*/;

I just changed the name of the method to something more meaningful.

Cheers,
-Sumit Chandel

On Fri, Oct 31, 2008 at 7:26 PM, Sumit Chandel <[EMAIL PROTECTED]>wrote:

> Hi David,
> Although the stackPanel.showStack(n < 0) behaviour was never documented, I
> agree with you that it is functionality that should be present to allow for
> collapsing all entries in a stack panel.
>
> I've updated Issue #1188 (link below) to make sure this gets on the team's
> radar and that the functionality is reimplemented in some form.
>
> Issue #1188:
> http://code.google.com/p/google-web-toolkit/issues/detail?id=1188
>
> In the meantime, you can workaround the issue by using the Violator pattern
> - that is, defining some JSNI methods that make bridge method calls / field
> accesses to your stack panel's setStackVisible(visibleStack, false) method
> and visibleStack field.
>
> You would need to set the visibleStack to -1 as well. The code would look
> something like this:
>
> private native void setVisibleStackToMinus1(StackPanel stackPanel) /*-{
>   [EMAIL PROTECTED]
> ::setStackVisible(IZ)([EMAIL PROTECTED]::visibleStack,
> false);
>   [EMAIL PROTECTED]::visibleStack = -1;
>   }-*/;
>
> Hope that helps,
> -Sumit Chandel
>
> On Sat, Oct 25, 2008 at 8:03 AM, David E. <[EMAIL PROTECTED]> wrote:
>
>>
>> StackPanel stackPanel;
>>
>> stackPanel.showStack(-1);
>>
>> Would close the stackPanel in 1.4 but does not work in 1.5.
>>
>> Why was this functionality removed and what is the work around, if
>> there is one?
>>
>> Thanks,
>>
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: StackPanel showStack(-1)

2008-10-31 Thread Sumit Chandel
Hi David,
Although the stackPanel.showStack(n < 0) behaviour was never documented, I
agree with you that it is functionality that should be present to allow for
collapsing all entries in a stack panel.

I've updated Issue #1188 (link below) to make sure this gets on the team's
radar and that the functionality is reimplemented in some form.

Issue #1188:
http://code.google.com/p/google-web-toolkit/issues/detail?id=1188

In the meantime, you can workaround the issue by using the Violator pattern
- that is, defining some JSNI methods that make bridge method calls / field
accesses to your stack panel's setStackVisible(visibleStack, false) method
and visibleStack field.

You would need to set the visibleStack to -1 as well. The code would look
something like this:

private native void setVisibleStackToMinus1(StackPanel stackPanel) /*-{
  [EMAIL PROTECTED]
::setStackVisible(IZ)([EMAIL PROTECTED]::visibleStack,
false);
  [EMAIL PROTECTED]::visibleStack = -1;
  }-*/;

Hope that helps,
-Sumit Chandel

On Sat, Oct 25, 2008 at 8:03 AM, David E. <[EMAIL PROTECTED]> wrote:

>
> StackPanel stackPanel;
>
> stackPanel.showStack(-1);
>
> Would close the stackPanel in 1.4 but does not work in 1.5.
>
> Why was this functionality removed and what is the work around, if
> there is one?
>
> Thanks,
>
>
> >
>

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Clearing Browser cache for upadated deployments

2008-10-31 Thread [EMAIL PROTECTED]

I have similar problem to what Eggsy has described, whereby in order
to view the  most recent changes it becomes necessary to clear the
browser cache. Unfortunately, apart from a couple of minor JSP pages,
most of our system is built entirely using GWT.

Is there some approach within the GWT code, where you can detect a
version or timestamp which can be used a reference for how upto date a
web app is? I mean I'm looking at perhaps doing this with periodic RPC
calls to the server to check if the web app is upto date and in the
case it is not forcing the browser to refresh (is this even
possible??).  I dont like this rather crude approach and would prefer
something which can be left to the app server or apache.

Imran

On Nov 1, 4:58 am, eggsy84 <[EMAIL PROTECTED]> wrote:
> Hiimran,
>
> We have experienced the same problems as you describe in which the
> user has to shift reload their browser!
>
> As our app is a J2EE app with JSP's we aim to try and solve this with
> the JSP no Cache directives?
>
> eggsy
>
> On Oct 31, 12:15 pm, walden <[EMAIL PROTECTED]> wrote:
>
> > This is how it *should* work, out of the box.  Do you have a specific
> > counterexample?
>
> > On Oct 30, 10:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > Basically I would like to know how to support the case where we would
> > > like to deploy an updated application and want changes to be reflected
> > > on the browsers without the user needing to manually clear their
> > > cache. If there isnt a gwt solution, is there an apache or tomcat
> > > solution for handling this?
>
> > > Thanks,
>
> > >Imran
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Link over Image

2008-10-31 Thread PlaceboDomingo

Hi ArunDhaJ !

Did you find any solution yet?
I also want to set links (spots) within an image. So I have the same
problem.

Placebo

On 25 Sep., 06:15, ArunDhaJ <[EMAIL PROTECTED]> wrote:
> Hi All,
> I'm developing an application where somelinksneeds to be placed over
> anImage. The link should be in such a way that the user can move the
> link position wherever needed. I'm using GWT1.4.62, is any widget
> already developed for this purpose ???
>
> Thank in Advance !
>
> -ArunDhaJ

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Hosted mode for production?

2008-10-31 Thread javawizard2539

I'm creating an open-source project that has a custom server component
as part of it. The server uses a custom protocol. Currently, the
server also hosts a server administration interface over http. I'm
thinking of converting this over to use GWT, but the tasks that will
need to be done in the UI will involve custom libraries (in
particular, the Java Cryptography Architecture) to an extent that it
is not feasible for me to use RPC. What I'm wondering is, is it
possible to use the hosted mode in a production environment,
specifically in an embedded server? I'm using embedded Jetty for
serving the administration interface. Since the http server is for
administration only, speed and number of users connected are not
issues.

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Lag accessing clientLeft after event

2008-10-31 Thread Backslash

Hello, I recently got profiling running with GWT to debug a menu
latency issue I have been running into in hosted moded.

I believe I have tracked down the source of the issue, but I can not
quite figure out the reason.

I have modified the code such that when a menu popup is about to
occur, I have it execute a native method which includes...

$doc.documentElement.clientLeft;

In fact the first time (after the event) this gets executed it takes
quite a bit of time.  If I jump from menu item to menu item to cause
this to keep getting executed consecutively in a row it is quite
noticeable in the responsiveness of the system.  Subsequent calls for
the same event do not show as big of a latency.

If I replace the $doc.documentElement.clientLeft with something
trivial the method does not take nearly as long.

My question is, why would accessing clientLeft for the first time when
an event occurs take so long?

I am using GWT 1.5.3 on a windows XP system.

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Unit testing with the "-noserver" option, and other musings.

2008-10-31 Thread Stephen Cagle

I have not received a single response to this problem. I am hopping to
drum up some support for it. In that vein I have posted below other
messages that are basically dealing with the same issue. As yet, I
have not read of a sufficient solution to this problem. Here are the
other post that seems to match the problem description mentioned
above:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/74039ee009fe6999/60904f432660a797?lnk=gst&q=%22-noserver%22+testing#60904f432660a797

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/465a531d64fdc133/f4868b5878ffcb1f?lnk=gst&q=%22-noserver%22+testing#f4868b5878ffcb1f

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/966e3b159ce1a7b1/1f364ef45e634366?lnk=gst&q=%22-noserver%22+testing#

These and more are examples of people being frustrated by lack of unit
testing support for "-noserver". I feel that this really needs to be
addressed. Testing with "-noserver" should be as easy as getting the
hosted mode working with "noserver". Once you have hosted mode working
with "-noserver" testing should work as well. There shouldn't be a
discrepancy as near as I can figure. I would suggest one of two
solutions:
1) Simply make it such that the "-noserver" option works with GWT unit
test
2) Tomcat should be configured by default to allow for a "reverse-
proxy" setup. Using some very simple configuration file. I should be
able to route all request from my gwt-application in hosted mode to my
"-noserver" server, thereby accessing my resources on my "-noserver"
server without violating SOP.

Thanks.

On Oct 27, 6:00 pm, Stephen Cagle <[EMAIL PROTECTED]> wrote:
> I am currently working on a Ruby on Rails/GWT application using the
> "scaffold" restful goodness. The "scaffold" stuff allows Ruby on Rails
> to easily create (roughly) restful resources. I created all my
> resources, I set up validation for each of these resources, I set up
> domain logic between these resources (ok, mostly). The server is
> conceptually done.
>
> Now, I am trying to program a GWT client frontend. Obviously (this
> being rails) I am not going to use a Java server. Therefore when I run
> in hosted mode I use the "-noserver" option, compile my generated
> JavaScript into my rails application, and the files are hosted from my
> rails development server. So far so good. I will admit I have some
> confusion as to how my application is running in hosted mode but
> seemingly being served from my rails server, but these are details and
> not germane to my main problem.
>
> My big grip so far is that I can't seem to get asynchronous server
> based unittestingworking at all. Period. When I attempt to access
> resources on my rails server when running asynchronous unit test from
> eclipse, I keep getting messages like this.
>
> The development shell servlet received a request for 'answers' in
> module 'com.quizzer.quizzer.JUnit.gwt.xml'
>    [WARN] Resource not found: answers; (could a file be missing from
> the public path or a  tag misconfigured in module
> com.quizzer.quizzer.JUnit.gwt.xml ?)
> Hello Stephen, responseText was => < the public path of module 'com.quizzer.quizzer.JUnit'
>
>
>
> Maybe this message makes sense to some people, to me it seems a little
> confusing. I am guessing it means something like "Hey, you are trying
> to access some small program/servlet named "answers", unfortunately, I
> don't know what "answers" is, so I am having trouble helping you out".
> I posted the test that this message comes from below.
>
> @SuppressWarnings("deprecation")
>         public void testUpdate() {
>                 delayTestFinish(500);
>                 HTTPRequest.asyncGet("answers", new ResponseTextHandler(){
>                         public void onCompletion(String responseText) {
>                                 System.out.println("Hello Stephen, 
> responseText was => <<" +
> responseText + ">>");
>                                 finishTest();
>                         }
>                 });
>         }
>
> The following testUpdate() unit test does pass. But obviously the
> return value I am getting as responseText is not what I expected. If I
> run the same HTTPRequest in hosted mode (with "-noserver") I get back
> the restfull resource I was expecting. What am I doing wrong? Is it
> possible to do unittestingwith the "-noserver" option?
>
> A few note:
> 1) It appears that the unit test are still running through the
> integrated Tomcat lite server
> 2) I though that maybe I could make the Tomcat server a reverse proxy
> into my ruby server, then I could just leave everything as is test/
> debug/develop in hosted mode, and compile when going into production.
> This would be cool, except that I have no idea how to do so in Tomcat.
> 3) Just to re-iterate, I seem to have the -noserverstuff working well
> enough in hosted mode in general, it is only in the case that I run
> unit test that things seem to go haywire.
>
> Any help would b

Re: GWT hosted mode in infinity loop when debugging

2008-10-31 Thread mikedshaf...@gmail.com

Without going into details, my advice is to first look at everything
you added to your project since it stopped working.  Speaking from
personal experience, more than 99% of the time, it's something I've
added that has caused the problem and not the vendor's.  One other
thing would be to create a new Debug... action in Eclipse.   Can you
build and run your project outside of Eclipse?  Also try doing a
Project/Clean  Sometimes that helps.  Back in the old days of
Eclipse 3.1, we had to rebuild the project every once in a while but
deleting the source from the project (not the file system) and
reimporting.  This wasn't a GWT project and we haven't seen anything
like that in a long time.  That's about all I've got

Later,

Shaffer

On Oct 31, 1:42 pm, maticpetek <[EMAIL PROTECTED]> wrote:
> Hello,
>    I'm developing one project in GWT for more then a year now. Of
> course I add new code all the time. But one week ago debug mode stop
> working. When I run my project in Eclipse in debug mode, GWT hosted
> mode is started but then java process start using 100% CPU time and
> takes infinity time (ok, after 30 minutes I kill the process). If i
> run my project in run mode, everything works OK and it start in couple
> of seconds.
>    I'm using OS X Leopard / Eclipse 3.3 / GWT 1.4.62. I also update on
> Eclipse 3.4 / GWT 1.5.2 and Eclipse 3.3 / GWT 1.5.2, but nothing
> change - debug mode was still fell in infinity loop. I check log file
> directory in ".gwt-logs" and ".settings", but nothing is their. I
> thing something must be wrong with my code in GWT compiler, because I
> am developing (debugging( some other project on some machine, Eclipse
> and GWT without any problem.
>    Could you please help me somehow. I'm really tired of debugging my
> code with GWT.log(). Thank you.
>
> Regards,
>    Matic
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT hosted mode in infinity loop when debugging

2008-10-31 Thread maticpetek

Hello,
   I'm developing one project in GWT for more then a year now. Of
course I add new code all the time. But one week ago debug mode stop
working. When I run my project in Eclipse in debug mode, GWT hosted
mode is started but then java process start using 100% CPU time and
takes infinity time (ok, after 30 minutes I kill the process). If i
run my project in run mode, everything works OK and it start in couple
of seconds.
   I'm using OS X Leopard / Eclipse 3.3 / GWT 1.4.62. I also update on
Eclipse 3.4 / GWT 1.5.2 and Eclipse 3.3 / GWT 1.5.2, but nothing
change - debug mode was still fell in infinity loop. I check log file
directory in ".gwt-logs" and ".settings", but nothing is their. I
thing something must be wrong with my code in GWT compiler, because I
am developing (debugging( some other project on some machine, Eclipse
and GWT without any problem.
   Could you please help me somehow. I'm really tired of debugging my
code with GWT.log(). Thank you.

Regards,
   Matic
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Clearing Browser cache for upadated deployments

2008-10-31 Thread eggsy84

Hi imran,

We have experienced the same problems as you describe in which the
user has to shift reload their browser!

As our app is a J2EE app with JSP's we aim to try and solve this with
the JSP no Cache directives?

eggsy

On Oct 31, 12:15 pm, walden <[EMAIL PROTECTED]> wrote:
> This is how it *should* work, out of the box.  Do you have a specific
> counterexample?
>
> On Oct 30, 10:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > Basically I would like to know how to support the case where we would
> > like to deploy an updated application and want changes to be reflected
> > on the browsers without the user needing to manually clear their
> > cache. If there isnt a gwt solution, is there an apache or tomcat
> > solution for handling this?
>
> > Thanks,
>
> > Imran
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: contents not showing in igoogle when i tried gwt gadgets

2008-10-31 Thread Eric Ayers
We released an updated gwt-gadgets binary today - are you still having
troubles?

-Eric.

2008/10/29 zujee <[EMAIL PROTECTED]>

>
> Hi all,
> When I tried to add something in my gadget its showing as blank.
> Meantime @ModulePrefs values are showing without any prblm.
>
> for eg:
> @ModulePrefs(//
>title = "Hello GWT for gadgets!", //
>directory_title = "HelloGadgets - Google APIs for GWT"
> )
> public class HelloGadgets extends Gadget{
>
>  protected void init(final HelloPreferences prefs) {
>Button button = new Button("Click me");
> VerticalPanel vPanel = new VerticalPanel();
>vPanel.setWidth("100%");
>vPanel.setHorizontalAlignment(VerticalPanel.ALIGN_CENTER);
>  vPanel.add(button);
> RootPanel.get().add(vPanel);
> }
>
> when i tried to upload gadgets its shows only a gadget with "hello gwt
> for gadgets!" ..but the contents inside the panel is not showing.i
> mean here the button.
>
> can somebody point me what might be the reason
> thanks
> zuje
> >
>


-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT+Maps JS conflict

2008-10-31 Thread Eric Ayers
2008/10/30 Ivan Vovnenko <[EMAIL PROTECTED]>

> Maybe gmaps js's are updated?
>
> Any workarround on deployment for 3 different servers? (different ip key)
>

There are various workarounds for this - basically moving the script load
back into the outer HTML and using some kind of logic to select based on the
document.location property.  Look in the Maps API.  Search through the
Maps-API  Google Group


>
>
> Regards, Ivan Vovnenko
>
> On Oct 30, 2008, at 8:32 PM, "Eric Ayers" <[EMAIL PROTECTED]> wrote:
>
> Hmm, if it was working before... I don't think you are doing anything
> wrong.  Have you upgraded GWT in the time since it was working?
>
> On Thu, Oct 30, 2008 at 2:17 PM, ivovnenko < <[EMAIL PROTECTED]>
> [EMAIL PROTECTED]> wrote:
>
>>
>> yeah, I know, but it worked like yesterday
>> +I have 3 different servers dev, staging and production and before, I
>> was just making 1 build and then modefied HTML (different api key) for
>> each server.
>> Now I guess I'll have to do 3 different builds..
>>
>> On Oct 30, 8:06 pm, "Eric Ayers" <[EMAIL PROTECTED]> wrote:
>> > Check out the gwt-google-apis Getting Started with Google Maps page for
>> maps
>> > which recommends adding a script tag for the GWT Maps API inside your
>> > module.gwt.xml file:
>> >
>> >
>> 
>> http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis...
>> >
>> >
>> >
>> > On Thu, Oct 30, 2008 at 1:32 PM, ivovnenko <[EMAIL PROTECTED]> wrote:
>> >
>> > > All browsers, gwt 1.5.3, windows
>> >
>> > > On Oct 30, 7:31 pm, ivovnenko <[EMAIL PROTECTED]> wrote:
>> > > > Just started getting strange error: for gwt module working path is
>> > > > maps' js files path, so it's trying to load GWT files not from
>> current
>> > > > dir but from gmaps server:
>> >
>> > > >
>> http://maps.google.com/intl/en_ALL/mapfiles/132e/maps2.api/F0A7CFA678...
>> >
>> > > > my html file StoreLocator.html:
>> >
>> > > > 
>> > > > 
>> > > > http://maps.google.com/maps>
>> http://maps.google.com/maps?
>> >
>> > >
>> file=api&v=2&key=ABQIsa6c6FX8zLTjT9XucE4VMBQRuI56mE2SyZnScYsgyG
>> ­W6XakiUxR0MuxW2oHWqeBxDIbXWhOheT-
>> > > > g-g" type="text/javascript">
>> >
>> > > > > > > > src="com.footmapping.StoreLocator.nocache.js">
>> > > > 
>> > > > 
>> >
>> > > > Here is firebug screenshot showing error:
>> >
>> > > > 
>> http://i37.tinypic.com/2nir6fs.png
>> >
>> > --
>> > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://
>> code.google.com/webtoolkit/
>>
>>
>
>
> --
> Eric Z. Ayers - GWT Team - Atlanta, GA USA
> http://code.google.com/webtoolkit/
>
>
>
> >
>


-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to block brower event ( ctrl +s , alt+ f .. etc )

2008-10-31 Thread Adam T

you could try EventPreview assuming you are using GWT.

Make your entrypoint implement EventPreview interface, as part of your
construction of the application call DOM.addEventPreview(this) and
implement the onEventPreview(Event evt) method to look for your key
combination.

//Adam

jhpark skrev:
> sorry I can't write english well..
>
> I make editor like google doc.
>
> google doc posibble ctrl+s..
>
> but I can't..
>
> I will try javascript.. but it's not work..
>
>
> 
> function processKey()
> {
> if( (( event.ctrlKey == true || event.altKey == true ) &&
> (event.keyCode == 78 || event.keyCode == 82)) ||
> (event.keyCode >= 65 && event.keyCode <= 90) || event.keyCode
> == 8)
> {
> event.keyCode = 0;
> event.cancelBubble = true;
> event.returnValue = false;
>
> }
> }
>
> document.onkeydown = processKey;
> 
>
>
> I don't know how to..
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: horizantal spliter issues

2008-10-31 Thread Adam T

You should read the documentation (or at least the JavaDoc):

"public void add(Widget w): Adds a widget to a pane in the
HorizontalSplitPanel. The method will first attempt to add the widget
to the left pane. If a widget is already in that position, it will
attempt to add the widget to the right pane. If a widget is already in
that position, an exception will be thrown, as a HorizontalSplitPanel
can contain at most two widgets."

I guess on you second attempt at clicking then you are trying to "add"
a third widget, hence the exception.  Try setLeftWidget(Widget w) or
setRightWidget(Widget w) instead.

//Adam

Syed Shahul skrev:
> Hi all.
> iam using hozirantal splitter to display the widgets.
> to display widgets on right pane i use link. i works fine but when i
> click the link twice i cause the following error:
> kindly help me regards
> Thanking you in anticipation
> Syed Shahul
>
> [ERROR] Uncaught exception escaped
> java.lang.IllegalStateException: A Splitter can only contain two
> Widgets.
>   at
> com.google.gwt.user.client.ui.HorizontalSplitPanel.add(HorizontalSplitPanel.java:
> 404)
>   at com.quads.lms.stack.client.stackPane$2.onClick(stackPane.java:306)
>   at
> com.google.gwt.user.client.ui.ClickListenerCollection.fireClick(ClickListenerCollection.java:
> 34)
>   at com.google.gwt.user.client.ui.Label.onBrowserEvent(Label.java:158)
>   at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1308)
>   at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:
> 1287)
>   at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
>   at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
> 103)
>   at
> com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:
> 126)
>   at
> com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:
> 155)
>   at
> com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:
> 294)
>   at
> com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:
> 194)
>   at
> org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:
> 117)
>   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Host pages - patterns

2008-10-31 Thread walden

Seconding the remark about maintainability.  The more content you put
into the host page, the more chances there will be that the gwt
entrypoint does not find all its RootPanel spots to plug into.  Also,
although I've never done it (probably never will), getting it so that
your widgets can hold references and/or register listeners with each
other in the "rich host page" model, although doable, would seem to
lead to an arcane style of programming the page, if imagination
serves.

Walden

On Oct 31, 2:15 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Isaac beat me to the punch, but we've had the same experience here.
> All of our apps are inside the firewall, and therefore search indexing
> and no-javascript are not concerns.  Any hardcore AJAX app, GWT or
> otherwise, has the same two concerns outside the firewall.
>
> Having said that, I feel that you have about the same flexibility in
> either of your scenarios.  But you'll probably find that the
> maintainability will be greater if you use one sparse HTML page,
> especially if you are using an IDE like Eclipse or NetBeans.
>
> On Oct 31, 11:17 am, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
>
>
>
> > I do the entire UI in GWT and CSS on one fairly sparse HTML page. Two
> > things that might make me change my ways would be needing to be
> > indexed by search engines or needing to be accessible by browsers
> > without JavaScript. None of GWT apps so far have had either of those
> > requirements.
>
> > On Fri, Oct 31, 2008 at 7:03 AM, Alex Reid <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > I was wondering what approaches people took with regard to host pages.
>
> > > Is it better to let GWT manage the whole page, perhaps with a single
> > > root DeckPanel ... OR is it more flexible to setup the majority of the
> > > application layout using standard HTML/CSS, slotting Widgets instances
> > > into these divs later on?
>
> > > I can see merit in both approaches.
>
> > > Alex- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: RPC error with Map

2008-10-31 Thread walden

Ian,

Actually, that OrderedConstantSet is an extension of
HashMap, so changing to HashMap isn't going to help.  I
know because I tried it already, too.

I could understand if the compiler traced a dependency to a class with
a final field, but in this case, the relationship between my
serializable Map and the one from i18n package seems "associative"
through the type HashMap, not actually a dependency.
Wierd.

I was going to post on this problem when I first noticed, but then it
was working, so I didn't bother.  But now I'd really like to know
what's up.

Walden

On Oct 31, 11:52 am, "Ian Petersen" <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 31, 2008 at 10:46 AM, WebDude <[EMAIL PROTECTED]> wrote:
> > Out of curiosity more than anything, I would like to understand why
> > this error occurs.  I've read issue 2862 (http://code.google.com/p/
> > google-web-toolkit/issues/detail?id=2862), but I don't quite follow.
>
> > How come all of the other maps go through fine.  String by themselves
> > go through.  Collections of Strings go through.  Why doesn't a Map
> > with Strings as the values go through?  I don't even have to put
> > anything into the map.
>
> This is a compiler warning we're talking about, right?  If so, then
> the compiler is raising the warning not because of anything you're
> doing but because it has found a Map implementation with a final field
> (in this case it's the implementation with a field named  "keys" of
> type 
> com.google.gwt.i18n.client.impl.ConstantMap.OrderedConstantSet).
>  This is probably a bug in GWT, not something wrong with your code.
> You could probably get rid of the warning if you changed your type
> definition to use HashMap instead of Map String> but that has the obvious downside of restricting you to
> HashMaps.
>
> Ian
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Host pages - patterns

2008-10-31 Thread [EMAIL PROTECTED]

Isaac beat me to the punch, but we've had the same experience here.
All of our apps are inside the firewall, and therefore search indexing
and no-javascript are not concerns.  Any hardcore AJAX app, GWT or
otherwise, has the same two concerns outside the firewall.

Having said that, I feel that you have about the same flexibility in
either of your scenarios.  But you'll probably find that the
maintainability will be greater if you use one sparse HTML page,
especially if you are using an IDE like Eclipse or NetBeans.

On Oct 31, 11:17 am, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
> I do the entire UI in GWT and CSS on one fairly sparse HTML page. Two
> things that might make me change my ways would be needing to be
> indexed by search engines or needing to be accessible by browsers
> without JavaScript. None of GWT apps so far have had either of those
> requirements.
>
>
>
> On Fri, Oct 31, 2008 at 7:03 AM, Alex Reid <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I was wondering what approaches people took with regard to host pages.
>
> > Is it better to let GWT manage the whole page, perhaps with a single
> > root DeckPanel ... OR is it more flexible to setup the majority of the
> > application layout using standard HTML/CSS, slotting Widgets instances
> > into these divs later on?
>
> > I can see merit in both approaches.
>
> > Alex- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Scrollbar not Showing

2008-10-31 Thread walden

GridPanel appears to be some sort of Ext thingy.  You should post on
their forum, where someone might know the answer.

On Oct 31, 6:34 am, Arji <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I already looked at the forums and searched the net.  No luck.
>
> I have a GridPanel (GP) inside a Panel (P).
> Panel P is added inside a FormPanel (FP).
> Another Panel (AP) is added inside the FormPanel FP.
> Everyone has a layout of FitLayout.
> Everyone has the setAutoScroll(true) except FormPanel.
>
> I want to have a scrollbar only for Panel P so that the whole very
> long GridPanel GP will be shown.
> The scrollbar only shows if you set the AutoScroll to true for
> FormPanel, but what will happen is, it will scroll the whole Panel P
> and Another Panel AP.  I only want to have Panel P the scrollbar, not
> the whole form. Is this possible?
>
> Thanks so much in advance.
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Gadgets, Gears, and AJAX Search Google API Libraries for GWT Now Available

2008-10-31 Thread Eric Ayers
We're pleased to announce the final release of the Gears 1.1, Gadgets 1.0,
and Search 1.1 APIs, all part of the Google API Libraries for Google Web
Toolkit project.  We are also making available a second release candidate
for the Maps API.

  Download Now 
  Online 
Documentation

Each library comes with:

   - Apache 2.0 Open Source license
   - Online Developer Guide
   - Online Tutorial
   - Online and Offline Javadoc documentation
   - Sample Code
   - Community discussion and Support through the Google-Web-Toolkit Google
   Group
   - Issue Tracking through Google Code at
   http://code.google.com/p/gwt-google-apis

*Changes since last Release Candidate:*

Gears 1.1 (1.1.1)

   -   Bugfixes
   -   Sample Code updated
   -   Messages can now be of types other than String
   -   WorkerPool demo added

Gagets 1.0 (1.0.1)

   -   Bugfixes
   -   RPC sample added
   -   HelloGadgets sample overhauled
   -   @InjectContent annotation added to add additional HTML to the module
   spec

Search 1.0 (1.0.1)

   -   Bugfixes
   -   LocalSearch integrates better with the Maps API

Maps 1.0 RC2 (1.0.1)

   -   Bugfixes
   -   Updates to allow extension and subclassing of various Maps components

   -   Maps API samples set the Maps version to v=2 for better stability



-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Host pages - patterns

2008-10-31 Thread Isaac Truett

I do the entire UI in GWT and CSS on one fairly sparse HTML page. Two
things that might make me change my ways would be needing to be
indexed by search engines or needing to be accessible by browsers
without JavaScript. None of GWT apps so far have had either of those
requirements.



On Fri, Oct 31, 2008 at 7:03 AM, Alex Reid <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I was wondering what approaches people took with regard to host pages.
>
> Is it better to let GWT manage the whole page, perhaps with a single
> root DeckPanel ... OR is it more flexible to setup the majority of the
> application layout using standard HTML/CSS, slotting Widgets instances
> into these divs later on?
>
> I can see merit in both approaches.
>
> Alex
>
> >
>

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT layers

2008-10-31 Thread jorge jota

I can't build a jar file with the cvs source. Someone want to help
me?

i ca't find this import:

import com.eg.gwt.openLayers.client.event.ControlDeactivateListener;
and this
import com.eg.gwt.openLayers.client.event.ControlActivateListener;

 Thank you very much.

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



generators and field annotations

2008-10-31 Thread David Durham, Jr.

Hi all,

I'm thinking about writing a simple forms generator using annotations.
 Here's an example of a form class

public class MyForm {

@EmailField(label="E-mail", required=true)
private String email ;  // or public String email -- I don't
really care about that

@PhoneField(label="Phone")
private String phone;
}

And then I'm thinking a generator could produce a FormPanel of some
kind from this class.  My questions is how to get at the annotations
on these fields.

1- If I use private fields, can I access these fields somehow through
JType  (or do they need to be public)
2- Can I get a List of all of the annotations on a Field?  I may have
more than one.

Looking at this method:

http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/core/ext/typeinfo/JField.html#getAnnotation(java.lang.Class)

I can get a reference to annotation providing that I know what type
I'm looking for, but it may not be convenient to assume I know which
class(es) of annotation(s) to retrieve within my generator, especially
since annotations can't inherit from each other.

Thanks,

-Dave

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Host pages - patterns

2008-10-31 Thread Alex Reid

Hi,

I was wondering what approaches people took with regard to host pages.

Is it better to let GWT manage the whole page, perhaps with a single
root DeckPanel ... OR is it more flexible to setup the majority of the
application layout using standard HTML/CSS, slotting Widgets instances
into these divs later on?

I can see merit in both approaches.

Alex

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



[ANN] Restlet 1.1 released with improved Restlet-GWT module

2008-10-31 Thread Jerome Louvel

Hi all,

We've just released Restlet 1.1.0 including our stabilized Restlet-GWT
module. See full announce here: 
http://blog.noelios.com/2008/10/28/restlet-110-released/

We have ported our client-side API to GWT 1.5 to provide a RESTful
alternative to GWT-RPC:
http://blog.noelios.com/2008/07/25/restlet-ported-to-gwt/

Thanks all for the initial feed-back. We have made improvements since
the initial release to support authentication (Basic and Digest) as
well as fixing all JavaScript compilation issues. See our complete
documentation here:
http://wiki.restlet.org/docs_1.1/13-restlet/144-restlet.html

The Javadocs are here:
http://www.restlet.org/documentation/1.1/gwt/index.html?org/restlet/gwt/package-summary.html

Best regards,
Jérôme Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Pagination Widget?

2008-10-31 Thread Isaac Truett

Yes, I've used the original version in several places in one project
and I plan on using the gen2 incarnation in another project. I highly
recommend PagingScrollTable.

On Fri, Oct 31, 2008 at 12:53 PM, Suri <[EMAIL PROTECTED]> wrote:
>
> Hi Issac,
> I had looked at that initially but got discouraged by the comments
> below on the page. Have you used it? Is it any good?
>
> Thanks
> Suri
>
> On Oct 31, 9:25 am, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
>> The GWT Incubator has a PagingScrollTable.
>>
>> http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScro...
>>
>> On Fri, Oct 31, 2008 at 9:22 AM, Suri <[EMAIL PROTECTED]> wrote:
>>
>> > Is there a widget available for pagination/sorting? Other than the ext
>> > code.
> >
>

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Pagination Widget?

2008-10-31 Thread Suri

Hi Issac,
I had looked at that initially but got discouraged by the comments
below on the page. Have you used it? Is it any good?

Thanks
Suri

On Oct 31, 9:25 am, "Isaac Truett" <[EMAIL PROTECTED]> wrote:
> The GWT Incubator has a PagingScrollTable.
>
> http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScro...
>
> On Fri, Oct 31, 2008 at 9:22 AM, Suri <[EMAIL PROTECTED]> wrote:
>
> > Is there a widget available for pagination/sorting? Other than the ext
> > code.
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: RPC error with Map

2008-10-31 Thread Ian Petersen

On Fri, Oct 31, 2008 at 10:46 AM, WebDude <[EMAIL PROTECTED]> wrote:
> Out of curiosity more than anything, I would like to understand why
> this error occurs.  I've read issue 2862 (http://code.google.com/p/
> google-web-toolkit/issues/detail?id=2862), but I don't quite follow.
>
> How come all of the other maps go through fine.  String by themselves
> go through.  Collections of Strings go through.  Why doesn't a Map
> with Strings as the values go through?  I don't even have to put
> anything into the map.

This is a compiler warning we're talking about, right?  If so, then
the compiler is raising the warning not because of anything you're
doing but because it has found a Map implementation with a final field
(in this case it's the implementation with a field named  "keys" of
type 
com.google.gwt.i18n.client.impl.ConstantMap.OrderedConstantSet).
 This is probably a bug in GWT, not something wrong with your code.
You could probably get rid of the warning if you changed your type
definition to use HashMap instead of Map but that has the obvious downside of restricting you to
HashMaps.

Ian

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: RPC error with Map

2008-10-31 Thread WebDude

Sounds like famous last words to me.  :)

things are working for me, despite the warning.  I have the following
suppress line in my gwt.xml file.


Out of curiosity more than anything, I would like to understand why
this error occurs.  I've read issue 2862 (http://code.google.com/p/
google-web-toolkit/issues/detail?id=2862), but I don't quite follow.

How come all of the other maps go through fine.  String by themselves
go through.  Collections of Strings go through.  Why doesn't a Map
with Strings as the values go through?  I don't even have to put
anything into the map.

Thanks


On Oct 31, 5:06 am, walden <[EMAIL PROTECTED]> wrote:
> WebDude,
>
> It's only a warning.  It will not prevent your application from
> running correctly, as far as I can tell so far.
>
> Walden
>
> On Oct 31, 8:04 am, walden <[EMAIL PROTECTED]> wrote:
>
> > Ian,
>
> > I'm confused by your statement "coming from server-side code".  That's
> > a compile warning against a serializable (shared) class.  I have a
> > similar artifact in my project right now.  It happens to be caused by
> > a defined type X that extends HashMap.  It seems as if
> > the compiler is inspecting the OrderedConstantSet, something never
> > referenced in the application, only because it is also a
> > Map.  I would like to understand if this is necessary
> > or a bug in the compiler.
>
> > Thanks,
>
> > Walden
>
> > On Oct 31, 7:10 am, "Ian Petersen" <[EMAIL PROTECTED]> wrote:
>
> > > On Thu, Oct 30, 2008 at 4:38 PM, WebDude <[EMAIL PROTECTED]> wrote:
> > > > If I leave out the "stringMap" member, I do not get the warning.  Is
> > > > this a warning I need to worry about?
>
> > > The warning is coming from your server-side code, not the definition
> > > of your transfer object.  Can you show us what you're sending back to
> > > the client?  What kind of instance are you putting in stringMap?
>
> > > Ian- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



gchart pop-up on data point

2008-10-31 Thread Ginny

Is there a way to implement a pop-up on a data point in gchart? I'm
using tick widgets now to enable pop-ups on the x-axis, but I'd really
like to have this capability on a per-data-point basis.
Ginny
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: RPC error with Map

2008-10-31 Thread Ian Petersen

On Fri, Oct 31, 2008 at 8:04 AM, walden <[EMAIL PROTECTED]> wrote:
> I'm confused by your statement "coming from server-side code".  That's
> a compile warning against a serializable (shared) class.  I have a
> similar artifact in my project right now.  It happens to be caused by
> a defined type X that extends HashMap.  It seems as if
> the compiler is inspecting the OrderedConstantSet, something never
> referenced in the application, only because it is also a
> Map.  I would like to understand if this is necessary
> or a bug in the compiler.

You're right--I shouldn't answer questions on this list before my
morning coffee.  :(  I misinterpreted the warning as one of those
error messages you get when you fill field whose compile-time type is
an interface with a concrete type that's not serializable, and then
send it to the client.

WebDude, ignore my previous post--Walden is completely right here.

Ian

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Pagination Widget?

2008-10-31 Thread Isaac Truett

The GWT Incubator has a PagingScrollTable.

http://code.google.com/p/google-web-toolkit-incubator/wiki/PagingScrollTable



On Fri, Oct 31, 2008 at 9:22 AM, Suri <[EMAIL PROTECTED]> wrote:
>
> Is there a widget available for pagination/sorting? Other than the ext
> code.
>
>
>
> >
>

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Pagination Widget?

2008-10-31 Thread Suri

Is there a widget available for pagination/sorting? Other than the ext
code.



--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: split pane display issues-firefox

2008-10-31 Thread walden

Fear not, help is on the way.  Time to fire up FireBug.  The fact that
it works in IE means the DOM has probably been built correctly.  Most
likely it is some styling issue, which you can diagnose by inspecting
the elements that are not showing in FireBug.  Learning to use FireBug
(or another inspector) is like learning to use the Java debugger.
Don't put it off.

Walden

On Oct 31, 2:19 am, Syed Shahul <[EMAIL PROTECTED]> wrote:
> hi all,
>
> iam using horizantal split pane to display widgets like stake
> pane(with some widgets) and other widgets on the right pane.
> it works well in IE but not displayed in Mozilla Firefox!.
>
> kindly help me regards
>
> Thanking you in anticipation,
>
> Syed Shahul
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Clearing Browser cache for upadated deployments

2008-10-31 Thread walden

This is how it *should* work, out of the box.  Do you have a specific
counterexample?

On Oct 30, 10:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Basically I would like to know how to support the case where we would
> like to deploy an updated application and want changes to be reflected
> on the browsers without the user needing to manually clear their
> cache. If there isnt a gwt solution, is there an apache or tomcat
> solution for handling this?
>
> Thanks,
>
> Imran
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: can the gwt compiler compile files outside the module

2008-10-31 Thread walden

I think on a recent thread here someone asserted that you can use a
path like .  I hadn't though that
possible, but if it does work, it should be discouraged because of non-
portability.  (Who's to say that stuff outside the structure of your
module will be in the same relative location at all times?)  I think
Dobes has the right answer (above).  Either move it into your module,
or make it part of some other module that you inherit.

Walden

On Oct 31, 2:03 am, "Richard Corsale" <[EMAIL PROTECTED]>
wrote:
> Ive tried to do the same thing, it wont work though. I think it has someting
> to do with the serialization engine's analysis pd the package for .client at
> compile Time... but yeah not having to copy files with like.. Constants in
> them to the client and server would be nice :)
>
>
>
> On Thu, Oct 30, 2008 at 9:50 PM, AB <[EMAIL PROTECTED]> wrote:
>
> > I have a module and tried to include a .java file that is on the gwt
> > compile cp but not in the module (ie, not under
> > com.mycompany.mymodule.client). I reference the class in my module.
> > The compiler cannot find the .java file. Is the only way to include it
> > by building another module and including that module?  I am trying to
> > create a bunch of shared utilities classes.  Any help is
> > appreciated.- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: RPC error with Map

2008-10-31 Thread walden

WebDude,

It's only a warning.  It will not prevent your application from
running correctly, as far as I can tell so far.

Walden

On Oct 31, 8:04 am, walden <[EMAIL PROTECTED]> wrote:
> Ian,
>
> I'm confused by your statement "coming from server-side code".  That's
> a compile warning against a serializable (shared) class.  I have a
> similar artifact in my project right now.  It happens to be caused by
> a defined type X that extends HashMap.  It seems as if
> the compiler is inspecting the OrderedConstantSet, something never
> referenced in the application, only because it is also a
> Map.  I would like to understand if this is necessary
> or a bug in the compiler.
>
> Thanks,
>
> Walden
>
> On Oct 31, 7:10 am, "Ian Petersen" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Thu, Oct 30, 2008 at 4:38 PM, WebDude <[EMAIL PROTECTED]> wrote:
> > > If I leave out the "stringMap" member, I do not get the warning.  Is
> > > this a warning I need to worry about?
>
> > The warning is coming from your server-side code, not the definition
> > of your transfer object.  Can you show us what you're sending back to
> > the client?  What kind of instance are you putting in stringMap?
>
> > Ian- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: RPC error with Map

2008-10-31 Thread walden

Ian,

I'm confused by your statement "coming from server-side code".  That's
a compile warning against a serializable (shared) class.  I have a
similar artifact in my project right now.  It happens to be caused by
a defined type X that extends HashMap.  It seems as if
the compiler is inspecting the OrderedConstantSet, something never
referenced in the application, only because it is also a
Map.  I would like to understand if this is necessary
or a bug in the compiler.

Thanks,

Walden

On Oct 31, 7:10 am, "Ian Petersen" <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 30, 2008 at 4:38 PM, WebDude <[EMAIL PROTECTED]> wrote:
> > If I leave out the "stringMap" member, I do not get the warning.  Is
> > this a warning I need to worry about?
>
> The warning is coming from your server-side code, not the definition
> of your transfer object.  Can you show us what you're sending back to
> the client?  What kind of instance are you putting in stringMap?
>
> Ian
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: RPC error with Map

2008-10-31 Thread Ian Petersen

On Thu, Oct 30, 2008 at 4:38 PM, WebDude <[EMAIL PROTECTED]> wrote:
> If I leave out the "stringMap" member, I do not get the warning.  Is
> this a warning I need to worry about?

The warning is coming from your server-side code, not the definition
of your transfer object.  Can you show us what you're sending back to
the client?  What kind of instance are you putting in stringMap?

Ian

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Scrollbar not Showing

2008-10-31 Thread Arji

Hi everyone,

I already looked at the forums and searched the net.  No luck.

I have a GridPanel (GP) inside a Panel (P).
Panel P is added inside a FormPanel (FP).
Another Panel (AP) is added inside the FormPanel FP.
Everyone has a layout of FitLayout.
Everyone has the setAutoScroll(true) except FormPanel.

I want to have a scrollbar only for Panel P so that the whole very
long GridPanel GP will be shown.
The scrollbar only shows if you set the AutoScroll to true for
FormPanel, but what will happen is, it will scroll the whole Panel P
and Another Panel AP.  I only want to have Panel P the scrollbar, not
the whole form. Is this possible?

Thanks so much in advance.



--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.Ext.StatusBar' is null or not an object

2008-10-31 Thread Lothar Kimmeringer

Hi Manish,

due to different timezones I can only answer now.

Manish Kumar schrieb:

> I got the mistake(was given for ext-all.js) and resolved.Thanks Lother for 
> much needed help.

Good to hear. In case you haven't done already, you should
also copy all other resources, like the CSS-files to the
public-folder, otherwise your widget might look ugly ;-)


Regards, Lothar

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.Ext.StatusBar' is null or not an object

2008-10-31 Thread Manish Kumar

Hi all,

I got the mistake(wrong path was given for ext-all.js) and resolved.Thanks 
Lother for
much needed help.

Thanks & Regards
Manish

- Original Message - 
From: "Manish Kumar" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 31, 2008 2:11 PM
Subject: Re: com.google.gwt.core.client.JavaScriptException: (TypeError): 
'$wnd.Ext.StatusBar' is null or not an object


>
> Hi all,
>
> I got the mistake(was given for ext-all.js) and resolved.Thanks Lother for
> much needed help.
>
> Thanks & Regards
> Manish
> - Original Message - 
> From: "Manish Kumar" <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, October 31, 2008 10:24 AM
> Subject: Re: com.google.gwt.core.client.JavaScriptException: (TypeError):
> '$wnd.Ext.StatusBar' is null or not an object
>
>
>>
>> Hi Lother,
>>
>> Can you please elaborate this "You have only installed the 
>> Wrapper-Classes
>> around ext, but not ext itself.
>> Since I have put everything in classpath including ext jar. Though, I 
>> have
>> not done anyting with ext2.0.2.Can you please let me know to put this in
>> path.
>>
>> Thanks & Regards
>> Manish
>>
>> - Original Message - 
>> From: "Lothar Kimmeringer" <[EMAIL PROTECTED]>
>> To: 
>> Sent: Thursday, October 30, 2008 9:31 PM
>> Subject: Re: com.google.gwt.core.client.JavaScriptException: (TypeError):
>> '$wnd.Ext.StatusBar' is null or not an object
>>
>>
>>>
>>> Manish Kumar schrieb:
>>>
 com.google.gwt.core.client.JavaScriptException: (TypeError):
 '$wnd.Ext.StatusBar' is null or not an object
>>>
>>> You have only installed the Wrapper-Classes around ext, but
>>> not ext itself.
>>>
>>>
>>> Regards, Lothar
>>>
>>> >
>>
>>
>> >
>
>
> > 


--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.Ext.StatusBar' is null or not an object

2008-10-31 Thread Manish Kumar

Hi all,

I got the mistake(was given for ext-all.js) and resolved.Thanks Lother for 
much needed help.

Thanks & Regards
Manish
- Original Message - 
From: "Manish Kumar" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 31, 2008 10:24 AM
Subject: Re: com.google.gwt.core.client.JavaScriptException: (TypeError): 
'$wnd.Ext.StatusBar' is null or not an object


>
> Hi Lother,
>
> Can you please elaborate this "You have only installed the Wrapper-Classes
> around ext, but not ext itself.
> Since I have put everything in classpath including ext jar. Though, I have
> not done anyting with ext2.0.2.Can you please let me know to put this in
> path.
>
> Thanks & Regards
> Manish
>
> - Original Message - 
> From: "Lothar Kimmeringer" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, October 30, 2008 9:31 PM
> Subject: Re: com.google.gwt.core.client.JavaScriptException: (TypeError):
> '$wnd.Ext.StatusBar' is null or not an object
>
>
>>
>> Manish Kumar schrieb:
>>
>>> com.google.gwt.core.client.JavaScriptException: (TypeError):
>>> '$wnd.Ext.StatusBar' is null or not an object
>>
>> You have only installed the Wrapper-Classes around ext, but
>> not ext itself.
>>
>>
>> Regards, Lothar
>>
>> >
>
>
> > 


--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



How to block brower event ( ctrl +s , alt+ f .. etc )

2008-10-31 Thread jhpark

sorry I can't write english well..

I make editor like google doc.

google doc posibble ctrl+s..

but I can't..

I will try javascript.. but it's not work..



function processKey()
{
if( (( event.ctrlKey == true || event.altKey == true ) &&
(event.keyCode == 78 || event.keyCode == 82)) ||
(event.keyCode >= 65 && event.keyCode <= 90) || event.keyCode
== 8)
{
event.keyCode = 0;
event.cancelBubble = true;
event.returnValue = false;

}
}

document.onkeydown = processKey;



I don't know how to..

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Is there a widget/panel that mimics the zoom/scroll functions that are used in google maps?

2008-10-31 Thread Lukasz Kucharski

You can try this one:

http://gwtsandbox.com/?q=node/33

Or if  you want to scroll and zoom static tiled images you can try one
of maps implementations like Sasha maps or gwt openlaers but i doubt
this is a good way to do it.

Cheers mate!
lkc

2008/10/31 naterator <[EMAIL PROTECTED]>:
>
> Sorry to bump my own topic, but does anyone have any ideas?  Are there
> any widgets/libraries that would help me out with data like this?
>
> Thanks,
> ~N
>
> On Oct 8, 3:03 pm, naterator <[EMAIL PROTECTED]> wrote:
>> I'm looking to put together some pedigree building software, much like
>> that used at sites like geni.com andgenoom.com, and I'm wondering if
>> there is a gwt widget or extension that allows for the user to zoom
>> and scroll like you can in google maps.
>>
>> In this case, the content matter will be pedigree data, not maps, but
>> the same user controls seem to apply here.  Any suggestions?
>>
>> thanks,
>> ~N
> >
>



-- 
Pozdrawiam

Lukasz Kucharski
[EMAIL PROTECTED]

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---