implicit class RichDateInput extends ImplicitsSupport[DateInput]
- Alphabetic
- By Inheritance
- RichDateInput
- ImplicitsSupport
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
val
messages: Messages
- Definition Classes
- RichDateInput → ImplicitsSupport
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withFormField(field: Field): DateInput
Extension 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.
Extension 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.itemswill either equalSeq.emptyor will have exactly three InputItems corresponding to the day, month and year. Form errors will be bound as Text objects.- Definition Classes
- RichDateInput → ImplicitsSupport
-
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
- RichDateInput → ImplicitsSupport
- def withHeading(heading: Content): DateInput
- def withHeadingAndSectionCaption(heading: Content, sectionCaption: Content): DateInput
-
def
withHeadingLabel[A](original: A, headingContent: Content, captionContent: Option[Content])(update: (A, Label) ⇒ A): A
- Attributes
- protected
- Definition Classes
- ImplicitsSupport
-
def
withHeadingLegend[A](original: A, headingContent: Content, captionContent: Option[Content])(update: (A, Legend) ⇒ A): A
- Attributes
- protected
- Definition Classes
- ImplicitsSupport
-
def
withOptHtmlErrorMessageProperty(formError: Option[FormError], currentProp: Option[ErrorMessage], currentFormInput: DateInput)(update: (DateInput, Option[ErrorMessage]) ⇒ DateInput): DateInput
- Attributes
- protected[govukfrontend.views]
- Definition Classes
- ImplicitsSupport
-
def
withOptStringProperty(propFromField: Option[String], currentProp: Option[String], currentFormInput: DateInput)(update: (DateInput, Option[String]) ⇒ DateInput): DateInput
- Attributes
- protected[govukfrontend.views]
- Definition Classes
- ImplicitsSupport
-
def
withOptTextErrorMessageProperty(formError: Option[FormError], currentProp: Option[ErrorMessage], currentFormInput: DateInput)(update: (DateInput, Option[ErrorMessage]) ⇒ DateInput): DateInput
- Attributes
- protected[govukfrontend.views]
- Definition Classes
- ImplicitsSupport
-
def
withStringProperty(propFromField: String, currentProp: String, currentFormInput: DateInput)(update: (DateInput, String) ⇒ DateInput): DateInput
- Attributes
- protected[govukfrontend.views]
- Definition Classes
- ImplicitsSupport