• 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: Backtracking - That Age Old Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Backtracking - That Age Old Problem


  • Subject: RE: Backtracking - That Age Old Problem
  • From: "Jonathan Fleming" <email@hidden>
  • Date: Sun, 10 Aug 2003 12:52:32 +0100

Hi Guys
Is there a way to get the URL dynamically, such as:
http://silver-back:1328/wo-scripts/WebObjects.exe/TMI.woa/wa/DA_DirectorySearchAction/selectedObject?wosid=wQszUbJbtKvyuNn0IWQuE0&tbClientID=1156&country=*megastore*&bAdvancedReturnDG=false&companyName=*megastore*&categoryName=*megastore*&metaKeywords=*megastore*&bNormalReturnDG=true&cityTown=*megastore*&artisteName=*megastore*

from the address locator and pass this in a form button or hyperlink so that I can get back to the page I want? I know of uri in the WORequest API but don't understand it or how to use it to get the url I want.

I have absolutely no problem with backtracing using WebObjects state but I don't want a session, I need to stay on the side of directActions

Anyone got any ideas?

Jonathan :^/

Ps. having just looked at this url how can I get appendToResponse to give me this bit:
tbClientID=1156&country=*megastore*&bAdvancedReturnDG=false&companyName=*megastore*&categoryName=*megastore*&metaKeywords=*megastore*&bNormalReturnDG=true&cityTown=*megastore*&artisteName=*megastore*


If I can get that bit dynamically I can do what I need in a hyperlink by manually crating the first part of the URL since this is static / bookmarkable anyway.

Regards
Jonathan


From: "Pierre Bernard" <email@hidden>
To: "Jonathan Fleming" <email@hidden>, <email@hidden>
CC: <email@hidden>
Subject: RE: Backtracking - That Age Old Problem
Date: Fri, 8 Aug 2003 09:12:27 +0200

Hi!

Sorry I have not followed the whole topic. I thus don't know what the original problem is.

Yet I use the opportunity to throw in a shameless plug for my sample code on dealing with backtracking. It is at http://homepage.mac.com/I_love_my/webobjects.html

Pierre.

Hi Pierre,

We covered this once before an you daid you didn't have a solution for backtracking using direct actions and the code I see in your download is much the same as last time so I'm still on first base with this one.


-----Original Message----- From: Jonathan Fleming [mailto:email@hidden] Sent: Friday, August 08, 2003 2:55 AM To: email@hidden Cc: email@hidden Subject: Re: Backtracking - That Age Old Problem


>From: Marek Wawrzyczny <email@hidden>
>To: "Jonathan Fleming" <email@hidden>
>CC: email@hidden
>Subject: Re: Backtracking - That Age Old Problem
>Date: Fri, 8 Aug 2003 10:19:29 +1000
>
>What I have done in two sites so far is implemented a class that mimics
>WODisplayGroup functionality. The search and page number parameters are
>passed as typical URL parameters. It actually wasn't that difficult to do, >took about two days to write and refine.
>
>This still means that a search has to be performed every time a listing
>page is generated but you won't be generating as much html.


Mmm... seems to me that everyone has some sort of issue with this problem, but is there anyone with a general solution out there - haven't looked at the Project Wonder option(ERXWOResponseCache) yet posted by Anjo Krank, but
it seems to be the only one available? Would love to know if there are other
options.


Jonathan :^)

>
>On Friday, Aug 8, 2003, at 02:42 Australia/Sydney, Jonathan Fleming wrote:
>
>>Hi Everyone,
>>
>>I've never been able to sort this problem out on the side of
>>DirectActions. To go back to a results page (an array of listed items in a
>>repitition) I pass the search values through to my section page or view >>page where I hide the text box values, but provide a form and return
>>button that will basically search the same query again therefore giving me
>>back the exact same results that I came from in my results page - which is
>>what I want.
>>Obviously this is sending untold requests to the server therefore puting a
>>strain on it which ain't good at all. Does anyone know how to properly go >>back to a results page when you are using direct actions?
>>
>>Examples would be welcomed. Thank you.
>>
>>Kind regards
>>Jonathan
>>
>>_________________________________________________________________
>>Express yourself with cool emoticons - download MSN Messenger today!
>>http://www.msn.co.uk/messenger
>>_______________________________________________
>>webobjects-dev mailing list | email@hidden
>>Help/Unsubscribe/Archives:
>>http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>>Do not post admin requests to the list. They will be ignored.
>>
>>
>
>Marek Wawrzyczny
>
>software engineer
>-------------------------->
>ish group pty ltd
>7 Darghan St Glebe 2037 Australia
>phone +61 2 9660 1400 fax +61 2 9660 7400
>http www.ish.com.au | email email@hidden
>


_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you.
http://www.msn.co.uk/internetaccess
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • RE: Backtracking - That Age Old Problem
      • From: Jonathan Rochkind <email@hidden>
  • Prev by Date: Re: good beginner's java books?
  • Next by Date: Concurrent Request Processing
  • Previous by thread: RE: Backtracking - That Age Old Problem
  • Next by thread: RE: Backtracking - That Age Old Problem
  • Index(es):
    • Date
    • Thread