Re: Why not use applets?

2009-04-02 Thread Rakesh

>>Weak reference (Weak listener in SWT/Swing) that isn't supported
>>in javascript, but does in javaFX (java).
You can simulate this in gwt.
About speed and performance: Remember js runs inside the browser. It
is completely at the mercy of browser(unlike applets). You should see
the js engine improvements in firefox 3.1 and chrome. They are
ultrafast for js. Js differs from pure java in the sense that it is
single threaded. However this will change in coming years. We recently
developed a sizeably big application using gwt over the past 1.5
years. I can tell you that without any code for freeing/releasing/
cleaning up objects etc, we had pretty good performance...

If I am working with browsers, my first choice will be browser dom and
not plugins! GWT makes so much sense with that aspect... As I said
earlier, google should submit the gwt as a jsr in jcp. Or sun enggs
should rethink for client side java. Again, translating java into js
or any other code that runs on client would be better than forcing the
jvm/bytecode approach. And I say this after writing my first ever web
based program as java applet and not jsp/aps/servlet or cgi script.


On Mar 31, 4:02 am, Ed  wrote:
> > - New scripting language. Why? Why should I learn a new scripting
> > language? I love java... and sun is asking me to write my code in
>
> Can't agree with you on this one. You should see javaFx as a DSL
> (Domain Specific Language).
> That is: every problems asks for another solution. In this case javaFX
> simple fits better in solving the RIA solutions.
> And don't worry, you can still do a lot in java, and javaFX looks a
> lot like it.
> If you are a swing/gwt programming, it has some reay nice things
> like for example the "bind" keyword. Just one keyword to bind a
> variable to some screen presentation. I gwt, you have to use a
> listener, listener collection, etc... to realize this (and clean it up
> properly to overcome memory problems).
> I can give you man advantages of this... Not even to speak about
> the Weak reference (Weak listener in SWT/Swing) that isn't supported
> in javascript, but does in javaFX (java).
> My experience: in complex RIA app's, this isn't a NICE to have, this
> is a MUST-have...
>
> Try it and you will understand what I mean. I had about the same
> thoughts before trying it and only playing with simple RIA app's...!
>
> > Disclaimer: I have not developed a real application from javafx. My
> > knowledge is restricted to samples and demos provided by sun.
>
> That explains the above remarks...
>
> What I miss in this discussion: the whole enterpise strategy plans,
> which will break/make javaFx. Just the same as how Microsoft made sure
> their OS was accepted and a success was born (together with the
> richest man on this planet)... S time will tell how Java will
> be accepted in the browser and if we can really use javaFX in a year
> or so just like Flash. Things look promising, but still. it's Sun
> behind it, and not microsoft and they aren't so well in Marketing
>
> Just my thoughs,
> Ed
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: why not plain "www" directory in 1.6?

2009-04-02 Thread jchimene



On Apr 2, 11:44 am, "Alex (Google)"  wrote:
> To expand on Isaac's suggestion, everything that used to be in www is
> now in a directory called war.  (I think the name is a bit misleading,
> too.)  You should be able to copy everything from war to your web
> server.  And since you aren't using any Java servlets you can omit
> copying the war/WEB-INF directory.
>
> You don't need to generate the war file if you don't intend to deploy
> it to a servlet container/application server, just run:
>
> ant build
>
> (instead of "ant war") to do everything that Project-compile used to
> do.
>
> -alex

Thanks for this clarification. Please consider adding this to the 1.6
docs for those of us who don't use server-side Java

Cheers,
jec
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: can inlineHTML be used to load static HTML pages?

2009-04-02 Thread myapplicationquestions

Thanks a lot. But isn't this a major limitation that we cannot harness
the power of page designers? Can GWT module be embedded in any
existing page? Basically we are trying to build a new enterprise
application which is pretty UI savy but now it looks more difficult to
use GWT as a full fledge option as a framework for a whole enterprise
application.. so was thinking if we can embedded GWT modules in
existing application?

On Apr 2, 5:32 pm, Thomas Broyer  wrote:
> On 1 avr, 23:23, myapplicationquestions 
> wrote:
>
> > can inlineHTML be used to load static HTML pages?
>
> Not really:
> 1. loading probably requires an HTTP request (have a look at
> RequestBuilder).
> 2. I wouldn't recommend inserting a full HTML page (with ,
> , 

Re: IE6 support SLA

2009-04-02 Thread Starman

I understand that GWT architecture would easily allow for indefinate
IE6 support. But at some point in time, the cost of adding support for
IE6 when Google develops new UI components or implements features
leveraging new browsers capabilities will be difficult to justify.

I am not looking for a commitment here. Just some sort of indication
or roadmap entry that would provide some kind of guidance.

Thanks again,

Starman

On Mar 30, 7:07 pm, Thomas Broyer  wrote:
> On 30 mar, 23:44, Jason Essington  wrote:
>
> > Well, all versions up to the current GWT 1.5x all work with IE6, so,  
> > as long as you are developing for a legacy browser, I see nothing  
> > wrong with using an old version of your toolkit if it comes to that.
>
> How about the upcoming 1.6?
> My understanding is that it doesn't break IE6 (X-UA-Compatible: IE=7
> isn't totaly supported yet, so GWT is only "fully" compatible with X-
> UA-Compatible: IE=5 AFAICT, which means it "supports IE6") but can we
> count on it for the final release?
> I'm in the very same situation asRemy/Starman (well, I don't the
> "why" but IE6 is our customer's "standard browser") and I'd like to
> migrate to 1.6 to use the new event handlers to "connect" my
> "modules" (using "logical" events) as part of a big refactoring.
>
> > But in reality, deferred binding allows you to continue having a  
> > separate javascript payload for IE6, so I see no reason why it  
> > wouldn't be possible to support IE6 indefinitely. Though at some point  
> > it might be up to you to continue that support.
>
> ...and the real question is: now that IE8 is "final", (when) will GWT
> support X-UA-Compatible: IE=8? (notably, there's a *big* issue with
> ImageBundle --and other ClippedImage-- rendering)
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



best practise when using GWT.create()

2009-04-02 Thread asianCoolz

when using GWT.create(..) for image bundle, i18n or service

1.should i put the GWT.create() as global variable private final in
the main class (entry point) and pass as reference to all my composite
class files that required it?
2. should I just put the GWT.create() in every constructor of each
composite class that required?
3. should I put as global variable private final in every composite
class that required to use it?

which approuch is best prastice? currently i using technique "1"
because I saw it is used in the 'sample mail' source code. what do you
think?




--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: browser back button

2009-04-02 Thread Vitali Lovich
On Thu, Apr 2, 2009 at 7:29 PM, Thomas Broyer  wrote:

>
>
>
> On 3 avr, 00:43, Vitali Lovich  wrote:
> > Here's the problem:  This is the way you normally popup a confirmation
> > dialog.
>
> ...when the user navigates *away* from your app, not *within* your app
> (which doesn't involve "unloading" the page, as GWT apps are "one-page
> apps")
>
> > The problem, if I'm not mistaken (I haven't looked into history in a
> while),
> > is that history is done through a hidden iframe,
>
> Only for IE, on other browsers it just sets $wnd.location.hash (modulo
> some tweaks/hacks to workaround a few bugs here and there)
>
> > thus when the user hits
> > back, it's quite possible that the window close event won't get generated
> > (the browser will simply load the iframe).
>
> When navigation *within* your app, the HTML page isn't "unloaded", so
> I can assure you that the "window close" event (actually
> onbeforeunload and onunload at the javascript level) won't be called
> (except in some rare cases in IE, after you typed a new history token
> in the location bar, AFAICT)
>
> > Try & see if it works.  If it doesn't, then you'll have to actually
> extend
> > the GWT code itself (History.java) to add this feature.  Shouldn't be too
> > difficult.
>
> Oh yes it'll be. It wouldn't be hard adding a confirm dialog before
> newItem(), back() or forward() is actually called (but you coul just
> do that from your code, eventually wrapping History methods within
> your own history class); but when reacting to changes in response to
> the browser's back/forward buttons/menu items, the token will already
> have changed and you won't know whether it was because of a "back",
> "forward" or "typed into location bar" (or "from a bookmark") action,
> so you could eventually prompt the user, but you won't know for sure
> what to do next (forward() ? back() ? and you cannot "explore" the
> history to see what URL would get before/next)

Why not use cookies as well to keep track of the previous state within your
wrapper?  That way even when it gets changed out from under you, you'll have
access to the entire history.


>
> >
>

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: browser back button

2009-04-02 Thread Thomas Broyer



On 3 avr, 00:43, Vitali Lovich  wrote:
> Here's the problem:  This is the way you normally popup a confirmation
> dialog.

...when the user navigates *away* from your app, not *within* your app
(which doesn't involve "unloading" the page, as GWT apps are "one-page
apps")

> The problem, if I'm not mistaken (I haven't looked into history in a while),
> is that history is done through a hidden iframe,

Only for IE, on other browsers it just sets $wnd.location.hash (modulo
some tweaks/hacks to workaround a few bugs here and there)

> thus when the user hits
> back, it's quite possible that the window close event won't get generated
> (the browser will simply load the iframe).

When navigation *within* your app, the HTML page isn't "unloaded", so
I can assure you that the "window close" event (actually
onbeforeunload and onunload at the javascript level) won't be called
(except in some rare cases in IE, after you typed a new history token
in the location bar, AFAICT)

> Try & see if it works.  If it doesn't, then you'll have to actually extend
> the GWT code itself (History.java) to add this feature.  Shouldn't be too
> difficult.

Oh yes it'll be. It wouldn't be hard adding a confirm dialog before
newItem(), back() or forward() is actually called (but you coul just
do that from your code, eventually wrapping History methods within
your own history class); but when reacting to changes in response to
the browser's back/forward buttons/menu items, the token will already
have changed and you won't know whether it was because of a "back",
"forward" or "typed into location bar" (or "from a bookmark") action,
so you could eventually prompt the user, but you won't know for sure
what to do next (forward() ? back() ? and you cannot "explore" the
history to see what URL would get before/next)
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: browser back button

2009-04-02 Thread Vitali Lovich
Here's the problem:  This is the way you normally popup a confirmation
dialog.

Window.addWindowClosingHandler(new ClosingHandler() {
@Override
public void onWindowClosing (ClosingEvent event)
{
event.setMessage("Are you sure?";);
}
});

or prior to 1.6


Window.addWindowCloseListener(new WindowCloseListener(){

@Override
public String onWindowClosing ()
{
return "Are you sure?";
}

@Override
public void onWindowClosed ()
{
// TODO Auto-generated method stub

}
});

The problem, if I'm not mistaken (I haven't looked into history in a while),
is that history is done through a hidden iframe, thus when the user hits
back, it's quite possible that the window close event won't get generated
(the browser will simply load the iframe).

Try & see if it works.  If it doesn't, then you'll have to actually extend
the GWT code itself (History.java) to add this feature.  Shouldn't be too
difficult.

On Thu, Apr 2, 2009 at 5:46 PM, Thomas Broyer  wrote:

