Re: Strange Object entering Session differs in Dev vs. Deploy
Re: Strange Object entering Session differs in Dev vs. Deploy
- Subject: Re: Strange Object entering Session differs in Dev vs. Deploy
- From: Chuck Hill <email@hidden>
- Date: Tue, 21 Jun 2005 09:29:49 -0700
This is precisely why I recommend NOT using Direct Connect. All you
need to do in development mode is to enable Personal Web Sharing in
System Preferences and add a launch arg of -WODirectConnectEnabled
false. OK, you're done.
As to your exact problem, I have no answer. I'd put a proxy between
your browser and the web app. TCPMonitor works well for this (just
discovered this at WWDC from Ken Anderson?). Also check the URLs
that the JavaScript is using and log out what gets to your
application in the dispatchRequest() method in Application.
Chuck
On Jun 21, 2005, at 8:47 AM, Nathan Walker wrote:
I have this CMS solution. When the user is logged into the site,
they may edit each page by clicking an Edit button which pops open
a new window (with javascript) that contains form fields that
allows them to edit the content. In development mode, everything is
dandy, you click the Edit button, the page content shows right up
in the new Edit window and you can click Update and it saves the
page back to the database, closes the Edit window and refreshes the
parent page and shows the updated content.
Now when I went to Deploy the app (standard WebObjects deployment
with Monitor), when you click the Edit button, the new window pops
up and shows nothing, but if you hit Cancel (which closes the Edit
window) and click Edit a SECOND time, THEN the content displays in
the new Edit window and you can make changes. It's behavior is
consistent across every page. Why is this different in deploy mode ?
I am using the Default Editing Context because it is a very simple
CMS solution and the page content is being pulled into the
defaultEditingContext every time you click the Edit button. I am
confused.
hopefully this is clear,
Thanks,
Nathan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development 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