Packages

o

net.liftweb.http.Wizard

AjaxOnDone

object AjaxOnDone extends WizardVar[JsCmd]

What to do when the Screen is done. By default, will do a redirect back to Whence, but you can change this behavior, for example, put up some other Ajax thing or alternatively, remove the form from the screen.

Attributes
protected
Definition Classes
WizardScreenWizardRendered
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AjaxOnDone
  2. WizardVar
  3. NonCleanAnyVar
  4. AnyVar
  5. AnyVarTrait
  6. HasCalcDefaultValue
  7. PSettableValueHolder
  8. SettableValueHolder
  9. Settable
  10. PValueHolder
  11. ValueHolder
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type CleanUpParam = Unit
    Definition Classes
    NonCleanAnyVarAnyVarTrait
  2. type FuncType = (Box[JsCmd], Boolean) ⇒ Unit

    The function takes a Box[T] (Full if the Var is being set, Empty if it's being cleared) and a Boolean indicating that the set function is setting to the default value.

    The function takes a Box[T] (Full if the Var is being set, Empty if it's being cleared) and a Boolean indicating that the set function is setting to the default value.

    Definition Classes
    AnyVarTrait
  3. type ValueType = JsCmd
    Definition Classes
    PValueHolderValueHolder

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. lazy val __nameSalt: String
    Definition Classes
    AjaxOnDoneAnyVarTrait
  5. def apply(what: JsCmd): JsCmd

    Set the session variable

    Set the session variable

    what

    -- the value to set the session variable to

    Definition Classes
    AnyVarTrait
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def atomicUpdate(f: (ValueType) ⇒ ValueType): ValueType

    Perform an atomic update of this Settable.

    Perform an atomic update of this Settable. The current value is passed to the function and the ValueHolder is set to the result of the function. This is enclosed in the performAtomicOperation method which will, by default, synchronize this instance

    Definition Classes
    Settable
  8. def calcDefaultValue: JsCmd
    Attributes
    protected
    Definition Classes
    AnyVarAnyVarTraitHasCalcDefaultValue
  9. def clearFunc(name: String): Unit
    Attributes
    protected
    Definition Classes
    WizardVarAnyVarTrait
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def doSync[F](f: ⇒ F): F

    Different Vars require different mechanisms for synchronization.

    Different Vars require different mechanisms for synchronization. This method implements the Var specific synchronization mechanism

    Definition Classes
    WizardVarAnyVarTrait
  12. def doWith[F](newVal: JsCmd)(f: ⇒ F): F

    Change the value of the Var for the lifespan of the function

    Change the value of the Var for the lifespan of the function

    Definition Classes
    AnyVarTrait
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def findFunc(name: String): Box[JsCmd]
    Attributes
    protected
    Definition Classes
    WizardVarAnyVarTrait
  17. def get: JsCmd

    Shadow of the 'is' method

    Shadow of the 'is' method

    Definition Classes
    AnyVarTraitValueHolder
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. def is: JsCmd

    The current value of the variable

    The current value of the variable

    Definition Classes
    AnyVarTrait
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. lazy val name: String
    Attributes
    protected
    Definition Classes
    AnyVarTrait
  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 onChange(f: FuncType): Unit

    On any change to this Var, invoke the function.

    On any change to this Var, invoke the function. Changes are setting the value, clearing the value. There may not be a call if the Var goes out of scope (e.g., a RequestVar at the end of the Request).

    The function takes a Box[T] (Full if the Var is being set, Empty if it's being cleared) and a Boolean indicating that the set function is setting to the default value.

    The function should execute *very* quickly (e.g., Schedule a function to be executed on a different thread).

    The function should generally be set in Boot or when a singleton is created.

    f

    the function to execute on change

    Definition Classes
    AnyVarTrait
  27. def onShutdown(session: CleanUpParam): Unit
    Attributes
    protected
    Definition Classes
    AnyVarTrait
  28. def performAtomicOperation[T](f: ⇒ T): T

    Perform an atomic operation on the Settable.

    Perform an atomic operation on the Settable. By default synchronizes the instance, but it could use other mechanisms

    Definition Classes
    Settable
  29. def registerCleanupFunc(in: (Unit) ⇒ Unit): Unit
    Attributes
    protected
    Definition Classes
    NonCleanAnyVarAnyVarTrait
  30. final def registerGlobalCleanupFunc(in: (CleanUpParam) ⇒ Unit): Unit
    Attributes
    protected
    Definition Classes
    AnyVarTrait
  31. def remove(): Unit
    Definition Classes
    AnyVarTrait
  32. def set(what: JsCmd): JsCmd

    Shadow of the apply method

    Shadow of the apply method

    Definition Classes
    AnyVarTraitSettable
  33. def setFunc(name: String, value: JsCmd): Unit
    Attributes
    protected
    Definition Classes
    WizardVarAnyVarTrait
  34. def setIfUnset(value: ⇒ JsCmd): JsCmd

    Set the Var if it has not been calculated

    Set the Var if it has not been calculated

    Definition Classes
    AnyVarTrait
  35. def set_?: Boolean

    Has this Var been set or accessed and had its default value calculated

    Has this Var been set or accessed and had its default value calculated

    Definition Classes
    AnyVarTrait
  36. def settingDefault_?: Boolean
    Attributes
    protected
    Definition Classes
    AnyVarTrait
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def testWasSet(name: String, bn: String): Boolean

    A non-side-effecting test if the value was initialized

    A non-side-effecting test if the value was initialized

    Attributes
    protected
    Definition Classes
    WizardVarAnyVarTrait
  39. def toString(): String
    Definition Classes
    AnyVarTrait → AnyRef → Any
  40. def update(f: (JsCmd) ⇒ JsCmd): JsCmd

    Applies the given function to the contents of this variable and sets the variable to the resulting value.

    Applies the given function to the contents of this variable and sets the variable to the resulting value.

    f

    -- the function to apply and set the result from.

    Definition Classes
    AnyVarTrait
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def wasInitialized(name: String, bn: String): Boolean
    Attributes
    protected
    Definition Classes
    WizardVarAnyVarTrait

Inherited from WizardVar[JsCmd]

Inherited from NonCleanAnyVar[JsCmd]

Inherited from HasCalcDefaultValue[JsCmd]

Inherited from PSettableValueHolder[JsCmd]

Inherited from SettableValueHolder

Inherited from Settable

Inherited from PValueHolder[JsCmd]

Inherited from ValueHolder

Inherited from AnyRef

Inherited from Any

Ungrouped