>
>
> On 2 avr, 17:39, Juzlim  wrote:
> > When the user presses the back button on their browser, I'd like to be
> > able to pop-up a confirmation message. If they cancel, then I'd like
> > them to stay in their current state. What is the easiest way of doing
> > this? In other words, how can you prevent the back button from
> > invoking "onHistoryChanged" upon confirmation?
>
> I'm afraid you just can't.
>
> Though you can eventually keep a global boolean flag and in
> onHistoryChanged, if the flag is true, your pop-up your confirmation
> dialog and newItem to the correct state (note that you'll lose the
> "forward" history).
>
> If I were your, I'd try to reverse-engineer what GMail does for their
> "new message" page, if that's the kind of behavior you'd like to
> achieve (I haven't tried using history while composing a mail in
> GMail, but I suspect it'll just save the changes as draft).
> >
>

--~--~-~--~~~---~--~~
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 
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 1.6 Class KeyEvent

2009-04-02 Thread Thomas Broyer



On 2 avr, 17:25, Дмитрий Николаев  wrote:
> Javadoc 
> fromhttp://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g...
>
> Class KeyEvent
>
> There is no
> static DomEvent.Type  getType()
> in class, mayme something wrong ?

No, it's an abstract class serving as a base class for KeyCodeEvent
(abstact base class of KeyUpEvent and KeyDownevent) and KeyPressEvent.
Only "leaf" (concrete) classes have a getType() method (AFAICT).
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: 1.6.2 upgrade has produced a script error in our code

2009-04-02 Thread Thomas Broyer



On 2 avr, 15:14, Christopher Lariscy - Curriculum Advantage
 wrote:
> We are now receiving an IE error on each page of our existing code.
> When tracing this into the compiled files we find that it is erroring
> on a js function generated by GWT.  I am linking the function that it
> errors on.
>
> function
> com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScrip 
> tObject_2
> (o){
>   if (o.nodeType) {
>     return o.nodeType == 1;
>   }
>   return false;
>
> }
>
> I am not sure why this is occurring and if it is a gwt issue or our
> code, however this error does not present itself when running in gwt
> 1.5.3 which leads me to believe it is an RC issue.  Has anyone else
> encountered this issue and resolved it and or found a work around?

It looks like 
http://groups.google.fr/group/Google-Web-Toolkit-Contributors/t/d1f5637159eec9ee
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: browser back button

2009-04-02 Thread Thomas Broyer


On 2 avr, 17:39, Juzlim  wrote:
> When the user presses the back button on their browser, I'd like to be
> able to pop-up a confirmation message. If they cancel, then I'd like
> them to stay in their current state. What is the easiest way of doing
> this? In other words, how can you prevent the back button from
> invoking "onHistoryChanged" upon confirmation?

I'm afraid you just can't.

Though you can eventually keep a global boolean flag and in
onHistoryChanged, if the flag is true, your pop-up your confirmation
dialog and newItem to the correct state (note that you'll lose the
"forward" history).

If I were your, I'd try to reverse-engineer what GMail does for their
"new message" page, if that's the kind of behavior you'd like to
achieve (I haven't tried using history while composing a mail in
GMail, but I suspect it'll just save the changes as draft).
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: can inlineHTML be used to load static HTML pages?

2009-04-02 Thread Thomas Broyer


On 1 avr, 23:23, myapplicationquestions 
wrote:
> can inlineHTML be used to load static HTML pages?

Not really:
1. loading probably requires an HTTP request (have a look at
RequestBuilder).
2. I wouldn't recommend inserting a full HTML page (with ,
, 

Feature Request: Table mouse functions

2009-04-02 Thread ProtoLD

Is there a place to request features?

One specifically for me, is more mouse functions for the tables.  As
it is they only have a "onCellClicked" which is nice, but there are
quite a number of other mouse functions supported in JS.  One
specifically that I had to write a custom module for (which I'm still
working on) is a simple "onMouseOver".  My personal version doesn't
work very well as it requires you to have data in the cell you are
hovering over (and I can't figure out why, other than the fact it
fires twice, once for entering the cell, and once for entering the
div).
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: PopupPanel Align Right

2009-04-02 Thread cj

That gets me pretty close.  Thanks.
Though, the background image is obscured by the image that is already
added to the panel.  I tried adding a high z-index value in the css,
but that didn't fix it.

Also, I am interested to know how to do this with html.

Thanks


On Apr 2, 10:09 am, alan m  wrote:
> you could setStyleName(myCssName) on your existing panel, and then
> place your image with css:
>
>    .myCssName {background-image:url("url");
> background-repeat:no-repeat; background-position:right;}
>
> On Thu, Apr 2, 2009 at 4:58 PM, cj  wrote:
>
> > Thanks for the correction on text-align.  Though, that still doesn't
> > work for me.
> > I've tried the float attribute.  It doesn't seem to have an affect.
>
> > I should also clarify that I'm trying to right align an image on top
> > of an existing panel.  That is why I was originally playing with the
> > PopupPanel.  I've toyed with the AbsolutePanel, but that only aligns
> > with the left and is even less functional when it comes to re-sizing.
>
> > On Apr 2, 8:43 am, alan m  wrote:
> >> FWIW the CSS syntax is "text-align:right;"
>
> >> You could also try "float:right;" depending on what else is going on
> >> in the layout.
>
> >> hth
>
> >> Alanj
>
> >> On Thu, Apr 2, 2009 at 4:23 PM, cj  wrote:
>
> >> > Thanks.  I was hoping to avoid handling resize events.
> >> > All I want to do is align an image or text along the right side of a
> >> > panel.  With straight HTML and CSS this can easily be done by using
> >> > the align: right; style.  With GWT, I can align things with the left
> >> > side just fine.  The set position method aligns with top and left.
> >> > There doesn't seem to be support for aligning with the right side
> >> > (unless listeners are implemented).  This is a fundamental capability
> >> > of HTML that I figured would be in GWT.  I wanted to make sure that it
> >> > isn't part of GWT before I try implement a workaround.
>
> >> > By the way, searching for aligning with the right side returns
> >> > virtually nothing.  There are many results on listening for resize
> >> > events, but I'm not looking for a hackish workaround.  I'm looking for
> >> > the basic HTML capability of aligning with the right side.  Is the
> >> > capability to aligning on the right side in GWT?
>
> >> > On Apr 1, 11:15 pm, "alex.d"  wrote:
> >> >> Well, once set, the position of the popup doesn't change by itself
> >> >> when the window is resized. Why should it? You have to listen to the
> >> >> "resize of window"-event and set the position of the popup manually.
> >> >> Don't remeber the exact code lines - but you'll find plenty of
> >> >> examples in this user group - just use search ;-)
>
> >> >> On 2 Apr., 01:04, WebDude  wrote:
>
> >> >> > Is it possible to align a PopupPanel with the right side of the window
> >> >> > or the right side of a panel?
>
> >> >> > I know that it could be done by getting the size of the window and
> >> >> > setting the position of the PopupPanel based on that.  However, if
> >> >> > window is re-sized, the popup won't move with the re-size.  This would
> >> >> > be a simple "align: right" style attribute in CSS, but it gets ignored
> >> >> > every time that I try to use it with a PopupPanel.
>
> >> >> > 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: can inlineHTML be used to load static HTML pages?

2009-04-02 Thread myapplicationquestions

hello? any answer?

On Apr 1, 5:23 pm, myapplicationquestions 
wrote:
> caninlineHTMLbe used to load static HTML pages? I want to harness
> the power of HTML designing tools to generate static HTML but use GWT
> to load the widget. Please note that there may be some actions defined
> in static html.
>
> Basically my application has number of widgets some of which are coded
> through GWT but some of them are really snippets of static html but
> they too have to be interactive.
>
> Also can i embed some GWT elements within theinlineHTMLif i want to?
> For example i can have an HTMl like
>
> 
>  some statis text and a logo
> 
>  some statis text and a logo
>
> 
>
> once i load the static html i need to be able to change markerforgwt
> with any gwt element. Is that possible in GWT?
>
> Thanks 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 
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 1.6 - How do I change the default "war" directory name

2009-04-02 Thread El Mentecato Mayor

I'm curious, did you then use something like:

-war src/your/app/path/public/WebContent

assuming your static content was in a subdirectory of the public
directory (?).  And now you will need to have WEB-INF/lib inside your
WebContent dir?


I will need to do migrate to 1.6 sometime, and I just don't like the
war->WEB-INF directory imposition and mixing source-control files with
generated files.  My build.xml is already handling all that for me
(incl. generating the WEB-INF dir and subdirs dynamically).


On Apr 1, 4:04 pm, Jan  wrote:
> Thank you very much! That's easier than expected.
>
> Best regards,
>
> Jan.
>
> On Apr 1, 5:36 pm, Jason Essington  wrote:
>
> > use the switch -war WebContent
>
> > -jason
>
> > On Apr 1, 2009, at 12:46 AM, Jan wrote:
>
> > > Dear GWT community,
>
> > > I am considering using GWT 1.6 in a project, but have one major
> > > concern: GWT 1.6 no longer places the public files (like the host page
> > > or the module XML) in the "public" sub directory of the root package
> > > but inside a "war/module" directory.
>
> > > As all my projects already exist and e.g. use "WebContent" or "Web"
> > > etc. as root for the directory containing all the static content, it
> > > would be nice to reuse the existing structure.
>
> > > My question is therefore: Is there a way to change the default
> > > directory name "war" to something else. I would be surprised if not,
> > > but I haven't found any info in the GWT documentation pages. It would
> > > be great if someone could help me.
>
> > > Thanks in advance,
>
> > > Jan.
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Mac OS X 10.5.6 and GWT-mac-1.5.3 -- SOAP-ENV:ClientHTTP Get method not implemented.

2009-04-02 Thread Erik.Husby


Turns out the program Livebackup by Atempo was using port .

Once I discovered that running Hello-shell -port 9888 worked great.



--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



My GWT Project - Clarity Accounting

2009-04-02 Thread Dobes

The GWT Blog recently asked for some sample projects - here's ours:

Clarity Accounting, a great-looking online accounting application for
small businesses to stay on top of their business and get the reports
they need to file their taxes.

http://www.clarityaccounting.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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT Eclipse Plugin made by GWT Team?

2009-04-02 Thread Joseph M

Ive heard rumours about an Eclipse plugin made by the GWT Team.  I
think I even saw a YouTube video of it in use (maybe from the Google I/
O conference).

When will this plugin be released into the wild.


-Joseph
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Vitali Lovich

In OOPHM, you run your regular browser (Firefox, IE, or Safari on
Mac).  So you can use any developer tools that come for the browser
(it's also a lot faster in terms of UI responsiveness).

On Thu, Apr 2, 2009 at 9:58 AM, Miles T.  wrote:
>
> Use the native browser to its full power ? What are you talking
> about ?
>
> On Apr 2, 11:15 am, Vitali Lovich  wrote:
>> For me, the bigger benefit is the ability to utilize the native browser to
>> its full-power.  For instance, Firebug + Firefox.
>>
>> 2009/4/2 Alexandros Papadakis 
>>
>>
>>
>> > Great
>>
>> > 1.5.3 (which I am using) in Hosted mode can not run under 64bit java.
>> > The compiler can, which is nice.
>>
>> > As bigger and bigger projects are going to be developed,   this will
>> > be an issue, since 32bit java can only address 1.5 gigs of
>> > memory (or... am I wrong???)
>>
>> > Regards,
>>
>> > On Thu, Apr 2, 2009 at 10:47 AM, Vitali Lovich  wrote:
>> > > With GWT 2.0 (I believe that's the version after 1.6 & the current trunk)
>> > > has OOPHM scheduled for it, which removes the platform dependancy pretty
>> > > much,  I'm running it right now on 64-bit Ubuntu with my native Firefox.
>>
>> > > On Thu, Apr 2, 2009 at 3:18 AM, Alexandros Papadakis 
>> > > wrote:
>>
>> > >> Hi,
>>
>> > >> Will there be a 64bit version?
>>
>> > >> Best regards,
>> > >> Alex
>>
>> > >> On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum  wrote:
>> > >> > The GWT team is happy to announce the availability of Google Web
>> > Toolkit
>> > >> > 1.6
>> > >> > RC2.  Download it here:
>>
>> > >> >http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3
>>
>> > >> > For an overview of the new features in 1.6, please see the
>> > announcement:
>>
>> >http://googlewebtoolkit.blogspot.com/2009/03/google-web-toolkit-16-rc...
>>
>> > >> > The only real difference from RC1 should be some fixes I made for the
>> > >> > hosted
>> > >> > mode Jetty configuration issues that were reported with RC1:
>>
>> >http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=miles...
>>
>> > >> > --Scott, 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-Toolkit@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: why not plain "www" directory in 1.6?

2009-04-02 Thread Alex (Google)

To expand on Isaac's suggestion, everything that used to be in www is
now in a directory called war.  (I think the name is a bit misleading,
too.)  You should be able to copy everything from war to your web
server.  And since you aren't using any Java servlets you can omit
copying the war/WEB-INF directory.

You don't need to generate the war file if you don't intend to deploy
it to a servlet container/application server, just run:

ant build

(instead of "ant war") to do everything that Project-compile used to
do.

-alex

On Apr 2, 1:07 pm, Jonathan Weissman  wrote:
> I only use GWT for producing the client side javascript, which I copy
> into a .Net web project that includes the server side code and a host
> HTML file that integrates the GWT output with third party libraries.
> It seems that a .war archive would make it more complicated to copy
> the GWT output that I want into my larger project. An option to get
> the output in a normal folder as it currently works in 1.5 would be
> better. GWT should not assume that server side code will be in Java
> and integrated in the GWT project.
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



compiler error in GWT 1.6 RC2

2009-04-02 Thread L Frohman

I am trying ot convert my GWT 1.5 project to 1.6. It ran OK in hosted mode
in 1.6, but when I try to compile, I get the error below, in 
com.google.gwt.dev.Compiler.
Has anybody seen this before?


---

 [java] Compiling module com.parvia.builder.Builder
 [java][ERROR] Unexpected internal compiler error
 [java] java.lang.StackOverflowError
 [java] at java.lang.Exception.(Exception.java:77)
 [java] at 
java.lang.reflect.InvocationTargetException.(InvocationTargetException.java:54)
 [java] at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown 
Source)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:597)
 [java] at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 [java] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 [java] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 [java] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 [java] at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
 [java] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
 [java] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 [java] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 [java] at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
 [java] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
 [java] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 [java] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 [java] at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
 [java] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
 [java] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 [java] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 [java] at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
 [java] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
 [java] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 [java] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 [java] at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 [java] at java.util.ArrayList.writeObject(ArrayList.java:570)
 [java] at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown 
Source)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:597)
 [java] at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 [java] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 [java] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 [java] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 [java] at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
 [java] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
 [java] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 [java] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 [java] at 
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 [java] at java.util.ArrayList.writeObject(ArrayList.java:570)
 [java] at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown 
Source)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:597)
 [java] at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 [java] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 [java] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 [java] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 [java] at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
 [java] at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
 [java] at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 [java] at 
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 [java] at 
java.i

Re: why not plain "www" directory in 1.6?

2009-04-02 Thread Jonathan Weissman

I only use GWT for producing the client side javascript, which I copy
into a .Net web project that includes the server side code and a host
HTML file that integrates the GWT output with third party libraries.
It seems that a .war archive would make it more complicated to copy
the GWT output that I want into my larger project. An option to get
the output in a normal folder as it currently works in 1.5 would be
better. GWT should not assume that server side code will be in Java
and integrated in the GWT project.
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Scott Blum
It should be possible to run the compiler in a 64-bit VM, so that should
solve the problem of compiling huge apps.

On Thu, Apr 2, 2009 at 11:14 AM, Alexandros Papadakis wrote:

>
> I am talking about HUGE GWT applications that would require more than
> 1.5 gigs of memory.
>
> -Xmx1512M is the max I can have using a 32bit java.
>
>
>
> On Thu, Apr 2, 2009 at 4:58 PM, Miles T.  wrote:
> >
> > Use the native browser to its full power ? What are you talking
> > about ?
> >
> > On Apr 2, 11:15 am, Vitali Lovich  wrote:
> >> For me, the bigger benefit is the ability to utilize the native browser
> to
> >> its full-power.  For instance, Firebug + Firefox.
> >>
> >> 2009/4/2 Alexandros Papadakis 
> >>
> >>
> >>
> >> > Great
> >>
> >> > 1.5.3 (which I am using) in Hosted mode can not run under 64bit java.
> >> > The compiler can, which is nice.
> >>
> >> > As bigger and bigger projects are going to be developed,   this will
> >> > be an issue, since 32bit java can only address 1.5 gigs of
> >> > memory (or... am I wrong???)
> >>
> >> > Regards,
> >>
> >> > On Thu, Apr 2, 2009 at 10:47 AM, Vitali Lovich 
> wrote:
> >> > > With GWT 2.0 (I believe that's the version after 1.6 & the current
> trunk)
> >> > > has OOPHM scheduled for it, which removes the platform dependancy
> pretty
> >> > > much,  I'm running it right now on 64-bit Ubuntu with my native
> Firefox.
> >>
> >> > > On Thu, Apr 2, 2009 at 3:18 AM, Alexandros Papadakis <
> alpa...@gmail.com>
> >> > > wrote:
> >>
> >> > >> Hi,
> >>
> >> > >> Will there be a 64bit version?
> >>
> >> > >> Best regards,
> >> > >> Alex
> >>
> >> > >> On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum 
> wrote:
> >> > >> > The GWT team is happy to announce the availability of Google Web
> >> > Toolkit
> >> > >> > 1.6
> >> > >> > RC2.  Download it here:
> >>
> >> > >> >
> http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3
> >>
> >> > >> > For an overview of the new features in 1.6, please see the
> >> > announcement:
> >>
> >> >http://googlewebtoolkit.blogspot.com/2009/03/google-web-toolkit-16-rc.
> ..
> >>
> >> > >> > The only real difference from RC1 should be some fixes I made for
> the
> >> > >> > hosted
> >> > >> > mode Jetty configuration issues that were reported with RC1:
> >>
> >> >http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=miles.
> ..
> >>
> >> > >> > --Scott, 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-Toolkit@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: PopupPanel Align Right

