o
FormRoot
object FormRootCreates stable form-root values.
Assign the result to a stable val before declaring fields so its singleton type can enforce
ownership throughout the rooted form API.
Defined by scalive.FormRoot. View source (scalive/api/src/scalive/forms/FormDefinition.scala:253-266)
Methods1
apply
def apply(name: String): FormRootCreates a form root from a non-empty browser field name.
Nested syntax such as profile[address] is parsed as a FormPath.
Parameters
namethe root browser name
Throws
IllegalArgumentExceptionif
nameparses to an empty form path
Defined by scalive.FormRoot.apply. View source (scalive/api/src/scalive/forms/FormDefinition.scala:263-266)