JBoss Tools SVN: r28214 - in trunk/documentation/guides/GettingStartedGuide/en-US: images/first_seam and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-01-13 18:36:10 -0500 (Thu, 13 Jan 2011)
New Revision: 28214
Added:
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam15a.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam15b.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam9_1.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam_15a.png
Modified:
trunk/documentation/guides/GettingStartedGuide/en-US/first_seam.xml
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam1.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam10.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam12.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam13.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam14.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam16.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam19.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam2.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam22.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam23.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam3.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam4.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam5.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam5a.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam6.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam7.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam8.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam8_1.png
trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam9.png
trunk/documentation/guides/GettingStartedGuide/en-US/manage.xml
Log:
Updates for JBDS 4.0
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/first_seam.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/first_seam.xml 2011-01-13 23:12:35 UTC (rev 28213)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/first_seam.xml 2011-01-13 23:36:10 UTC (rev 28214)
@@ -31,6 +31,11 @@
</imageobject>
</mediaobject>
</figure>
+ <note>
+ <title>Tip</title>
+ <para>You may need to set the runDBServer.sh executable flag with the following command:</para>
+ <screen>chmod +x runDBServer.sh</screen>
+ </note>
</section>
<section id="create_deploy_seam">
<title>Create and deploy Seam Web Project</title>
@@ -246,9 +251,32 @@
<imageobject>
<imagedata fileref="images/first_seam/first_seam15.png"/>
</imageobject>
- </inlinemediaobject> ) in the <property>Servers</property>.</para>
+ </inlinemediaobject> ) in the <property>Servers</property> view.</para>
<para>Then run the project by selecting the project and use <emphasis><property>Run As... >
Run on Server</property>.</emphasis></para>
+
+ <figure>
+ <title>"worskhop" Run As</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/first_seam/first_seam15a.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>
+ Select the server you want to run the project on, and click the <guibutton>Finish</guibutton> button.
+ </para>
+
+ <figure>
+ <title>"worskhop" Run On Server</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/first_seam/first_seam15b.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
<note>
<title>Note:</title>
<para>If the project does not show up, then you can use a normal browser and use <emphasis>
@@ -278,7 +306,7 @@
<property>New Seam project wizard</property> could have been changed to something
different from <emphasis>
<property>org.domain.workshop.session</property>. </emphasis> Also, notice that there is a
- default <property>Authenticator. java</property> file. This is where custom security logic
+ default <filename>Authenticator.java</filename> file. This is where custom security logic
can be added. Seam has a nice declarative security model that we will explore in a bit more
detail later on. The <emphasis>
<property>src/main</property>
@@ -347,7 +375,7 @@
<programlisting><![CDATA[public void myAction() {
Calendar cal = Calendar.getInstance();
log.info("myAction.myAction() action called");
-facesMessages.add("MyAction Executed on:" + cal.getTime());
+statusMessages.add("MyAction Executed on:" + cal.getTime());
}]]></programlisting>
<para>You also need to import the <property>java.util.Calendar</property> class by clicking
<emphasis><property>CTRL + Shift + O</property>.</emphasis></para>
@@ -364,6 +392,12 @@
</imageobject>
</mediaobject>
</figure>
+
+ <note>
+ <title>Tip</title>
+ <para>You may have to refresh the project to see the new files.</para>
+ </note>
+
<para>The test case simulates a Seam component/method execution for the <property
>MyAction.myAction()</property> logic.</para>
<para>To run the test case, right click on <property>MyActionTest.xml</property> and click
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam1.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam10.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam12.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam13.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam14.png
===================================================================
(Binary files differ)
Added: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam15a.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam15a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam15b.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam15b.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam16.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam19.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam2.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam22.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam23.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam3.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam4.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam5.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam5a.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam6.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam7.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam8.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam8_1.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam9.png
===================================================================
(Binary files differ)
Added: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam9_1.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam9_1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam_15a.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/guides/GettingStartedGuide/en-US/images/first_seam/first_seam_15a.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/guides/GettingStartedGuide/en-US/manage.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en-US/manage.xml 2011-01-13 23:12:35 UTC (rev 28213)
+++ trunk/documentation/guides/GettingStartedGuide/en-US/manage.xml 2011-01-13 23:36:10 UTC (rev 28214)
@@ -201,12 +201,10 @@
<itemizedlist>
<listitem>
<para>Select <property>Servers</property> by selecting <menuchoice><guimenuitem>Window</guimenuitem><guimenuitem>Show View</guimenuitem><guimenuitem>Other</guimenuitem><guimenuitem>Server</guimenuitem><guimenuitem>Servers</guimenuitem></menuchoice>.
- </emphasis>
</para>
</listitem>
<listitem>
<para>Right click anywhere in this view and select <menuchoice><guimenuitem>New</guimenuitem><guimenuitem>Server</guimenuitem></menuchoice>.
- </emphasis>
</para>
</listitem>
<listitem>