Re: Cross window calls?

2010-01-16 Thread rjcarr
You'll almost certainly need to resort to javascript / JNI calls to do
something like this.

You can communicate between windows using javascript but I don't think
I've seen a way to communicate between GWT modules once they are
loaded (as that's what you'd need to do).

Have you considered using popup windows (lightweight) instead?

On Jan 14, 9:58 am, Djabi  wrote:
> Hi There, is there a way to do calls from one GWT window to another
> from same origin. For example I want to open new window from running
> GWT application and be able to send back some data (or call something)
> in the original window from the window I just opened. The XSS should
> not be an issue here as both windows load from the same site.
>
> Cheers!
> George
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: listener not working for text onclick

2010-01-16 Thread rjcarr
Since you mention columns and rows I'm going to assume you're using
some sort of HTMLTable.  Add a click handler to your table and once
you get the click event back pass it to the method
HTMLTable.getCellForEvent() to determine what was clicked.

On Jan 16, 5:23 am, gwt_dev  wrote:
> Hi,
> How do i call an listener when i click on html text. i want to show
> dailouge message when user click on specific column of any row.
> for ex i have 10 column and i want to show dialouge message box when
> click on selected column.
> it is working fine for button but not working with text.
> 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Styling TabLayoutPanel

2010-01-16 Thread ailinykh
Hello, everybody!
I try to style TabLayoutPanel.
I can apply style to panel itself:



.gwt-TabLayoutPanel  {
cursor: default;
background: #92c1f0;
}


and then


It works.
But I don't understand how to specify style for some inner element
(selected tab for example). Javadoc says about styles:
.gwt-TabLayoutPanel  the panel itself
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTabs  the tab bar element
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab  an individual tab

So, how to specify  ".gwt-TabLayoutPanel .gwt-TabLayoutPanelTabs" in
UiBinder?

Thank you,
  Andrey

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: ClientBundle and gwt-gadgets cause a problem

2010-01-16 Thread Eric Ayers
Would you mind filing this as an issue at
http://code.google.com/p/google-web-toolkit/issues
for the GWT team to look into?

In the meantime, I'd suggest simply renaming your client bundle.

Thanks,
-Eric.
On Fri, Jan 15, 2010 at 8:49 PM, Harai Akihiro  wrote:

> I am developing Wave Gadgets using GWT 2.0 and gwt-gadgets-1.0.3.
>
> I found a bug related to ClientBundle and Gadget.
> When I create a css file named "clientbundlebug.css" and import it
> with ClientBundle in a module named "clientbundlebug", their names
> seem to collide in the generated JavaScript and therefore nothing
> appears when embedded in a wave.
>
> Is this a bug?
>
> I created a sample project.
> http://dl.dropbox.com/u/293467/ClientBundleBug.lzh
>
> In this project, the css file is renamed to "clientbundlebuga.css".
> Please confirm first that the gadget works if their names are
> different.
> And then rename the file and "clientbundlebuga()" in MyResource.java
> and observe the change of its behavior.
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>


-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA
-- 

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-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: MVP Article... Source Code?

2010-01-16 Thread ojay
Hi,

i agree with Julien  it would be interesting how his case would be
handled. Does somebody has an idea?

Hope somebody will response to this topic

