Location: PHPKode > projects > Netautor Professional > netautor/napro4/include/npf_lib/npf_form.xml
<?xml version = '1.0' encoding = 'UTF-8' standalone = 'no' ?>
<!--

   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
   | Netautor Professional Application Server                             |
   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
   | Copyright (c) 2001 /digiconcept/                                     |
   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
   | This file is subject to license, that is bundled with this package   |
   | in the file LICENSE.TXT, and is available at through the             |
   | world-wide-web at http://www.netautor.com/license/                   |
   |                                                                      |
   | If you did not receive a copy of the license and are unable to       |
   | obtain it through the world-wide-web, please send a note to          |
   | hide@address.com so we can mail you a copy.                      |
   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
   | Authors: Stefan Rottensteiner <hide@address.com>    |
   |          Gregor Wollner       <hide@address.com>          |
   |          Helli  Kleinhans     <hide@address.com>         |
   *- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *

 -->
<NA_FUNCTION_DESCRIPT>
	<FUNCTION name="npf_form" call="npf_form" context="document" date="2001-06-27" depricated="0" internal="1" tail="1">
		<AUTHOR>
			<COMPANY>/digiconcept/</COMPANY>
			<NAME>Helmut Kleinhans</NAME>
			<EMAIL>hide@address.com</EMAIL>
		</AUTHOR>		
		<DESCRIPT lang="de">
			Erzeugt das n&amp;ouml;tige HTML f&amp;uuml;r ein Formular.&lt;BR&gt;
			Zwischen dem Anfangstag und dem Schlie&amp;szlig;tag werden alle Datenelemente als Eingabefelder dargestellt. 
			Alle jene Netautor-Funktionen, welche &amp;uuml;ber Buttons angesprochen werden sowie Hidden-Fields ben&amp;ouml;tigen ebenfalls die "npf_form" - Anfangs- und Schlie&amp;szlig;tags.
			Es k&amp;ouml;nnen bei Bedarf mehrere Form-Container in einem Netautor-Layout verwendet werden, allerdings d&amp;uuml;rfen sie nicht ineinander verschachtelt sein.

		</DESCRIPT>
		<DESCRIPT lang="en">
			Provides the HTML for a formular.&lt;BR&gt;
			Between the opening and closing npf_form tag all data elements will be represented as entry fields.&lt;BR&gt;
			All netautor functions which are controlled via buttons as well as hidden fields require the "npf_form" opening and closing tags.
			In a netautor layout several form containers may be used if required, but they can not be nested.
		</DESCRIPT>
		<PARAM name="target" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT/>
			<DESCRIPT lang="de">Name eines HTML-Target in welches das Formular geschickt werden soll.</DESCRIPT>
			<DESCRIPT lang="en">Name of HTML-Target receiving the form.</DESCRIPT>
		</PARAM>
		<PARAM name="action" new_name="action.url" magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-12" date="2001-06-27">
			<DEFAULT/>
		</PARAM>
		<PARAM name="action.url" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">URL an welche das Formular geschickt werden soll.</DESCRIPT>
			<DESCRIPT lang="en">URL that receives the form.</DESCRIPT>
		</PARAM>
		<PARAM name="action.mlay_id" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Layout ID an welches das Formular geschickt werden soll.</DESCRIPT>
			<DESCRIPT lang="en">Layout ID that receives the form.</DESCRIPT>
		</PARAM>
		<PARAM name="method" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT>post</DEFAULT>
			<DESCRIPT lang="de">
			Methode der Datenversendung.&lt;BR&gt;
			Bei Angabe des Wertes "post" wird der Inhalt des Formulars mit der Post-Methode an den Server gesendet.
			Zus&amp;auml;tzlich werden einige versteckte Felder mit weiteren Informationen in der HTML-Seite angelegt.&lt;BR&gt;
			Bei Angabe des Wertes "get" wird der Inhalt des Formulars mit der Get-Methode &amp;uuml;bermittelt.
			Sie k&amp;ouml;nnen dann die &amp;uuml;bermittelten Werte in der aufgerufenen Url als "angeh&amp;auml;ngte" Werte sehen.
			"Get" eignet sich sehr gut zur Kontrolle der Funktion, sollte allerdings nur bei kleinen Datenmengen benutzt werden.
			</DESCRIPT>
			<DESCRIPT lang="en">
			Data Submission Method.&lt;BR&gt;
			If "post" is specified, the content of the form is submitted via the "post" method. Also several hidden fields are created which
			contain additional information.
			If "get" is specified, the content is submitted via the "get" method. Submitted values are attached to the called URL. "Get" is suitable for
			checking the function, but should only be used for small data amounts.

			</DESCRIPT>
			<VALUE>post</VALUE>
			<VALUE>get</VALUE>
		</PARAM>
		<PARAM name="hidden" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-27">
			<DEFAULT/>
			<DESCRIPT lang="de">Liste von lokalen Variablen welche als versteckte Eingabefelder in den HTML-Output eingebaut werden sollen.&lt;BR&gt; 
			* bedeutet : Alle Werte</DESCRIPT>
			<DESCRIPT lang="en">List of local variables which should be integrated as hidden input fields.&lt;BR&gt; 
			* means : all variables</DESCRIPT>
		</PARAM>
		<PARAM name="name" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2002-03-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Optionaler Name des HTML-Formulares.</DESCRIPT>
			<DESCRIPT lang="en">Optional name of HTML-form.</DESCRIPT>
		</PARAM>
		<PARAM name="id" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2005-02-23">
			<DEFAULT/>
			<DESCRIPT lang="de">Optionale ID des HTML-Formulares.</DESCRIPT>
			<DESCRIPT lang="en">Optional ID of HTML-form.</DESCRIPT>
		</PARAM>
		<PARAM name="dependon.value" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Wert gegen den geprueft werden soll.</DESCRIPT>
			<DESCRIPT lang="en">Value to check on.</DESCRIPT>
		</PARAM>
		<PARAM name="dependon.element" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Element welches zu pruefen ist.</DESCRIPT>
			<DESCRIPT lang="en">Element to check.</DESCRIPT>
		</PARAM>
		<PARAM name="dependon.operator" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT/>
			<DESCRIPT lang="de">Operator der zur Pruefung benutzt wird.</DESCRIPT>
			<DESCRIPT lang="en">Operator for the check.</DESCRIPT>
			<VALUE>EQ</VALUE>
			<VALUE>GT</VALUE>
			<VALUE>LT</VALUE>
			<VALUE>LE</VALUE>
			<VALUE>GE</VALUE>
			<VALUE>NE</VALUE>
			<VALUE>EMPTY</VALUE>
			<VALUE>NONEMPTY</VALUE>
			<VALUE>LK</VALUE>
		</PARAM>
		<PARAM name="dependon.context" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
			<DEFAULT>THIS</DEFAULT>
			<DESCRIPT lang="de">Legt fest aus welchem Kontext das Vergleichselement genommen wird.</DESCRIPT>
			<DESCRIPT lang="en">Sets the Context of the Element.</DESCRIPT>
			<VALUE>THIS</VALUE>
			<VALUE>GLOBALS</VALUE>
			<VALUE>FEATURE</VALUE>
			<VALUE>USER</VALUE>
			<VALUE>PARENT</VALUE>
			<VALUE>SESSION</VALUE>
			<VALUE>GET</VALUE>
			<VALUE>POST</VALUE>
		</PARAM>
	</FUNCTION>
</NA_FUNCTION_DESCRIPT>
Return current item: Netautor Professional