• 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
Immediate redirect of one page to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Immediate redirect of one page to another


  • Subject: Immediate redirect of one page to another
  • From: Paul Hoadley <email@hidden>
  • Date: Wed, 11 Nov 2009 10:23:11 +1030

Hello,

I suspect I haven't had enough coffee yet...  What I want to do is cause an immediate re-direct of a requested page to a different page under certain conditions.  It would be nice to handle it within the HTML template, but any solution is fine by me.  I was thinking I could do something like this:

  <wo:if condition="$shouldRedirect"> <wo:ERXRedirect component="$redirectTo" /> </wo:if>
  <wo:else>
    <wo:form multipleSubmit="true"> ... </wo:form>
  </wo:else>

But clearly I can't.  I want to handle it _in that page_.  (Obviously I could make the preceding page choose, but ideally I want a solution where the present page decides whether to redirect itself or not.)  What's the WO way to do this?  I just can't see it.


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


 _______________________________________________
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: Immediate redirect of one page to another
      • From: Paul Hoadley <email@hidden>
  • Prev by Date: Re: Installing WO 543 on Linux
  • Next by Date: Re: Installing WO 543 on Linux
  • Previous by thread: Re: Huge many-to-many relationship
  • Next by thread: Re: Immediate redirect of one page to another
  • Index(es):
    • Date
    • Thread