Packages

implicit class RichDateInput extends ImplicitsSupport[DateInput]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichDateInput
  2. ImplicitsSupport
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RichDateInput(dateInput: DateInput)(implicit messages: Messages)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. implicit val messages: Messages
    Definition Classes
    RichDateInputImplicitsSupport
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. def withDayMonthFormField(field: Field): DateInput

    Method to allow a Play form Field to be used to populate parameters in a DateInput.

    Method to allow a Play form Field to be used to populate parameters in a DateInput. This method will populate with two InputItems corresponding to the day and month only. Form errors will be bound as Text objects.

  21. def withDayMonthWithErrorAsHtml(field: Field): DateInput

    Method to allow a Play form Field to be used to populate parameters in a DateInput, with form errors bound as HtmlContent objects.

  22. def withDayMonthYearFormField(field: Field): DateInput

    Method to allow a Play form Field to be used to populate parameters in a DateInput.

    Method to allow a Play form Field to be used to populate parameters in a DateInput. This method will populate with three InputItems corresponding to the day, month and year. Form errors will be bound as Text objects.

  23. def withDayMonthYearWithErrorAsHtml(field: Field): DateInput

    Method to allow a Play form Field to be used to populate parameters in a DateInput, with form errors bound as HtmlContent objects.

  24. def withHeading(heading: Content): DateInput
  25. def withHeadingAndSectionCaption(heading: Content, sectionCaption: Content): DateInput
  26. def withHeadingLabel[A](original: A, headingContent: Content, captionContent: Option[Content])(update: (A, Label) => A): A
    Attributes
    protected
    Definition Classes
    ImplicitsSupport
  27. def withHeadingLegend[A](original: A, headingContent: Content, captionContent: Option[Content])(update: (A, Legend) => A): A
    Attributes
    protected
    Definition Classes
    ImplicitsSupport
  28. def withMonthYearFormField(field: Field): DateInput

    Method to allow a Play form Field to be used to populate parameters in a DateInput.

    Method to allow a Play form Field to be used to populate parameters in a DateInput. This method will populate with two InputItems corresponding to the month and year only. Form errors will be bound as Text objects.

  29. def withMonthYearWithErrorAsHtml(field: Field): DateInput

    Method to allow a Play form Field to be used to populate parameters in a DateInput, with form errors bound as HtmlContent objects.

  30. def withOptHtmlErrorMessageProperty(formError: Option[FormError], currentProp: Option[ErrorMessage], currentFormInput: DateInput)(update: (DateInput, Option[ErrorMessage]) => DateInput): DateInput
    Attributes
    protected[govukfrontend.views]
    Definition Classes
    ImplicitsSupport
  31. def withOptStringProperty(propFromField: Option[String], currentProp: Option[String], currentFormInput: DateInput)(update: (DateInput, Option[String]) => DateInput): DateInput
    Attributes
    protected[govukfrontend.views]
    Definition Classes
    ImplicitsSupport
  32. def withOptTextErrorMessageProperty(formError: Option[FormError], currentProp: Option[ErrorMessage], currentFormInput: DateInput)(update: (DateInput, Option[ErrorMessage]) => DateInput): DateInput
    Attributes
    protected[govukfrontend.views]
    Definition Classes
    ImplicitsSupport
  33. def withStringProperty(propFromField: String, currentProp: String, currentFormInput: DateInput)(update: (DateInput, String) => DateInput): DateInput
    Attributes
    protected[govukfrontend.views]
    Definition Classes
    ImplicitsSupport

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def withFormField(field: Field): DateInput

    Deprecated method to allow a Play form Field to be used to populate parameters in a DateInput, if they have not already been set to a non-default value.

    Deprecated method to allow a Play form Field to be used to populate parameters in a DateInput, if they have not already been set to a non-default value. This method assumes that dateInput.items will either equal Seq.empty or will have exactly three InputItems corresponding to the day, month and year. Form errors will be bound as Text objects.

    Definition Classes
    RichDateInputImplicitsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.0) Use withDayMonthYearFormField, withDayMonthFormField, or withMonthYearFormField instead

  3. def withFormFieldWithErrorAsHtml(field: Field): DateInput

    Extension method to allow a Play form Field to be used to populate parameters in a DateInput, as per withFormField, with form errors bound as HtmlContent objects.

    Extension method to allow a Play form Field to be used to populate parameters in a DateInput, as per withFormField, with form errors bound as HtmlContent objects.

    Definition Classes
    RichDateInputImplicitsSupport
    Annotations
    @deprecated
    Deprecated

    (Since version 10.1.0) Use withDayMonthYearWithErrorAsHtml, withDayMonthWithErrorAsHtml, or withMonthYearWithErrorAsHtml instead

Inherited from ImplicitsSupport[DateInput]

Inherited from AnyRef

Inherited from Any

Ungrouped