From jbosstools-commits at lists.jboss.org Mon May 14 09:16:26 2007
Content-Type: multipart/mixed; boundary="===============2383806503190266239=="
MIME-Version: 1.0
From: jbosstools-commits at lists.jboss.org
To: jbosstools-commits at lists.jboss.org
Subject: [jbosstools-commits] JBoss Tools SVN: r2029 -
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules.
Date: Mon, 14 May 2007 09:16:25 -0400
Message-ID:
--===============2383806503190266239==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Author: afedosik
Date: 2007-05-14 09:16:25 -0400 (Mon, 14 May 2007)
New Revision: 2029
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/Gettin=
gStartedGuideforCreatingaStrutsApplication.xml
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/Gettin=
gStartedStrutsValidationExamples.xml
Log:
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules=
/GettingStartedGuideforCreatingaStrutsApplication.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/documentation/GettingStartedGuide/docs/userguide/en/modules/Getti=
ngStartedGuideforCreatingaStrutsApplication.xml 2007-05-11 17:16:36 UTC (re=
v 2028)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/Getti=
ngStartedGuideforCreatingaStrutsApplication.xml 2007-05-14 13:16:25 UTC (re=
v 2029)
@@ -41,7 +41,7 @@
first. (We dont have to complete all of the details inside the components =
until afterwards.)
Creating JSP Page Placeholders
-Next, lets create and place two JSP pages. We will not write any cod=
e for the files, but only
+ Next, let's create and place two JSP pages. We will=
not write any code for the files, but only
create them as placeholders so that we can create links to them in the dia=
gram. We will write
the code a little bit later.
@@ -81,10 +81,11 @@
(GetNameForm is the name for a form bean that we will create later.)=
@@ -113,9 +115,19 @@
Creating a Link
-Lets now create a link from the inputname.jsp page to the action.
+Let's now create a link from the inputname.jsp page to the acti=
on.On the left-hand side of the diagram in the column of icon=
s, click on this icon:
+
+
+ Create New Connection Icon
+ =
+
+
+
+
+
+ In the connect-the-components mode you are in=
now, click on the /pages/inputname.jsp icon in the diagram and then click =
on the /greeting action.A link will be created from the page to the action.
@@ -125,6 +137,16 @@
Next, we are going to create a forward for the action. =
On the left-hand side of the diagram in the column of icon=
s, click on this icon, again:
+
+
+ Create New Connection Icon
+ =
+
+
+
+
+
+ >
Click on the /greeting action icon in the diagram and then=
click on the /pages/greeting.jsp icon.
=
Thats it. A link will be drawn from the actions new greeti=
ng forward to the greeting.jsp JSP page. Note that the forwards name will b=
e set based on the name of the target JSP file
@@ -151,7 +173,15 @@
A forward object now appears on the diagram and also in the global-f=
orwards folder in the Outline view.Tidy up the diagram, by clicking and dragging=
around each icon, so that the diagram looks something like this:
-
+
+
+ Diagram View
+ =
+
+
+
+
+ Creating a Form Bean
@@ -334,12 +364,30 @@
=
Select the Visual pane of the editor.Then, in the Red Hat Palette, expand the Struts Form libra=
ry, select text, and drag it onto the box.
-In the Insert Tag dialog box, type in name for property an=
d select Finish.
+
+
+ Red Hat Palette
+ =
+
+
+
+
+
+
+ In the Insert Tag dialog box, type in name for property a=
nd select Finish.In the Struts Form library in the Red Hat Palette, select =
submit, and drag it to right after the the text box in the Visual pane of t=
he editor.Right-click the submit button and select <html:submit&g=
t; Attributes from the context menu.In the Attributes dialog box, select the value field and t=
ype in Say Hello! for its value.After tidying the page source, the Editor window for the file should=
look something like this:
+
+ Editor window
+ =
+
+
+
+
+ greeting.jsp
@@ -376,6 +424,14 @@
Type in GetNameForm for the name attribute and add a prope=
rty attribute with greetName as its value.The editor should should now look like this:
+
+ Editor window
+ =
+
+
+
+
+ index.jsp
@@ -415,6 +471,14 @@
Everything is now ready for running our applicationwithout having t=
o leave Red Hat Developer Studio
by using the JBoss Application Server engine that comes with the Red =
Hat Developer Studio plug-in. For controlling
JBoss AS within Red Hat Developer Studio, the toolbar contains a pane=
l.
+
+ JBoss Server Panel
+ =
+
+
+
+
+ Start up JBoss AS by clicking on the first icon from left in thi=
s panel. (If JBoss AS is
already running, stop it by clicking on the third icon from the left a=
nd then start it
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules=
/GettingStartedStrutsValidationExamples.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/documentation/GettingStartedGuide/docs/userguide/en/modules/Getti=
ngStartedStrutsValidationExamples.xml 2007-05-11 17:16:36 UTC (rev 2028)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/Getti=
ngStartedStrutsValidationExamples.xml 2007-05-14 13:16:25 UTC (rev 2029)
@@ -49,7 +49,7 @@
=
Drag up the sample.applResources icon until you can drop i=
t on the resources folder under struts-config.xml.Select File/Save All from the menu bar.
-Select validation.xml under the StrutsHello/Validation nod=
e and double-click it to open it with the Exadel Studio Validation Editor.<=
/para>
+Select validation.xml under the StrutsHello/Validation nod=
e and double-click it to open it with the Red Hat Studio Validation Editor.=
Expand the form-beans node under the StrutsHello/Configura=
tion/default/ struts-config.xml node. Then, drag the form bean GetNameForm =
and drop it onto formset (default) in the Validation Editor.In the Validation Editor, expand the formset node, right-c=
lick GetNameForm, and select Add Field... from the context menu.Enter name for Property in the dialog box.
@@ -110,14 +110,14 @@
]]>
Select File/Save from the menu bar.
-28. Start Tomcat by clicking on its icon (a right-pointing=
arrow) in the toolbar.
-29. Click on the Run icon in the toolbar.
+Start Tomcat by clicking on its icon (a right-pointing arr=
ow) in the toolbar.
+Click on the Run icon in the toolbar. =
-
+
--===============2383806503190266239==--