Feed on
Posts
Comments

In this latest in the DoubleDawg series, we are almost ready to do something big.

But first, we have one more working session, and we get an incredibly cool gift!

The After Code for Step 5 (173)

Get the Flash Player to see this content.

The After Code for Step 6 (138)

Previous DoubleDawgDare

Next DoubleDawgDare (Might be as early as next week!).

  • Share/Bookmark

11 Responses to “DoubleDawgDare 6: Merry Christmas??”

  1. Jeff Grigg says:

    Merry Christmas! Er, ah… Happy Australia day! (January 26th ;-)

    Thank you for the screen cast!

    (And you’re welcome for the tests!)

  2. Jeff Grigg says:

    2:55 to 3:15 in the screencast:
    To offer a little clarification on the processing of the “Validations” annotation in the “processValidationAnnotationSingular” method: The “@Validations(…)” annotation contains 14 attributes, each of which is a typed array of validation annotations. See the “LotsOfParameterValues” class in the “AnnotationValidationConfigurationBuilder_Validations_Test” test for an example of its usage. So we’re looking at nested annotations.

    It’s also useful to know that the depreciated “Validation” annotation, processed by the “processValidationPlural” method, is defined as containing an array of Validations annotations. (See “AnnotationValidationConfigurationBuilder_Validation_Test”) I think it’s deprecated because you can just merge all the contents of all the Validations it contains into one Validations annotation.

    [I have no Earthly idea why the “DateRangeFieldValidator” annotation is omitted from the list of possible children of the Validations annotation. Maybe it’s an error.]

  3. Jeff Grigg says:

    We’re all just dying to know how you’ll get polymorphic behavior out of an ‘@interface’. ;-> It’s a challenge!

Leave a Reply

AWSOM Powered