• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
MyFaces Extensions Validator Part 1 of 3
 

MyFaces Extensions Validator Part 1 of 3

on

  • 6,161 views

These slides introduce MyFaces Extensions Validator. This first part is a short overview. To get more details about MyFaces Extensions Validator we also offer slides with all important details. Do not ...

These slides introduce MyFaces Extensions Validator. This first part is a short overview. To get more details about MyFaces Extensions Validator we also offer slides with all important details. Do not hesitate to contact us!

Statistics

Views

Total Views
6,161
Views on SlideShare
5,933
Embed Views
228

Actions

Likes
0
Downloads
0
Comments
0

5 Embeds 228

http://os890.blogspot.com 205
http://os890.blogspot.co.at 13
http://www.slideshare.net 8
http://os890.blogspot.ca 1
http://os890.blogspot.ru 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    MyFaces Extensions Validator Part 1 of 3 MyFaces Extensions Validator Part 1 of 3 Presentation Transcript

    • MyFaces Extensions-Validator Advanced metadata based JSF validation Part I DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 2
    • Agenda • History • Hello MyFaces ExtVal • Basic Feature-Overview • Requirements & Dependencies • Examples • External Extensions • Showcase (Client-Side Validation) DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 3
    • History • Q1 2008 Private feasibility study for – Transparent JPA 1.0 based validation (including required fields) – Cross-Component validation via annotations – Pure metadata based validation • Q2 2008 Integration in MyFaces • Q3 2008 Validation platform • 12.12.08 1. Release DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 4
    • „Hello MyFaces ExtVal“ Showcase DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 5
    • Features - 1 • Transparent JPA 1.0 based validation • Cross-component validation • Zero configuration (configuration is just an alternative) • Client-side validation support – Possible integration of 3rd party mechanisms – MyFaces Trinidad support • Generic support of 3rd party component libraries • Validation exception interception • Component initialization based on annotations DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 6
    • Features - 2 • Validation platform (Core is independent of specific annotations and concrete validation) – Custom annotations – Extensible and customizable – Basis for other extensions (e.g.: secure required) • Dependency injection support (including Spring) • and more!!! DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 7
    • Requirements & Dependencies • Minimal requirements: – myfaces-extval-core-*.jar – commons-logging*.jar • Optional: – myfaces-extval-property-validation-*.jar – myfaces-extval-trinidad-support-*.jar – myfaces-extval-generic-support-*.jar – myfaces-extval-bean-validation-*.jar (planned) – Custom validation modules DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 8
    • Annotation Example - 1.1 DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 9
    • Annotation Example - 1.2 DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 10
    • Validation of ExtVal Annotations • MyFaces ExtVal jars in the classpath – myfaces-extval-core-*.jar – myfaces-extval-property-validation-*.jar • Using MyFaces ExtVal annotations – Field – Properties DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 11
    • Validation of JPA Annotations • MyFaces ExtVal jars in the classpath – myfaces-extval-core-*.jar – myfaces-extval-property-validation-*.jar • Using JPA annotations – Field – Properties DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 12
    • Optional External Extensions • Secure required • Annotation based configuration – @StartupListener – @ValidationStrategy – @MessageResolver – @MetaDataTransformer – @ComponentInitializer – @ProcessedInformationRecorder – @RendererInterceptor – and more!!! DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 13
    • Showcase Trinidad Support (client-side validation) live demonstration DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 14
    • Agenda of Part II • Advanced Annotation Based Validation • Custom Validation Error Messages (Message Resolving) • Validation Exception Interception • Component Initialization Based on Metadata • Name Conventions + Alternatives • Client-Side Validation Based on Annotations • Dependency Injection Support Part 2 and 3 are part of our JSF training! Do not hesitate to contact us at info@irian.at DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 15
    • Agenda of Part III • ExtVal Architecture - The Big Picture • Customize Central ExtVal Mechanisms • Customized Conventions • Custom Validation Infrastructure • 3rd Party Component Library Integration • JSR 303 Integration • ExtVal vs. JSR 303 Concepts Part 2 and 3 are part of our JSF training! Do not hesitate to contact us at info@irian.at DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 16
    • Links • http://svn.apache.org/repos/asf/myfaces/extensi ons/validator • http://wiki.apache.org/myfaces/Extensions/Valid ator • http://issues.apache.org/jira/browse/EXTVAL • http://os890.blogspot.com • http://code.google.com/p/os890/source/browse/tr unk/java/web/jsf/extval • http://people.apache.org/~gpetracek/myfaces/ex tval DI (FH) Gerhard Petracek / MyFaces-Extensions-Validator 11.11.08 17