On 10 Jan., 14:30, Juju  wrote:
> Hello,
>
> There is one thing that I don't understand very well. I'm building an
> application with multiple services (imagine something like
> contactService, teamService, etc). Is there multiple AppController? In
> yourexample, the AppController is link with one service (the
> ContactService). It's a little dark for me.
>
> Thanks,
>
> Julien
>
> On 3 jan, 20:48, Flemming Boller  wrote:
>
> > Hi Chris
>
> > Thanks for you input around the dividing of presenters and views in bigger
> > apps like Gmail.
>
> > Do you have any brief input on how  runAsync andMVPplay together?
>
> > /Flemming
>
> > On Sun, Jan 3, 2010 at 8:36 PM, Chris Ramsdale  wrote:
> > > Yaakov,
>
> > > Having multiple presenters driving a single view would be a bit strange.
> > > Typically want to the presenter to define the display interface that the
> > > view will implement. Having multiple presenters drive a single view means
> > > that either a) the display interface is defined in some parent presenter
> > > class, or b) one of the presenters is responsible for defining the display
> > > interface. Either way, it decouples the presenter->display relationship 
> > > that
> > > is inherent to theMVParchitecture.
>
> > > For applications with large UI frontends, you could consider breaking the
> > > UI up into smaller presenter/view pairs that are managed by some 
> > > controller
> > > class. Take forexampleGmail; the folder list would be one presenter with
> > > an associated view, the inbox list another, the Google Talk interface
> > > another, and so on. All of these would then be managed by some
> > > MainViewController class.
>
> > > Keeping widget-based code out of the presenter for ease of testing is
> > > golden. Beyond that it's really a question how much code you want to
> > > maintain within a single presenter and view.
>
> > > On Sun, Jan 3, 2010 at 9:20 AM, Yaakov Chaikin 
> > > wrote:
>
> > >> Chris, or anyone else with experience onMVPin GWT...
>
> > >> Practically, do you always have 1 view as the user sees it, i.e., the
> > >> whole GUI, or if your GUI has many components (as most GUIs do), do
> > >> you have multiple views, and most importantly, multiple presenters,
> > >> presenting 1 coherent view to the user? In yourexample, this would be
> > >> similar to splitting the GUI into a view that has the buttons and the
> > >> GUI that has the list.
>
> > >> How would that be handled inMVP?
>
> > >> Thanks,
> > >> Yaakov.
>
> > >> On Wed, Dec 30, 2009 at 2:43 PM, Chris Ramsdale 
> > >> wrote:
> > >> > While I see that someone has already found it, I just wanted to let
> > >> everyone
> > >> > know that it's officially there.
>
> > >>http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architectur...
>
> > >> > We're looking to put together parts 2 and 3 shortly. So far I have UI
> > >> Binder
> > >> > and Code Splitting integration as topics of interest. Let us know what
> > >> else
> > >> > would be of help.
> > >> > - Chris
>
> > >> > On Tue, Dec 29, 2009 at 1:00 PM, jpnet  wrote:
>
> > >> >> I really like this article:
>
> > >>http://code.google.com/webtoolkit/doc/latest/tutorial/mvp-architectur...
>
> > >> >> However, it's almost useless without the entire source package. Are
> > >> >> there any plans to post the source code?
>
> > >> >> Thanks,
>
> > >> >> JP
>
> > >> >> --
>
> > >> >> 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-tool...@googlegroups.com.
> > >> >> To unsubscribe from this group, send email to> >> 
> > >> >> >>google-web-toolkit+unsubscr...@googlegroups.com
> > >> .
> > >> >> For more options, visit this group at
> > >> >>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > >> > --
>
> > >> > 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-tool...@googlegroups.com.
> > >> > To unsubscribe from this group, send email to> >> 
> > >> > >google-web-toolkit+unsubscr...@googlegroups.com
> > >> .
> > >> > For more options, visit this group at
> > >> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > >> --
>
> > >> You received this message because you are subscribed to the Google Groups
> > >> "Google Web Toolkit" group.> >> To post to this group, send email 
> > >> togoogle-web-tool...@googlegroups.com.
> > >> To unsubscribe from this group, send email to> 
> > >> >>google-web-toolkit+unsubscr...@googlegroups.com
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > >  --
> > > You received this message because you are subscribed to the Googl

BUG(chrome): TextBox inside FocusPanel can't be clicked

2010-01-16 Thread Sky
The following is a bug that only occurs in Chrome and therefore may be
a Chrome bug and not a GWT bug.

If I create a FocusPanel and place a TextBox inside it, it takes
several (more than 4) mouse clicks on the TextBox to give focus to the
TextBox so you can start typing. This problem does not exist in IE nor
FF.

This is easily reproducible. I created a new blank project and simply
put a TextBox inside a FocusPanel.

I want to find a workaround. If anyone can help me find one, that
would be great!

I currently do not know what is causing the problem, but I am curious
as to the existence of the  that is created as the
first inner child of all FocusPanel divs. I do not understand why that
is necessary. Any DIV can have the key events, mouse events and focus
events added to them, so why is that invisible input needed?

I am thinking of writing my own version of the FocusPanel, but I'm not
going to do that right away.

GWT 2.0
App Engine 1.3
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




How to get GWT app working on mobile browser (Android)

2010-01-16 Thread Jaap
Hi,

I've written a book price comparison site in GWT http://www.cheapriver.com
it works fine in browsers on a PC but on my Android phone (Nexus One)
the javascript does not seem to work.

How can I make it work on a mobile browser?

Thanks

Jaap
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




How to mix UIBinding and in code style changing

2010-01-16 Thread PKolenic
I have an application where I need to change dependant styles at run
time.
I want to use UIBinding as it easily helps layout the screen, however
I am seeing a flaw.

The CSS is converted into scoped names, but when you use
addStyleDependantName("name")
the applied class is not correct.

Example

CSS:

.ImagePanel {
width: 125px;
}

.imagePanel-small {
   height: 125px;
}

.ImagePanel-large {
height: 250px;
}
At run time becomes:

.GzkfmseIB{width:125px;}
.GzkfmseKB{height:125px;}
.GzkfmseJB{height:250px;}

The problem shows when you add a style Dependant name (or any java
code to set style):

myImagePanel.addStyleDependantName("large");

When you look at the resulting class name in FireBug the Classes are
as follow



Which means that the ImagePanel-large style does not get applied.

The correct classes for the div should be:



===
Has anyone found a work around to this?  Or am I missing a simple
setting?
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Swing App on browser

2010-01-16 Thread Paul Grenyer
If anyone needs a head start: http://www.paulgrenyer.net/Java_Web_Start.pdf