2009-04-02 Thread alan m

you could setStyleName(myCssName) on your existing panel, and then
place your image with css:

   .myCssName {background-image:url("url");
background-repeat:no-repeat; background-position:right;}

On Thu, Apr 2, 2009 at 4:58 PM, cj  wrote:
>
> Thanks for the correction on text-align.  Though, that still doesn't
> work for me.
> I've tried the float attribute.  It doesn't seem to have an affect.
>
> I should also clarify that I'm trying to right align an image on top
> of an existing panel.  That is why I was originally playing with the
> PopupPanel.  I've toyed with the AbsolutePanel, but that only aligns
> with the left and is even less functional when it comes to re-sizing.
>
>
> On Apr 2, 8:43 am, alan m  wrote:
>> FWIW the CSS syntax is "text-align:right;"
>>
>> You could also try "float:right;" depending on what else is going on
>> in the layout.
>>
>> hth
>>
>> Alanj
>>
>> On Thu, Apr 2, 2009 at 4:23 PM, cj  wrote:
>>
>> > Thanks.  I was hoping to avoid handling resize events.
>> > All I want to do is align an image or text along the right side of a
>> > panel.  With straight HTML and CSS this can easily be done by using
>> > the align: right; style.  With GWT, I can align things with the left
>> > side just fine.  The set position method aligns with top and left.
>> > There doesn't seem to be support for aligning with the right side
>> > (unless listeners are implemented).  This is a fundamental capability
>> > of HTML that I figured would be in GWT.  I wanted to make sure that it
>> > isn't part of GWT before I try implement a workaround.
>>
>> > By the way, searching for aligning with the right side returns
>> > virtually nothing.  There are many results on listening for resize
>> > events, but I'm not looking for a hackish workaround.  I'm looking for
>> > the basic HTML capability of aligning with the right side.  Is the
>> > capability to aligning on the right side in GWT?
>>
>> > On Apr 1, 11:15 pm, "alex.d"  wrote:
>> >> Well, once set, the position of the popup doesn't change by itself
>> >> when the window is resized. Why should it? You have to listen to the
>> >> "resize of window"-event and set the position of the popup manually.
>> >> Don't remeber the exact code lines - but you'll find plenty of
>> >> examples in this user group - just use search ;-)
>>
>> >> On 2 Apr., 01:04, WebDude  wrote:
>>
>> >> > Is it possible to align a PopupPanel with the right side of the window
>> >> > or the right side of a panel?
>>
>> >> > I know that it could be done by getting the size of the window and
>> >> > setting the position of the PopupPanel based on that.  However, if
>> >> > window is re-sized, the popup won't move with the re-size.  This would
>> >> > be a simple "align: right" style attribute in CSS, but it gets ignored
>> >> > every time that I try to use it with a PopupPanel.
>>
>> >> > 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: why not plain "www" directory in 1.6?

2009-04-02 Thread Isaac Truett

What's stopping you from copying your compiler output to the Apache
document root?


On Thu, Apr 2, 2009 at 9:24 AM, Roberto -MadBob- Guido
 wrote:
>
> I found in 1.6 is not managed a fallback mode to obtain a classic
> "www" folder to copy in the server's folder (such as in previous
> releases of GWT), and I'm asking why...
> I can understand for *many* people the .war archive is easier to
> deploy, but it is not necessarly true for *everyone*! A .war requires
> some kind of application which handle it, which means infrastructure,
> which means installation, configuration, time and administration for
> another piece of software on the server. What about freelance
> developers and nerds (like me) using GWT for small applications
> running on common webspace hosting, or also without time and will to
> configure and admin such kind of systems?
> The introduction of the .war packaging is great, but an option for the
> compiler so to obtain a folder to directly copy on Apache's
> documentroot would be appreciated.
>
> 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



1.6.2 upgrade has produced a script error in our code

2009-04-02 Thread Christopher Lariscy - Curriculum Advantage

We are now receiving an IE error on each page of our existing code.
When tracing this into the compiled files we find that it is erroring
on a js function generated by GWT.  I am linking the function that it
errors on.

function
com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2
(o){
  if (o.nodeType) {
return o.nodeType == 1;
  }
  return false;
}

I am not sure why this is occurring and if it is a gwt issue or our
code, however this error does not present itself when running in gwt
1.5.3 which leads me to believe it is an RC issue.  Has anyone else
encountered this issue and resolved it and or found a work around?

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



What is the best practice to change the Icon of a PushButton ?

2009-04-02 Thread Engidea-GWT

Hi all, I must say that GWT is GREAT !!!
I need to change the icon of a PushButton depending on application
status, I managed to write this working code

public class IconButton extends PushButton
  {
  public IconButton(Image icon, ClickHandler listener)
{
super(icon,listener);
}

  public void setIcon ( Image icon )
{
icon.removeFromParent();
Element element = getElement();
Node oldIcon = element.getFirstChild();
element.replaceChild(icon.getElement(),oldIcon);
}
  }

but I am wondering if it is the correct solution
Anybody willing to comment on it ?
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: How to use the tag in module XML file?

2009-04-02 Thread Muddasser Alam

Hi Steffan,
This is how I did it.

I had some classes in a package say x.y.z in the "source" folder of
project XYZ. I created a "abc.gwt.xml" file in the "source" folder
i.e. OUTSIDE the package (one level higher). There is only one entry
in that "abc.gwt.xml" file


 


Now you need to inherit this file into your GWT main entry class's
gwt.xml file. Lets say that class is xx, then you need to enter this
line in xx.gwt.xml



Now your GWT Compiler should be able to find those classes. I use
eclipse so I needed to include the XYZ project into the build file of
my project. Ian has already mentioned how to do it.

Hope it helps,

Regards,
Muddasser




