• 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: How to target a WO component in an html include
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to target a WO component in an html include


  • Subject: Re: How to target a WO component in an html include
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 20 Mar 2008 10:16:46 -0700


On Mar 20, 2008, at 4:40 AM, Reid Bundonis wrote:

Dear List,

Years ago I ran into a similar problem that I never resolved. Was wondering if anyone had a suggestion or if this simply is not possible. First, the environment:

Server is OS X Server 10.4.6 (I know time to upgrade but 431 days uptime is hard to abandon). It is running the Apple stock Apache with WO. I am one of the dinosaurs so I am still using Xcode, WOBuilder, EOModeler, etc under 10.4.11 to develop the applications. Please don't chastise me :)

But, but I enjoy that! :-)


I have a component that I stripped the html, head, and body tags from and then deployed it. I can hit it by doing http://server/Apps/WebObjects/Classes . Everything works fine.

However, if I want to include that WO snippet into a standard .shtml page, I get one of the two results:

If I do:
	<!--#include virtual="/Apps/WebObjects/Classes" -->

I get, "No Instance Available." So at least I know that the WO engine was hit. It is just not finding my deployed application.

Have you tried a more complete URL? <!--#include virtual="/Apps/WebObjects/Classes.woa/wa/default" -->

I have done this years ago, and it works.

If that does not work:

sudo touch /tmp/logWebObjects

Then load that page a couple of times and look in

/tmp/WebObjects.log

You will then see what the woadaptor is attempting to dispatch. That may show the source of "No Instance Available."


Chuck


If I do:
	<!--#include virtual="http://fqdn/Apps/WebObjects/Classes"; -->

I get ?An error occurred executing this directive."

Anyone have a suggestion? This is just a listing of classes but I would like to simply include this into another page instead of recreating the entire page in WO. This is not a complex app. The public side is just the listing without signup or anything else yet.

Thanks in advance for any suggestions or advice.

R-
_______________________________________________
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


--

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


  • Follow-Ups:
    • Re: How to target a WO component in an html include
      • From: Reid Bundonis <email@hidden>
References: 
 >How to target a WO component in an html include (From: Reid Bundonis <email@hidden>)

  • Prev by Date: Re: [ANN] WO/WOLips/Wonder intro screencast
  • Next by Date: Re: [ANN] WO/WOLips/Wonder intro screencast
  • Previous by thread: How to target a WO component in an html include
  • Next by thread: Re: How to target a WO component in an html include
  • Index(es):
    • Date
    • Thread