|Re: How to use include files? [message #206525 is a reply to message #206507]
||Wed, 09 January 2008 17:58
Originally posted by: sstark.us.ibm.com|
Hi Lawrence, Sorry about the mis-post -- I'll try the newcomer group.
I've tried what you describe below but still can't get it to work. If my
include file is in the same directory, I assume path_to_included_file
would simply be "." right? and my plug-in identifier is the one where my
html file (the one that contains the <include> statement) lives? In my
case it's com.ibm.srcf-doc.doc. That would make it:
<include path="com.ibm.srcf-doc.doc/./include.htm/product_version" />
If my include file is in another plug-in, it would be:
path=" com.ibm.srcf-doc.doc/../com.ibm.test.doc/include.htm/product _version "
Neither of those works however.
> <include path="my.plugin.id/path/copyright.xhtml/copyright"/>
> In your case it would need to look something like
path=" com.ibm.informixserver/path_to_included_file/include.htm/pro duct_version "
> Assuming that
> 1. com.ibm.informixserver is your plug-in identifier
> 2. path_to_included_file is the relative path to the included file in your
> 3. your file is named product_version and is stored in the include.htm
I assume you have #3 backwards -- the file is named include.htm and the id
of the element in the include file is product_version, correct?
Powered by FUDForum
. Page generated in 0.13094 seconds