JSPWiki logo
Strona główna
Zbieranina
Serwisy
Porady
Projekty
Humor sektora IT
TODO
Nowości
Ostatnie zmiany
Kontakt

Find pages
Unused pages
Undefined pages
Page Index

Set your name in
UserPreferences

Edit this page


Referenced by
Form Close
Form Output
Wiki Forms




JSPWiki v2.2.33


Form Open


WikiForms are opened with a FormOpen -statement.

Parameters

You MUST specify the following:

  • form: Each form must have a name. For example "myBugReportForm".

You may also specify any of the following parameters:

  • submit: The URL (relative or absolute) of a servlet that is capable of handling the request from this WikiForm. If not set, it will submit it back to the same page the form is on.
  • method: Controls how the form is posted: it can either be "get" or "post". If this parameter is missing, the default is to use "post".
  • hide: Controls the visibility of the form. If set to "onsuccess", the form is hidden when the form has been submitted successfully. Default is to keep the form visible all the time.

Example

[{FormOpen form='bugreportform' hide='onsuccess' method='post' submit='/servlets/bugreportsubmitservlet/'}]

Back to WikiForms.




Go to top   Edit this page   More info...   Attach file...
This page last changed on 24-Apr-2005 11:02:04 GMT by unknown.