Re: IE v Firefox

2011-03-28 Thread Jeff Chimene
On Mon, Mar 28, 2011 at 8:43 AM, Greg Dougherty
wrote:

> >- Install firebug-lite
> Well, I've taken a look at it, and maybe after I figure out what a
> "bookmarklet" is I might feel more comfortable using it.  But thanks
> for the pointer.
>

I don't remember the linkage between bookmarklet and the install. ISTR that
the bookmarklet gives you on-demand access to FBL. But I could be wrong.
When I'm using IE, it's always for testing, so FBL is always running.


>
> >- Use development mode to step through your code after the login
> process
> >completes.
>
> Yeah, 30 seconds after I posted this it occurred to me that I COULD
> test this under development mode, not just as a deployed app. :-(
>

I hate it when that happens...

-- 
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: IE v Firefox

2011-03-28 Thread Jeff Chimene
On Mon, Mar 28, 2011 at 8:33 AM, Greg Dougherty
wrote:

> > One more thing - why are you using quirks mode?
> Because I'm utterly uninterested in trying to figure out what the
> dimensions of my panels should be, so I don't ever use any of the
> *LayoutPanels.
>
> Every web app I've ever written has had its size dependent upon the
> user's input.  I can write a lot of code to try to figure out how big
> things should be, and then resize everything appropriately, or I can
> use Quirks mode and have the Panels do that for me, while I focus on
> the issues that are specific to my app.
>
> Which do you think is a better use of my time?
>
> I've never seen an explanation of why the *LayoutPanels are the way
> they are (just the bald statement "can't give you Swing like sizing in
> Standards mode"), but even if it's a really good reason, it wouldn't
> really matter.  Because as long as I can simply focus my efforts on
> the problems important to me, that's what I'm going to do.
>
> Greg
>

Any GWT widget should work in Standards mode. It may be interesting to see
if the problem disappears in Standards mode. Also, there's the
X-UA-Compatibility header for IE. Are you using that header?

-- 
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: IE v Firefox

2011-03-28 Thread Greg Dougherty
>- Install firebug-lite
Well, I've taken a look at it, and maybe after I figure out what a
"bookmarklet" is I might feel more comfortable using it.  But thanks
for the pointer.

>- Use development mode to step through your code after the login process
>completes.

Yeah, 30 seconds after I posted this it occurred to me that I COULD
test this under development mode, not just as a deployed app. :-(

What's worse, is that I found the problem, and it's one I'd previously
discovered on Dec 8: IE 7 throws an exception when you try to add
something to a HorizontalPanel whose horizontal alignment is set to
ALIGN_JUSTIFY.

Ah, well, at least this time I submitted a bug report.

Thanks Jeff,
Greg

On Mar 28, 10:03 am, Jeff Chimene  wrote:
> On Mon, Mar 28, 2011 at 7:41 AM, Greg Dougherty
> wrote:
>
> > So, I have a quirks mode web app using GWT 2.1.2.  It runs just fine
> > under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my
> > iPhone).  On IE, however, it pops up the password dialog box, accepts
> > a user id and password, then gives a completely blank screen.  On
> > errors on the server side.
>
> > How do I go about debugging this sort of problem?
>
> A few ideas:
>
>    - Install firebug-lite
>    - Use development mode to step through your code after the login process
>    completes.
>    - Are you using Gin? If so, create a mock login authentication module to
>    save yourself that step
>    - Which version of IE? Six? Good luck.
>    - JSNI code? I'd start there.
>    - Custom attribute settings? element.setAttribute... Review those.
>    - GWT.log or logger is your friend

-- 
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: IE v Firefox

2011-03-28 Thread Greg Dougherty
> One more thing - why are you using quirks mode?
Because I'm utterly uninterested in trying to figure out what the
dimensions of my panels should be, so I don't ever use any of the
*LayoutPanels.

Every web app I've ever written has had its size dependent upon the
user's input.  I can write a lot of code to try to figure out how big
things should be, and then resize everything appropriately, or I can
use Quirks mode and have the Panels do that for me, while I focus on
the issues that are specific to my app.

Which do you think is a better use of my time?

I've never seen an explanation of why the *LayoutPanels are the way
they are (just the bald statement "can't give you Swing like sizing in
Standards mode"), but even if it's a really good reason, it wouldn't
really matter.  Because as long as I can simply focus my efforts on
the problems important to me, that's what I'm going to do.

Greg

On Mar 28, 10:04 am, Jeff Chimene  wrote:
> One more thing - why are you using quirks mode?

-- 
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: IE v Firefox

2011-03-28 Thread Jeff Chimene
One more thing - why are you using quirks mode?

-- 
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: IE v Firefox

2011-03-28 Thread Jeff Chimene
On Mon, Mar 28, 2011 at 7:41 AM, Greg Dougherty
wrote:

> So, I have a quirks mode web app using GWT 2.1.2.  It runs just fine
> under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my
> iPhone).  On IE, however, it pops up the password dialog box, accepts
> a user id and password, then gives a completely blank screen.  On
> errors on the server side.
>
> How do I go about debugging this sort of problem?
>

A few ideas:

   - Install firebug-lite
   - Use development mode to step through your code after the login process
   completes.
   - Are you using Gin? If so, create a mock login authentication module to
   save yourself that step
   - Which version of IE? Six? Good luck.
   - JSNI code? I'd start there.
   - Custom attribute settings? element.setAttribute... Review those.
   - GWT.log or logger is your friend

-- 
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: IE v Firefox

2011-03-28 Thread Juan Pablo Gardella
See this thread
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c4c2e25bf0a2065f

2011/3/28 Greg Dougherty 

> So, I have a quirks mode web app using GWT 2.1.2.  It runs just fine
> under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my
> iPhone).  On IE, however, it pops up the password dialog box, accepts
> a user id and password, then gives a completely blank screen.  On
> errors on the server side.
>
> How do I go about debugging this sort of problem?
>
> TIA,
>
> Greg
>
> --
> 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.
>
>

-- 
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.