%META:TOPICINFO{author="TWikiContributor" date="1185612231" format="1.1" reprev="1.12" version="$Rev$"}%
%META:TOPICPARENT{}%
---+!! Function: %TOPIC%
%FORMFIELD{"Summary"}%
%TOC{depth="2"}%
---++ Documentation
%STARTSECTION{name="documentation" type="section"}%
This is a tool to add a topic based application, or part of it to another web.
This is done by creating a TopicStub that points back to the implementation.
For example, to add a new TopicType to web, you create a TopicStub that points
back to the implementation of that TopicType. This function is also used to
create topic-based ApplicationFactory.
The function will display a small input form to specify the web where the
TopicStub is to be created.
---+++++ Parameters
* TEXT: label of the input field, defaults to "Install BASETOPIC in"
* NAME: name of the topic to be created, defaults to BASETOPIC
* SOURCE: used to specify the TopicStub's target to be created, defaults to BASEWEB.BASETOPIC
* PARENT: topicparent of the new topic, defaults to HOMETOPIC
* TEMPLATE: TopicTemplate used to create this topic, defaults to Applications.TopicStubTemplate
* FORM: TWikiForm used for this topic, defaults to Applications.TopicStub
* TYPE: type of the new topic, defaults to TopicStub
* EXTRA: extra stuff to be send during =save=
%ENDSECTION{name="documentation" type="section"}%
---++ Implementation