On Sat, Jan 16, 2010 at 5:59 PM, Trevis  wrote:
> 2nd vote for webstart. Webstart is the answer.
>
> GWT would make for an easier conversion path for a swing developer to
> web development but i think that you have to have a pretty solid grasp
> on the fundamentals (limitations and techniques) of web development to
> produce effectively in GWT.  There'd be no way to do a straight
> conversion of a non trivial application.
>
> On Jan 16, 11:47 am, "Paul Grenyer"  wrote:
>> Why not just use webstart?
>>
>> -Original Message-
>> From: Alexander 
>> Date: Sat, 16 Jan 2010 23:37:32
>> To: 
>> Subject: Re: Swing App on browser
>>
>> No way!!!
>>
>> 2010/1/16 Jiss K 
>>
>> > Hi,
>>
>> > I have a complete Swing application and am looking for an easy way to
>> > bring it on to web so that anyone can open and run the application
>> > through a browser.
>>
>> > Does GWT has the functionality to convert the existing Swing app to
>> > web app or do i have to start from scratch?
>>
>> > - Jiss
>>
>> > --
>> > 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-tool...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > google-web-toolkit+unsubscr...@googlegroups.com
>> > .
>> > For more options, visit this group at
>> >http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>> --
>> Regards,
>> Alexander
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>



-- 
Thanks
Paul

Paul Grenyer
e: paul.gren...@gmail.com
b: paulgrenyer.blogspot.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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Swing App on browser

2010-01-16 Thread Trevis
2nd vote for webstart. Webstart is the answer.

GWT would make for an easier conversion path for a swing developer to
web development but i think that you have to have a pretty solid grasp
on the fundamentals (limitations and techniques) of web development to
produce effectively in GWT.  There'd be no way to do a straight
conversion of a non trivial application.

On Jan 16, 11:47 am, "Paul Grenyer"  wrote:
> Why not just use webstart?
>
> -Original Message-
> From: Alexander 
> Date: Sat, 16 Jan 2010 23:37:32
> To: 
> Subject: Re: Swing App on browser
>
> No way!!!
>
> 2010/1/16 Jiss K 
>
> > Hi,
>
> > I have a complete Swing application and am looking for an easy way to
> > bring it on to web so that anyone can open and run the application
> > through a browser.
>
> > Does GWT has the functionality to convert the existing Swing app to
> > web app or do i have to start from scratch?
>
> > - Jiss
>
> > --
> > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Regards,
> Alexander
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Swing App on browser

2010-01-16 Thread Paul Grenyer
Why not just use webstart?
-Original Message-
From: Alexander 
Date: Sat, 16 Jan 2010 23:37:32 
To: 
Subject: Re: Swing App on browser

No way!!!

2010/1/16 Jiss K 

> Hi,
>
> I have a complete Swing application and am looking for an easy way to
> bring it on to web so that anyone can open and run the application
> through a browser.
>
> Does GWT has the functionality to convert the existing Swing app to
> web app or do i have to start from scratch?
>
> - Jiss
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>


-- 
Regards,
Alexander

-- 

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-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Swing App on browser

2010-01-16 Thread Alexander
No way!!!

2010/1/16 Jiss K 

> Hi,
>
> I have a complete Swing application and am looking for an easy way to
> bring it on to web so that anyone can open and run the application
> through a browser.
>
> Does GWT has the functionality to convert the existing Swing app to
> web app or do i have to start from scratch?
>
> - Jiss
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>


-- 
Regards,
Alexander
-- 

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-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: PNG Transparency in Internet Explorer

2010-01-16 Thread mistr
IE PNG may be a non-issue for most, but I've seen companies even today
that need to support IE6.

For what it's worth, here are 2 approaches (links) to fixing IE PNG
issues that someone may find useful:

http://www.twinhelix.com/css/iepngfix/
http://code.google.com/p/ie7-js/



On Jan 16, 5:22 am, Francisco Bischoff 
wrote:
> Hi, I believe its limited to IE6...
>
> Nevermind, its an old problem for an old browser :)
>
> --
> Francisco Bischoffhttp://www.cirurgiaplastica.pro.br
>
> "O mate está para o gaúcho como o chá para os ingleses, a coca para os
> bolivianos, o uísque para os escoceses e o café... para os brasileiros"
> -- Eduardo Bueno
>
>
>
> On Sat, Jan 16, 2010 at 12:55 AM, Jim Douglas  wrote:
> > That KB article seems to imply that the problem is limited to IE6, is
> > that right?
>
> > "APPLIES TO: Microsoft Internet Explorer 6.0"
>
> > Would upgrading to IE8 eliminate the problem, or is this also an issue
> > in IE7/IE8?
>
> > On Jan 15, 4:46 pm, Francisco Bischoff 
> > wrote:
> > > Hello,
>
> > > Does anyone got to solve the IE incompatibility for PNG transparency
> > using
> > > GWT?
>
> > > Here is the workaround by microsoft, but would be good to have GWT doing
> > it
> > > for us...http://support.microsoft.com/kb/294714
>
> > > BTW, any other formar besides PNG (not GIF please) that could do de job?
>
> > > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com > cr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




"pre" tags wrapping json response during image upload

