net.liftmodules.ng

Angular

object Angular extends DispatchSnippet with AngularProperties with LiftNgJsHelpers with Loggable

Primary lift-ng module

Linear Supertypes
LiftNgJsHelpers, Loggable, AngularProperties, DispatchSnippet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Angular
  2. LiftNgJsHelpers
  3. Loggable
  4. AngularProperties
  5. DispatchSnippet
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait AjaxFunctionGenerator extends AnyRef

  2. case class AjaxJsonToJsonFunctionGenerator[Model <: NgModel](modelToPromise: (Model) ⇒ Promise)(implicit mf: Manifest[Model], formats: Formats) extends LiftAjaxFunctionGenerator with Product with Serializable

    Attributes
    protected
  3. case class AjaxNoArgToJsonFunctionGenerator(jsFunc: (Unit) ⇒ Promise) extends LiftAjaxFunctionGenerator with Product with Serializable

    Attributes
    protected
  4. case class AjaxStringToJsonFunctionGenerator(stringToPromise: (String) ⇒ Promise)(implicit formats: Formats) extends LiftAjaxFunctionGenerator with Product with Serializable

    Attributes
    protected
  5. type DispatchIt = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Definition Classes
    DispatchSnippet
  6. trait Factory extends AnyRef

    Creates a generator function() {} to be used within an angular.

  7. case class FromAnyFunctionGenerator(obj: Any)(implicit formats: Formats) extends LiftAjaxFunctionGenerator with Product with Serializable

    Attributes
    protected
  8. abstract class FutureFunctionGenerator extends LiftAjaxFunctionGenerator

    Attributes
    protected
  9. type FutureId = String

  10. class JsObjFactory extends Factory

    Produces a javascript object with ajax functions as keys.

  11. case class JsonFutureFunctionGenerator[Model <: NgModel, T](func: (Model) ⇒ LAFuture[Box[T]])(implicit mf: Manifest[Model], formats: Formats) extends FutureFunctionGenerator with Product with Serializable

    Attributes
    protected
  12. trait LiftAjaxFunctionGenerator extends AjaxFunctionGenerator

  13. case class ModelFnBox[M](f: (M) ⇒ Box[Any]) extends Product with Serializable

    This exists to wrap the functions passed to defModelToAny/jsonCall and handle the type contravariance appropriately.

  14. case class ModelFnFuture[M, R](f: (M) ⇒ LAFuture[Box[R]]) extends Product with Serializable

    This exists to wrap the functions passed to defModelToFutureAny/future and handle the type contravariance appropriately.

  15. class Module extends AnyRef

    Builder for Angular modules.

  16. type NgFuture[T] = (LAFuture[Box[T]], FutureId)

  17. trait NgModel extends AnyRef

    A model to be sent from angularjs as json, to lift deserialized into this class.

  18. case class NoArgFutureFunctionGenerator[T](func: (Unit) ⇒ LAFuture[Box[T]])(implicit formats: Formats) extends FutureFunctionGenerator with Product with Serializable

    Attributes
    protected
  19. sealed trait Promise extends AnyRef

    Used to resolve or reject a javascript angular $q promise.

  20. trait PromiseMapper extends AnyRef

    Maps the response passed into the ajax calls into something that can be passed into promise.

  21. case class Reject(reason: String = "server error") extends Promise with Product with Serializable

  22. case class RequestData[Model <: NgModel](data: Model)(implicit evidence$1: Manifest[Model]) extends Product with Serializable

  23. case class RequestString(data: String) extends Product with Serializable

  24. case class Resolve(data: Option[JsExp] = scala.None, futureId: Option[String] = scala.None) extends Promise with Product with Serializable

  25. case class ReturnData(id: FutureId, json: Box[String]) extends Product with Serializable

  26. case class StringFutureFunctionGenerator[T](func: (String) ⇒ LAFuture[Box[T]])(implicit formats: Formats) extends FutureFunctionGenerator with Product with Serializable

    Attributes
    protected
  27. case class ToJsonFunctionGenerator(obj: AnyRef)(implicit formats: Formats) extends LiftAjaxFunctionGenerator with Product with Serializable

    Attributes
    protected
  28. case class ToStringFunctionGenerator(s: String)(implicit formats: Formats) extends LiftAjaxFunctionGenerator with Product with Serializable

    Attributes
    protected

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. object DefaultApiSuccessMapper extends PromiseMapper

    Maps an api result to a Promise object that will be used to fulfill the javascript promise object.

  7. val FutureIdNA: FutureId

  8. object Promise

  9. val ajaxFn: String

    Definition Classes
    AngularProperties
  10. object angular

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def bind(xhtml: NodeSeq): NodeSeq

    Sets up a two-way scope variable binding by dropping in two binding actors as the last Elem/Node children in the passed NodeSeq

    Sets up a two-way scope variable binding by dropping in two binding actors as the last Elem/Node children in the passed NodeSeq

    xhtml
    returns

  13. def buildCmd(root: Boolean, f: JsCmd): JsCmd

    Sends any of our commands with all of the early-arrival retry mechanism packaged up

    Sends any of our commands with all of the early-arrival retry mechanism packaged up

    Attributes
    protected
    Definition Classes
    LiftNgJsHelpers
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def dispatch: PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Implementation of dispatch to allow us to add ourselves as a snippet

    Implementation of dispatch to allow us to add ourselves as a snippet

    Definition Classes
    Angular → DispatchSnippet
  16. val enhancedAjax: Boolean

    Definition Classes
    AngularProperties
  17. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def getToServerBinder(theType: String): Box[NgModelBinder[NgModel]]

  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. val id: String

    Attributes
    protected
    Definition Classes
    LiftNgJsHelpers
  24. def init(futures: Boolean = true, appSelector: String = "[ng-app]", includeJsScript: Boolean = true, includeAngularJs: Boolean = false, additionalAngularJsModules: List[String] = List(), includeAngularCspCss: Boolean = false, retryAjaxInOrder: Boolean = false): Unit

    Init function to be called in Boot

    Init function to be called in Boot

    futures

    true to include

    net.liftweb.actor.LAFuture
    appSelector

    the CSS selector to find your app in the page

    includeJsScript

    true to include the prerequisite liftproxy.js file, false if you plan to include it yourself.

    includeAngularJs

    true to include angular.js and modules found in angularjs webjar.

    additionalAngularJsModules

    list of additional angularjs modules to include in the page.

    includeAngularCspCss

    true to include angular-csp.css found in angularjs webjar.

    retryAjaxInOrder

    true to preserve the order of ajax service calls even in the event of server communication failures.

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def jsObjFactory(): JsObjFactory

    A factory builder that can create a javascript object full of ajax calls.

  27. val logger: Logger

    Attributes
    protected
    Definition Classes
    Loggable
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def render: NodeSeq

    Renders all the modules that have been added to the RequestVar.

  32. def renderIfNotAlreadyDefined(module: Module): NodeSeq

    Registers the module with the RequestVar so that it may be rendered in base.

    Registers the module with the RequestVar so that it may be rendered in base.html.

  33. def stringify(obj: Any)(implicit formats: Formats): String

    Attributes
    protected
    Definition Classes
    LiftNgJsHelpers
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. implicit def wrapModelFnBox[M](f: (M) ⇒ Box[Any]): ModelFnBox[M]

    Transparently wraps NgModel => Box[Any] functions appropriately for defModelToAny/jsonCall

  40. implicit def wrapModelFnFuture[M, R](f: (M) ⇒ LAFuture[Box[R]]): ModelFnFuture[M, R]

    Transparently wraps NgModel => LAFuture[Box[Any]] functions appropriately for defModelToFutureAny

Inherited from LiftNgJsHelpers

Inherited from Loggable

Inherited from AngularProperties

Inherited from DispatchSnippet

Inherited from AnyRef

Inherited from Any

Ungrouped