ie8 problem with gwt 2.4?

2011-09-14 Thread macagain
Is anyone else have a problem with IE8 on GWT2.4?

I'm running in standards mode !doctype html

exactly the same code worked fine on GWT2.3... with that F12 dev tools 
showed:
Browser Mode: IE8
Doc Mode: IE8 Standards

but on GWT2.4, the page errors in the generated js, doesn't load, and F12 
dev tools shows:
Browser Mode: IE8 Compatibility Mode
Doc Mode: IE7 Standards

and yes:
- user-agent properties the same in both (in fact using whatever is in 
UserAgent.gwt.xml
- i clean'd
- everything works fine in ie9

thanks!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/IujFBoAzgycJ.
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 Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-08-28 Thread macagain
Yes, I agree... focus on one, and make sure it's solid.  after all, when it 
was gwtshell, it was just one and no one was complaining.  I'd be really 
interested in what google internal folks using gwt are doing...

btw, effectively I'm only using one browser in dev mode (omniweb) now.  yes, 
theoretically ff and chrome can be used, but i may as well be doing gwt dev 
on a 10 year old windows 2000 box with 512mb... it's that bad.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/0eNgbXeyNKoJ.
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: scrolling in iPad

2011-08-11 Thread macagain
Thanks everyone who pointed out that it works in 2.3!  I was not aware of 
that or I'd have moved...

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/TI046TVRFBsJ.
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.



scrolling in iPad

2011-08-06 Thread macagain
What's the best or right way to do gwt apps that scroll properly on the 
iPad?  I.e. apps that are bigger than the browser window.  Scrollpanel does 
seem to work either.

I've tried some of the touch scroll panel widgets floating around, but they 
don't show the scroll bars, which of course confuses users.

i've seen the gwt wiki on gwt/iphone, but that dates from 1.4 and the 
original iphone.  Anyone know of a better guide?

Anyone done a gwt app for ipad?  would love to hear your experiences.

-r

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/-G-2M1M15fgJ.
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 Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-27 Thread macagain
Thanks Jurriaan... a real lifesaver.

If you don't want to go back to such an old version, 5.0.5 also works, and 
you can get it from 
http://appldnld.apple.com.edgesuite.net/content.info.apple.com/Safari5/041-0564.20110413.Fi9pb/Safari5.0.5SnowLeopard.dmg

For everyone's benefit, here're the detailed steps I used:
1. download 5.0.5, extract the .pkg from the dmg.
2. get pacifist using Jurriaan's supplied link, use it to open the safari 
pkg.
3. extract safari.app and put it somewhere other than your Applications 
folder (otherwise it'll overwrite 5.1).  It'll be called 'Safari'; I renamed 
it to 'Safari 5.0.5'.  (all the other stuff in the pkg didn't seem to be 
necessary)
4. run you gwt webapp, then on the url, right-click, open withAdd a 
browser, pick the 5.0.5 app, and bob's your uncle!  (or just open browser, 
and paste url)

tested on lion and showcase, seems to work fine.

btw, there's 5.0.6 in the apple support download pages, but that's a leopard 
only thing.

On Wednesday, July 27, 2011 12:57:47 AM UTC+8, Jurriaan Mous wrote:

 A workaround: 

 We fixed it with downloading 
 http://support.apple.com/downloads/Safari_4_0_3 
 and extracting Safari.app from the dmg its Applications folder with a 
 trial of http://www.macupdate.com/app/mac/6812/pacifist 

 It works both on Snow Leopard as on Lion. You can rename the old 
 Safari so you can have both together on one system. The App uses the 
 new Webkit on the system so it is only the old Safari user interface 
 shell which uses the old Webkit API. 

 On 20 jul, 21:28, Eric Ridge eeb...@gmail.com wrote: 
  Is there a trick to get the currently-available-for-Safari plugin to 
  work with Safari 5.1/OS X 10.7?  Safari refuses to load it, and I can 
  find no indication as to why. 
  
  (fortunately, I keep around a copy of Safari 4.0.5 so I can keep 
 working.) 
  
  Any insight will be greatly appreciated! 
  
  eric

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/WwHQK0YtaFMJ.
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 Developer Plugin on Safari 5.1 (OS X Lion 10.7) doesn't load

2011-07-26 Thread macagain
i thought there were many many people at google who use macs... and that gwt 
is used in many projects internally.  surely, the intersection is not a 
small group?  or is it a crock?  is it because of stuff like this that the 
plus team won't use gwt?

On Monday, July 25, 2011 4:29:18 PM UTC-6, Eric B. Ridge wrote:

 On Mon, Jul 25, 2011 at 5:55 PM, David Chandler drfib...@google.com 
 wrote:
  Good luck, Eric :-) It likely requires non-trivial changes (which is
  why the GWT team hasn't done it yet).

 I would like to say that it really stinks that nobody from the GWT

 team warned us that Safari 5.1 + OOPHM doesn't work.  It's debatable
 whether or not it's my responsibility to keep up with this stuff, but
 it's definitely the GWT team's responsibility to at least communicate
 such things to their users.

 Part of me wants to say f*ck it and use FF, but frankly, I don't like
 FF.  Devmode is painfully slow in Chrome, and I'm definitely not
 switching to Windows.

  We're currently evaluating how to handle the recent Firefox as well as
  Safari changes going forward. The FF change is especially onerous as
  it now requires engineering effort every 6 weeks to stay up to date.

 Hire somebody.

 eric



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/xxeHo7Ubgs4J.
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: DatePicker now starting with Monday, used to be Sunday

2011-01-05 Thread macagain
Yes, same here.  But what's even more puzzling is that if you run
showcase (as in compile it from the dist. samples directory), the
datepicker there starts on Sunday!

Been digging all over, but can't seem to figure out what/where the
setting is.

On Jan 5, 8:57 am, Ben Imp benlee...@gmail.com wrote:
 I experienced this as well.  I noticed it right after I upgraded to
 GWT 2.1, so I assume that must have done it.  I've ignored it so far,
 as no one in my organization seems to care, but I must admit, I am
 curious as to the cause.

 -Ben

 On Jan 5, 9:51 am, Dan danpr...@gmail.com wrote:



  My DatePicker in my program used to start with Sunday, but since some
  time recently--I don't know when--it has been starting with Monday.

  I've done nothing in this area.

  What do I do to get it back to starting with Sunday?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: RootLayoutPanel adds extra divs which makes it unusable. Why?

2010-09-21 Thread macagain
Thomas-
can you elaborate on what each's purpose is... I've been wondering
about the diff... thanks!
-r

On Sep 21, 9:56 am, Thomas Broyer t.bro...@gmail.com wrote:
 On Sep 21, 5:33 pm, marius.andreiana marius.andrei...@gmail.com
 wrote:





  Hi,

  In an app I was using RootLayoutPanel as it seems to be the new gwt
  2.0 way of using panels.

  It generates 3 extra divs, which, besides too much markup, they also
  introduce some problems with onclick events being passed to various
  elements. I've found similar complaints from others, 
  e.g.http://www.devcomments.com/RootPanel-vs-RootLayoutPanel-at197454.htm

  Going back to RootPanel removes extra divs and issues.
  The only difference between the two in docs is:
  This panel automatically calls RequiresResize.onResize() on itself
  when initially created, and whenever the window is resized.

  So what's the actual purpose of RootLayoutPanel? Are the extra divs
  really necessary?

 RootLayoutPanel is a container that takes up all the visible area and
 always resizes to cover the whole viewport.
 Other than that, it's a LayoutPanel, so it wraps all its children
 within a div to be able to accurately manage their position and size
 in all supported browsers. And it creates an additional, hidden, div
 (two in the case of IE6) as a way to measure EMs and EXs in pixels.
 So, yes, those divs are necessary.
 But RootLayoutPanel and RootPanel are not interchangeable, they have
 distinct purposes.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Is TabLayoutPanel lazy?

2010-09-06 Thread macagain
Does anyone know if the pages for each tab in a TabLayoutPanel are
created lazily, i.e. on the first selection of a given tab, or on
instantiation of TabLayoutPanel?  And does it make a diff if using
uibinder?
thanks!
-r

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: exporting data to excel

2010-08-30 Thread macagain
I use jXLS http://jxls.sourceforge.net/ (which in turn uses POI) to
create the output file on the server, then depending on the browser
either (i) do a Window.open (on IE, which either triggers the excel
activeX to open the file, or presents the save as dialog), or (ii) set
the url of a hidden iFrame to the file (all other browsers), which
triggers download.  Both actions are called in the callback when the
report gen is completed on the server.  The hidden iFrame let me work
around pop-up blockers.

jXLS uses a mail merge style generation.  You create a normal excel
file with placeholders, e.g. ${data.here}; this is the template file.
You write a little pojo on the server to grab the data, which jXLS
then merges with the template, creating the output file.

good luck.

On Aug 30, 9:51 am, Lewis Yeung yeung.le...@gmail.com wrote:
 I am currently working on an appl using gwtext. However, i need to
 export data to an excel for users to save in their local machines. I
 wonder how this can do done. I will have a button or some sort and
 when it is clicked, the presenter will call the server (which gets
 data from DB) using GWT RPC. Do I use Poi or jExcel to create the
 excel from server? then how can users save the file in their local
 machines? pls help. any tutorials or samples would be great. thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Does entire IncrementalCommand run in one tick?

2010-06-09 Thread macagain
Do all steps of an IncrementalCommand run in one tick, or does it
return control to the js event loop in between steps, thereby allowing
other commands on the deferred queue to run in between steps?  e.g.

List results = some list returned from a service;

DeferredCommand.addCommand(new IncrementalCommand() {
   int i=0;
   public boolean execute {
  doSomeReallyLongAssWorkWithRecord(results.get(i++));
  updateUI();
  return iresults.size();
   }
});

DeferredCommand.addCommand(new Command() {
   public void execute() {
  doCleanUp();
   }
});

i.e. will the 2nd deferred cmd (i.e. the cleanup step) always only run
after the incremental command is done, or can it creep in between
steps of the incremental command?

Thanks much for replies!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Need to explicitly remove event handlers manually?

2010-04-12 Thread macagain
Is it required or even good practice to manually remove event handlers
(say, on detach or unload)?  I.e. keep the handlerRegistration around
when returned from addHandler, then later call
handlerManager.removeHandler().

Of course in the old world of manually managing listener collections,
one had to do it, but in the new world of HandlerManagers?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Official word on Safari 4 public beta support

2009-02-24 Thread macagain

Any news on whether it's supposed to work/not work, issues etc.?  It
runs my gwt apps great on my windoze machines... fast!  faster than
chrome! (even on my 4 1/2 year old laptop which just about gags on
ie7)

However, I've not upgraded my mac dev machine yet, not know how hosted
mode will behave.  If there are any brave souls who have tried it,
feedback much appreciated.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---