Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
o

FormPath

object FormPath

Constructors and parsing utilities for FormPath.

Defined by scalive.FormPath. View source (scalive/api/src/scalive/forms/FormPath.scala:59-104)

Methods2

apply

def apply(first: String, rest: String*): FormPath

Constructs a path from non-empty arguments, silently dropping every empty argument.

Use array when an empty array segment must be retained.

Defined by scalive.FormPath.apply. View source (scalive/api/src/scalive/forms/FormPath.scala:67-68)

parse

def parse(name: String): FormPath

Permissively parses bracket notation into non-empty segments.

Plain text and bracket contents become segments. Empty bracket contents are discarded, stray ] characters are ignored, and an unterminated [ consumes the remaining text. Consequently, parsing and rendering do not round-trip array brackets or malformed input.

Defined by scalive.FormPath.parse. View source (scalive/api/src/scalive/forms/FormPath.scala:76-103)

Values1

empty

val empty: FormPath

The path with no segments; its name and id are empty.

Defined by scalive.FormPath.empty. View source (scalive/api/src/scalive/forms/FormPath.scala:61-61)