Documentation Archive Developer
Search
Table of Contents Previous Section

WOEmbeddedObject

Synopsis

WOEmbeddedObject {value=aMethod; | src=aURL; | filename= imageFileName; [framework = frameworkBaseName|"app" ; ... };

Description

A WOEmbeddedObject provides support for Netscape plug-ins. It corresponds to the HTML element <EMBED SRC = >. If the embedded object's content comes from outside the WebObjects application, use the src attribute. If the embedded object's content is returned by a method within the WebObjects application, use the filename attribute or the value attribute.

value
The content for this embedded object in the form of a WOElement object. This data can come from a database, a file, or memory.
src
URL containing the embedded object. Use this attribute for complete URLs; for relative URLs use filename instead.
filename
Path to the embedded object relative to the WebServerResources directory.
framework
Framework that contains the embedded object. This attribute is only necessary if the object is in a different location from the component. That is, if the component and the embedded object are both in the application or if the component and the embedded object are both in the same framework, this attribute isn't necessary. If the embedded object is in a framework and the component is in an application, specify the framework's name here minus the .framework extension. If the embedded object should be in the application but the component is in a framework, specify the "app" keyword in place of the framework name.

Examples

A VRML plug-in

Table of Contents Next Section