Re: [SOLVED] Method Being called Twice
Re: [SOLVED] Method Being called Twice
- Subject: Re: [SOLVED] Method Being called Twice
- From: Owen McKerrow <email@hidden>
- Date: Thu, 17 Aug 2006 13:54:45 +1000
Hi All,
We had a WOGenericElement used for a dynamic style include, where it
should have been a WOGenericContainer, difference being that the
container adds the close tag. i.e. in this case </style>
Seems if the close tag is missing Safari calls the page twice.
Owen
On 17/08/2006, at 1:40 PM, Owen McKerrow wrote:
Well Im gonna hang my head in shame on this one.
I stuck a break point in session's awake method and its being
invoked twice for EVERY page !
So Im guess its a problem with my template component that all the
other pages sit inside of.
Stranger still is that I tested it under Safari 2.0.4 and Firefox
1.5.04. It only does the double call under Safari.
Ok Im off to track down what's doing it.
Any suggestions of things to look for ?
Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
"As of tomorrow, employees will only be able to access the building
using individual security cards. Pictures will be taken next
Wednesday employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp
On 17/08/2006, at 1:28 PM, Chuck Hill wrote:
Now that is a good one...
Both are from invokeAction. Any custom component here? Calling
valueForBinding("action") can trip the action.
Have you verified that the app is only receiving a single
request? Does it do this in all browsers? I am just wondering if
bad HTML or something is making the app think it is getting two
requests.
Other than that, no... nothing is coming to mind.
Chuck
_______________________________________________
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