Back Previous Next


Linguist servlet package - set

Syntax:

	set the title to {value}
	set the background color/colour to {color}
	set the text color/colour to {color}
	set the text of {element} to {text}
	set the icon of {element} to {icon}
	set the color/colour [of {element}] to {color}
	set the style of {element} to plain/bold/italic
	set the alignment of {element} to left/right/center/centre
	set the border of {element} to {value}
	set the width of {element} to {value} [percent]
	set the height of {element} to {height}
	set the valign of {element} to top/middle/bottom
	set the target of {element} to {url}
	set the action of {element} to {text}
	set the method of {element} to get/post
	set the type of {element} to table/row/image/text...
	set the value of {element} to {text}
	set the name of {element} to {text}
	set session value {name} to {value}

Keyword handler:

   linguist.media.keyword.SKSet.class

Runtime handler(s):

   linguist.media.handler.SHSet.class

Function:

Sets the value or attributes of something. To see what things can be set, see the tutorial.

Example(s):

   set the title to "My Home Page"
   set the background color to color 255 255 240
   set the text color to color 0 0 128
   set the icon of DeleteButton to "gif/delete.gif"
   set the color of Text to color 233 0 16
   set the style of Text to italic bold
   set the alignment of Text to center
   set the border of Cell to 4
   set the width of Cell to 15 percent
   set the width of Cell to 24
   set the height of Cell to 120
   set the valign of Cell to bottom
   set the target of Text to "http://www.somewhere.com/document.html"
   set the action of Button to "OK"
   set the method of Button to post
   set the type of Cell to cell
   set the value of Button to "Hit Me"
   set the name of Button to "Default"
   set session value "Name" to "Ivan the Terrible"


Back Previous Next