Author: mcaspers
Date: 2011-01-18 23:13:13 -0500 (Tue, 18 Jan 2011)
New Revision: 28393
Modified:
trunk/struts/docs/struts_tools_ref_guide/en-US/editors.xml
trunk/struts/docs/struts_tools_ref_guide/en-US/projects.xml
trunk/struts/docs/struts_tools_ref_guide/en-US/struts_project_verification.xml
Log:
General Updates
Modified: trunk/struts/docs/struts_tools_ref_guide/en-US/editors.xml
===================================================================
--- trunk/struts/docs/struts_tools_ref_guide/en-US/editors.xml 2011-01-19 04:07:36 UTC
(rev 28392)
+++ trunk/struts/docs/struts_tools_ref_guide/en-US/editors.xml 2011-01-19 04:13:13 UTC
(rev 28393)
@@ -20,7 +20,7 @@
<title>Web.xml Editor</title>
<para>
- The <filename>web.xml</filename> file inside the
<filenamey>WEB-INF</filename> folder is a deployment descriptor file for a Web
Application. It describes the servlets, other components and deployment properties that
make up your application.
+ The <filename>web.xml</filename> file inside the
<filename>WEB-INF</filename> folder is a deployment descriptor file for a Web
Application. It describes the servlets, other components and deployment properties that
make up your application.
</para>
<para>
Modified: trunk/struts/docs/struts_tools_ref_guide/en-US/projects.xml
===================================================================
--- trunk/struts/docs/struts_tools_ref_guide/en-US/projects.xml 2011-01-19 04:07:36 UTC
(rev 28392)
+++ trunk/struts/docs/struts_tools_ref_guide/en-US/projects.xml 2011-01-19 04:13:13 UTC
(rev 28393)
@@ -37,7 +37,7 @@
<para>
- JBoss Tools provides a <guilable>New Struts Project</guilable> Wizard that
significantly simplifies the process of creating a new Struts project. You just need to
follow these steps:
+ JBoss Tools provides a <guilabel>New Struts Project</guilabel> Wizard that
significantly simplifies the process of creating a new Struts project. You just need to
follow these steps:
</para>
<itemizedlist>
<listitem>
Modified: trunk/struts/docs/struts_tools_ref_guide/en-US/struts_project_verification.xml
===================================================================
---
trunk/struts/docs/struts_tools_ref_guide/en-US/struts_project_verification.xml 2011-01-19
04:07:36 UTC (rev 28392)
+++
trunk/struts/docs/struts_tools_ref_guide/en-US/struts_project_verification.xml 2011-01-19
04:13:13 UTC (rev 28393)
@@ -1,115 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<chapter id="struts_project_verification">
- <?dbhtml filename="struts_project_verification.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>JBoss Developer Studio</keyword>
- <keyword>Eclipse</keyword>
- <keyword>Struts Tools</keyword>
- <keyword>Java</keyword>
- <keyword>JBoss</keyword>
- </keywordset>
- </chapterinfo>
-
- <title>Struts Project Verification</title>
-
- <para>JBoss Developer Studio provides the same functionality for Struts
- projects. To configure Struts project verification select <emphasis>
- <property>Window > Preferences</property>
- </emphasis> from the menu bar, select <emphasis>
- <property>JBoss Tools > Web > Verification</property>
- </emphasis> from the Preferences dialog box and then expand the
- Struts Rules node.</para>
- <figure>
- <title>Struts Rules</title>
- <mediaobject>
- <imageobject>
- <imagedata
- fileref="images/verif_valid/verif_valid_8.png"
- />
- </imageobject>
- </mediaobject>
- </figure>
- <para>Suppose you are working in the Source viewer for a Struts
- configuration file as shown below:</para>
- <figure>
- <title>Struts Configuration File</title>
- <mediaobject>
- <imageobject>
- <imagedata
- fileref="images/verif_valid/verif_valid_9.png"
- />
- </imageobject>
- </mediaobject>
- </figure>
- <para>While typing a class name or entering it from the graphical editor,
- you might make a minor typo (like <emphasis role="italic">
- <property>"sample.GreetingAction1"</property>
- </emphasis> instead of <emphasis role="italic">
- <property>"sample.GreetingAction"</property>
- </emphasis>). After saving the file,
- <property>verification</property> checks to make sure everything is
- correct and finds the error below:</para>
- <figure>
- <title>Error Reporting</title>
- <mediaobject>
- <imageobject>
- <imagedata
- fileref="images/verif_valid/verif_valid_10.png"
- scale="75"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Notice that the Package Explorer View shows a marked folder and a
- marked file where the error is.</para>
- <para>You can place the cursor over the line with the error to view a
- detailed error message:</para>
- <figure>
- <title>Error Message</title>
- <mediaobject>
- <imageobject>
- <imagedata
- fileref="images/verif_valid/verif_valid_11.png"
- />
- </imageobject>
- </mediaobject>
- </figure>
- <para>The verification also checks to make sure you have specified the
- correct JSP page for the forward:</para>
- <figure>
- <title>JSP Page Verification</title>
- <mediaobject>
- <imageobject>
- <imagedata
- fileref="images/verif_valid/verif_valid_12.png"
- scale="75"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Once you place the cursor over the line, you can see the error
- message:</para>
- <figure>
- <title>Error Message</title>
- <mediaobject>
- <imageobject>
- <imagedata
- fileref="images/verif_valid/verif_valid_13.png"
- />
- </imageobject>
- </mediaobject>
- </figure>
- <para>You can always invoke the verification by switching to the Diagram
- viewer, right-clicking and selecting <emphasis>
- <property>Verify</property>
- </emphasis> from the context menu:</para>
- <figure>
- <title>Verify Command</title>
- <mediaobject>
- <imageobject>
- <imagedata
- fileref="images/verif_valid/verif_valid_14.png"
- />
- </imageobject>
- </mediaobject>
- </figure>
+ <?dbhtml filename="struts_project_verification.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>JBoss Developer Studio</keyword>
+ <keyword>Eclipse</keyword>
+ <keyword>Struts Tools</keyword>
+ <keyword>Java</keyword>
+ <keyword>JBoss</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title>Struts Project Verification</title>
+
+ <para>
+ JBoss Developer Studio provides the same functionality for Struts projects. To
configure Struts project verification select
<menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Preferences</guimenuitem></menuchoice>
from the menu bar, select <menuchoice><guimenuitem>JBoss
Tools</guimenuitem><guimenuitem>Web</guimenuitem><guimenuitem>Verification</guimenuitem></menuchoice>
from the Preferences dialog box and then expand the Struts Rules node.
+ </para>
+ <figure>
+ <title>Struts Rules</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/verif_valid/verif_valid_8.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Suppose you are working in the Source viewer for a Struts configuration file
as shown below:</para>
+ <figure>
+ <title>Struts Configuration File</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/verif_valid/verif_valid_9.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ While typing a class name or entering it from the graphical editor, you might make a
minor typo (like <emphasis
role="italic"><property>"sample.GreetingAction1"</property></emphasis>
instead of <emphasis
role="italic"><property>"sample.GreetingAction"</property></emphasis>).
After saving the file, <property>verification</property> checks to make sure
everything is correct and finds the error below:
+ </para>
+ <figure>
+ <title>Error Reporting</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/verif_valid/verif_valid_10.png"
scale="75"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Notice that the Package Explorer View shows a marked folder and a marked
file where the error is.</para>
+ <para>You can place the cursor over the line with the error to view a detailed
error message:</para>
+ <figure>
+ <title>Error Message</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/verif_valid/verif_valid_11.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>The verification also checks to make sure you have specified the correct JSP
page for the forward:</para>
+ <figure>
+ <title>JSP Page Verification</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/verif_valid/verif_valid_12.png"
scale="75"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>Once you place the cursor over the line, you can see the error
message:</para>
+ <figure>
+ <title>Error Message</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/verif_valid/verif_valid_13.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para>
+ You can always invoke the verification by switching to the Diagram viewer,
right-clicking and selecting <guimenuitem>Verify</guimenuitem> from the
context menu:
+ </para>
+ <figure>
+ <title>Verify Command</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/verif_valid/verif_valid_14.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
</chapter>
\ No newline at end of file
Show replies by date