Trait

net.liftweb.util

HtmlHelpers

Related Doc: package util

Permalink

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

    Permalink
    Definition Classes
    CssBindImplicits
  2. implicit class CssSelectorToCssBindPromoter extends CssBindPromoter

    Permalink
    Definition Classes
    CssBindImplicits
  3. implicit class StringToCssBindPromoter extends CssBindPromoter

    Permalink
    Definition Classes
    CssBindImplicits

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addCssClass(cssClass: String, elem: Elem): Elem

    Permalink

    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.

    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

    Permalink

    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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def deepEnsureUniqueId(in: NodeSeq): NodeSeq

    Permalink

    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

    Permalink

    Ensure that the first Element has the specified ID

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def errorDiv(body: NodeSeq): Box[NodeSeq]

    Permalink
  14. def finalize(): Unit

    Permalink
    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

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

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

    Permalink

    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[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def makeMetaData(key: String, value: String, rest: MetaData): MetaData

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def pairsToMetaData(in: List[String]): MetaData

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

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

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CssBindImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped