Changeset 3518 for trunk/doc/src/docbook/developerdoc/plugin_developer.xml
- Timestamp:
- Jun 20, 2007, 8:48:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/src/docbook/developerdoc/plugin_developer.xml
r3511 r3518 1621 1621 Send the form to 1622 1622 <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. 1625 1626 </simpara> 1626 1627 <programlisting><form action="index.jsp" method="post"> 1627 1628 <input type="hidden" name="ID" value="<%=ID%>"> 1629 <input type="hidden" name="requestId" value="<%=request.getParameter("requestId")%>"> 1628 1630 <input type="hidden" name="cmd" value="SetParameters"> 1629 1631 ... 1630 1632 </form></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> 1631 1643 1632 1644 </listitem> 1633 1645 </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=<%=ID%>&cmd=CancelWizard</uri>. This 1651 allows BASE to clean up resources that has been put in global 1652 session variables. 1653 </para> 1654 1634 1655 <para> 1635 1656 In your JSP page you will probably need to access some information like the
Note: See TracChangeset
for help on using the changeset viewer.