On Mar 30, 7:03 am, stsc...@schliwinski.de wrote:
> Hi Ian,
>
> no success, that is what I did exactly before. Again: How do you run
> and compile your GWT project? What kind of Run/Compile launch
> configuration are you using?
>
> In the last step of the instructins you mention "Click Run". What do
> you wanna run? Normally you would start the GWT hosted mode, you could
> you do that from Eclipse?
>
> -Steffen-
>
> On 29 Mrz., 22:22, Ian Bambury  wrote:
>
> > Hi Steffan,
> > I just did this from scratch and it works for me.
>
> > ===
>
> > Highlighted the using project (let's call it Master)
>
> > Alt+Enter to get up Properties
>
> > Java Build Path on the left
>
> > Projects on the tab
>
> > Add
>
> > Select the utility project (let's call it Slave)
>
> > Click OK
>
> > Click OK
>
> > Add the inherits to the gwt.xmlfile
>
> > In Eclipse...
>
> > Run | Run configurations...
>
> > Select Master (this depends on what you called your project launchfile)
>
> > Select ClassPath
>
> > Highlight User Entries
>
> > Click Advanced
>
> > Select Add Folders
>
> > Click OK
>
> > Navigate to and highlight thesourcefolder for Slave (probably 'src' under
> > 'Slave')
>
> > Click OK
>
> > Click Run
>
> > =
>
> > To compile once it has run, click compile/Browse
>
> > Let me know how you get on.
>
> > 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Mac OS X 10.5.6 and GWT-mac-1.5.3 -- SOAP-ENV:ClientHTTP Get method not implemented.

2009-04-02 Thread Erik.Husby

I am just getting started with GWT. Downloaded gwt-mac-1.5.3 onto my
Mac OS X 10.5.6 running Java 1.5.0_16.

When I try any of the Sample applications, for example Hello-shell,
the Development Shell starts on port  and then the second window
opens. And it shows the one line
SOAP-ENV:ClientHTTP GET method not implemented.

I tried GWT on my PC, and it works as expected.

As I could not find any other references to such a problem, I am
assuming that there is something strange about my Mac's environment.
But I don't have any clue what to look for. I also tried gwt-
mac-1.4.62 and get the same results.

What should I be looking into?

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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



browser back button

2009-04-02 Thread Juzlim

When the user presses the back button on their browser, I'd like to be
able to pop-up a confirmation message. If they cancel, then I'd like
them to stay in their current state. What is the easiest way of doing
this? In other words, how can you prevent the back button from
invoking "onHistoryChanged" upon confirmation?

Thanks,
Juzlim

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



why not plain "www" directory in 1.6?

2009-04-02 Thread Roberto -MadBob- Guido

I found in 1.6 is not managed a fallback mode to obtain a classic
"www" folder to copy in the server's folder (such as in previous
releases of GWT), and I'm asking why...
I can understand for *many* people the .war archive is easier to
deploy, but it is not necessarly true for *everyone*! A .war requires
some kind of application which handle it, which means infrastructure,
which means installation, configuration, time and administration for
another piece of software on the server. What about freelance
developers and nerds (like me) using GWT for small applications
running on common webspace hosting, or also without time and will to
configure and admin such kind of systems?
The introduction of the .war packaging is great, but an option for the
compiler so to obtain a folder to directly copy on Apache's
documentroot would be appreciated.

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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Grid + Pagination +

2009-04-02 Thread Kutty

Hi
I am using Gridpanel as Shown below

ColumnConfig[] columns;
ArrayList searchItemList=new 
ArrayList();
searchItemList.addAll(searchInfo.getAdvancedSearchList());
try{
searchItemList.remove(0);
}catch (Exception e) {
}
columns=new ColumnConfig[searchItemList.size()+3];
FieldDef[] fieldDefini=new FieldDef[searchItemList.size()+3];

StringFieldDef oidField=new StringFieldDef("oid");
ColumnConfig oidColumn=new ColumnConfig("Oid","oid");
columns[0]=oidColumn;
columns[0].setHidden(true);
fieldDefini[0]=oidField;
StringFieldDef versionField=new StringFieldDef("version");
ColumnConfig versionColumn=new 
ColumnConfig("Version","version");
columns[1]=versionColumn;
fieldDefini[1]=versionField;

StringFieldDef itemField=new StringFieldDef("item");
ColumnConfig itemColumn=new ColumnConfig("Item","item");
columns[2]=itemColumn;
fieldDefini[2]=itemField;



for (int i = 0; i < searchItemList.size(); i++) {
String type=searchItemList.get(i).getDatatype();
ColumnConfig columnConfig=new 
ColumnConfig(searchItemList.get
(i).getGUIName(),searchItemList.get(i).getName());
columns [i+3]=columnConfig;
StringFieldDef fieldDef=new 
StringFieldDef(searchItemList.get
(i).getName());
fieldDefini[i+3]=fieldDef;
continue;


}

RecordDef recordDef = new RecordDef(fieldDefini);
JsonReader jsonReader=new JsonReader(recordDef);
jsonReader.setRoot("objectList");
jsonReader.setTotalProperty("totalCount");
store = new Store(proxy,jsonReader);

final PagingToolbar pagingToolbar = new PagingToolbar(store);
pagingToolbar.setPageSize(2);
pagingToolbar.setDisplayInfo(true);
pagingToolbar.setDisplayMsg("Displaying records {0} - {1} of 
{2}");
pagingToolbar.setEmptyMsg("No records to display");

NumberField pageSizeField = new NumberField();
pageSizeField.setWidth(40);
pageSizeField.setSelectOnFocus(true);
pageSizeField.addListener(new FieldListenerAdapter() {
public void onSpecialKey(Field field, EventObject e) {
if (e.getKey() == EventObject.ENTER) {
int pageSize = 
Integer.parseInt(field.getValueAsString());
pagingToolbar.setPageSize(pageSize);
}
}
});

ColumnModel columnModel = new ColumnModel(columns);

grid.setFrame(true);
grid.setColumnModel(columnModel);
grid.setSelectionModel(new RowSelectionModel());

grid.setStore(store);
grid.setIconCls("grid-icon");
grid.setTopToolbar(pagingToolbar);
//grid.setCls("searchResult");
grid.setWidth("100%");
grid.setHeight("100%");

grid.setBottomToolbar((PagingToolbar)pagingToolbar.cloneComponent
());
GridView view = new GridView();
grid.setView(view);
grid.setAutoWidth(true);
grid.setAutoHeight(true);
grid.setAutoScroll(true);
grid.setId(IntGUIId.getUniqueId(getId(), grid.getClass().getName
()));
add(grid);


On Click of ListButton in my Lister I invoke a method called

public void getData(HashMap hashMap) {
this.map=hashMap;
proxy.init(map,grid);
getListerResultModel(hashMap,new AsyncCallbackAdapter(){
public  void onSuccess(Object arg0) {
int rows=200;
try{

rows=Integer.parseInt((String)map.get("WEB_PAGESIZE"));
}catch (Exception e) {
rows=200;
}
PagingToolbar bottomPagingToolbar= 
(PagingToolbar)
grid.getBottomToolbar();
PagingToolbar topPagingToolbar= (PagingToolbar) 
grid.getTopToolbar
();
bottomPagingToolbar.setPageSize(rows);
topPagingToolbar.setPageSize(rows);
SearchResultInfo 
searchResultInfo=(SearchResultInfo) arg0;
 

Re: PopupPanel Align Right

2009-04-02 Thread cj

Thanks for the correction on text-align.  Though, that still doesn't
work for me.
I've tried the float attribute.  It doesn't seem to have an affect.

I should also clarify that I'm trying to right align an image on top
of an existing panel.  That is why I was originally playing with the
PopupPanel.  I've toyed with the AbsolutePanel, but that only aligns
with the left and is even less functional when it comes to re-sizing.


On Apr 2, 8:43 am, alan m  wrote:
> FWIW the CSS syntax is "text-align:right;"
>
> You could also try "float:right;" depending on what else is going on
> in the layout.
>
> hth
>
> Alanj
>
> On Thu, Apr 2, 2009 at 4:23 PM, cj  wrote:
>
> > Thanks.  I was hoping to avoid handling resize events.
> > All I want to do is align an image or text along the right side of a
> > panel.  With straight HTML and CSS this can easily be done by using
> > the align: right; style.  With GWT, I can align things with the left
> > side just fine.  The set position method aligns with top and left.
> > There doesn't seem to be support for aligning with the right side
> > (unless listeners are implemented).  This is a fundamental capability
> > of HTML that I figured would be in GWT.  I wanted to make sure that it
> > isn't part of GWT before I try implement a workaround.
>
> > By the way, searching for aligning with the right side returns
> > virtually nothing.  There are many results on listening for resize
> > events, but I'm not looking for a hackish workaround.  I'm looking for
> > the basic HTML capability of aligning with the right side.  Is the
> > capability to aligning on the right side in GWT?
>
> > On Apr 1, 11:15 pm, "alex.d"  wrote:
> >> Well, once set, the position of the popup doesn't change by itself
> >> when the window is resized. Why should it? You have to listen to the
> >> "resize of window"-event and set the position of the popup manually.
> >> Don't remeber the exact code lines - but you'll find plenty of
> >> examples in this user group - just use search ;-)
>
> >> On 2 Apr., 01:04, WebDude  wrote:
>
> >> > Is it possible to align a PopupPanel with the right side of the window
> >> > or the right side of a panel?
>
> >> > I know that it could be done by getting the size of the window and
> >> > setting the position of the PopupPanel based on that.  However, if
> >> > window is re-sized, the popup won't move with the re-size.  This would
> >> > be a simple "align: right" style attribute in CSS, but it gets ignored
> >> > every time that I try to use it with a PopupPanel.
>
> >> > 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 
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 1.6 Class KeyEvent

2009-04-02 Thread salvador.ce
example of event this link:

http://whatwouldnickdo.com/wordpress/370/gwt-right-click-context-menu/

2009/4/2 Дмитрий Николаев 

>
> Javadoc from
> http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/event/dom/client/KeyEvent.html
>
> Class KeyEvent
>
> There is no
> static DomEvent.TypegetType()
> in class, mayme something wrong ?
> >
>

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: PopupPanel Align Right

2009-04-02 Thread alan m

FWIW the CSS syntax is "text-align:right;"

You could also try "float:right;" depending on what else is going on
in the layout.

hth

Alanj

On Thu, Apr 2, 2009 at 4:23 PM, cj  wrote:
>
> Thanks.  I was hoping to avoid handling resize events.
> All I want to do is align an image or text along the right side of a
> panel.  With straight HTML and CSS this can easily be done by using
> the align: right; style.  With GWT, I can align things with the left
> side just fine.  The set position method aligns with top and left.
> There doesn't seem to be support for aligning with the right side
> (unless listeners are implemented).  This is a fundamental capability
> of HTML that I figured would be in GWT.  I wanted to make sure that it
> isn't part of GWT before I try implement a workaround.
>
> By the way, searching for aligning with the right side returns
> virtually nothing.  There are many results on listening for resize
> events, but I'm not looking for a hackish workaround.  I'm looking for
> the basic HTML capability of aligning with the right side.  Is the
> capability to aligning on the right side in GWT?
>
>
> On Apr 1, 11:15 pm, "alex.d"  wrote:
>> Well, once set, the position of the popup doesn't change by itself
>> when the window is resized. Why should it? You have to listen to the
>> "resize of window"-event and set the position of the popup manually.
>> Don't remeber the exact code lines - but you'll find plenty of
>> examples in this user group - just use search ;-)
>>
>> On 2 Apr., 01:04, WebDude  wrote:
>>
>> > Is it possible to align a PopupPanel with the right side of the window
>> > or the right side of a panel?
>>
>> > I know that it could be done by getting the size of the window and
>> > setting the position of the PopupPanel based on that.  However, if
>> > window is re-sized, the popup won't move with the re-size.  This would
>> > be a simple "align: right" style attribute in CSS, but it gets ignored
>> > every time that I try to use it with a PopupPanel.
>>
>> > 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Loading Images into GWT via MySQL

2009-04-02 Thread John Ivens
I'd like to thank the contributors for this discussion, particularly Darren,
who provided a nice solution to a problem I had making transient images on
the server side and displaying them on the client side.

On Mon, Mar 16, 2009 at 12:40 AM, alex.d wrote:

>
> Does the img.setUrl("data:image/jpg;base64,"...-trick work reliable in
> all major browsers?
>
> On 13 Mrz., 15:07, Darren  wrote:
> > The one case that hasn't been mentioned is when one dynamically
> > creates transient images on the server.
> >
> > We transform various XML data sources into SVG and then transcode into
> > JPG (using Batik) on the fly, then base 64 encode the JPG into a
> > string and send it across via GWT-RPC.
> >
> > Then on the client, once you have the image data from the RPC callback
> > (as a String):
> > String base64EncodedImage = ... ;
> > Image img = new Image();
> > img.setUrl("data:image/jpg;base64," + base64EncodedImage);
> >
> > On Mar 13, 5:08 am, stone  wrote:
> >
> > > use a servlet url for downloading img.
> > > for example: myapp/dbimage/123456
> > > and the servlet mapping is /dbimage/*
> >
> > > On Mar 13, 9:52 am, Itamar Ravid  wrote:
> >
> > > > Don't forget however to set the content type on the response to an
> image of
> > > > some type, otherwise the client's browser will try to download the
> picture
> > > > rather than display it.
> >
> > > > On Fri, Mar 13, 2009 at 2:28 AM, gregor <
> greg.power...@googlemail.com>wrote:
> >
> > > > > I think Itamar is right, Jack, you should use a standard
> HttpServlet
> > > > > for this, not GWT-RPC, because this sends the image over to the
> > > > > browser as byte steam, and I don't think RPC can do that.
> >
> > > > > First, I take it these are not images used in your UI (like icons
> > > > > etc), 'cos those should go in an ImageBundle. I assume you know
> that &
> > > > > these images are downloaded as user selections etc.
> >
> > > > > 1) Consult your MySQL docs/forum to find out how to obtain an
> > > > > InputStream for the image via JDBC. You want to pass an InputStream
> > > > > back to your image download HttpServlet. You don't want to read out
> > > > > the image bytes yet.
> >
> > > > > 2) You write the HttpServlet something like this example (there are
> > > > > lots of others around):
> >
> > > > >http://snippets.dzone.com/posts/show/4629
> >
> > > > > Notice that the key is a looping read of the InputStream (which you
> > > > > got from MySQL) that writes straight into the HttpServlet's
> response
> > > > > OutputStream. Notice also it uses a buffer byte[] array. This is so
> > > > > that your web server does not get it's memory clogged up with big
> > > > > image byte arrays - the image bytes just get shunted from the DB
> > > > > straight out to the browser via this buffer. Therefore set this
> buffer
> > > > > small. Apache tend to use 2048 bytes. I think Oracle prefer 4096.
> That
> > > > > sort of size for the buffer. Take care to set the response content
> > > > > type so the browser knows what it's dealing with.
> >
> > > > > 3) In your client you can set the Image widget's URL to your image
> > > > > download HttpServlet adding a parameter for the image id.
> >
> > > > > regards
> > > > > gregor
> >
> > > > > On Mar 12, 8:54 pm, "fatjack1...@googlemail.com"
> > > > >  wrote:
> > > > > > Hi,
> >
> > > > > > I'm not too sure how to implement a HTTPServlet. Does anyone know
> how
> > > > > > to use images using RPC?
> >
> > > > > > Im really stuck on this.
> >
> > > > > > On Mar 12, 8:43 pm, Itamar Ravid 
> wrote:
> >
> > > > > > > The best way, IMO, is to not use GWT-RPC, but rather implement
> an
> > > > > > > HttpServlet, that retrieves the data from the database and
> returns it
> > > > > with
> > > > > > > the appropriate Content-Type in response to a GET http request.
> Then,
> > > > > you
> > > > > > > simply place an image in your GWT code, with its source being
> the path
> > > > > to
> > > > > > > the servlet (defined in your web.xml), passing along any
> parameters
> > > > > required
> > > > > > > - such as the ID of the image in the database.
> >
> > > > > > > On Thu, Mar 12, 2009 at 12:59 PM, fatjack1...@googlemail.com <
> >
> > > > > > > fatjack1...@googlemail.com> wrote:
> >
> > > > > > > > Hi,
> >
> > > > > > > > I am new to loading images into GWT from MySQL and am abit
> lost on
> > > > > the
> > > > > > > > best way to do it.
> >
> > > > > > > > I already have my image in the database. How do I retrieve
> it? I read
> > > > > > > > somewhere that it can just be stored as a String. Is this
> correct? So
> > > > > > > > my code on the server side would look like:
> >
> > > > > > > > //Open database connection
> > > > > > > > dc.openConnection();
> > > > > > > > resultSet = dc.statement.executeQuery(SELECT CategoryImage
> FROM
> > > > > > > > itemcategory_table WHERE ItemType = 'Test');
> >
> > > > > > > >   while(resultSet.next()) {
> > > > > > > >String test = resultSet.getString(1);
> > > > > > > > }
> >
> > > > > > > 

gwt 1.6 Class KeyEvent

2009-04-02 Thread Дмитрий Николаев

Javadoc from 
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/event/dom/client/KeyEvent.html

Class KeyEvent

There is no
static DomEvent.TypegetType()
in class, mayme something wrong ?
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: PopupPanel Align Right

2009-04-02 Thread cj

Thanks.  I was hoping to avoid handling resize events.
All I want to do is align an image or text along the right side of a
panel.  With straight HTML and CSS this can easily be done by using
the align: right; style.  With GWT, I can align things with the left
side just fine.  The set position method aligns with top and left.
There doesn't seem to be support for aligning with the right side
(unless listeners are implemented).  This is a fundamental capability
of HTML that I figured would be in GWT.  I wanted to make sure that it
isn't part of GWT before I try implement a workaround.

By the way, searching for aligning with the right side returns
virtually nothing.  There are many results on listening for resize
events, but I'm not looking for a hackish workaround.  I'm looking for
the basic HTML capability of aligning with the right side.  Is the
capability to aligning on the right side in GWT?


On Apr 1, 11:15 pm, "alex.d"  wrote:
> Well, once set, the position of the popup doesn't change by itself
> when the window is resized. Why should it? You have to listen to the
> "resize of window"-event and set the position of the popup manually.
> Don't remeber the exact code lines - but you'll find plenty of
> examples in this user group - just use search ;-)
>
> On 2 Apr., 01:04, WebDude  wrote:
>
> > Is it possible to align a PopupPanel with the right side of the window
> > or the right side of a panel?
>
> > I know that it could be done by getting the size of the window and
> > setting the position of the PopupPanel based on that.  However, if
> > window is re-sized, the popup won't move with the re-size.  This would
> > be a simple "align: right" style attribute in CSS, but it gets ignored
> > every time that I try to use it with a PopupPanel.
>
> > 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: PopupPanel Align Right

2009-04-02 Thread cj

Thanks.  I was hoping to avoid handling resize events.
All I want to do is align an image or text along the right side of a
panel.  With straight HTML and CSS this can easily be done by using
the align: right; style.  With GWT, I can align things with the left
side just fine.  The set position method aligns with top and left.
There doesn't seem to be support for aligning with the right side
(unless listeners are implemented).  This is a fundamental capability
of HTML that I figured would be in GWT.  I wanted to make sure that it
isn't part of GWT before I try implement a workaround.

By the way, searching for aligning with the right side returns
virtually nothing.  There are many results on listening for resize
events, but I'm not looking for a hackish workaround.  I'm looking for
the basic HTML capability of aligning with the right side.  Is the
capability to aligning on the right side in GWT?


On Apr 1, 11:15 pm, "alex.d"  wrote:
> Well, once set, the position of the popup doesn't change by itself
> when the window is resized. Why should it? You have to listen to the
> "resize of window"-event and set the position of the popup manually.
> Don't remeber the exact code lines - but you'll find plenty of
> examples in this user group - just use search ;-)
>
> On 2 Apr., 01:04, WebDude  wrote:
>
> > Is it possible to align a PopupPanel with the right side of the window
> > or the right side of a panel?
>
> > I know that it could be done by getting the size of the window and
> > setting the position of the PopupPanel based on that.  However, if
> > window is re-sized, the popup won't move with the re-size.  This would
> > be a simple "align: right" style attribute in CSS, but it gets ignored
> > every time that I try to use it with a PopupPanel.
>
> > 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Alexandros Papadakis

I am talking about HUGE GWT applications that would require more than
1.5 gigs of memory.

-Xmx1512M is the max I can have using a 32bit java.



On Thu, Apr 2, 2009 at 4:58 PM, Miles T.  wrote:
>
> Use the native browser to its full power ? What are you talking
> about ?
>
> On Apr 2, 11:15 am, Vitali Lovich  wrote:
>> For me, the bigger benefit is the ability to utilize the native browser to
>> its full-power.  For instance, Firebug + Firefox.
>>
>> 2009/4/2 Alexandros Papadakis 
>>
>>
>>
>> > Great
>>
>> > 1.5.3 (which I am using) in Hosted mode can not run under 64bit java.
>> > The compiler can, which is nice.
>>
>> > As bigger and bigger projects are going to be developed,   this will
>> > be an issue, since 32bit java can only address 1.5 gigs of
>> > memory (or... am I wrong???)
>>
>> > Regards,
>>
>> > On Thu, Apr 2, 2009 at 10:47 AM, Vitali Lovich  wrote:
>> > > With GWT 2.0 (I believe that's the version after 1.6 & the current trunk)
>> > > has OOPHM scheduled for it, which removes the platform dependancy pretty
>> > > much,  I'm running it right now on 64-bit Ubuntu with my native Firefox.
>>
>> > > On Thu, Apr 2, 2009 at 3:18 AM, Alexandros Papadakis 
>> > > wrote:
>>
>> > >> Hi,
>>
>> > >> Will there be a 64bit version?
>>
>> > >> Best regards,
>> > >> Alex
>>
>> > >> On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum  wrote:
>> > >> > The GWT team is happy to announce the availability of Google Web
>> > Toolkit
>> > >> > 1.6
>> > >> > RC2.  Download it here:
>>
>> > >> >http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3
>>
>> > >> > For an overview of the new features in 1.6, please see the
>> > announcement:
>>
>> >http://googlewebtoolkit.blogspot.com/2009/03/google-web-toolkit-16-rc...
>>
>> > >> > The only real difference from RC1 should be some fixes I made for the
>> > >> > hosted
>> > >> > mode Jetty configuration issues that were reported with RC1:
>>
>> >http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=miles...
>>
>> > >> > --Scott, 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-Toolkit@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 1.6 tabpanel handler

2009-04-02 Thread asianCoolz

found it
tabPanel.addSelectionHandler(  new SelectionHandler() {


public void onSelection(SelectionEvent event) {
// TODO Auto-generated method stub

}
});

On Apr 2, 8:56 pm, asianCoolz  wrote:
> i am refering 
> tohttp://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
>
> how to do handler for tabpanel in 1.6 ?
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Serialization issue with generic Maps

2009-04-02 Thread snorbi

Hello,

We have problems serializing generic Maps in gwt-1.6.2 (both in web
and hosted mode). It seems that type parameters of generic remote
service method parameters are not scanned properly when searching for
potential serializable types.

To reproduce the problem, please see the application snippet below. It
is a minimal GWT application which calls a remote service from its
entry method.
Running the application results in the following exception:

[ERROR] failure
com.google.gwt.user.client.rpc.SerializationException:
gwtsandbox.client.Parameter
at
gwtsandbox.client.Service_TypeSerializer.raiseSerializationException
(Service_TypeSerializer.java:69)
at gwtsandbox.client.Service_TypeSerializer.serialize(Native Method)
at
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize
(ClientSerializationStreamWriter.java:216)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject
(AbstractSerializationStreamWriter.java:129)
at
com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase.serialize
(Map_CustomFieldSerializerBase.java:50)
at
com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer.serialize
(HashMap_CustomFieldSerializer.java:36)
at gwtsandbox.client.Service_TypeSerializer.serialize(Native Method)
at
com.google.gwt.user.client.rpc.impl.ClientSerializationStreamWriter.serialize
(ClientSerializationStreamWriter.java:216)
at
com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject
(AbstractSerializationStreamWriter.java:129)
at gwtsandbox.client.Service_Proxy.serviceMethod(Service_Proxy.java:
31)
at gwtsandbox.client.Application.onModuleLoad(Application.java:20)

Uncommenting the lines marked with "// FIX", it works as expected.

I think it is a bug, what do you think?

Thanks for your help!
Regards:
Norbi


Application.gwt.xml
---






Application.java

package gwtsandbox.client;

import java.util.HashMap;
import java.util.Map;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.ServiceDefTarget;

public class Application implements EntryPoint {
public void onModuleLoad() {
Map map = new HashMap();
map.put("key", new Parameter(5));

ServiceAsync serviceProxy = GWT.create(Service.class);
((ServiceDefTarget) serviceProxy).setServiceEntryPoint
(GWT.getHostPageBaseURL() + "gwt/rpc/"
+ Service.class.getName());
serviceProxy.serviceMethod(map, new AsyncCallback() {
@Override
public void onFailure(Throwable caught) {
Window.alert(caught.toString());
System.out.println(caught);
}

@Override
public void onSuccess(Void result) {
Window.alert("success");
}
});
}
}

Parameter.java
--
package gwtsandbox.client;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Parameter implements Serializable, IsSerializable {
private static final long serialVersionUID = 1L;

private int value;

public Parameter() {
}

public Parameter(int value) {
setValue(value);
}

public int getValue() {
return value;
}

public void setValue(int value) {
this.value = value;
}
}

Service.java

package gwtsandbox.client;

import java.util.Map;

import com.google.gwt.user.client.rpc.RemoteService;

public interface Service extends RemoteService {
void serviceMethod(Map map);

// FIX void serviceMethod(Parameter parameter);
}

ServiceAsync.java
-
package gwtsandbox.client;

import java.util.Map;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ServiceAsync {
void serviceMethod(Map map, AsyncCallback
callback);

// FIX void serviceMethod(Parameter parameter, AsyncCallback
callback);
}

ServiceServlet.java
---
package gwtsandbox.server;

import java.util.Map;

import gwtsandbox.client.Parameter;
import gwtsandbox.client.Service;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class ServiceServlet extends RemoteServiceServlet implements
Service {
private static final long serialVersionUID = 1L;

@Override
public void serviceMethod(Map map) {
System.out.println("Service called: " + map);
}

// FIX @Override
public void serviceMethod(Parameter parameter) {
System.out.println("Service called: " + parameter);
}
}

web.xml
---

http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://java.sun.com/xml/ns/javaee"; xmlns:web="http://
java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
   

How to define a Context Listener

2009-04-02 Thread Pints

Hi,

Does anyone has any idea that how can we define a servlet in GWT which
can behave as a Listeners of servlets.

Do i have to do a complete RPC to call any normal servlet also.? I
believe yes as to talk to server RPC is the only way. Please confirm.


Any ideas would be appreciated. My idea was to write a servlet which
is definitely going to be the Listener in deployment mode but how to
make it work in hosted mode?

cheers
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Display not updating

2009-04-02 Thread Gary1975

Hi,

I have a function that is used to process a set of data that is
returned from a server. This routine gets the date range for the data
returned and pops up a window for the used to enter the range that
they are interested in. The code will then go through the data and
draw a polyline on a map for the relevant set of data. This is a long
process and I wanted to display a progress bar on teh dialog to show
that the processing is happening. I am unable to get the progress bar
to update whilst the code is looping through the data.

Can anyone suggest a solution.

protected static void showTrackHistory(final Node item) {

//Ask the User to specify a range of data to view for the 
specified
track
Panel timePanel = new Panel();
timePanel.setBorder(false);
timePanel.setPaddings(15);

VerticalPanel startTimePanel = new VerticalPanel();
startTimePanel.setSpacing(15);

Date startDate = new Date(Long.valueOf(((Element)
firstReport).getAttribute("TOF")).longValue() * 1000);
final TextField startTextField = new TextField("Date");
startTextField.setWidth(180);
startTextField.setHideLabel(true);
startTextField.setValue(startDate.toString());

DatePicker datePicker = new DatePicker();
datePicker.setValue(startDate);
datePicker.setTodayText("Now");
datePicker.addListener(new DatePickerListenerAdapter() {
public void onSelect(DatePicker dataPicker, Date date) {
startTextField.setValue(date.toString());
}
});

FieldSet startFS = new FieldSet();
startFS.setPaddings(5);
startFS.setCheckboxToggle(false);
startFS.setFrame(true);
startFS.setTitle("Start");
startFS.setCollapsed(false);
startFS.add(datePicker);
startFS.add(startTextField);
startTimePanel.add(startFS);

VerticalPanel endTimePanel = new VerticalPanel();
endTimePanel.setSpacing(15);

Date endDate = new Date(Long.valueOf(((Element)
lastReport).getAttribute("TOF")).longValue() * 1000);
final TextField endTextField = new TextField("Date");
endTextField.setWidth(180);
endTextField.setHideLabel(true);
endTextField.setValue(endDate.toString());

DatePicker endDatePicker = new DatePicker();
endDatePicker.setValue(endDate);
endDatePicker.setTodayText("Now");
endDatePicker.addListener(new DatePickerListenerAdapter() {
public void onSelect(DatePicker dataPicker, Date date) {
endTextField.setValue(date.toString());
}
});

FieldSet endFS = new FieldSet();
endFS.setPaddings(5);
endFS.setCheckboxToggle(false);
endFS.setFrame(true);
endFS.setTitle("End");
endFS.setCollapsed(false);
endFS.add(endDatePicker);
endFS.add(endTextField);
endTimePanel.add(endFS);

HorizontalPanel startEndPanel = new HorizontalPanel();
startEndPanel.add(startTimePanel);
startEndPanel.add(endTimePanel);

Button btnOK = new Button("OK");
btnOK.setWidth("200px");

pBar = new ProgressBar();
pBar.setWidth(250);
pBar.setText("Ready");
pBar.enable();
pBar.setAutoShow(true);
//pBar.reset();
//pBar.disable();

HorizontalPanel btnPanel = new HorizontalPanel();
btnPanel.setSpacing(5);
btnPanel.add(btnOK);
btnPanel.add(pBar);

timePanel.add(startEndPanel);
timePanel.add(btnPanel);

timePeriod = new Window();
timePeriod.setTitle("History Period Selection for Track : " +
trackName);
timePeriod.setClosable(true);
timePeriod.setWidth(520);
timePeriod.setHeight(400);
timePeriod.setPlain(true);
timePeriod.setCloseAction(Window.HIDE);
timePeriod.add(timePanel);
timePeriod.setModal(false);
timePeriod.setButtonAlign(Position.CENTER);

btnOK.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
((Button)sender).setEnabled(false);
pBar.enable();
   

Re: What is the easier way to deploy a GWT application to Tomcat using Eclipse?

2009-04-02 Thread tetsuo

you can make some coffe with ant, if your coffeemachine has an ip
adress ^^ like calling a exe or bash file

[code]






[/code]

thats your undeployment. have a look at http://ant.apache.org/manual/index.html

tetsuo
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Miles T.

Use the native browser to its full power ? What are you talking
about ?

On Apr 2, 11:15 am, Vitali Lovich  wrote:
> For me, the bigger benefit is the ability to utilize the native browser to
> its full-power.  For instance, Firebug + Firefox.
>
> 2009/4/2 Alexandros Papadakis 
>
>
>
> > Great
>
> > 1.5.3 (which I am using) in Hosted mode can not run under 64bit java.
> > The compiler can, which is nice.
>
> > As bigger and bigger projects are going to be developed,   this will
> > be an issue, since 32bit java can only address 1.5 gigs of
> > memory (or... am I wrong???)
>
> > Regards,
>
> > On Thu, Apr 2, 2009 at 10:47 AM, Vitali Lovich  wrote:
> > > With GWT 2.0 (I believe that's the version after 1.6 & the current trunk)
> > > has OOPHM scheduled for it, which removes the platform dependancy pretty
> > > much,  I'm running it right now on 64-bit Ubuntu with my native Firefox.
>
> > > On Thu, Apr 2, 2009 at 3:18 AM, Alexandros Papadakis 
> > > wrote:
>
> > >> Hi,
>
> > >> Will there be a 64bit version?
>
> > >> Best regards,
> > >> Alex
>
> > >> On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum  wrote:
> > >> > The GWT team is happy to announce the availability of Google Web
> > Toolkit
> > >> > 1.6
> > >> > RC2.  Download it here:
>
> > >> >http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3
>
> > >> > For an overview of the new features in 1.6, please see the
> > announcement:
>
> >http://googlewebtoolkit.blogspot.com/2009/03/google-web-toolkit-16-rc...
>
> > >> > The only real difference from RC1 should be some fixes I made for the
> > >> > hosted
> > >> > mode Jetty configuration issues that were reported with RC1:
>
> >http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=miles...
>
> > >> > --Scott, 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-Toolkit@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: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Magius

I'm not a fanatic of paginated tables but I think this is the easiest
way.
I receive all the data in the GWT-client and show the information in a
paginated way.
Each time the user press "next" you anly have to replace the table
data with the next N records.


On Apr 2, 3:09 pm, Thomas Broyer  wrote:
> On 2 avr, 09:36, Suren  wrote:
>
>
>
> > I am populating 100x100 cells in Flextable from database.
>
> At the risk of repeating myself: if you know in advance the size of
> the table and you do not use colspan/rowspan, use a Grid instead of
> FlexTable for slightly better perfs.
>
> > Its taking 10 mins in IE to display the table, but only less than 10
> > secs in Firefox.
>
> > I am wondering why such extreme difference exists between these two
> > browsers?
>
> table-layout might be part of the answer. 
> See:http://blogs.msdn.com/ie/archive/2005/02/10/370721.aspxhttp://msdn.microsoft.com/en-us/library/ms533020.aspx#Use_Fixed-Size_...
>
> > I cannot stick with Firefox also in this case, becase blank cells
> > borders are not displayed properly in firefox.
>
> Hmm, empty-cells to the 
> rescue?http://www.w3.org/TR/CSS21/tables.html#propdef-empty-cells
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Back & Refresh button handling

2009-04-02 Thread Vitali Lovich
Nope - that's for adding/removing a widget from a document.  Window close is
a different event (Window.addCloseHandler).  By design, you can't interfere
with the window closing.

On Thu, Apr 2, 2009 at 9:05 AM, Arthur Kalmenson wrote:

>
> > I think the only solution here is to call some javascript outside GWT
> > that can detect a page refresh.
>
> I thought that onUnload
> (
> http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Widget.html#onUnload()
> )
> can do that job. If there's some Javascript, you can always call it
> from a JSNI method anyway.
>
> --
> Arthur Kalmenson
>
>
>
> On Wed, Apr 1, 2009 at 4:58 PM, bigtruckdriver 
> wrote:
> >
> > I do have some server-side cleanup functionality which is basically a
> > session expiry, but this application is going to be needing every
> > advantage it can get in terms of server memory, so I need this close
> > window cleanup to occur as well (even though it's not a guarantee that
> > it will work every time, as Luke mentioned).
> > I think the only solution here is to call some javascript outside GWT
> > that can detect a page refresh.
> >
> > On Mar 27, 3:58 pm, Vitali Lovich  wrote:
> >> The way I solve this is that a timer on the server cleans up sessions
> >> that haven't had activity in a while.
> >>
> >> It's a little bit simpler for me since I have a stateless setup with
> >> the session id simply being used for authentication purposes.
> >>
> >> I think that's the most robust approach - you don't need to maintain
> >> complicated state information in the server.  You simply have a
> >> permissions based approach as to whether or not a user is allowed to
> >> modify global resources & the client-side takes care of state.
> >>
> >> On Fri, Mar 27, 2009 at 4:23 PM, lukehashj 
> wrote:
> >>
> >> > You can not rely on this event being raised before the browser is
> >> > closed. You can use the onunload="someJavascript()" on your body tag
> >> > and then some JSNI to call your google code.
> >>
> >> > Here's the problem: the event gets raised, and you start doing your
> >> > work. The window gets closed before you finish doing your work, and
> >> > your rpc never completes and the server never knows.
> >>
> >> > I'd say at best you get a 50% success rate with the window close
> >> > events :)
> >>
> >> > -luke
> >>
> >> > On Mar 26, 3:58 pm,bigtruckdriver wrote:
> >> >> I'm in a similar predicament, perhaps you might have an idea of what
> >> >> to do.
> >>
> >> >> When the user closes the browser window, I want the application to
> >> >> logout his/her session automatically so as to free up memory on the
> >> >> server from their session. So I use the onWindowClosed() function to
> >> >> take care of this... But when the page is refreshed, the session gets
> >> >> logged out as well through the same function. This is something I
> want
> >> >> to stop from happening. Any suggestions?
> >>
> >> >> On Mar 15, 9:26 am, Rohit  wrote:
> >>
> >> >> > Hi
> >> >> > There is no way in GWT to distinguish betweenRefreshbuttonclick and
> >> >> > Window closebuttonclick. But you can trackrefreshbuttonwith a
> >> >> > little trick. You should use a time cookie which will expire after
> >> >> > some time. So whenrefreshbuttonis pressed, in on module load of
> >> >> > entry point , track the value of this cokkie, if this cookie is
> still
> >> >> > alive, this meansrefreshbuttonis pressed. The time this cookie will
> >> >> > expired should be considered. It should be very little.
> >>
> >> >> > Second for history, you should save your information in Session on
> >> >> > window close and then ifrefreshbuttonis pressed, get your
> >> >> > information from this session.
> >>
> >> >> > Thanks and regards
> >>
> >> >> > Rohit
> >>
> >> >> > On Mar 14, 2:30 am, "levi.bracken"  wrote:
> >>
> >> >> > > You can restore state, but it's a bit more work than just using
> GWT
> >> >> > > History.  Basically you'll need to come up with some way of
> modifying
> >> >> > > the url search parameter (stuff after the #) to include some info
> so
> >> >> > > that you can bring the userbackinto the same state as they were
> >> >> > > before.   For example, if your application has a number of
> screens and
> >> >> > > they were on screen foo, which was loading with properties for an
> item
> >> >> > > with id 10 then you'd need that information in the Url.
> >>
> >> >> > > ex:  http://yourApp.com/gwtHostPage.html#screen=foo_id=10
> >>
> >> >> > > You could also put a conversation id in the url param and then
> keep
> >> >> > > the fine details cached on the server, but that makes the
> state/data
> >> >> > > more transient. If you go with an option like this though it can
> help
> >> >> > > make your pages open and work in other tabs and even make points
> in
> >> >> > > your application bookmark'able'.
> >>
> >> >> > > Now for the easy ans

Re: A thought about GWT project structure

2009-04-02 Thread Thomas Broyer



On 1 avr, 21:27, Ken  wrote:
> In GWT recommended project structure, client code and server code are
> placed in one project. I find this structure is not so development-
> friendly in practice. (GWT 1.6 has some new update to the project
> structure to make it more like standard WAR project, but client and
> server code are still in one project.)
>
> Client code will be eventually compiled to Javascript and run on web
> browser. Server code will run on web server. These two parts of code
> shouldn’t reference to each other. The only connection between them
> should be the RPC interface (sub-interfaces of RemoteService) and DTOs
> (the Java objects get transmitted between client and server). Any
> attempt to let your widget reference to an RPC implementation Servlet
> or let the Servlet reference to a widget is wrong. However, your Java
> compiler (not GWT compiler) can not detect this kind of error, as
> these Java classes are all in the same project, and they are “allowed”
> to reference to each other. You can’t detect the error either in
> hosted mode, because client and server code run in same JVM in hosted
> mode. You only can find out half the issue when you call GWTCompiler
> (Compiler in GWT 1.6) to translate the client to Javascript. I say
> half because GWTCompiler only shows you the toxic references from
> client to server, but not the other way.
>
> A solution would be to have three projects instead of one:
> MyProjectRpc
> MyProjectGwt
> MyProjectWeb
>
> MyProjectRpc is a GWT module. It only contains RemoteService
> interfaces and DTOs. It has no UI or widgets.

Note that if you use the same packages as in MyProjectGwt, your don't
*need* the make it module (GWT compiler loads from classpath, wherever
your files actually live); though I'd say it's still good practice to
make it a module (I seem to remember GWTShell having problems when
changing code in an inherited module: the code change wasn't picked up
and your client code was still running with the previous code unless
you exit and re-launch the GWTShell; am I mistaken?)

> MyProjectGwt is your client module. It inherits MyProjectRpc, and
> contains widgets. MyProjectGwt’s Java build path includes
> MyProjectRpc.
> MyProjectWeb is your server project. It is a standard WAR project.
> Your RPC implementation servlets go here. Its Java build path includes
> MyProjectRpc.
>
> Therefore, both MyProjectGwt and MyProjectWeb reference to
> MyProjectRpc only. If your widgets incidentally reference to a
> servlet, Eclipse (Java compiler) will tell you right away.

Agreed (though sticking to the recommended client and server, and
possibly shared, subpackages, it's still fairly easy to *not*
reference client code form server code and vice versa).

> To make above solution work, you need to configure GWTCompiler to
> output to MyProjectWeb instead of the default folder www. (-out
> argument will do the job.)

Er, why? Doesn't it all depend how you're building and deploying your
app?

> You also need to run your own web server
> for hosted mode instead of GWT’s internal Tomcat. (Pass –noserver to
> GWTShell.)

Why not just give the MyProjectWeb project to the GWTShell in the
classpath? Provided you used the "client" and "server" subpackages of
the same "root" package in all three projects (or made a gwt module in
the same package as the server code in the MyProjectGwt project and
inherited it appropriately), with the appropriate 
declarations in your GWT module, the GWTShell should pick up your
servlets and it should "just work" without the need for a standalone
servlet container.

When not using GWT-RPC (but still using Java on the server side), I
however highly suggest using two distinct projects (no need for a
shared project in this case) as in this case your client and server
code are not as tightly coupled as with GWT-RPC, so they can leave
their own life and be tested independently (we're in such a
configuration at work, and actually one of us is only working on the
server code, another only working on the client code and I, as a
project leader, work on both sides to coordinate the devs)
--~--~-~--~~~---~--~~
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 
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 template

2009-04-02 Thread Nitin Sawant

Why you using templates?

On Apr 2, 9:20 am, asianCoolz  wrote:
> which template library do u folks recommend ?
>
> i found few 
> athttp://code.google.com/p/gwt-templates/http://jawspeak.com/2008/11/29/introducting-jaws-very-simple-gwt-html...
>
> which one is more flexible?
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Thomas Broyer



On 2 avr, 09:36, Suren  wrote:
>
> I am populating 100x100 cells in Flextable from database.

At the risk of repeating myself: if you know in advance the size of
the table and you do not use colspan/rowspan, use a Grid instead of
FlexTable for slightly better perfs.

> Its taking 10 mins in IE to display the table, but only less than 10
> secs in Firefox.
>
> I am wondering why such extreme difference exists between these two
> browsers?

table-layout might be part of the answer. See:
http://blogs.msdn.com/ie/archive/2005/02/10/370721.aspx
http://msdn.microsoft.com/en-us/library/ms533020.aspx#Use_Fixed-Size_Tables

> I cannot stick with Firefox also in this case, becase blank cells
> borders are not displayed properly in firefox.

Hmm, empty-cells to the rescue?
http://www.w3.org/TR/CSS21/tables.html#propdef-empty-cells

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Back & Refresh button handling

2009-04-02 Thread Arthur Kalmenson

> I think the only solution here is to call some javascript outside GWT
> that can detect a page refresh.

I thought that onUnload
(http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/Widget.html#onUnload())
can do that job. If there's some Javascript, you can always call it
from a JSNI method anyway.

--
Arthur Kalmenson



On Wed, Apr 1, 2009 at 4:58 PM, bigtruckdriver  wrote:
>
> I do have some server-side cleanup functionality which is basically a
> session expiry, but this application is going to be needing every
> advantage it can get in terms of server memory, so I need this close
> window cleanup to occur as well (even though it's not a guarantee that
> it will work every time, as Luke mentioned).
> I think the only solution here is to call some javascript outside GWT
> that can detect a page refresh.
>
> On Mar 27, 3:58 pm, Vitali Lovich  wrote:
>> The way I solve this is that a timer on the server cleans up sessions
>> that haven't had activity in a while.
>>
>> It's a little bit simpler for me since I have a stateless setup with
>> the session id simply being used for authentication purposes.
>>
>> I think that's the most robust approach - you don't need to maintain
>> complicated state information in the server.  You simply have a
>> permissions based approach as to whether or not a user is allowed to
>> modify global resources & the client-side takes care of state.
>>
>> On Fri, Mar 27, 2009 at 4:23 PM, lukehashj  wrote:
>>
>> > You can not rely on this event being raised before the browser is
>> > closed. You can use the onunload="someJavascript()" on your body tag
>> > and then some JSNI to call your google code.
>>
>> > Here's the problem: the event gets raised, and you start doing your
>> > work. The window gets closed before you finish doing your work, and
>> > your rpc never completes and the server never knows.
>>
>> > I'd say at best you get a 50% success rate with the window close
>> > events :)
>>
>> > -luke
>>
>> > On Mar 26, 3:58 pm,bigtruckdriver wrote:
>> >> I'm in a similar predicament, perhaps you might have an idea of what
>> >> to do.
>>
>> >> When the user closes the browser window, I want the application to
>> >> logout his/her session automatically so as to free up memory on the
>> >> server from their session. So I use the onWindowClosed() function to
>> >> take care of this... But when the page is refreshed, the session gets
>> >> logged out as well through the same function. This is something I want
>> >> to stop from happening. Any suggestions?
>>
>> >> On Mar 15, 9:26 am, Rohit  wrote:
>>
>> >> > Hi
>> >> > There is no way in GWT to distinguish betweenRefreshbuttonclick and
>> >> > Window closebuttonclick. But you can trackrefreshbuttonwith a
>> >> > little trick. You should use a time cookie which will expire after
>> >> > some time. So whenrefreshbuttonis pressed, in on module load of
>> >> > entry point , track the value of this cokkie, if this cookie is still
>> >> > alive, this meansrefreshbuttonis pressed. The time this cookie will
>> >> > expired should be considered. It should be very little.
>>
>> >> > Second for history, you should save your information in Session on
>> >> > window close and then ifrefreshbuttonis pressed, get your
>> >> > information from this session.
>>
>> >> > Thanks and regards
>>
>> >> > Rohit
>>
>> >> > On Mar 14, 2:30 am, "levi.bracken"  wrote:
>>
>> >> > > You can restore state, but it's a bit more work than just using GWT
>> >> > > History.  Basically you'll need to come up with some way of modifying
>> >> > > the url search parameter (stuff after the #) to include some info so
>> >> > > that you can bring the userbackinto the same state as they were
>> >> > > before.   For example, if your application has a number of screens and
>> >> > > they were on screen foo, which was loading with properties for an item
>> >> > > with id 10 then you'd need that information in the Url.
>>
>> >> > > ex:  http://yourApp.com/gwtHostPage.html#screen=foo_id=10
>>
>> >> > > You could also put a conversation id in the url param and then keep
>> >> > > the fine details cached on the server, but that makes the state/data
>> >> > > more transient. If you go with an option like this though it can help
>> >> > > make your pages open and work in other tabs and even make points in
>> >> > > your application bookmark'able'.
>>
>> >> > > Now for the easy answer, yes you can just prevent the user from
>> >> > > carelessly clickingrefresh.  Fortunately there isn't a way to trap
>> >> > > somebody on a webpage (think about how bad the web would be).   But,
>> >> > > you can use the WindowCloseListener to present a user with a
>> >> > > confirmation before they close the window, navigate to a new page, or
>> >> > > hitrefresh.  It'd look something like this (not tested):
>>
>> >> > > /
>> >> > > Window.addWindowCloseListener(
>> >> > >   new WindowCloseLisener(){
>>
>> >> > >     public String onWindowCl

Re: Using gwt-user.jar and gwt-dev-linux.jar in *.war file

2009-04-02 Thread Thomas Broyer



On 2 avr, 12:28, Vasily Vasilkov  wrote:
> Hi!
>
> I have the web-application that uses classes from GWT in its
> server-side code (com.google.gwt.user.server.rpc.RPC for example)
>
> I pack my classes, static files and libs (gwt jars too) into app.war
> file and deploy it on tomcat 6.x
>
> While deploying it I've got the following tomcat error:
>
> INFO: validateJarFile(/opt/tomcat/webapps/app/WEB-INF/lib/gwt-user.jar)
> - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
> class: javax/servlet/Servlet.class
>
> Please, don't advice me to read Servlet Spec. because I know that this
> error means :)
> This error occurs if application jars contain classes from servlet-api
> and gwt libs do this - they contain these classes
>
> I think I can re-jar gwt libs and exclude serlet-api classes, but I
> want to find a more appropriate solution.
>
> Does anyone know something about it?

Don't deploy gwt-dev-xxx, use gwt-servlet instead. See:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&t=FAQ_PackageAppInWARFile

AFAICT (I don't do GWT RPC), your don't need to deploy gwt-user.jar
either.
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



gwt 1.6 tabpanel handler

2009-04-02 Thread asianCoolz

i am refering to
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a41c4d65f58d9997/a94afffa999e3c68?lnk=gst&q=tabpanel+1.6#a94afffa999e3c68

how to do handler for tabpanel in 1.6 ?
--~--~-~--~~~---~--~~
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 
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 template

2009-04-02 Thread asianCoolz

because I want to customize the look and feel of the widget to look
nicer
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Arthur Kalmenson

> As bigger and bigger projects are going to be developed,   this will
> be an issue, since 32bit java can only address 1.5 gigs of
> memory (or... am I wrong???)

Wouldn't 32bit Java have the same restrictions that regular 32bit OSes
have, i.e. 4GB of memory at most. Regardless, on the server side your
JVM can be 32 or 64 bit, you just need Java to compile GWT to
Javascript.

--
Arthur Kalmenson



On Thu, Apr 2, 2009 at 4:41 AM, Alexandros Papadakis  wrote:
>
> Great
>
> 1.5.3 (which I am using) in Hosted mode can not run under 64bit java.
> The compiler can, which is nice.
>
> As bigger and bigger projects are going to be developed,   this will
> be an issue, since 32bit java can only address 1.5 gigs of
> memory (or... am I wrong???)
>
>
> Regards,
>
>
> On Thu, Apr 2, 2009 at 10:47 AM, Vitali Lovich  wrote:
>> With GWT 2.0 (I believe that's the version after 1.6 & the current trunk)
>> has OOPHM scheduled for it, which removes the platform dependancy pretty
>> much,  I'm running it right now on 64-bit Ubuntu with my native Firefox.
>>
>> On Thu, Apr 2, 2009 at 3:18 AM, Alexandros Papadakis 
>> wrote:
>>>
>>> Hi,
>>>
>>> Will there be a 64bit version?
>>>
>>>
>>> Best regards,
>>> Alex
>>>
>>> On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum  wrote:
>>> > The GWT team is happy to announce the availability of Google Web Toolkit
>>> > 1.6
>>> > RC2.  Download it here:
>>> >
>>> > http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3
>>> >
>>> > For an overview of the new features in 1.6, please see the announcement:
>>> >
>>> >
>>> > http://googlewebtoolkit.blogspot.com/2009/03/google-web-toolkit-16-rc2-now-available.html
>>> >
>>> > The only real difference from RC1 should be some fixes I made for the
>>> > hosted
>>> > mode Jetty configuration issues that were reported with RC1:
>>> >
>>> >
>>> > http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=milestone:1_6_RC2+status:Fixed,FixedNotReleased
>>> >
>>> > --Scott, 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-Toolkit@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: keyboardlistener calling clicklistener?

2009-04-02 Thread alex.d

If you want to handle click- and keyEvents inside MyFocusPanel class
itself then i would add both listeners inside MyFocusPanel and call
the same handlerFunction() to handle them.
But if you want some other class(let's say some outerPanel) to handle
events for MyFocusPanel then i'd rather add eventListeners in your
outerPanel and then call the same handlerFunction() to handle them.

On 2 Apr., 12:04, alan m  wrote:
> Hi all,
>
> MyFocusPanel extends FocusPanel and has a working ClickListener:
>
>         public MyFocusPanel(ClickListener listener) {
>                 super();
>                 initFocusPanel();
>                 addClickListener(listener);
>         }
>
> I also want to listen for keyboard events in initFocusPanel() method,
> so that Enter key-press also triggers the click event: addStyleName in
> onKeyDown here is a proof of concept which works, but can I register a
> click, or call the ClickListener from here?
>
>         private void initFocusPanel(){
>                 addKeyboardListener(new KeyboardListener(){
>                         public void onKeyDown(Widget arg0, char arg1, int 
> arg2) {
>                                 if (arg1 == KEY_ENTER{
>                                         /*register click here*/
>                                         addStyleName(enter_STYLE_NAME);
>                                 }
>                         }
>                         public void onKeyUp(Widget arg0, char arg1, int arg2) 
> {
>                                 //do nothing            
>                         }
>                         public void onKeyPress(Widget arg0, char arg1, int 
> arg2) {
>                                 //do nothing            
>                         }
>                 });
>         }
>
> Thanks,
> Alanj
--~--~-~--~~~---~--~~
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 
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 with python

