Ignore:
Timestamp:
Jun 20, 2007, 8:48:57 AM (15 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/src/docbook/developerdoc/plugin_developer.xml

    r3511 r3518  
    16211621            Send the form to
    16221622            <filename>index.jsp</filename>
    1623             with the <varname>ID</varname> and <varname>cmd</varname> parameters
    1624             as shown below.
     1623            with the <varname>ID</varname>,
     1624            <varname>cmd</varname> and <varname>requestId</varname>
     1625            parameters as shown below.
    16251626          </simpara>
    16261627<programlisting>&lt;form action="index.jsp" method="post"&gt;
    16271628&lt;input type="hidden" name="ID" value="&lt;%=ID%&gt;"&gt;
     1629&lt;input type="hidden" name="requestId" value="&lt;%=request.getParameter("requestId")%&gt;"&gt;
    16281630&lt;input type="hidden" name="cmd" value="SetParameters"&gt;
    16291631...
    16301632&lt;/form&gt;</programlisting>
     1633          <simpara>
     1634            The <varname>ID</varname> is the session ID for the logged
     1635            in user and is required. The <varname>requestId</varname>
     1636            is the ID for this particular plug-in/job configuration
     1637            sequence. It is optional, but we recommend that you use it
     1638            since it protects your plug-in from getting mixed up with
     1639            other plug-in configuration wizards. The <varname>cmd</varname>
     1640            tells BASE to send the parameters to the plug-in for validation
     1641            and saving.
     1642          </simpara>
    16311643
    16321644          </listitem>
    16331645          </itemizedlist>
     1646         
     1647          <para>
     1648            If you want a &gbCancel; button to abort the configuration
     1649            you should reload the page with with the url:
     1650            <uri>index.jsp?ID=&lt;%=ID%&gt;&amp;cmd=CancelWizard</uri>. This
     1651            allows BASE to clean up resources that has been put in global
     1652            session variables.
     1653          </para>
     1654         
    16341655            <para>
    16351656              In your JSP page you will probably need to access some information like the
Note: See TracChangeset for help on using the changeset viewer.