2010-01-16 Thread Trevis
Ok so, i noticed when i return json from a servlet that i'm using to
handle image uploads that the reply was wrapped in a  tag, i put
in code to scrape it off and all seemed fine, till i tested in ie8.
In that browser the pre tag was upper case! so i fixed that.  Today i
decide to test in chrome and in that browser it's wrapped in this  what gives??!
Am i doing something wrong that is causing it to do this?  I'm worried
now that i'll have to check in every browser just to see what this
thing does.


-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Swing App on browser

2010-01-16 Thread mariyan nenchev
no

On Sat, Jan 16, 2010 at 12:20 AM, Jiss K  wrote:

> Hi,
>
> I have a complete Swing application and am looking for an easy way to
> bring it on to web so that anyone can open and run the application
> through a browser.
>
> Does GWT has the functionality to convert the existing Swing app to
> web app or do i have to start from scratch?
>
> - Jiss
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

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-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: New GWT2.0 Layout Panels, no style ?

2010-01-16 Thread Max
bump!

I have the same problem too!

On 2009年12月14日, 上午7時34分, christoph widulle
 wrote:
> Hi,
>
> i'm trying out the new GWT2.0 Layout Panels
> (DockLayoutPanel,SplitLayoutPanel,...).
> But there is no default style as you can see in the demo screenshots?
> Do I miss something ?
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Internal Error for Permutation 1

2010-01-16 Thread Niclas Hedhman
Found the problem. My code contained a mistaken "\b" literal (instead of \n).

Shouldn't crash the compiler though...

On Sat, Jan 16, 2010 at 8:20 PM, Niclas Hedhman  wrote:
>
> Hi,
>
> I suddenly get InternalError in my project. A bit too much changes
> happened from the working version to the current one. Hope the stack
> trace can provide information.
>
> [INFO]    Compiling 6 permutations
> [INFO]       Compiling permutation 0...
> [INFO]       Process output
> [INFO]          Compiling permutation 1...
> [INFO]       [ERROR] An internal compiler exception occurred
> [INFO] com.google.gwt.dev.jjs.InternalCompilerException: Error reading
> compile report information that was just generated
> [INFO]  at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.makeSoycArtifact
> (JavaToJavaScriptCompiler.java:1001)
> [INFO]  at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation
> (JavaToJavaScriptCompiler.java:361)
> [INFO]  at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation
> (UnifiedAst.java:128)
> [INFO]  at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:
> 187)
> [INFO]  at com.google.gwt.dev.ThreadedPermutationWorkerFactory
> $ThreadedPermutationWorker.compile
> (ThreadedPermutationWorkerFactory.java:49)
> [INFO]  at com.google.gwt.dev.PermutationWorkerFactory$Manager
> $WorkerThread.run(PermutationWorkerFactory.java:70)
> [INFO]  at java.lang.Thread.run(Thread.java:637)
> [INFO] Caused by: org.xml.sax.SAXParseException: An invalid XML
> character (Unicode: 0x{2}) was found in the value of attribute "{1}"
> and element is "8".
> [INFO]  at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException
> (ErrorHandlerWrapper.java:195)
> [INFO]  at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError
> (ErrorHandlerWrapper.java:174)
> [INFO]  at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError
> (XMLErrorReporter.java:388)
> [INFO]  at
> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError
> (XMLScanner.java:1414)
> [INFO]  at
> com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue
> (XMLScanner.java:967)
> [INFO]  at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute
> (XMLNSDocumentScannerImpl.java:460)
> [INFO]  at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
> (XMLNSDocumentScannerImpl.java:277)
> [INFO]  at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
> $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
> [INFO]  at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
> (XMLDocumentScannerImpl.java:648)
> [INFO]  at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
> (XMLNSDocumentScannerImpl.java:140)
> [INFO]  at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
> (XMLDocumentFragmentScannerImpl.java:510)
> [INFO]  at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> (XML11Configuration.java:807)
> [INFO]  at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
> (XML11Configuration.java:737)
> [INFO]  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
> (XMLParser.java:107)
> [INFO]  at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
> (AbstractSAXParser.java:1205)
> [INFO]  at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
> $JAXPSAXParser.parse(SAXParserImpl.java:522)
> [INFO]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
> [INFO]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
> [INFO]  at com.google.gwt.soyc.SoycDashboard.readSizeMaps
> (SoycDashboard.java:347)
> [INFO]  at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.makeSoycArtifact
> (JavaToJavaScriptCompiler.java:991)
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>



-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: ERROR: transport error 202: connect failed: Connection refused

2010-01-16 Thread srcn
I got caught by this too.  you'd think that such an important change
would be given a more prominent announcement

