Title Generator

Set the generator's title. Using this generator, you can indicate the file that was last dropped into this generator tree.

The Title Generator is made available by inserting the following Java object into the <head> section of the page:

    <object declare classid="HTMLDropOps" title="Any Name Here"
               id="same-as-target-id">
       (More <param> definitions go here...)
    </object>

Use this <param> tag if you want it to respond to drops:

      <param name="drop" value="title">

and/or this <param> tag if you want it to respond to redrops:

      <param name="redrop" value="title">

The <param> values supported are:

title

Specifies the new title. A special value can be used in this parameter: %source% is replaced by the name of the source of the content.

targetId

The title will replace the current title for the generator identified yb the <tag id="targetId"> tag.

resultFile

Specifies the name of the file to create from the drop. If this isn't set, the result will be the same as the generator file, with ".htmg" replaced with ".html"

Two special values can be used in this parameter: %source% is replaced by the name of the source of the content, and %target% is replaced by the name of the target file.

The following HTML code will result in the generator object (identified by a tag in the object with the id="somegenerator" attribute) having it's title attribute set to "Prefix file.html postfix".

    <object declare classid="HTMLDropOps" title="Set Title"
               id="somegenerator">
      <param name="redrop" value="title">
      <param name="targetId" value="somegenerator">
      <param name="title" value="Prefix %fileName% postfix">
    </object>