You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by vi...@apache.org on 2012/08/09 18:42:17 UTC
svn commit: r1371307 -
/openejb/trunk/openejb/examples/jsf-managedBean-and-ejb/README.md
Author: vishwanathk
Date: Thu Aug 9 16:42:17 2012
New Revision: 1371307
URL: http://svn.apache.org/viewvc?rev=1371307&view=rev
Log:
CMS commit to openejb by vishwanathk
Modified:
openejb/trunk/openejb/examples/jsf-managedBean-and-ejb/README.md
Modified: openejb/trunk/openejb/examples/jsf-managedBean-and-ejb/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/jsf-managedBean-and-ejb/README.md?rev=1371307&r1=1371306&r2=1371307&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/jsf-managedBean-and-ejb/README.md (original)
+++ openejb/trunk/openejb/examples/jsf-managedBean-and-ejb/README.md Thu Aug 9 16:42:17 2012
@@ -59,7 +59,7 @@ By default it is the simple class name o
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.
-<h:inputText value='#{calculatorBean.x}'/>
+ <h:inputText value='#{calculatorBean.x}'/>
Here, getX() method of calculatorBean is invoked and the resulting value is displayed.
x being a Double, we rightly should see 0.0 displayed.
@@ -79,7 +79,7 @@ In our case, 'result.xhtml' page is rend
The request scoped 'calculatorBean' is available here, and we use EL to display the values.
-#Source Code
+## Source
## Calculator
@@ -150,7 +150,7 @@ The request scoped 'calculatorBean' is a
}
- # web.xml
+# web.xml
<?xml version="1.0"?>
@@ -231,7 +231,7 @@ The request scoped 'calculatorBean' is a
</h:body>
</html>
- #faces-config.xml
+#faces-config.xml
<?xml version="1.0"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"