On Dec 28 2009, 11:46 pm, Jeff Chimene  wrote:
> I just upgraded my Debian/testing today & dev mode stopped working. The
> symptom is the fairly spectacular:
>
>     ERROR: transport error 202: connect failed: Connection refused
>     ERROR: JDWP Transport dt_socket failed to initialize,
>     TRANSPORT_INIT(510)
>     JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports
>     initialized [../../../src/share/back/debugInit.c:690]
>     FATAL ERROR in native method: JDWP No transports initialized,
>     jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
>
> I found the reason/fix on this 
> post:http://www.eclipse.org/forums/index.php?t=msg&goto=505058&#msg_505058
>
>     The problem was caused by a pretty unbelievable thing introduced in
>     debian. Found out that java was no longer able to do any sort of
>     network connections anymore. Even connections to localhost failed...
>
>     Someone decided to introduce a ipv6-only switch in netbase via
>     /etc/sysctl.d/bindv6only.conf. While this may or may not be a
>     usefull default behaviour for the general the result is that java is
>     no longer able to do networking at all.
>
>     So to solve it you have to edit /etc/sysctl.d/bindv6only.conf and
>     change the value of net.ipv6.bindv6only from "1" to "0". Then do a
>     "sudo invoke-rc.d procps restart". After that, java has networking
>     again.
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Unable to view local files

2010-01-16 Thread abba
curious able changes to gwt.  It seems I was able to place a frame in
a window and pass a local file to it.  The file would display
properly.  Since updating to GWT 2.0 the images/documents will no
longer display.  Wondering if this is a security change or if I'm
doing something wrong.  Any help is welcome.
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Swing App on browser

2010-01-16 Thread Jiss K
Hi,

I have a complete Swing application and am looking for an easy way to
bring it on to web so that anyone can open and run the application
through a browser.

Does GWT has the functionality to convert the existing Swing app to
web app or do i have to start from scratch?

- Jiss
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Referencing deprecated class warning stack

2010-01-16 Thread Thoka
Did you get a respond for this issue?

Thanks,
Thobias

On 2 Jan, 19:54, leslie  wrote:
> Eclipse 3.5 Galileo Java EE Cocoa
> Java 1.5.0_13
> Mac OS X 10.5.7
> GWT 2.0
>
> Hello,
>
> I'm seeing a series of warning messages in my console when I attempt
> to compile my project.  Posted below:
>
> Scanning for additional dependencies: file:/Users/leslie/Documents/
> projects/myprojectfolder/galileoWorkspace/myproject/src/com/foo/
> projectgwt/controller/AddAddressListener.java
>       Adding '2' new generated units
>          Validating newly compiled units
>             [WARN] Warnings in 'generated://
> 27507DF474CDC042922DAFFEA239ABF3/com/foo/projectgwt/client/
> AddressService_TypeSerializer.java'
>                [WARN] Line 81: Referencing deprecated class
> 'com.google.gwt.user.client.ui.ChangeListenerCollection'
>                [WARN] Line 86: Referencing deprecated class
> 'com.google.gwt.user.client.ui.ClickListenerCollection'
>                [WARN] Line 91: Referencing deprecated class
> 'com.google.gwt.user.client.ui.FocusListenerCollection'
>                [WARN] Line 96: Referencing deprecated class
> 'com.google.gwt.user.client.ui.FormHandlerCollection'
>                [WARN] Line 101: Referencing deprecated class
> 'com.google.gwt.user.client.ui.KeyboardListenerCollection'
>                [WARN] Line 106: Referencing deprecated class
> 'com.google.gwt.user.client.ui.LoadListenerCollection'
>                [WARN] Line 111: Referencing deprecated class
> 'com.google.gwt.user.client.ui.MouseListenerCollection'
>                [WARN] Line 116: Referencing deprecated class
> 'com.google.gwt.user.client.ui.MouseWheelListenerCollection'
>                [WARN] Line 121: Referencing deprecated class
> 'com.google.gwt.user.client.ui.PopupListenerCollection'
>                [WARN] Line 126: Referencing deprecated class
> 'com.google.gwt.user.client.ui.ScrollListenerCollection'
>                [WARN] Line 131: Referencing deprecated class
> 'com.google.gwt.user.client.ui.TabListenerCollection'
>                [WARN] Line 136: Referencing deprecated class
> 'com.google.gwt.user.client.ui.TableListenerCollection'
>                [WARN] Line 141: Referencing deprecated class
> 'com.google.gwt.user.client.ui.TreeListenerCollection'
>                See snapshot: /tmp/
> AddressService_TypeSerializer49102.java
>
> I'm not referencing any of these classes in my code.  I've posted
> elsewhere in another related thread which involved the assignment of
> collections.   And in that case the discussion referred to the RPC
> calls returning objects of Collection types.  But in this class, that
> isn't happening.  This class, AddAddressListener, does not use or
> involve any types of collection classes.  And furthermore, I didn't
> notice any of these messages in my code until I made assignment
> changes in my GUI code, in classes which may use this listener.  (but
> then I tried to reverse these changes and yet still the issue remains
> - so now I have no idea..) But why is the warning message targeting
> this class?
>
> This is just part of the stack that appears in the console.  There are
> other classes referenced there too and the warnings are very similar,
> maybe identical.  I'm focusing on one for brevity.
>
> I guess my question is - What does this warning stack mean and how
> should I resolve it?
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




ClientBundle and gwt-gadgets cause a problem

2010-01-16 Thread Harai Akihiro
I am developing Wave Gadgets using GWT 2.0 and gwt-gadgets-1.0.3.

