Re: No WOResponse?
Re: No WOResponse?
- Subject: Re: No WOResponse?
- From: Jacob Mouka <email@hidden>
- Date: Sun, 20 Jan 2008 19:38:56 -0500
It might be the component's text encoding (i've seen the blank page
thing when the encoding got screwed up ... in my case xcode changed
it to unicode). i'm not quite sure how to change the file's encoding
in eclipse, but give this a shot. the 2 new components (the fact that
they work) is a clue to me that it might be the encoding issue.
On 20-Jan-08, at 3:01 PM, Lachlan Deck wrote:
On 20/01/2008, at 7:05 AM, Jonathan Miller wrote:
I don't think so.
For a sanity test I created a two new components with identical
information found in Main.wo and the other component in the
landing page. Then I changed the default action to point to the
new landing page.
That worked!
And did you try deleting Main and the other component in the
landing page and renaming your two new components + readjusting
your DA?
I've gone through .xcodeproj folder and the PB.project file but I
cannot find anything that looks out of place.
Is there another place to look?
Thanks in advance,
Jon
On Jan 18, 2008, at 3:32 PM, Chuck Hill wrote:
Sounds like your DirectAction class has a bug in it. Is there
anything unusual in it?
Chuck
On Jan 18, 2008, at 5:28 PM, Jonathan Miller wrote:
hmmm....
if I remove the following from the application constructor:
WORequestHandler rh = requestHandlerForKey("wa");
setDefaultRequestHandler(rh);
I can get to the first page but all subsequent (DirectAction)
requests fail.
Does that make any sense to anyone?
Jon
On Jan 18, 2008, at 10:52 AM, Chuck Hill wrote:
Override performActionNamed() in DirectAction, wrap the call to
super in an try...catch block and see if there are any
exceptions to be logged out. Also try
return super.performActionNamed(name).generateResponse();
Chuck
On Jan 18, 2008, at 12:48 PM, Jonathan Miller wrote:
Hi,
I'm trying to import an OLD Xcode project into WOLips. I've
successfully imported all the sources, components et al...
There are no warning or errors that Eclipse reports and it can
compile normally. However, when I open a web page with the
application's URL I just get a blank page.
I can see from logging statements that the default Direct
Action gets fired and the component gets called. There are no
errors that are reported to the console. I can run other
WebObjects programs on this computer.
Does anyone have a suggestion on how to continue to debug this?
Thanks in advance,
Jon
_______________________________________________
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 - 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
--
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:
40gmail.com
This email sent to email@hidden
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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