• 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: WO URL Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO URL Question


  • Subject: Re: WO URL Question
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 9 Jan 2008 10:47:04 -0800

Hi Dov,

On Jan 9, 2008, at 7:46 AM, Dov Rosenberg wrote:

I am curious as to why some of our apps pages have names in the URLS versus having numbers. For the 2 URLs below I know the following information:

http://.../MyApp.woa/wo/jSqTyatWIqpJ4hDSl1pPOM/0.AdminLogin.3.44.1.1.2

http://.../MyApp.woa.woa/wo/jSqTyatWIqpJ4hDSl1pPOM/ 1.0.0.24.0.1.2.1.1.0.0

jSqTyatWIqpJ4hDSl1pPOM = WO session id

0.AdminLogin = 0 is the page in the page cache, AdminLogin is the name of a component that uses a WOComponentContent to embed other pages.

1.0.0.24.0.1.2.1.1.0.0 = 1 is the second page in the page cache, the other numbers represent a different component also wrapped inside a WOComponent that uses a WOComponentContent

Why does the second URL have numbers versus string names?

While I have noticed this too, I don't recall what causes it. It might be the different between using a WOComponent directly on the page vs having it wrapped in some dynamic element.



I have found that if we provide the HTML name as a binding we get a nice string name instead of an object graph notation.

I didn't follow that. Can you explain some more?


Is there some attribute we can change on all WOComponents to avoid generating the object graph notation? It makes it very difficult to build test scripts that can change.


What are you using for testing? For functional testing, I am using Selenium. This acts on the DOM in the browser so rather than requesting a previously stored URL, it actually "clicks" a link or button on the page. This makes WO testing very simple. The stored URL approach makes it very difficult.

Chuck

--

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


References: 
 >WO URL Question (From: Dov Rosenberg <email@hidden>)

  • Prev by Date: WO URL Question
  • Next by Date: Re: Can't retrieve cookies
  • Previous by thread: WO URL Question
  • Next by thread: Re: WO URL Question
  • Index(es):
    • Date
    • Thread