I found a bug related to ClientBundle and Gadget.
When I create a css file named "clientbundlebug.css" and import it
with ClientBundle in a module named "clientbundlebug", their names
seem to collide in the generated JavaScript and therefore nothing
appears when embedded in a wave.

Is this a bug?

I created a sample project.
http://dl.dropbox.com/u/293467/ClientBundleBug.lzh

In this project, the css file is renamed to "clientbundlebuga.css".
Please confirm first that the gadget works if their names are
different.
And then rename the file and "clientbundlebuga()" in MyResource.java
and observe the change of its behavior.
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: GWT Incubator Status Update and Schedule

2010-01-16 Thread 张扬
my dear,
  what's wrong?
  i dont know where am i 
  i received so much mail
 
 
 

Sincerely
Best Wishes
Mobile:1353434
Fax:0755-27374750
E-mail:acclan...@gmail.com
Add:深圳宝安区福永街道广深公路伏船岗工业区兴益福永工业城A1栋2D
深圳鑫运祥精密刀具有限公司
财务部  张扬
  - Original Message - 
  From: eneveu 
  To: Google Web Toolkit 
  Sent: Saturday, January 16, 2010 11:05 AM
  Subject: Re: GWT Incubator Status Update and Schedule


  I agree with everything you said about the incubator.
  I think having these widgets and components added to GWT (with an API
  lifting if necessary) is awesome.


  Regarding the logging API, the gwt-log project is also worth
  considering: http://code.google.com/p/gwt-log/

  Of course, if I had an existing application based on some of the
  incubator's widgets (such as one of the two PagingScrollTables), I
  might fear the API changes... A migration path would be a good idea in
  such a case :) (as well as a release of the gwt-incubator compatible
  with GWT 2.0, for those using the existing widgets).

  Keep up the good work, GWT is awesome.

  - Etienne



  On Jan 12, 7:05 pm, John LaBanca  wrote:
  > Incubator Users -
  >
  > The Google Web Toolkit Incubator project began as a proving grounds for new
  > widgets to be vetted before joining the ranks of the GWT trunk. We've seen
  > some success stories over the last year with EventHandlers, ClientBundle,
  > and DatePicker, but for many of the widgets and libraries, Incubator has
  > become an elephant graveyard.
  >
  > In order to address this issue, we will start graduating some of the
  > libraries to GWT trunk, move some into separate projects, and discontinue
  > development on others. Ultimately, we will wind down the incubator project
  > completely.
  >
  > The schedule below shows the fate of each subproject in incubator. It's a
  > tentative schedule, meaning that it could change as priorities shift.
  >
  > GWT 2.1
  >
  > - *PagingScrollTable and FastTree*
  > We are working on a new set of data backed widgets for GWT 2.1 that will
  > include APIs for trees and tables. We will build upon the lessons learned
  > with these incubator widgets, but the API for the new data backed widgets
  > will evolve significantly from the current APIs. When the data backed
  > widgets are added to GWT trunk, we will stop development on
  > the PagingScrollTable and FastTree.
  >
  > - *Locale Selection*
  > Selecting the locale on the server requires one less round trip to the
  > server on startup and is needed for effective use of
  > runtime locales selection. This library will be included in GWT 2.1.
  >
  > GWT 2.2
  >
  > - *CollapsiblePanel*
  > This widget will probably become a subclass of DockingLayoutPanel,
  > similar to SplitLayoutPanel.
  >
  > - *SliderBar and ProgressBar*
  > Both of these widgets currently require the use of a global timer, which
  > has performance implications. If we can implement these without a resize
  > timer, we will include them in GWT 2.2. If we cannot, we will discontinue
  > development on them.
  >
  > - *Logging*
  > The logging API may make it into GWT 2.1 if time permits.
  >
  > - *Form Validation*
  > We will take a closer look at the form validation API in GWT 2.2..
  >
  > Separate Project:
  >
  > - *SoundResource*
  > SoundResource is a promising API for including sound in an application,
  > but it makes sense to wait for HTML 5 features to become widely adopted
  > before including it. We would like to move SoundResource into the gwt-voices
  > project:http://code.google.com/p/gwt-voices/.
  >
  > - *Graphics*
  > The graphics library provides a single, platform independent API that
  > works on top of Canvas and VML. The library is not ready for GWT trunk, but
  > this project is worth pursuing.
  >
  > - *HtmlDecorators*
  > We will continue to work on this project to arbitrarily add decorations
  > to widgets.
  >
  > As always, please feel free to reply with comments or suggestions.
  >
  > Thanks,
  > John LaBanca
  > on behalf of the GWT team



--


  -- 
  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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



SuggestBox does not have an addClickHandler

2010-01-16 Thread Alexander
Hi there,

as stated at [1] and [2] it is easily possible to add different
handlers using the @UiHandler annotation for UiBinder based layouts.
Unfortunately I'm not able to add a click hander to a SuggestBox:

@UiField(provided = true)
SuggestBox mySearchBox;