2009-04-02 Thread Prashant Gupta
Thanks a lot Tony.

On Thu, Apr 2, 2009 at 3:57 PM, Tony Strauss <
tony.stra...@designingpatterns.com> wrote:

>
> GWT can integrate with any server-side language (Python, PHP, Ruby,
> Java, etc.).  GWT's developer guide covers communicating with servers
> in detail:
>
> http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideServerCalls
>
> Basically, GWT applications can use asynchronous HTTP requests in
> order to communicate with any web server.  Such requests can retrieve
> JSON (among other things).  While you cannot use GWT RPC if you're not
> using a Java backend, there is an open source project that attempts to
> put a GWT RPC interface over JSON (http://code.google.com/p/lovely-gwt-
> jsonrpc/ ).
>
> There's also a Python clone of GWT:
> http://code.google.com/p/pyjamas/
> although I have no experience with it and so cannot recommend it one
> way or the other.
>
> Tony
> --
> Tony Strauss
> Designing Patterns, LLC
> http://www.designingpatterns.com
> http://blogs.designingpatterns.com
>
>
> On Apr 2, 3:31 am, Prashant Gupta  wrote:
> > is there any way to integrate GWT with python? if yes, how do i request
> > server using GWT?
> >
> > thanks,
> > Prashant
> >
>

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: What is the easier way to deploy a GWT application to Tomcat using Eclipse?

