Object

net.liftmodules.ng

Angular

Related Doc: package ng

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. trait AjaxFunctionGenerator extends AnyRef

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

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

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

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

    Permalink
    Definition Classes
    DispatchSnippet
  6. trait Factory extends AnyRef

    Permalink

    Creates a generator function() {} to be used within an angular.module.factory(name, ...) call.

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

    Permalink
    Attributes
    protected
  8. abstract class FutureFunctionGenerator extends LiftAjaxFunctionGenerator

    Permalink
    Attributes
    protected
  9. type FutureId = String

    Permalink
  10. class JsObjFactory extends Factory

    Permalink

    Produces a javascript object with ajax functions as keys.

    Produces a javascript object with ajax functions as keys. e.g.

    function(dependencies) {
      get: function() { doAjaxStuff(); }
      post: function(string) { doAjaxStuff(); }
    }
  11. case class JsonFutureFunctionGenerator[P, T](func: (P) ⇒ Future[T])(implicit mf: Manifest[P], formats: Formats, ec: ExecutionContextProvider) extends FutureFunctionGenerator with Product with Serializable

    Permalink
    Attributes
    protected
  12. case class JsonLAFutureFunctionGenerator[P, T](func: (P) ⇒ LAFuture[Box[T]])(implicit mf: Manifest[P], formats: Formats, ec: ExecutionContextProvider) extends FutureFunctionGenerator with Product with Serializable

    Permalink
    Attributes
    protected
  13. trait LiftAjaxFunctionGenerator extends AjaxFunctionGenerator

    Permalink
  14. class Module extends AnyRef

    Permalink

    Builder for Angular modules.

  15. type NgFuture[T] = (FutureBox[T], FutureId)

    Permalink
  16. case class NoArgFutureFunctionGenerator[T](func: (Unit) ⇒ Future[T])(implicit formats: Formats, ec: ExecutionContextProvider) extends FutureFunctionGenerator with Product with Serializable

    Permalink
    Attributes
    protected
  17. case class NoArgLAFutureFunctionGenerator[T](func: (Unit) ⇒ LAFuture[Box[T]])(implicit formats: Formats, ec: ExecutionContextProvider) extends FutureFunctionGenerator with Product with Serializable

    Permalink
    Attributes
    protected
  18. sealed trait Promise extends AnyRef

    Permalink

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

  19. trait PromiseMapper extends AnyRef

    Permalink

    Maps the response passed into the ajax calls into something that can be passed into promise.resolve(data) or promise.reject(reason).

  20. case class Reject(data: JValue = JNull) extends Promise with Product with Serializable

    Permalink
  21. case class RequestData[P](data: P)(implicit evidence$1: Manifest[P]) extends Product with Serializable

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

    Permalink
  23. case class Resolve(data: Option[JValue] = None, futureId: Option[String] = None) extends Promise with Product with Serializable

    Permalink
  24. case class ReturnData[T](id: FutureId, response: Box[T], formats: Formats) extends Product with Serializable

    Permalink
  25. case class ToJsonFunctionGenerator(obj: AnyRef)(implicit formats: Formats) extends LiftAjaxFunctionGenerator with Product with Serializable

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

    Permalink
    Attributes
    protected
  27. trait NgModel extends AnyRef

    Permalink

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.0) Using this trait is no longer necessary. You can use the classes or even primitive types directly

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. object DefaultApiSuccessMapper extends PromiseMapper

    Permalink

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

  5. val FutureIdNA: FutureId

    Permalink
  6. object Promise

    Permalink
  7. val ajaxFn: String

    Permalink
    Definition Classes
    AngularProperties
  8. object angular

    Permalink
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def bind(xhtml: NodeSeq): NodeSeq

    Permalink

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

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

    Permalink

    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
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. val defaultFailureHandler: (Failure) ⇒ Reject

    Permalink
  14. def dispatch: PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Permalink

    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
  15. val enhancedAjax: Boolean

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

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

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

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

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

    Permalink
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. val id: String

    Permalink
    Attributes
    protected
    Definition Classes
    LiftNgJsHelpers
  23. 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, failureHandler: (Failure) ⇒ Reject = defaultFailureHandler): Unit

    Permalink

    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.

    failureHandler

    fn for converting a Lift Failure into a $q promise rejection on the client.

  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def jsObjFactory(): JsObjFactory

    Permalink

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

  26. val logger: Logger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def render: NodeSeq

    Permalink

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

  31. def renderIfNotAlreadyDefined(module: Module): NodeSeq

    Permalink

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

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

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

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

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

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

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

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

Inherited from LiftNgJsHelpers

Inherited from Loggable

Inherited from AngularProperties

Inherited from DispatchSnippet

Inherited from AnyRef

Inherited from Any

Ungrouped