views.html.helper

javascriptRouter

object javascriptRouter extends BaseScalaTemplate[Html, Format[Html]] with Template2[String, Array[JavascriptReverseRoute], Html]

Generate a Javascript router.

Example:

@javascriptRouter("jsRoutes")(
  routes.javascripts.Users.list,
  routes.javascripts.Application.index
)
Linear Supertypes
Template2[String, Array[JavascriptReverseRoute], Html], BaseScalaTemplate[Html, Format[Html]], Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. javascriptRouter
  2. Template2
  3. BaseScalaTemplate
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def _display_ (o: Any)(implicit m: Manifest[Html]): Html

    Definition Classes
    BaseScalaTemplate
  7. def apply (name: String = "Router")(routes: JavascriptReverseRoute*): Html

    Generate a Javascript router.

    Generate a Javascript router.

    Example:

    @javascriptRouter("jsRoutes")(
      routes.javascripts.Users.list,
      routes.javascripts.Application.index
    )
    
    name

    The javascript object name.

    routes

    Set of routes to include in this javascript router.

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def canEqual (arg0: Any): Boolean

    Definition Classes
    BaseScalaTemplate → Equals
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def eq (arg0: AnyRef): Boolean

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

    Definition Classes
    BaseScalaTemplate → Equals → AnyRef → Any
  13. def f : (String) ⇒ (Array[JavascriptReverseRoute]) ⇒ Html

  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. val format : Format[Html]

    Definition Classes
    BaseScalaTemplate
  16. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def hashCode (): Int

    Definition Classes
    BaseScalaTemplate → AnyRef → Any
  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def productArity : Int

    Definition Classes
    BaseScalaTemplate → Product
  23. def productElement (arg0: Int): Any

    Definition Classes
    BaseScalaTemplate → Product
  24. def productIterator : Iterator[Any]

    Definition Classes
    Product
  25. def productPrefix : String

    Definition Classes
    BaseScalaTemplate → Product
  26. def readResolve (): AnyRef

    Attributes
    protected
  27. def ref : views.html.helper.javascriptRouter.type

  28. def render (name: String, routes: Array[JavascriptReverseRoute]): Html

    Definition Classes
    javascriptRouter → Template2
  29. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  30. def toString (): String

    Definition Classes
    BaseScalaTemplate → AnyRef → Any
  31. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Template2[String, Array[JavascriptReverseRoute], Html]

Inherited from BaseScalaTemplate[Html, Format[Html]]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any