2009-04-02 Thread alex.d

Except for undeploying the previous version, expiring user sessions
etc... No thx, i'd rather copy manually ;-)

On 2 Apr., 10:59, tetsuo  wrote:
> On 2 Apr., 08:21, "alex.d"  wrote:> Ant is 
> definitely worth to take a look at. I'm using it to make my war-
> > file. After that i have to upload/copy it to webapps-folder -
> > deploying complete!
>
> with something like
> [code]
>                 
>                                                          dir="${web}"
>                                 includes="**/*.*" />
>                 
> [/code]
> the ant task will do that for you ;)
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Problem Loading image for the first time

2009-04-02 Thread Kedar

Hi all
   I have created a sample application containing login pages.
when i try to execute it in hosted mode it works perfect but when i
deploy it the image at the top panel looks like one of the piece of
it, even in Chrome it disappears at first load but when i reload the
page it works fine in all browsers.

Please help.

I have used a setHtml() property of label to display the image.
--~--~-~--~~~---~--~~
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 
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 set icon of tree nodes via CSS

2009-04-02 Thread Mark RG Itol

Hi guys,

I am using GWT's Treepanel and I need to set different icons for my
TreeNodes.
I tried using TreeNode.setIconCls(String) but it doesn't seem to work.
My style names are contained in a CSS file and I am also using these
style names
in setting the icons of menu items (using setIconCls()) and they work
(the icons appear on the menu items).

