If you are using a reasonably recent version of WOLips, do not change manually the encoding in the .woo file. Change the real encoding in the properties and WOLips willo keep the .woo in synch. By the way the correct encoding is "UTF-8" the NSxxxxxxStringEncoding is deprecated.

Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Jan 20, 2008, at 17:22, Pascal Robert wrote:


Le 08-01-20 à 19:38, Jacob Mouka a écrit :

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,

Right-click on the file -> Properties -> Resource, change the encoding.

<Image 1.png>


If you are talking about the encoding in the .woo file ("NSxxxxxxStringEncoding"), open the component, open the DisplayGroups tab, open the Source tab, and change the encoding there.

<Image 2.png>


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 protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [EMAIL PROTECTED]


--

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/lachlan.deck%40gmail.com

This email sent to [EMAIL PROTECTED]

with regards,
--

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jmouka%40gmail.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/probert%40os.ca

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/pierre%40apple.com

This email sent to [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to