From do-not-reply at jboss.org Thu May 20 08:47:29 2010 Content-Type: multipart/mixed; boundary="===============8995110738000553769==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: gatein-commits at lists.jboss.org Subject: [gatein-commits] gatein SVN: r3159 - in portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Reference_Guide/en-US: images/PortletDevelopment/Standard/jsp_portlet and 1 other directories. Date: Thu, 20 May 2010 08:47:29 -0400 Message-ID: <201005201247.o4KClTgM016563@svn01.web.mwc.hst.phx2.redhat.com> --===============8995110738000553769== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: thomas.heute(a)jboss.com Date: 2010-05-20 08:47:28 -0400 (Thu, 20 May 2010) New Revision: 3159 Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Referen= ce_Guide/en-US/images/PortletDevelopment/Standard/first_portlet/deployed.png portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Referen= ce_Guide/en-US/images/PortletDevelopment/Standard/jsp_portlet/output.png portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Referen= ce_Guide/en-US/modules/PortletDevelopment/Standard.xml Log: JBEPP-276: Reference Guide Added screenshots, fixed few little things Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_= Reference_Guide/en-US/images/PortletDevelopment/Standard/first_portlet/depl= oyed.png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_= Reference_Guide/en-US/images/PortletDevelopment/Standard/jsp_portlet/output= .png =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (Binary files differ) Modified: portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_= Reference_Guide/en-US/modules/PortletDevelopment/Standard.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 --- portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Refere= nce_Guide/en-US/modules/PortletDevelopment/Standard.xml 2010-05-20 11:01:22= UTC (rev 3158) +++ portal/branches/EPP_5_0_0_Branch_Docs/Enterprise_Portal_Platform_Refere= nce_Guide/en-US/modules/PortletDevelopment/Standard.xml 2010-05-20 12:47:28= UTC (rev 3159) @@ -78,7 +78,7 @@
Window States - Window states are an indicator of how much page space a portlet consum= es on any given page. The three states defined by the JSR-168 specification= are: + Window states are an indicator of how much page space a portlet consum= es on any given page. The three states defined by the JSR-286 specification= are: @@ -126,10 +126,9 @@ This section describes how to deploy a portlet in &PRODUCT;. - + An example portlet called SimplestHelloWorld is l= ocated in the epp-doc/examples/portlets directory at the= root of your &PRODUCT; sources package. +
Compiling @@ -146,7 +145,8 @@ - If the compile is successfully packaged, the result will be availab= le in: applicationname/target/applicationname-0.0.1.war . + If the example is successfully packaged, the result will be availab= le in: simplesthelloworld/target/gatein-simplest-helloworld-1.0.0-GA-SNAPSHOT.war . + @@ -164,14 +164,14 @@ Create a new portal page and add the portlet to it. = - + = @@ -402,11 +402,10 @@ = - +
Package Structure @@ -456,7 +455,7 @@ The JSPHelloUser portlet contains the mandatory po= rtlet application descriptors. The following is an example of the directory= structure of the JSPHelloUser portlet: = -JSPHelloUser-0.0.1.war +gatein-jsp-hellouser->1.0.0-GA-SNAPSHOT.war |-- META-INF | |-- MANIFEST.MF |-- WEB-INF @@ -480,7 +479,7 @@
Portlet Class - The code below is from the JSPHelloUser/src/main/java/org/= gatein/portal/examples/portlets/JSPHelloUserPortlet.java Java s= ource. It is split in different pieces. + The code below is from the jsphellouser/src/main/java/org/= gatein/portal/examples/portlets/JSPHelloUserPortlet.java Java s= ource. It is split in different pieces. @@ -738,7 +737,7 @@ In order to write a portlet using JSF a 'bridge' is needed. This soft= ware allows developers to write a portlet application as if it was a JSF ap= plication. The bridge then negotiates the interactions between the two laye= rs. - An example of the JBoss Portlet Bridge is available in /por= tletbridge/examples/. The configuration is slightly different fr= om a JSP application. This example can be used as a base to configure inste= ad of creating a new application. + An example using the JBoss Portlet Bridge is available in the epp-doc/examples/portlets directory at the root of your &PRODUC= T; sources package. The configuration is slightly different from a JSP appl= ication. This example can be used as a base to configure instead of creatin= g a new application. As in any JSF application, the file faces-config.xml is required. It must contain the following information: @@ -826,7 +825,10 @@ - + + JBoss Portlet Bridge + For more information about the JBoss Portlet Bridge, see the de= dicated chapter which is part of this document. +
=
--===============8995110738000553769==--