Below are some code snippets:

Java:
TreeNode configNode = new TreeNode("+ New");
configNode.setUserObject(-1L);
configNode.setIconCls("new");
parentNode.appendChild(configNode);

CSS:
.new{background-image:url(../images/payroll/new.png);}

I don't know what I'm missing here -- the codes I've seen in the GWT
demo are using the same implementation (setIconCls).

Thank you in advance. :)

Best regards,
Mark
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Using gwt-user.jar and gwt-dev-linux.jar in *.war file

2009-04-02 Thread Vasily Vasilkov

Hi!

I have the web-application that uses classes from GWT in its
server-side code (com.google.gwt.user.server.rpc.RPC for example)

I pack my classes, static files and libs (gwt jars too) into app.war
file and deploy it on tomcat 6.x

While deploying it I've got the following tomcat error:

INFO: validateJarFile(/opt/tomcat/webapps/app/WEB-INF/lib/gwt-user.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
class: javax/servlet/Servlet.class

Please, don't advice me to read Servlet Spec. because I know that this
error means :)
This error occurs if application jars contain classes from servlet-api
and gwt libs do this - they contain these classes

I think I can re-jar gwt libs and exclude serlet-api classes, but I
want to find a more appropriate solution.

Does anyone know something about 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-Toolkit@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 with python

2009-04-02 Thread Tony Strauss

GWT can integrate with any server-side language (Python, PHP, Ruby,
Java, etc.).  GWT's developer guide covers communicating with servers
in detail:
http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideServerCalls

Basically, GWT applications can use asynchronous HTTP requests in
order to communicate with any web server.  Such requests can retrieve
JSON (among other things).  While you cannot use GWT RPC if you're not
using a Java backend, there is an open source project that attempts to
put a GWT RPC interface over JSON (http://code.google.com/p/lovely-gwt-
jsonrpc/).

There's also a Python clone of GWT:
http://code.google.com/p/pyjamas/
although I have no experience with it and so cannot recommend it one
way or the other.

Tony
--
Tony Strauss
Designing Patterns, LLC
http://www.designingpatterns.com
http://blogs.designingpatterns.com


On Apr 2, 3:31 am, Prashant Gupta  wrote:
> is there any way to integrate GWT with python? if yes, how do i request
> server using GWT?
>
> thanks,
> Prashant
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: making gwtext's toolbarbutton ICON appear

2009-04-02 Thread Mark RG Itol

Hi wouter,
If you wouldn't mind, can you share to us the code on PushButton and
GXT AdapterToolItems?
Thanks a lot. :)

Mark

On Apr 2, 3:12 pm, wouter  wrote:
> Stumbled on that too. Solved my problem using GWT PushButtons and
> wrapping them in  GXT AdapterToolItems.
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



problem with integrating flash in GWT

2009-04-02 Thread Swathi Kondepati
> Hi
>
>Iam new to GWT and have no idea on flash.I had included the flash
> application in GWT using "SWFWidget". Our flash application contains a
> hyperlink which must open the path
> "D:\websites\projectname\backup_temp\userID\DownloadedFiles.zip" in the
> local system.
>  The code snippet for including flash aplication(.swf file) into
> GWT is:
>
> *SWFWidget swfWidget*
> *= new SWFWidget("combo.swf"**,200,150);*
>
> *tabPanel.add(swfWidget,"HumanApp");*
>
> It works fine when it is executed as standalone flash
> application.When the same flash application is included in GWT using
> SWFWidget , and when we click on the hyperlink the action was not able to
> perform.
>
> Please help me. its urgent.
>
> Thanks in Advance
>
>
> Swathi.K
>
>
>

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



keyboardlistener calling clicklistener?

2009-04-02 Thread alan m

Hi all,

MyFocusPanel extends FocusPanel and has a working ClickListener:

public MyFocusPanel(ClickListener listener) {
super();
initFocusPanel();
addClickListener(listener);
}

I also want to listen for keyboard events in initFocusPanel() method,
so that Enter key-press also triggers the click event: addStyleName in
onKeyDown here is a proof of concept which works, but can I register a
click, or call the ClickListener from here?

