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
Wiki Forms
Wiki Forms Example T...




JSPWiki v2.2.33


Form Select


FormSelect provides you a way to do a drop-down list (HTML <option>).

Parameters

  • name : The element name.
  • value : A list of components, separated with a semicolon (;). Prefix the one you want to have selected with a star (*).
  • separator : If semicolon (;) is bad for you, then you can use this to select the separator.
  • selector : If selector (*) is bad for you, set this to choose the selector.

Example

[{FormSelect name='criticality' 
  value='EnhancementRequest;CosmeticBug;*LightBug;MediumBug;BadBug;CriticalBug;FatalBug'}]

would produce

Example with the selector and separator changed.

This is essentially the same example as the previous one, but with the separator changed to a comma, and the selector changed to an exclamation mark:

[{FormSelect name='criticality' separator=',' selector='!'
   value='EnhancementRequest,CosmeticBug,!LightBug,MediumBug,BadBug,CriticalBug,FatalBug'}]

would produce


Back to WikiForms.




Go to top   Edit this page   More info...   Attach file...
This page last changed on 16-May-2005 21:57:18 GMT by unknown.