149150151152153154155156157158159
FieldTranslator ft = source.createDefaultTranslator(field, "myfield", messages, locale, propertyType, ap); assertEquals(ft.getType(), Map.class); ft.render(writer); verify(); } @Test
192193194195196197198199200201202
234235236237238239240241242243244
275276277278279280281282283284285
321322323324325326327328329330
FieldTranslator ft = source.createTranslator(resources, "map"); assertEquals(ft.getType(), Map.class); ft.render(writer); verify(); } }
148149150151152153154155156157158
190191192193194195196197198199200
231232233234235236237238239240241
277278279280281282283284285286
102103104105106107108109110111112
resources.renderInformalParameters(writer); FieldValidator fieldValidator = fieldValidatorSource.createValidator(this, "required", null); fieldValidator.render(writer); writer.end(); return false; }