@UiHandler("mySearchBox")
void handleClick(final ClickEvent e) {
this.mySearchBox.setValue("");
}

I receive the error message:

Field 'mySearchBox' does not have an 'addClickHandler' method
associated.

As stated at [3] this is true and I should use getTextBox() first. But
how can I use the @UiHandler annotation in this case?

BR, Alex

[1] 
http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Simple_binding
[2]
http://code.google.com/p/google-web-toolkit/source/browse/releases/2.0/user/test/com/google/gwt/uibinder/test/client/HandlerDemo.java?r=6557
[3] 
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/SuggestBox.html
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Problem with IE.

2010-01-16 Thread PS Neville
This may not be your issue, as usually there is an error available in
IE when it occurs, but it seems that IE ignores case when looking at
module name and div id, so if you have the default generated shell --
a module name and div root panel of the same name -- it won't fully
load in IE but will work fine in other browsers which pay closer
attention to case.

In other words, if your module is renamed to 'myapp' and the div in
your HTML shell has an id of 'myApp' and if you are using RootPanel.get
("myApp").add(..), then you probably need to change the name of the
div (div id="myAppContainer" for example, and then RootPanel.get
("myAppContainer").add(..) as well).

This is an issue which strikes many people starting out with GWT, and
I think the generated HTML template really ought to use a different
div id as a result, even though the problem is clearly IE's.

I hope this was your problem, as the fix is easy -- but if not, I feel
your pain.

Also, for reference: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=4003

psn

On Jan 7, 6:29 am, Jimmy Lee  wrote:
> I am playing with GWT 2.0 and it just works fine with Chrome and FF,
> but not withIE.
> I have tested it withIE7 and8.
>
> Strange thing is that both show no errors at all and say module is
> loaded.
> There is no problem to view its source code throughIE.
>
> It sounds very normal but nothing is displayed.
>
> Anyone knows why?
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Internal Error for Permutation 1

2010-01-16 Thread Niclas Hedhman

Hi,

I suddenly get InternalError in my project. A bit too much changes
happened from the working version to the current one. Hope the stack
trace can provide information.

[INFO]Compiling 6 permutations
[INFO]   Compiling permutation 0...
[INFO]   Process output
[INFO]  Compiling permutation 1...
[INFO]   [ERROR] An internal compiler exception occurred
[INFO] com.google.gwt.dev.jjs.InternalCompilerException: Error reading
compile report information that was just generated
[INFO]  at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.makeSoycArtifact
(JavaToJavaScriptCompiler.java:1001)
[INFO]  at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation
(JavaToJavaScriptCompiler.java:361)
[INFO]  at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation
(UnifiedAst.java:128)
[INFO]  at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:
187)
[INFO]  at com.google.gwt.dev.ThreadedPermutationWorkerFactory
$ThreadedPermutationWorker.compile
(ThreadedPermutationWorkerFactory.java:49)
[INFO]  at com.google.gwt.dev.PermutationWorkerFactory$Manager
$WorkerThread.run(PermutationWorkerFactory.java:70)
[INFO]  at java.lang.Thread.run(Thread.java:637)
[INFO] Caused by: org.xml.sax.SAXParseException: An invalid XML
character (Unicode: 0x{2}) was found in the value of attribute "{1}"
and element is "8".
[INFO]  at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException
(ErrorHandlerWrapper.java:195)
[INFO]  at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError
(ErrorHandlerWrapper.java:174)
[INFO]  at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:388)
[INFO]  at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError
(XMLScanner.java:1414)
[INFO]  at
com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue
(XMLScanner.java:967)
[INFO]  at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute
(XMLNSDocumentScannerImpl.java:460)
[INFO]  at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement
(XMLNSDocumentScannerImpl.java:277)
[INFO]  at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
[INFO]  at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next
(XMLDocumentScannerImpl.java:648)
[INFO]  at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:140)
[INFO]  at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:510)
[INFO]  at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:807)
[INFO]  at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:737)
[INFO]  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(XMLParser.java:107)
[INFO]  at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1205)
[INFO]  at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(SAXParserImpl.java:522)
[INFO]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
[INFO]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
[INFO]  at com.google.gwt.soyc.SoycDashboard.readSizeMaps
(SoycDashboard.java:347)
[INFO]  at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.makeSoycArtifact
(JavaToJavaScriptCompiler.java:991)
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Panel with mouse events

2010-01-16 Thread Pankaj Goyal
Hi,
How do i call an listener when i click on html text. i want to show
dailouge message when user click on specific column of any row.
for ex i have 10 column and i want to show dialouge message box when
click on selected column.
it is working fine for button but not working with text.
Thanks


Regards,
Pankaj Goyal
+91 96636 42808
www.linkedin.com/in/pankaj28




On Sat, Jan 16, 2010 at 5:07 PM, Abdullah Shaikh <
abdullah.shaik...@gmail.com> wrote:

