Author: irooskov(a)redhat.com
Date: 2012-05-02 02:18:30 -0400 (Wed, 02 May 2012)
New Revision: 40703
Added:
trunk/cdi/docs/reference/en-US/artifact_wizards.xml
trunk/cdi/docs/reference/en-US/images/Artifact_Wizards/
trunk/cdi/docs/reference/en-US/images/Artifact_Wizards/artifact_wizards_01.png
trunk/cdi/docs/reference/en-US/images/Validation/
trunk/cdi/docs/reference/en-US/images/Validation/validation_01.png
trunk/cdi/docs/reference/en-US/images/Validation/validation_02.png
trunk/cdi/docs/reference/en-US/validation.xml
Modified:
trunk/cdi/docs/reference/en-US/Book_Info.xml
trunk/cdi/docs/reference/en-US/CDI_Tools_Reference_Guide.xml
Log:
updated with new content
Modified: trunk/cdi/docs/reference/en-US/Book_Info.xml
===================================================================
--- trunk/cdi/docs/reference/en-US/Book_Info.xml 2012-05-02 05:35:35 UTC (rev 40702)
+++ trunk/cdi/docs/reference/en-US/Book_Info.xml 2012-05-02 06:18:30 UTC (rev 40703)
@@ -13,7 +13,7 @@
<edition>5.0.0</edition>
- <pubsnumber>4</pubsnumber>
+ <pubsnumber>5</pubsnumber>
<abstract>
<para>
Modified: trunk/cdi/docs/reference/en-US/CDI_Tools_Reference_Guide.xml
===================================================================
--- trunk/cdi/docs/reference/en-US/CDI_Tools_Reference_Guide.xml 2012-05-02 05:35:35 UTC
(rev 40702)
+++ trunk/cdi/docs/reference/en-US/CDI_Tools_Reference_Guide.xml 2012-05-02 06:18:30 UTC
(rev 40703)
@@ -7,6 +7,8 @@
<xi:include href="Introduction.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Creating_a_CDI_Web_Project.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="adding_cdi_support.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="artifact_wizards.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+ <xi:include href="validation.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Feedback.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="Revision_History.xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
</book>
Added: trunk/cdi/docs/reference/en-US/artifact_wizards.xml
===================================================================
--- trunk/cdi/docs/reference/en-US/artifact_wizards.xml (rev 0)
+++ trunk/cdi/docs/reference/en-US/artifact_wizards.xml 2012-05-02 06:18:30 UTC (rev
40703)
@@ -0,0 +1,64 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+ <chapter id="chap-CDI_Tools_Reference_Guide-Artifact_Wizards">
+ <title>Artifact wizards</title>
+ <para>
+ A set of wizards are available for creating a range of basic CDI artifacts. The wizards
available are for the following types:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ Annotation Literal
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Bean
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Decorator
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Interceptor
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Interceptor Binding Annotation
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Qualifier Annotation
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Scope Annotation
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Stereotype Annotation
+ </para>
+ </listitem>
+ </itemizedlist>
+ <figure id="artifact_wizards_01">
+ <title>Artifact wizard options</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Artifact_Wizards/artifact_wizards_01.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ Artifact wizard options.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+</chapter>
+
Added: trunk/cdi/docs/reference/en-US/images/Artifact_Wizards/artifact_wizards_01.png
===================================================================
(Binary files differ)
Property changes on:
trunk/cdi/docs/reference/en-US/images/Artifact_Wizards/artifact_wizards_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/cdi/docs/reference/en-US/images/Validation/validation_01.png
===================================================================
(Binary files differ)
Property changes on: trunk/cdi/docs/reference/en-US/images/Validation/validation_01.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/cdi/docs/reference/en-US/images/Validation/validation_02.png
===================================================================
(Binary files differ)
Property changes on: trunk/cdi/docs/reference/en-US/images/Validation/validation_02.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/cdi/docs/reference/en-US/validation.xml
===================================================================
--- trunk/cdi/docs/reference/en-US/validation.xml (rev 0)
+++ trunk/cdi/docs/reference/en-US/validation.xml 2012-05-02 06:18:30 UTC (rev 40703)
@@ -0,0 +1,38 @@
+<?xml version='1.0' encoding='utf-8' ?>
+
+ <chapter id="chap-CDI_Tools_Reference_Guide-Validation">
+ <title>Validation</title>
+ <para>
+ CDI validation covers nearly all of the rules declared in the JSR-299
specification. For every type of validation rule, you can set if it should be interpreted
as an error, warning or just ignored. This is achieved by navigating to
<menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem><guimenuitem>JBoss
Tools</guimenuitem><guimenuitem>CDI</guimenuitem><guimenuitem>CDI
Validator</guimenuitem></menuchoice>.
+ </para>
+ <figure id="validation_01">
+ <title>Validation settings</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Validation/validation_01.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ Validation settings.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ The CDI validator can check JSP, XHTML, beans.xml and java source files. Some
validation issues can be fixed through the Quick Fixes menu (Ctrl+1).
+ </para>
+ <figure id="validation_02">
+ <title>Quick Fixes</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Validation/validation_02.png"
format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ Quick Fixes.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+ </chapter>
+
\ No newline at end of file