net.liftweb.http.SHtml

object SHtml

object SHtml

 extends ScalaObject


The SHtml object defines a suite of XHTML element generator methods to simplify the creation of markup, particularly with forms and AJAX.


Source: SHtml.scala(34)

Nested Classes

AreaShape, ChoiceHolder, ChoiceItem, CirclePercentShape, CircleShape, PolyShape, RectShape,

 Constructors

def this

 Fields

ChoiceHolder.. object ChoiceHolder

 extends ScalaObject

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
a.. def a(func : () => JsObj, jsonContext : JsonContext, body : NodeSeq, attrs : (String, String)*) Elem
a.. def a(jsFunc : Call, body : NodeSeq, attrs : (String, String)*)(func : => JsCmd)
Create an anchor with a body and the function to be executed when the anchor is clicked [details]
param
body - - the NodeSeq to wrap in the anchor tag
attrs - - the anchor node attributes
jsFunc - -- the user function that will be executed. This function will receive as last parameter the function that will actually do the ajax call. Hence the user function can decide when to make the ajax request.
Elem
a.. def a(func : () => JsCmd, body : NodeSeq, attrs : (String, String)*)
Create an anchor tag around a body which will do an AJAX call and invoke the function [details]
param
body - - the NodeSeq to wrap in the anchor tag
attrs - - the anchor node attributes
func - - the function to invoke when the link is clicked
Elem
a.. def a(body : NodeSeq, cmd : JsCmd, attrs : (String, String)*)
Create an anchor that will run a JavaScript command when clicked
Elem
a.. def a(jsFunc : Call, func : () => JsCmd, body : NodeSeq, attrs : (String, String)*)
Create an anchor tag around a body which will do an AJAX call and invoke the function [details]
param
attrs - - the anchor node attributes
func - - the function to invoke when the link is clicked
body - - the NodeSeq to wrap in the anchor tag
jsFunc - -- the user function that will be executed. This function will receive as last parameter the function that will actually do the ajax call. Hence the user function can decide when to make the ajax request.
Elem
a.. def a(body : NodeSeq, attrs : (String, String)*)(func : => JsCmd)
Create an anchor with a body and the function to be executed when the anchor is clicked
Elem
ajaxButton.. def ajaxButton(text : String, jsFunc : Call, func : () => JsCmd, attrs : (String, String)*)
Create an Ajax button [details]
When it's pressed, the function is executed
param
func - -- the function to execute when the button is pushed. Return Noop if nothing changes on the browser.
text - -- the name/text of the button
return
- a button to put on your page
Elem
ajaxButton.. def ajaxButton(text : NodeSeq, jsExp : JsExp, func : (String) => JsCmd, attrs : (String, String)*)
Create an Ajax button [details]
When it's pressed, the function is executed
param
func - -- the function to execute when the button is pushed. Return Noop if nothing changes on the browser.
attrs - -- the list of node attributes
text - -- the name/text of the button
return
- a button to put on your page
Elem
ajaxButton.. def ajaxButton(text : NodeSeq, jsFunc : Call, func : () => JsCmd, attrs : (String, String)*)
Create an Ajax button [details]
When it's pressed, the function is executed
param
jsFunc - -- the user function that will be executed. This function will receive as last parameter the function that will actually do the ajax call. Hence the user function can decide when to make the ajax request.
func - -- the function to execute when the button is pushed. Return Noop if nothing changes on the browser.
text - -- the name/text of the button
return
- a button to put on your pagejsFunc.params ++ List(AnonFunc(makeAjaxCall(Str(name+"=true"))))
Elem
ajaxButton.. def ajaxButton(text : NodeSeq, func : () => JsCmd, attrs : (String, String)*)
Create an Ajax button [details]
When it's pressed, the function is executed
param
func - -- the function to execute when the button is pushed. Return Noop if nothing changes on the browser.
attrs - -- the list of node attributes
text - -- the name/text of the button
return
- a button to put on your page
Elem
ajaxButton.. def ajaxButton(text : String, func : () => JsCmd, attrs : (String, String)*)
Create an Ajax button [details]
When it's pressed, the function is executed
param
jsFunc - -- the user function that will be executed. This function will receive as last parameter the function that will actually do the ajax call. Hence the user function can decide when to make the ajax request.
func - -- the function to execute when the button is pushed. Return Noop if nothing changes on the browser.
text - -- the name/text of the button
return
- a button to put on your page
Elem
ajaxCall.. def ajaxCall(jsCalcValue : JsExp, jsContext : JsContext, func : (String) => JsCmd)
Build a JavaScript function that will perform an AJAX call based on a value calculated in JavaScript [details]
param
jsContext - the context instance that defines JavaScript to be executed on call success or failure
func - the function to call when the data is sent
jsCalcValue - the JavaScript that will be executed on the client to calculate the value to be sent to the server
return
- the function ID and JavaScript that makes the call
(String, JsExp)
ajaxCall.. def ajaxCall(jsCalcValue : JsExp, func : (String) => JsCmd)
Build a JavaScript function that will perform an AJAX call based on a value calculated in JavaScript [details]
param
func - the function to call when the data is sent
jsCalcValue - the JavaScript that will be executed on the client to calculate the value to be sent to the server
return
- the function ID and JavaScript that makes the call
(String, JsExp)
ajaxCheckbox.. def ajaxCheckbox(value : Boolean, func : (Boolean) => JsCmd, attrs : (String, String)*) Elem
ajaxCheckbox.. def ajaxCheckbox(value : Boolean, jsFunc : Call, func : (Boolean) => JsCmd, attrs : (String, String)*) Elem
ajaxEditable.. def ajaxEditable(displayContents : => NodeSeq, editForm : => NodeSeq, onSubmit : () => Unit)
This method generates an AJAX editable field [details]
Normally, the displayContents will be shown, with an "Edit" button. If the "Edit" button is clicked, the field will be replaced with the edit form, along with an "OK" and "Cancel" button. If the OK button is pressed, the form fields are submitted and the onSubmit function is called, and then the displayContents are re-run to get a new display. If cancel is pressed then the original displayContents are re-shown.
NodeSeq
ajaxForm.. def ajaxForm(body : NodeSeq, onSubmit : JsCmd)
Takes a form and wraps it so that it will be submitted via AJAX [details]
param
onSubmit - JavaScript code to execute on the client prior to submission
body - The form body. This should not include the <form> tag.
Elem
ajaxForm.. def ajaxForm(body : NodeSeq)
Takes a form and wraps it so that it will be submitted via AJAX [details]
param
body - The form body. This should not include the <form> tag.
Elem
ajaxForm.. def ajaxForm(onSubmit : JsCmd, body : NodeSeq)
Takes a form and wraps it so that it will be submitted via AJAX [details]
deprecated
- Use ajaxForm(NodeSeq,JsCmd) instead
param
onSubmit - JavaScript code to execute on the client prior to submission
body - The form body. This should not include the <form> tag.
Elem
ajaxForm.. def ajaxForm(body : NodeSeq, onSubmit : JsCmd, postSubmit : JsCmd)
Takes a form and wraps it so that it will be submitted via AJAX [details]
This also takes a parameter for script code that will be executed after the form has been submitted.
param
postSubmit - Code that should be executed after a successful submission
body - The form body. This should not include the <form> tag.
Elem
ajaxInvoke.. def ajaxInvoke(func : () => JsCmd) (String, JsExp)
ajaxSelect.. def ajaxSelect(opts : Seq[(String, String)], deflt : Box[String], func : (String) => JsCmd, attrs : (String, String)*) Elem
ajaxSelect.. def ajaxSelect(opts : Seq[(String, String)], deflt : Box[String], jsFunc : Call, func : (String) => JsCmd, attrs : (String, String)*) Elem
ajaxSelectObj.. def ajaxSelectObj[T](options : Seq[(T, String)], default : Box[T], onSubmit : (T) => JsCmd, attrs : (String, String)*)
Create a select box based on the list with a default value and the function to be executed on form submission [details]
param
default - -- the default value (or Empty if no default value)
onSubmit - -- the function to execute on form submission
options - -- a list of value and text pairs (value, text to display)
Elem
ajaxSelectObj.. def ajaxSelectObj[T](options : Seq[(T, String)], default : Box[T], jsFunc : Call, onSubmit : (T) => JsCmd, attrs : (String, String)*)
Create a select box based on the list with a default value and the function to be executed on form submission [details]
param
default - -- the default value (or Empty if no default value)
onSubmit - -- the function to execute on form submission
options - -- a list of value and text pairs (value, text to display)
Elem
ajaxSubmit.. def ajaxSubmit(value : String, func : () => JsCmd, attrs : (String, String)*)
Constructs an Ajax submit button that can be used inside ajax forms [details]
Multiple buttons can be used in the same form.
param
func - - the ajax function to be called
attrs - - button attributes
value - - the button text
Elem
ajaxText.. def ajaxText(value : String, ignoreBlur : Boolean, jsFunc : Call, func : (String) => JsCmd, attrs : (String, String)*) Elem
ajaxText.. def ajaxText(value : String, jsFunc : Call, func : (String) => JsCmd, attrs : (String, String)*) Elem
ajaxText.. def ajaxText(value : String, ignoreBlur : Boolean, func : (String) => JsCmd, attrs : (String, String)*) Elem
ajaxText.. def ajaxText(value : String, func : (String) => JsCmd, attrs : (String, String)*) Elem
ajaxTextarea.. def ajaxTextarea(value : String, jsFunc : Call, func : (String) => JsCmd, attrs : (String, String)*) Elem
ajaxTextarea.. def ajaxTextarea(value : String, func : (String) => JsCmd, attrs : (String, String)*) Elem
area.. def area(shape : AreaShape, jsCmd : JsCmd, alt : String, attrs : (String, String)*)
Generate an Area tag [details]
param
attrs - - the balance of the attributes for the tag
jsCmd - - the JavaScript to execute on the client when the area is clicked
alt - - the contents of the alt attribute
shape - - the shape of the area (RectShape, CircleShape, CirclePercentShape, PolyShape)
Elem
area.. def area(shape : AreaShape, func : () => JsCmd, alt : String, attrs : (String, String)*)
Generate an Area tag [details]
param
attrs - - the balance of the attributes for the tag
func - - The server side function to execute when the area is clicked on.
alt - - the contents of the alt attribute
shape - - the shape of the area (RectShape, CircleShape, CirclePercentShape, PolyShape)
Elem
area.. def area(shape : AreaShape, alt : String, attrs : (String, String)*)
Generate an Area tag [details]
param
alt - - the contents of the alt attribute
attrs - - the balance of the attributes for the tag
shape - - the shape of the area (RectShape, CircleShape, CirclePercentShape, PolyShape)
Elem
asInstanceOf.. final def asInstanceOf[T0] T0 Any
checkbox.. def checkbox(value : Boolean, func : (Boolean) => Any, attrs : (String, String)*)
Defines a new checkbox set to { @code value } and running { @code func } when the checkbox is submitted
NodeSeq
checkbox.. def checkbox[T](possible : Seq[T], actual : Seq[T], func : (Seq[T]) => Any, attrs : (String, String)*)
Generate a ChoiceHolder of possible checkbox type inputs that calls back to the given function when the form is submitted [details]
param
attrs - sequence of attributes to apply to each checkbox input element
actual - values to be preselected
func - function to receive all values corresponding to the checked boxes
possible - complete sequence of possible values, each a separate checkbox when rendered
return
- ChoiceHolder containing the checkboxes and values in order
ChoiceHolder[T]
checkbox_*.. def checkbox_*(value : Boolean, func : AFuncHolder, id : Box[String], attrs : (String, String)*) NodeSeq
checkbox_id.. def checkbox_id(value : Boolean, func : (Boolean) => Any, id : Box[String], attrs : (String, String)*)
Defines a new checkbox set to { @code value } and running { @code func } when the checkbox is submitted [details]
Has an id of { @code id }.
NodeSeq
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
fajaxCall.. def fajaxCall[T](jsCalcValue : JsExp, func : (String) => JsCmd)(f : (String, JsExp) => T) T
fileUpload.. def fileUpload(func : (FileParamHolder) => Unit) Elem
finalize.. protected def finalize Unit AnyRef
fjsonCall.. def fjsonCall[T](jsCalcValue : JsExp, jsonContext : JsonContext, func : (String) => JsObj)(f : (String, JsExp) => T) T
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
hidden.. def hidden(func : (String) => Any, defaultlValue : String, attrs : (String, String)*) Elem
hidden.. def hidden(func : () => Any, attrs : (String, String)*) Elem
hidden_*.. def hidden_*(func : AFuncHolder, attrs : (String, String)*) Elem
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
jsonButton.. def jsonButton(text : NodeSeq, func : () => JsObj, ajaxContext : JsonContext, attrs : (String, String)*)
Create an Ajax buttun that when it's pressed it submits an Ajax request and expects back a JSON construct which will be passed to the success function [details]
param
attrs - -- the list of node attributes
func - -- the function to execute when the button is pushed. Return Noop if nothing changes on the browser.
ajaxContext - -- defines the callback functions and the JSON response type
text - -- the name/text of the button
return
- a button to put on your page
Elem
jsonButton.. def jsonButton(text : NodeSeq, jsExp : JsExp, func : (Any) => JsObj, ajaxContext : JsonContext, attrs : (String, String)*)
Create an Ajax buttun that when it's pressed it submits an Ajax request and expects back a JSON construct which will be passed to the success function [details]
param
attrs - -- the list of node attributes
func - -- the function to execute when the button is pushed. Return Noop if nothing changes on the browser.
ajaxContext - -- defines the callback functions and the JSON response type
text - -- the name/text of the button
return
- a button to put on your page
Elem
jsonCall.. def jsonCall(jsCalcValue : JsExp, jsonContext : JsonContext, func : (String) => JsObj) (String, JsExp)
jsonCall.. def jsonCall(jsCalcValue : JsExp, jsContext : JsContext, func : (Any) => JsCmd)
Build a JavaScript function that will perform a JSON call based on a value calculated in JavaScript [details]
param
jsContext - the context instance that defines JavaScript to be executed on call success or failure
func - the function to call when the data is sent
jsCalcValue - the JavaScript to calculate the value to be sent to the server
return
- the function ID and JavaScript that makes the call
(String, JsExp)
jsonCall.. def jsonCall(jsCalcValue : JsExp, func : (Any) => JsCmd)
Build a JavaScript function that will perform a JSON call based on a value calculated in JavaScript [details]
param
jsContext - the context instance that defines JavaScript to be executed on call success or failure
func - the function to call when the data is sent
jsCalcValue - the JavaScript to calculate the value to be sent to the server
return
- the function ID and JavaScript that makes the call
(String, JsExp)
jsonForm.. def jsonForm(jsonHandler : JsonHandler, body : NodeSeq)
Takes a form and wraps it so that it will be submitted via AJAX and processed by a JSON handler [details]
This can be useful if you may have dynamic client-side modification of the form (addition or removal).
param
body - The form body. This should not include the <form> tag.
jsonHandler - The handler that will process the form
NodeSeq
jsonForm.. def jsonForm(jsonHandler : JsonHandler, onSubmit : JsCmd, body : NodeSeq)
Takes a form and wraps it so that it will be submitted via AJAX and processed by a JSON handler [details]
This can be useful if you may have dynamic client-side modification of the form (addition or removal).
param
onSubmit - JavaScript code that will be executed on the client prior to submitting the form
body - The form body. This should not include the <form> tag.
jsonHandler - The handler that will process the form
NodeSeq
jsonText.. def jsonText(value : String, cmd : String, json : JsonCall, attrs : (String, String)*)
Create a JSON text widget that makes a JSON call on blur or "return" [details]
param
cmd - - the json command name
json - - the JsonCall returned from S.buildJsonFunc
value - - the initial value of the text field
return
- a text field
Elem
jsonText.. def jsonText(value : String, ignoreBlur : Boolean, json : (JsExp) => JsCmd, attrs : (String, String)*)
This function does not really submit a JSON request to server instead json is a function that allows you to build a more complex JsCmd based on the JsExp JE [details]
JsRaw("this.value"). This function is called by the overloaded version of jsonText.
param
ignoreBlur - - ignore the onblur event and only do the event if the enter key is pressed
json - - takes a JsExp which describes how to recover the value of the text field and returns a JsExp containing the thing to execute on blur/return
value - - the initial value of the text field
return
- a text field
Elem
jsonText.. def jsonText(value : String, json : (JsExp) => JsCmd, attrs : (String, String)*)
This function does not really submit a JSON request to server instead json is a function that allows you to build a more complex JsCmd based on the JsExp JE [details]
JsRaw("this.value"). This function is called by the overloaded version of jsonText.
param
json - - takes a JsExp which describes how to recover the value of the text field and returns a JsExp containing the thing to execute on blur/return
value - - the initial value of the text field
return
- a text field
Elem
jsonTextarea.. def jsonTextarea(value : String, cmd : String, json : JsonCall, attrs : (String, String)*)
Create a JSON text area widget that makes a JSON call on blur [details]
param
cmd - - the json command name
json - - the JsonCall returned from S.buildJsonFunc
value - - the initial value of the text field
return
- a text field
Elem
jsonTextarea.. def jsonTextarea(value : String, json : (JsExp) => JsCmd, attrs : (String, String)*)
This function does not really submit a JSON request to server instead json is a function that allows you to build a more complex JsCmd based on the JsExp JE [details]
JsRaw("this.value"). This function is called by the overloaded version of jsonTextarea.
param
json - - takes a JsExp which describes how to recover the value of the text area field and returns a JsExp containing the thing to execute on blur
value - - the initial value of the text area field
return
- a text area field
Elem
link.. def link(to : String, func : () => Any, body : NodeSeq, attrs : (String, String)*)
create an anchor tag around a body [details]
param
body - - the NodeSeq to wrap in the anchor tag
func - - the function to invoke when the link is clicked
Elem
makeAjaxCall.. def makeAjaxCall(in : JsExp, context : AjaxContext)
Invokes the Ajax request [details]
param
context - defines the response callback functions and the response type (JavaScript or JSON)
in - the JsExp that returns the request data
JsExp
makeAjaxCall.. def makeAjaxCall(in : JsExp)
Invokes the Ajax request [details]
param
in - the JsExp that returns the request data
JsExp
multiSelect.. def multiSelect(opts : Seq[(String, String)], deflt : Seq[String], func : (List[String]) => Any, attrs : (String, String)*) Elem
multiSelectObj.. def multiSelectObj[T](options : Seq[(T, String)], default : Seq[T], onSubmit : (List[T]) => Unit, attrs : (String, String)*)
Create a select box based on the list with a default value and the function to be executed on form submission [details]
param
default - -- the default value (or Empty if no default value)
onSubmit - -- the function to execute on form submission
options - -- a list of value and text pairs (value, text to display)
Elem
multiSelect_*.. def multiSelect_*(opts : Seq[(String, String)], deflt : Seq[String], func : AFuncHolder, attrs : (String, String)*) Elem
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
password.. def password(value : String, func : (String) => Any, attrs : (String, String)*) Elem
password_*.. def password_*(value : String, func : AFuncHolder, attrs : (String, String)*) Elem
radio.. def radio(opts : Seq[String], deflt : Box[String], func : (String) => Any, attrs : (String, String)*) ChoiceHolder[String]
radio_*.. def radio_*(opts : Seq[String], deflt : Box[String], func : AFuncHolder, attrs : (String, String)*) ChoiceHolder[String]
select.. def select(opts : Seq[(String, String)], deflt : Box[String], func : (String) => Any, attrs : (String, String)*)
Create a select box based on the list with a default value and the function to be executed on form submission [details]
param
deflt - -- the default value (or Empty if no default value)
func - -- the function to execute on form submission
opts - -- the options. A list of value and text pairs (value, text to display)
Elem
selectObj.. def selectObj[T](options : Seq[(T, String)], default : Box[T], onSubmit : (T) => Unit, attrs : (String, String)*)
Create a select box based on the list with a default value and the function to be executed on form submission [details]
param
default - -- the default value (or Empty if no default value)
onSubmit - -- the function to execute on form submission
options - -- a list of value and text pairs (value, text to display)
Elem
select_*.. def select_*(opts : Seq[(String, String)], deflt : Box[String], func : AFuncHolder, attrs : (String, String)*)
Create a select box based on the list with a default value and the function to be executed on form submission [details]
param
deflt - -- the default value (or Empty if no default value)
func - -- the function to execute on form submission
opts - -- the options. A list of value and text pairs
Elem
span.. def span(body : NodeSeq, cmd : JsCmd, attrs : (String, String)*)
Create a span that will run a JavaScript command when clicked
Elem
submit.. def submit(value : String, func : () => Any, attrs : (String, String)*)
Generates a form submission button [details]
param
func - The function that will be executed on form submission
attrs - Optional XHTML element attributes that will be applied to the button
value - The label for the button
Elem
submitAjaxForm.. def submitAjaxForm(formId : String, func : () => JsCmd)
Submits a form denominated by a formId and execute the func function after form fields functions are executed
JsCmd
submitAjaxForm.. def submitAjaxForm(formId : String, postSubmit : Call)
Having a regular form, this method can be used to send the serialized content of the form [details]
@oaram formId - the id of the form
param
postSubmit - - the function that needs to be called after a successfull request
JsCmd
submitAjaxForm.. def submitAjaxForm(formId : String)
Having a regular form, this method can be used to send the serialized content of the form [details]
@oaram formId - the id of the form
JsCmd
submitButton.. def submitButton(func : () => Any, attrs : (String, String)*)
Generates a form submission button with a default label [details]
param
attrs - Optional XHTML element attributes that will be applied to the button
func - The function that will be executed on form submission
Elem
submitJsonForm.. def submitJsonForm(jsonHandler : JsonHandler, formId : String)
Having a regular form, this method can be used to send the content of the form as JSON [details]
the request will be processed by the jsonHandler
param
jsonHandler - - the handler that process this request @oaram formId - the id of the form
JsCmd
submit_*.. def submit_*(value : String, func : AFuncHolder, attrs : (String, String)*) Elem
swappable.. def swappable(shown : Elem, hidden : (String) => Elem) Elem
swappable.. def swappable(shown : Elem, hidden : Elem)
Build a swappable visual element [details]
If the shown element is clicked on, it turns into the hidden element and when the hidden element blurs, it swaps into the shown element.
Elem
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
text.. def text(value : String, func : (String) => Any, attrs : (String, String)*) Elem
textAjaxTest.. def textAjaxTest(value : String, func : (String) => Any, ajaxTest : (String) => JsCmd, attrs : (String, String)*) Elem
textAjaxTest.. def textAjaxTest(value : String, func : (String) => Any, ajaxTest : Box[(String) => JsCmd], attrs : (String, String)*) Elem
text_*.. def text_*(value : String, ignoreBlur : Boolean, func : AFuncHolder, ajaxTest : Box[(String) => JsCmd], attrs : (String, String)*) Elem
text_*.. def text_*(value : String, func : AFuncHolder, attrs : (String, String)*) Elem
text_*.. def text_*(value : String, func : AFuncHolder, ajaxTest : (String) => JsCmd, attrs : (String, String)*) Elem
text_*.. def text_*(value : String, func : AFuncHolder, ajaxTest : Box[(String) => JsCmd], attrs : (String, String)*) Elem
textarea.. def textarea(value : String, func : (String) => Any, attrs : (String, String)*) Elem
textarea_*.. def textarea_*(value : String, func : AFuncHolder, attrs : (String, String)*) Elem
toString.. def toString String AnyRef
toggleKids.. def toggleKids(head : Elem, visible : Boolean, func : () => JsCmd, kids : Elem) NodeSeq
untrustedSelect.. def untrustedSelect(opts : Seq[(String, String)], deflt : Box[String], func : (String) => Any, attrs : (String, String)*)
Create a select box based on the list with a default value and the function to be executed on form submission [details]
No check is made to see if the resulting value was in the original list. For use with DHTML form updating.
param
deflt - -- the default value (or Empty if no default value)
func - -- the function to execute on form submission
opts - -- the options. A list of value and text pairs
Elem
untrustedSelect_*.. def untrustedSelect_*(opts : Seq[(String, String)], deflt : Box[String], func : AFuncHolder, attrs : (String, String)*)
Create a select box based on the list with a default value and the function to be executed on form submission [details]
No check is made to see if the resulting value was in the original list. For use with DHTML form updating.
param
deflt - -- the default value (or Empty if no default value)
func - -- the function to execute on form submission
opts - -- the options. A list of value and text pairs
Elem
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.