> To support mouse events on panels you need to create a subclass of panel
> and implement mousehandlers.
>
> Example for mouse out :
>
> class MyPanel extends VerticalPanel implements MouseOutHandler,
> HasMouseOutHandlers
>
> Thanks,
> Abdullah
>
> On Fri, Jan 15, 2010 at 8:20 PM, Viliam Durina wrote:
>
>> I need a Panel, on which I need to add mouse events. The only match
>> seems to be the FocusPanel, which has a focus features which I don't
>> need. But all other panels, surprisingly for me, don't support mouse
>> events. Is there any specific reason for this or is it just an
>> incomplete API?
>>
>> Thanks,
>> Viliam
>>
>> --
>> 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-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>>
>>
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
-- 

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-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Eclipse plugin for GWT 1.7

2010-01-16 Thread Sandra Lo
Hi Keith,

I tried doing what you suggested, installing plugin without GWT 2.0,
then in preferences provided location for GWT 1.7.1.  When I run my
application, the hosted browser gave a runtime error:

Line: 226
Error: Permission denied.

On the hosted mode window there is a warning:
[WARN] Unknown module requested 'missingplugin'; all active GWT
modules must be specified in the command line arguments

Can you provide some pointers please?

Thanks,
-Sandra

On Jan 14, 11:58 am, Keith Platfoot  wrote:
> Hi Sanjay,
>
> Actually, the Eclipse plugin and GWT are on separate release cycles and do
> not have the same version number.  So, it is possible to use the latest
> Eclipse plugin (which is version 1.2) with any of the recent versions of GWT
> (2.0, 1.7, 1.6).  When you install from the update site, just be sure to
> uncheck the optional GWT 2.0 component if you don't want to use it.
>
> Hope this helps.  Let me know if I've misunderstood something.
>
> Keith
>
> On Thu, Jan 14, 2010 at 12:41 PM, Sanjay  wrote:
> > Hi Keith,
>
> > I am actually looking for eclipse plugin of 1.7 for some other reason.
> > With GWT 2.0 I see some issues while accessing through wireless
> > network or for that matter VPN from my home. It's extremely slow,
> > hence more then functionality I want to revert to make my development
> > faster. I always use browser from different PC (Win) and my
> > development in on Linux.
>
> > Thanks,
> > Sanjay
>
> > On Jan 13, 8:55 am, Keith Platfoot  wrote:
> > > Hi Sanjay,
>
> > > The latest version of the plugin (1.2) is still backwards-compatible with
> > > GWT 1.7.1.  You can find the update site URL on the plugin's Quick Start
> > > page:
>
> > >http://code.google.com/eclipse/docs/getting_started.html
>
> > > KeithOn Wed, Jan 13, 2010 at 2:15 AM, Sanjay 
> > wrote:
> > > > Is there a location where I can get the eclipse plugin for GWT 1.7. I
> > > > just happened to delete it from eclipse in the process of upgrading to
> > > > 2.0.
>
> > > > --
> > > > 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-tool...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-web-toolkit+unsubscr...@googlegroups.com
> > 
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> > --
> > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




listener not working for text onclick

2010-01-16 Thread gwt_dev
Hi,
How do i call an listener when i click on html text. i want to show
dailouge message when user click on specific column of any row.
for ex i have 10 column and i want to show dialouge message box when
click on selected column.
it is working fine for button but not working with text.
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: PNG Transparency in Internet Explorer

2010-01-16 Thread Francisco Bischoff
Hi, I believe its limited to IE6...

Nevermind, its an old problem for an old browser :)

--
Francisco Bischoff
http://www.cirurgiaplastica.pro.br

"O mate está para o gaúcho como o chá para os ingleses, a coca para os
bolivianos, o uísque para os escoceses e o café... para os brasileiros"
-- Eduardo Bueno


On Sat, Jan 16, 2010 at 12:55 AM, Jim Douglas  wrote:

> That KB article seems to imply that the problem is limited to IE6, is
> that right?
>
> "APPLIES TO: Microsoft Internet Explorer 6.0"
>
> Would upgrading to IE8 eliminate the problem, or is this also an issue
> in IE7/IE8?
>
> On Jan 15, 4:46 pm, Francisco Bischoff 
> wrote:
> > Hello,
> >
> > Does anyone got to solve the IE incompatibility for PNG transparency
> using
> > GWT?
> >
> > Here is the workaround by microsoft, but would be good to have GWT doing
> it
> > for us...http://support.microsoft.com/kb/294714
> >
> > BTW, any other formar besides PNG (not GIF please) that could do de job?
> >
> > 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

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-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Panel with mouse events

2010-01-16 Thread Abdullah Shaikh
To support mouse events on panels you need to create a subclass of panel and
implement mousehandlers.

Example for mouse out :

class MyPanel extends VerticalPanel implements MouseOutHandler,
HasMouseOutHandlers

Thanks,
Abdullah

On Fri, Jan 15, 2010 at 8:20 PM, Viliam Durina wrote:

> I need a Panel, on which I need to add mouse events. The only match
> seems to be the FocusPanel, which has a focus features which I don't
> need. But all other panels, surprisingly for me, don't support mouse
> events. Is there any specific reason for this or is it just an
> incomplete API?
>
> Thanks,
> Viliam
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- 

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-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.