You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tomee.apache.org by bu...@apache.org on 2012/08/09 18:42:25 UTC
svn commit: r828480 - in /websites/staging/openejb/trunk: cgi-bin/ content/
content/examples-trunk/jsf-managedBean-and-ejb/README.html
Author: buildbot
Date: Thu Aug 9 16:42:25 2012
New Revision: 828480
Log:
Staging update by buildbot for openejb
Modified:
websites/staging/openejb/trunk/cgi-bin/ (props changed)
websites/staging/openejb/trunk/content/ (props changed)
websites/staging/openejb/trunk/content/examples-trunk/jsf-managedBean-and-ejb/README.html
Propchange: websites/staging/openejb/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Aug 9 16:42:25 2012
@@ -1 +1 @@
-1371304
+1371307
Propchange: websites/staging/openejb/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Aug 9 16:42:25 2012
@@ -1 +1 @@
-1371304
+1371307
Modified: websites/staging/openejb/trunk/content/examples-trunk/jsf-managedBean-and-ejb/README.html
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/jsf-managedBean-and-ejb/README.html (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/jsf-managedBean-and-ejb/README.html Thu Aug 9 16:42:25 2012
@@ -212,7 +212,8 @@ By default it is the simple class name o
<p>When a request comes in, the bean is instantiated and placed in the appropriate scope.
By default, the bean is placed in the request scope.</p>
-<p><h:inputText value='#{calculatorBean.x}'/></p>
+<pre><code> <h:inputText value='#{calculatorBean.x}'/>
+</code></pre>
<p>Here, getX() method of calculatorBean is invoked and the resulting value is displayed.
x being a Double, we rightly should see 0.0 displayed.</p>
@@ -232,7 +233,7 @@ and the respective page is rendered.</p>
<p>The request scoped 'calculatorBean' is available here, and we use EL to display the values.</p>
-<h1>Source Code</h1>
+<h2>Source</h2>
<h2>Calculator</h2>
@@ -303,11 +304,11 @@ public class CalculatorImpl implements C
return x + y;
}
}
+</code></pre>
+<h1>web.xml</h1>
-# web.xml
-
-<?xml version="1.0"?>
+<pre><code><?xml version="1.0"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
@@ -387,7 +388,7 @@ xmlns:h="http://java.sun.com/jsf/html"&g
</html>
</code></pre>
-<p>#faces-config.xml</p>
+<h1>faces-config.xml</h1>
<pre><code><?xml version="1.0"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"