From jbosstools-commits at lists.jboss.org Fri Mar 28 14:32:31 2008 Content-Type: multipart/mixed; boundary="===============5176174683099174231==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r7192 - trunk/jsf/docs/jsf_tools_ref_guide/en/modules. Date: Fri, 28 Mar 2008 14:32:30 -0400 Message-ID: --===============5176174683099174231== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: ochikvina Date: 2008-03-28 14:32:30 -0400 (Fri, 28 Mar 2008) New Revision: 7192 Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/modules/creation_and_registration.= xml trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_config_file.xml trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_project_verification.x= ml trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_support.xml trunk/jsf/docs/jsf_tools_ref_guide/en/modules/managed_beans.xml Log: http://jira.jboss.com/jira/browse/JBDS-261 - TOC in the guide is reorganize= d and corrected Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/modules/creation_and_regist= ration.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jsf/docs/jsf_tools_ref_guide/en/modules/creation_and_registration= .xml 2008-03-28 18:32:11 UTC (rev 7191) +++ trunk/jsf/docs/jsf_tools_ref_guide/en/modules/creation_and_registration= .xml 2008-03-28 18:32:30 UTC (rev 7192) @@ -16,7 +16,10 @@ = Create and Register a Custom Converter = - To create and register a custom converter it's necessar= y to + With JBDS it's also possible to create a + custom Converter in order to specify your own converting rules= . Let's look at how you can do this. + = + To create and register a custom converter it's nece= ssary to go through the following steps: = @@ -115,9 +118,7 @@ To open a converter class click again on Converter-class - link in the Converter section. Now you - are able to add a business logic of converter in the - Java editor. + link in the Converter section.
@@ -130,7 +131,9 @@
- = + Now you + are able to add a business logic of converter in the + Java editor. =
@@ -253,7 +256,7 @@ Create and Register Referenced Beans = = Creation of Referenced Beans is similar to creation of Custom - Validator. + Validator as well. To perform this, let's walk through th= e necessary steps. = Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_config_file.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_config_file.xml 2008-= 03-28 18:32:11 UTC (rev 7191) +++ trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_config_file.xml 2008-= 03-28 18:32:30 UTC (rev 7192) @@ -34,9 +34,6 @@ = They can be selected via the tabs at the bottom of the editor. = - The JSF configuration editor also comes with a very useful OpenOn = selection feature. -
= Diagram view @@ -54,6 +51,20 @@ = + If your diagram is large, make use of the Outline view. With= in it you can switch to a + Diagram Navigator + mode by selecting the middle icon at the top of the vi= ew window. It allows + you to easily move around the diagram. Just move the blue area= in any direction, and the + diagram on the left will also move: +
+ Outline View for Diagram + + + + + +
+ = To create a new page here, you should click the page icon (V= iew Template) on the toolbar from the left and then click anywhere on the diagram. = A New Page Wizard will appear. @@ -110,7 +121,7 @@ = Tree View = - The Tree mode for the editor displays all JSF application ar= tifacts referenced in the + The Tree view for the editor displays all JSF application ar= tifacts referenced in the configuration file in a tree format. By selecting any node you= can see and edit its properties which will appear in the right-hand area. For examp= le, a Managed Bean:
@@ -141,14 +152,27 @@
+ + In the Tree view you can also edit the = properties of the selected + element with the help of the Properties view as shown below: +
+ Properties View + + + + + +
+
= Source View = - The Source mode for the editor displays a text view of the J= SF configuration file. All - three viewers are always synchronized, so any changes made in = one of the viewers will - immediately appear in the others: + Here, we'll discuss how you can configure your faces-co= nfig.xml with the help of Source View. + The Source view for the editor displays a text content of th= e JSF configuration file. + It is always synchronized with other two views, so any changes= made in one of the views + will immediately appear in the other:
Source View @@ -158,9 +182,24 @@
= + + You can also work in the Source view with the help of the + Outline view. The Outline = view shows a tree + structure of the JSF configuration file. Simply select any ele= ment in the Outline view, + and it will jump to the same place in the Source editor, so yo= u can navigate through the + source code with Outline view. +
+ Outline View + + + + + +
+
= - Code Assist + Code Assist and Open On Code Assist provides pop-up tip to help you complete you= r code statements. It allows you to write your code faster and with more accurac= y. Code assist is always available in the Source mode: @@ -172,6 +211,10 @@ + + The JSF configuration editor also comes with a very usef= ul OpenOn= selection feature. +
= @@ -200,44 +243,6 @@ = - You can also work in the Source editor with the help of = the - Outline view. The Outl= ine views show a tree - structure of the JSF configuration file. Simply select any= element in the Outline - view, and it will jump to the same place in the Source edi= tor, so you can navigate - through the source code with Outline view. -
- Outline View - - - - - -
- - If your diagram is large, within Outline view you can sw= itch to a - Diagram Navigator - mode by selecting the middle icon at the top o= f the view window. It - allows you to easily move around the diagram. Just move th= e blue area in any - direction, and the diagram on the left will also move: -
- Outline View for Diagram - - - - - -
- - You can also edit the properties of the selected element= in the - Tree mode with the help of the Proper= ties view as shown below: -
- Properties View - - - - - -
= Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_project_verific= ation.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_project_verification.= xml 2008-03-28 18:32:11 UTC (rev 7191) +++ trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_project_verification.= xml 2008-03-28 18:32:30 UTC (rev 7192) @@ -14,6 +14,8 @@ = JSF Project Verification = + In this chapter we'll discuss a possible verification that = you can take advantage of + = JBoss Developer Studio checks for many different rules for a JSF project that can be configured by selecting Window > Preferences Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_support.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_support.xml 2008-03-2= 8 18:32:11 UTC (rev 7191) +++ trunk/jsf/docs/jsf_tools_ref_guide/en/modules/jsf_support.xml 2008-03-2= 8 18:32:30 UTC (rev 7192) @@ -80,8 +80,9 @@ project with Facelets based on version 1.2= of the JSF Reference Implementation, i. e. select the JSF 1.2 with Facelets - in the JSF Environment section= of the New JSF Project wizard. - = + in the JSF Environment section= of the New JSF Project + wizard.
+
Choosing Facelets Environment</titl= e> <mediaobject> @@ -92,9 +93,9 @@ </imageobject> </mediaobject> </figure> - = - <para>Once you've selected the - environment, it's possible to specify= the one of three available templates:</para> + + <para>Once you've selected the environment, i= t's possible + to specify the one of three available temp= lates:</para> <figure> <title>Choosing Facelets Template @@ -216,8 +217,9 @@
Code assist for Facelets = - Code assist (Ctrl + Space) for Fac= elets tags is - available when editing + One more feature which comes with Facelets s= upport is code assist + (Ctrl + Space). It is available for Facelets tags + while editing .xhtml files. = @@ -280,7 +282,7 @@
Open On feature - JBDS provides Eclipse's + Finally, JBDS provides Eclipse's OpenOn feature for editing Facelets f= iles. Using this feature, you can easily navigate between the Facelets Modified: trunk/jsf/docs/jsf_tools_ref_guide/en/modules/managed_beans.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/jsf/docs/jsf_tools_ref_guide/en/modules/managed_beans.xml 2008-03= -28 18:32:11 UTC (rev 7191) +++ trunk/jsf/docs/jsf_tools_ref_guide/en/modules/managed_beans.xml 2008-03= -28 18:32:30 UTC (rev 7192) @@ -103,7 +103,7 @@
= - The generated Java source: + The generated Java source should look as follows: =
Java Source Code @@ -115,6 +115,7 @@
+ = You can also generate source code for properties, also includes "getter" @@ -154,9 +155,9 @@ Once the generation is complete, you can open the file a= nd see the added property with - "getter" + "get" and - "setter" + "set" methods:
Generated Java Source Code for Property @@ -169,7 +170,7 @@
Thus, we've discussed everything which comes to - creating a new Managed Bean. Further we will show you how = to + creating a new Managed Bean. The next section will show yo= u how to add an existing Bean into a JSF configuration file.
@@ -191,7 +192,7 @@ - Once the class is set, it's + Once the class is set, its Name will be set as well. But you can easily substitute it for the other one. Notice that @@ -223,10 +224,9 @@ If you don't want to add any, just click Finish.
- Above-listed steps have demonstrated specifying an existing = Bean in + Above-listed steps have demonstrated how you can specify an = existing Bean in the JSF configuration file, i.e. faces-config.xml. In the - next section you'll know how to organize and register a - custom Converter to specify your own converting rules. + next chapter you'll know how to organize and register ano= ther kind of artifacts. = --===============5176174683099174231==--