• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxUtils.redirectTo() and IE7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxUtils.redirectTo() and IE7


  • Subject: Re: AjaxUtils.redirectTo() and IE7
  • From: Amiel Montecillo <email@hidden>
  • Date: Wed, 13 Jan 2010 08:03:09 +0800

There is IE Developer toolbar (http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en) its not quite like firefug or safari's dev tool but its the only thing for IE.

You could also try View Source -> Copy and Paste source to a sane editor, go to the line number that is reported.

Amiel

On Wed, Jan 13, 2010 at 6:24 AM, Chuck Hill <email@hidden> wrote:
IIRC, that usually means that Object.extend() has not been called on some object before Prototype or other added methods are called.  I have no idea why this would be related to the redirect.

Does anyone have IE debugging tips?  Other than avoid it....


Chuck



On Jan 12, 2010, at 10:17 AM, Sacha Michel Mallais wrote:

Hi all,

Has anyone had any issues with using AjaxUtils.redirectTo() with IE7?  I'm getting this error on each page that uses redirectTo() on IE7 (typed by hand due to IE7 lameness, please excuse typos):
-----------------------------------------------
Line: 4176
Char: 5
Error: Object doesn't support this property or method
Code: 0
URL: https://test.global-village.net/apps/WebObjects/SMTest.woa/wa/218.0.9.1.1.1.1
-----------------------------------------------

... and the page doesn't redirect, it just sits there, and the rest of the Ajax on the page no longer works.

The code I use to redirect is:
-----------------------------------------------
  public WOComponent sectionRepetitionObserverAction()
  {
      if (selectedSectionAction.count() > 0)
      {
          // should only be a single key and value in the dictionary
          aSection = (Section) selectedSectionAction.allKeys().lastObject();
          String actionForCurrentSection = (String) selectedSectionAction.objectForKey(aSection);

          if ("Edit Content".equals(actionForCurrentSection))
          {
              AjaxUtils.redirectTo(editSection());
              return null;
          }
          ....
          [snip]
-----------------------------------------------

Where editSection() returns an initialized component.

This is under WO 5.4.3, the latest Wonder ("svn up" at 2:00pm Monday).

Anyone have any ideas why this is not working?  My client claims it was working a week or two ago, but I didn't touch any of this stuff, so I'm even more confused...


sacha


--
Sacha Michel Mallais             400 kg chimp
Global Village Consulting Inc.   http://www.global-village.net/
PGP Key ID: 7D757B65             AIM: smallais
"Choke on that, causality!"  -- the Professor, "Futurama"


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



--
socket error: unable to connect to 127.0.0.1
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: AjaxUtils.redirectTo() and IE7
      • From: Johnny Miller <email@hidden>
References: 
 >AjaxUtils.redirectTo() and IE7 (From: Sacha Michel Mallais <email@hidden>)
 >Re: AjaxUtils.redirectTo() and IE7 (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: AjaxUtils.redirectTo() and IE7
  • Next by Date: Re: AjaxUtils.redirectTo() and IE7
  • Previous by thread: Re: AjaxUtils.redirectTo() and IE7
  • Next by thread: Re: AjaxUtils.redirectTo() and IE7
  • Index(es):
    • Date
    • Thread