Packages

t

net.liftweb.util

HtmlHelpers

trait HtmlHelpers extends CssBindImplicits

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HtmlHelpers
  2. CssBindImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class CssBindPromoter extends AnyRef
    Definition Classes
    CssBindImplicits
  2. implicit class CssSelectorToCssBindPromoter extends CssBindPromoter
    Definition Classes
    CssBindImplicits
  3. implicit class StringToCssBindPromoter extends CssBindPromoter
    Definition Classes
    CssBindImplicits

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addCssClass(cssClass: String, elem: Elem): Elem

    Adds the specified cssClass to the existing class attribute of an Elem or creates the class attribute with that class if it does not exist.

  5. def addCssClass(cssClass: Box[String], elem: Elem): Elem

    Adds the specified cssClass to the existing class attribute of an Elem or create the class attribute with that class if it does not exist.

    Adds the specified cssClass to the existing class attribute of an Elem or create the class attribute with that class if it does not exist.

    If cssClass is not Full, returns the passed Elem unchanged.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def deepEnsureUniqueId(in: NodeSeq): NodeSeq

    For a list of NodeSeq, ensure that the the id of all Elems are unique, recursively.

    For a list of NodeSeq, ensure that the the id of all Elems are unique, recursively. If there's a duplicate, that Elem will be returned without an id.

  9. def ensureId(ns: NodeSeq, id: String): NodeSeq

    Ensure that the first Element has the specified ID

  10. def ensureUniqueId(in: Seq[NodeSeq]): Seq[NodeSeq]

    For a list of NodeSeq, ensure that the the id of the root Elems are unique.

    For a list of NodeSeq, ensure that the the id of the root Elems are unique. If there's a duplicate, that Elem will be returned without an id

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def errorDiv(body: NodeSeq): Box[NodeSeq]
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def findBox[T](nodes: Seq[Node])(f: (Elem) ⇒ Box[T]): Box[T]

    Given a NodeSeq and a function that returns a Box[T], return the first value found in which the function evaluates to Full

  16. def findId(ns: NodeSeq): Box[String]

    Finds the first Elem in the NodeSeq (or any children) that has an ID attribute and return the value of that attribute.

  17. def findId(nodes: Seq[Node], id: String): Option[Elem]

    Given an id value, find the Elem with the specified id

  18. def findOption[T](nodes: Seq[Node])(f: (Elem) ⇒ Option[T]): Option[T]

    Given a NodeSeq and a function that returns an Option[T], return the first value found in which the function evaluates to Some

  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def makeMetaData(key: String, value: String, rest: MetaData): MetaData

    Make a MetaData instance from a key and a value.

    Make a MetaData instance from a key and a value. If key contains a colon, this method will generate a PrefixedAttribute with the text before the colon used as the prefix. Otherwise, it will produce an UnprefixedAttribute.

  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. def pairsToMetaData(in: List[String]): MetaData

    Convert a list of strings into a MetaData of attributes.

    Convert a list of strings into a MetaData of attributes.

    The strings in the list must be in the format of key=value.

  27. def removeAttribute(name: String, existingAttributes: MetaData): MetaData

    Remove an attribute from the specified list of existing attributes.

    Remove an attribute from the specified list of existing attributes.

    name

    the name of the attribute to remove

    existingAttributes

    a list of existing attributes

    returns

    the attributes list sans the named attribute

  28. def removeAttribute(name: String, element: Elem): Elem

    Remove an attribute from the specified element.

    Remove an attribute from the specified element.

    name

    the name of the attribute to remove

    returns

    the element sans the named attribute

  29. def stripHead(in: NodeSeq): NodeSeq

    Remove all the <head> elements, just leaving their child elements.

  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CssBindImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped