How to target a WO component in an html include
How to target a WO component in an html include
- Subject: How to target a WO component in an html include
- From: Reid Bundonis <email@hidden>
- Date: Thu, 20 Mar 2008 07:40:54 -0400
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 :)
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.
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