private void initFocusPanel(){
addKeyboardListener(new KeyboardListener(){
public void onKeyDown(Widget arg0, char arg1, int arg2) 
{
if (arg1 == KEY_ENTER{
/*register click here*/
addStyleName(enter_STYLE_NAME); 
}
}
public void onKeyUp(Widget arg0, char arg1, int arg2) {
//do nothing
}
public void onKeyPress(Widget arg0, char arg1, int 
arg2) {
//do nothing
}
});
}

Thanks,
Alanj

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Tony Strauss

Depending on the nature of your data, it might be better to implement
a paging table rather than fetching more rows during scrolling,  For
what it's worth, I think that hitting the server during paging is more
intuitive than hitting the server during scrolling.  Implementing your
own paging table isn't that much work, and there are several free
implementations.  The incubator has one, for instance:
http://code.google.com/docreader/#p=google-web-toolkit-incubator&s=google-web-toolkit-incubator&t=PagingScrollTable

Tony
--
Tony Strauss
Designing Patterns, LLC
http://www.designingpatterns.com
http://blogs.designingpatterns.com

On Apr 2, 4:19 am, Suren  wrote:
> Hi Nicanor,
>
> Thanks for the reply.
>
> So, lets assume, I am going for the partial rows display in the
> beginning and adding more rows when I scroll..
>
> In this case, Should there be a rendering issue? like when I scroll,
> untill the population is being done, the screen will hang or it will
> be blank in the end portion of the table right?
>
> and I thought of one more way like, Display the rows that will fit to
> the screen in the beginning and add the rows in the background. Is
> that possible? I 've read about BulkRenderer or Preloaded table..
>
> Could you please gimme any clues about those?
>
> Thanks
> Suren
>
> On Apr 2, 12:50 pm, Nicanor Babula  wrote:
>
> > Hi,
> > I faced this problem too when trying to work with a grid having lots of rows
> > and columns. I think is slower in IE because of the way it renders the 
> > pages.
> > Anyway, it turns out that with large numbers of DOM elements browsers fail
> > displaying the pages. Therefore you could try in some way reduce the number 
> > of
> > elements (every td/tr is an element). Try implementing a fake table with 
> > divs.
> > A big div with a background image that simulates the grid andhe  
> > position:relative, and the cells - other divs with position: absolute.
>
> > I did that way for my project.
>
> > Or you could still use a flextable, with bigger row heights in order to make
> > the scrollbars appear. This way you'll load only x% of the total data on 
> > page
> > load, the remaining (100 - x)% you'll load on scroll. ;)
>
> > On Thursday 02 April 2009 09:36:41 Suren wrote:
>
> > > Hi All,
>
> > > I am populating 100x100 cells in Flextable from database.
>
> > > Its taking 10 mins in IE to display the table, but only less than 10
> > > secs in Firefox.
>
> > > I am wondering why such extreme difference exists between these two
> > > browsers?
>
> > > Ofcourse my code may not be performance efficient though. But still IE
> > > should not disappoint me in this case
>
> > > I cannot stick with Firefox also in this case, becase blank cells
> > > borders are not displayed properly in firefox.
>
> > > Any adivse would be helpful and appreciated
>
> > > Thanks
> > > Suren- 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Where is the server log?

2009-04-02 Thread J.F.Sebastian

Hello everybody,

I'm really desperate because my gwt app (based on 1.5.3) keeps
crashing on the server side.
The error message keeps telling me to check the server log.

But where are they in hosted mode?

When I look for log files using find . | grep .log$ | xargs ls -la
I only see the timestamp of one file changing:
./www/MYPACKAGE-aux/MYPACKAGE.web.client.SERVICE.rpc.log

(MYPACKAGE and SERVICE are placeholder for the real names)

But in this file I don't find stacktraces / errors, only statements
like this:

java.util.ArrayList
   Serialization status
  Instantiable
   Path
  'java.util.ArrayList< MYPACKAGE.data.types.QuestionData>' is
reachable as a subtype of type 'class java.util.ArrayList
(etc.)


Please help!

Thank you very much!
J.F

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Vitali Lovich
For me, the bigger benefit is the ability to utilize the native browser to
its full-power.  For instance, Firebug + Firefox.

2009/4/2 Alexandros Papadakis 

>
> Great
>
> 1.5.3 (which I am using) in Hosted mode can not run under 64bit java.
> The compiler can, which is nice.
>
> As bigger and bigger projects are going to be developed,   this will
> be an issue, since 32bit java can only address 1.5 gigs of
> memory (or... am I wrong???)
>
>
> Regards,
>
>
> On Thu, Apr 2, 2009 at 10:47 AM, Vitali Lovich  wrote:
> > With GWT 2.0 (I believe that's the version after 1.6 & the current trunk)
> > has OOPHM scheduled for it, which removes the platform dependancy pretty
> > much,  I'm running it right now on 64-bit Ubuntu with my native Firefox.
> >
> > On Thu, Apr 2, 2009 at 3:18 AM, Alexandros Papadakis 
> > wrote:
> >>
> >> Hi,
> >>
> >> Will there be a 64bit version?
> >>
> >>
> >> Best regards,
> >> Alex
> >>
> >> On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum  wrote:
> >> > The GWT team is happy to announce the availability of Google Web
> Toolkit
> >> > 1.6
> >> > RC2.  Download it here:
> >> >
> >> > http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3
> >> >
> >> > For an overview of the new features in 1.6, please see the
> announcement:
> >> >
> >> >
> >> >
> http://googlewebtoolkit.blogspot.com/2009/03/google-web-toolkit-16-rc2-now-available.html
> >> >
> >> > The only real difference from RC1 should be some fixes I made for the
> >> > hosted
> >> > mode Jetty configuration issues that were reported with RC1:
> >> >
> >> >
> >> >
> http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=milestone:1_6_RC2+status:Fixed,FixedNotReleased
> >> >
> >> > --Scott, 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-Toolkit@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: What is the easier way to deploy a GWT application to Tomcat using Eclipse?

2009-04-02 Thread tetsuo

On 2 Apr., 08:21, "alex.d"  wrote:
> Ant is definitely worth to take a look at. I'm using it to make my war-
> file. After that i have to upload/copy it to webapps-folder -
> deploying complete!
>
with something like
[code]



[/code]
the ant task will do that for you ;)
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Nicanor Babula

On Thursday 02 April 2009 10:19:59 Suren wrote:
> Hi Nicanor,
>
> Thanks for the reply.
>
> So, lets assume, I am going for the partial rows display in the
> beginning and adding more rows when I scroll..
>
> In this case, Should there be a rendering issue? like when I scroll,
> untill the population is being done, the screen will hang or it will
> be blank in the end portion of the table right?
The scrolled portion of the page could display "loading data.. please wait. 
The onScroll events are fired for every pixel, so you could make an algorithm 
that populates your table every delta_pixels_scrolled. And here again: What if 
the user scrolls a large amount of pixels? Well, you could implement some sort 
of stack. Every delta_pixels_scrolled you add to your stack the loading 
requests. After that, with a timer you execute all the stacked loading 
requests. This way you should be able to avoid the "stop script" message. This 
is my idea.
>
> and I thought of one more way like, Display the rows that will fit to
> the screen in the beginning and add the rows in the background. Is
> that possible? I 've read about BulkRenderer or Preloaded table..
>
> Could you please gimme any clues about those?
I never used those objects.. I prefer using only gwt-original objects. And if 
I need something special I just implement it myself.
>
> Thanks
The pleasure is mine.
> Suren
>
> On Apr 2, 12:50 pm, Nicanor Babula  wrote:
> > Hi,
> > I faced this problem too when trying to work with a grid having lots of
> > rows and columns. I think is slower in IE because of the way it renders
> > the pages. Anyway, it turns out that with large numbers of DOM elements
> > browsers fail displaying the pages. Therefore you could try in some way
> > reduce the number of elements (every td/tr is an element). Try
> > implementing a fake table with divs. A big div with a background image
> > that simulates the grid andhe position:relative, and the cells - other
> > divs with position: absolute.
> >
> > I did that way for my project.
> >
> > Or you could still use a flextable, with bigger row heights in order to
> > make the scrollbars appear. This way you'll load only x% of the total
> > data on page load, the remaining (100 - x)% you'll load on scroll. ;)
> >
> > On Thursday 02 April 2009 09:36:41 Suren wrote:
> > > Hi All,
> > >
> > > I am populating 100x100 cells in Flextable from database.
> > >
> > > Its taking 10 mins in IE to display the table, but only less than 10
> > > secs in Firefox.
> > >
> > > I am wondering why such extreme difference exists between these two
> > > browsers?
> > >
> > > Ofcourse my code may not be performance efficient though. But still IE
> > > should not disappoint me in this case
> > >
> > > I cannot stick with Firefox also in this case, becase blank cells
> > > borders are not displayed properly in firefox.
> > >
> > > Any adivse would be helpful and appreciated
> > >
> > > Thanks
> > > Suren- 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Alexandros Papadakis

Great

1.5.3 (which I am using) in Hosted mode can not run under 64bit java.
The compiler can, which is nice.

As bigger and bigger projects are going to be developed,   this will
be an issue, since 32bit java can only address 1.5 gigs of
memory (or... am I wrong???)


Regards,


On Thu, Apr 2, 2009 at 10:47 AM, Vitali Lovich  wrote:
> With GWT 2.0 (I believe that's the version after 1.6 & the current trunk)
> has OOPHM scheduled for it, which removes the platform dependancy pretty
> much,  I'm running it right now on 64-bit Ubuntu with my native Firefox.
>
> On Thu, Apr 2, 2009 at 3:18 AM, Alexandros Papadakis 
> wrote:
>>
>> Hi,
>>
>> Will there be a 64bit version?
>>
>>
>> Best regards,
>> Alex
>>
>> On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum  wrote:
>> > The GWT team is happy to announce the availability of Google Web Toolkit
>> > 1.6
>> > RC2.  Download it here:
>> >
>> > http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3
>> >
>> > For an overview of the new features in 1.6, please see the announcement:
>> >
>> >
>> > http://googlewebtoolkit.blogspot.com/2009/03/google-web-toolkit-16-rc2-now-available.html
>> >
>> > The only real difference from RC1 should be some fixes I made for the
>> > hosted
>> > mode Jetty configuration issues that were reported with RC1:
>> >
>> >
>> > http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=milestone:1_6_RC2+status:Fixed,FixedNotReleased
>> >
>> > --Scott, 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-Toolkit@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: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Suren

Hi Nicanor,

Thanks for the reply.

So, lets assume, I am going for the partial rows display in the
beginning and adding more rows when I scroll..

In this case, Should there be a rendering issue? like when I scroll,
untill the population is being done, the screen will hang or it will
be blank in the end portion of the table right?

and I thought of one more way like, Display the rows that will fit to
the screen in the beginning and add the rows in the background. Is
that possible? I 've read about BulkRenderer or Preloaded table..

Could you please gimme any clues about those?

Thanks
Suren

On Apr 2, 12:50 pm, Nicanor Babula  wrote:
> Hi,
> I faced this problem too when trying to work with a grid having lots of rows
> and columns. I think is slower in IE because of the way it renders the pages.
> Anyway, it turns out that with large numbers of DOM elements browsers fail
> displaying the pages. Therefore you could try in some way reduce the number of
> elements (every td/tr is an element). Try implementing a fake table with divs.
> A big div with a background image that simulates the grid andhe  
> position:relative, and the cells - other divs with position: absolute.
>
> I did that way for my project.
>
> Or you could still use a flextable, with bigger row heights in order to make
> the scrollbars appear. This way you'll load only x% of the total data on page
> load, the remaining (100 - x)% you'll load on scroll. ;)
>
> On Thursday 02 April 2009 09:36:41 Suren wrote:
>
>
>
> > Hi All,
>
> > I am populating 100x100 cells in Flextable from database.
>
> > Its taking 10 mins in IE to display the table, but only less than 10
> > secs in Firefox.
>
> > I am wondering why such extreme difference exists between these two
> > browsers?
>
> > Ofcourse my code may not be performance efficient though. But still IE
> > should not disappoint me in this case
>
> > I cannot stick with Firefox also in this case, becase blank cells
> > borders are not displayed properly in firefox.
>
> > Any adivse would be helpful and appreciated
>
> > Thanks
> > Suren- 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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Nicanor Babula

Hi,
I faced this problem too when trying to work with a grid having lots of rows 
and columns. I think is slower in IE because of the way it renders the pages. 
Anyway, it turns out that with large numbers of DOM elements browsers fail 
displaying the pages. Therefore you could try in some way reduce the number of 
elements (every td/tr is an element). Try implementing a fake table with divs. 
A big div with a background image that simulates the grid andhe  
position:relative, and the cells - other divs with position: absolute.

I did that way for my project.

Or you could still use a flextable, with bigger row heights in order to make 
the scrollbars appear. This way you'll load only x% of the total data on page 
load, the remaining (100 - x)% you'll load on scroll. ;)


On Thursday 02 April 2009 09:36:41 Suren wrote:
> Hi All,
>
> I am populating 100x100 cells in Flextable from database.
>
> Its taking 10 mins in IE to display the table, but only less than 10
> secs in Firefox.
>
> I am wondering why such extreme difference exists between these two
> browsers?
>
> Ofcourse my code may not be performance efficient though. But still IE
> should not disappoint me in this case
>
> I cannot stick with Firefox also in this case, becase blank cells
> borders are not displayed properly in firefox.
>
> Any adivse would be helpful and appreciated
>
> Thanks
> Suren
> 

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Vitali Lovich
With GWT 2.0 (I believe that's the version after 1.6 & the current trunk)
has OOPHM scheduled for it, which removes the platform dependancy pretty
much,  I'm running it right now on 64-bit Ubuntu with my native Firefox.

On Thu, Apr 2, 2009 at 3:18 AM, Alexandros Papadakis wrote:

>
> Hi,
>
> Will there be a 64bit version?
>
>
> Best regards,
> Alex
>
> On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum  wrote:
> > The GWT team is happy to announce the availability of Google Web Toolkit
> 1.6
> > RC2.  Download it here:
> >
> > http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3
> >
> > For an overview of the new features in 1.6, please see the announcement:
> >
> >
> http://googlewebtoolkit.blogspot.com/2009/03/google-web-toolkit-16-rc2-now-available.html
> >
> > The only real difference from RC1 should be some fixes I made for the
> hosted
> > mode Jetty configuration issues that were reported with RC1:
> >
> >
> http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=milestone:1_6_RC2+status:Fixed,FixedNotReleased
> >
> > --Scott, 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-Toolkit@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
-~--~~~~--~~--~--~---



FlexTable population, very faster in Firefox and dead slow in IE. why?

2009-04-02 Thread Suren

Hi All,

I am populating 100x100 cells in Flextable from database.

Its taking 10 mins in IE to display the table, but only less than 10
secs in Firefox.

I am wondering why such extreme difference exists between these two
browsers?

Ofcourse my code may not be performance efficient though. But still IE
should not disappoint me in this case

I cannot stick with Firefox also in this case, becase blank cells
borders are not displayed properly in firefox.

Any adivse would be helpful and appreciated

Thanks
Suren
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



GWT with python

2009-04-02 Thread Prashant Gupta
is there any way to integrate GWT with python? if yes, how do i request
server using GWT?


thanks,
Prashant

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Is there any other easy and faster way to add text to FlexTable?

2009-04-02 Thread Suren

Hi Thomas,

Thanks for the reply.

I 've visted the link you gave, it sounds interesting. But how can I
acheive that?

Also I would like to mention that, I am populating 100 columns and 100
rows in flextable.

And I am setting styles using cellFormatter.

but its lightning fast in firefox and dead slow in IE. In my case, its
taking around 8 to 9 mins to display 100 rows in IE and 5 to 6 seconds
in Firefox.

wondering why such extreme diffrence exists??

Thanks
Suren

On Apr 1, 2:34 pm, Thomas Broyer  wrote:
> On 1 avr, 09:20, Suren  wrote:
>
> > Hi All,
>
> > I am using FlexTable to populate 100 rows and each row has around 90
> > columns.
>
> First, if you know in advance the size of your "grid" and you do not
> need cells spanning multiple columns or rows, consider using a Grid
> rather than FlexTable.
>
> > Please advise..I am facing performance issue with this..
>
> Have a look 
> at:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&t=FAQ_...
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Issues in viewing pages developed using gwt and hosted in linux server using IE.

2009-04-02 Thread ben

Hi,

I've got the same problem with my tomcat 6 on windows and Internet
Explorer 6 displaying a StackPanel.
You can see more on the related issue.
http://code.google.com/p/google-web-toolkit/issues/detail?id=3372&can=5

Moreover It can be viewed browsing the GWT showcase with IE6.

So still no idea about the bug ?

Regards

On 13 fév, 13:05, Haroon  wrote:
> Hi
>
> I have some gwt web pages hosted in Tomcat 5.5 in a linux server
> running RHEL 5 64 bit. I am having issues like tree  items missing '+'
> and '-' images, decorated tab panel rounded edges appearing weired
> etc. when these pages are viewed using IE, mozilla is not giving
> theses issues. Also when this same war is deployed in the same Tomcat
> version version running in Windows machines i am not getting these
> issues. Has anybody else faced  some similar issues? How can i solve
> this?
>
> Rgds
> Haroon Sajid

--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Announcing GWT 1.6 RC2

2009-04-02 Thread Alexandros Papadakis

Hi,

Will there be a 64bit version?


Best regards,
Alex

On Tue, Mar 31, 2009 at 5:51 AM, Scott Blum  wrote:
> The GWT team is happy to announce the availability of Google Web Toolkit 1.6
> RC2.  Download it here:
>
> http://code.google.com/p/google-web-toolkit/downloads/list?q=1.6.3
>
> For an overview of the new features in 1.6, please see the announcement:
>
> http://googlewebtoolkit.blogspot.com/2009/03/google-web-toolkit-16-rc2-now-available.html
>
> The only real difference from RC1 should be some fixes I made for the hosted
> mode Jetty configuration issues that were reported with RC1:
>
> http://code.google.com/p/google-web-toolkit/issues/list?can=2&q=milestone:1_6_RC2+status:Fixed,FixedNotReleased
>
> --Scott, 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-Toolkit@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: making gwtext's toolbarbutton ICON appear

2009-04-02 Thread wouter

Stumbled on that too. Solved my problem using GWT PushButtons and
wrapping them in  GXT AdapterToolItems.
--~--~-~--~~~---~--~~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---