You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by cr...@apache.org on 2006/09/08 19:40:20 UTC
svn commit: r441585 - in /beehive/trunk/netui/test/webapps/jsf:
testRecorder/tests-jsf-ri/ testRecorder/tests-myfaces/ web/bindingInFaces/
web/submitFormBean/ web/useFormBean/
Author: crogers
Date: Fri Sep 8 10:40:19 2006
New Revision: 441585
URL: http://svn.apache.org/viewvc?view=rev&rev=441585
Log:
Made some changes in the JSP pages of the JSF test web app for JSP 2.1 changes. In JSP 2.0 #{} could be regarded as a string literal but in JSP 2.1 it is reserved for EL. In 2.1, #{} can only appears in a tag’s attribute as an EL. I updated the JSP and testRecorder files to use the # entity in the string literals.
NetUI jsfWeb for both myfaces and the JSF RI (WinXP)
Modified:
beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/BindingInFaces.xml
beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/SubmitFormBean.xml
beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml
beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/BindingInFaces.xml
beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml
beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml
beehive/trunk/netui/test/webapps/jsf/web/bindingInFaces/page1.jsp
beehive/trunk/netui/test/webapps/jsf/web/submitFormBean/input.jsp
beehive/trunk/netui/test/webapps/jsf/web/useFormBean/input.jsp
Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/BindingInFaces.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/BindingInFaces.xml?view=diff&rev=441585&r1=441584&r2=441585
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/BindingInFaces.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/BindingInFaces.xml Fri Sep 8 10:40:19 2006
@@ -63,36 +63,36 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
- <form id="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
+ <form id="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
- #{pageInput.somePageInput}: a page input
- <br/>
- #{pageFlow.someProperty}: <input type="text" name="_id0:_id2" value="page flow property" />
- <br/>
- #{sharedFlow.sf.someProperty}: <input type="text" name="_id0:_id3" value="shared flow property" />
- <br/>
- #{backing.someProperty}: <input type="text" name="_id0:_id4" value="backing file property" />
- <br/>
- <br/>
- <input type="submit" name="_id0:_id5" value="postback" /> This ensures that the page inputs don't get lost over postback.
- <br/>
- <input type="submit" name="_id0:_id6" value="get page input from backing" />
- <span style="color:red"/><span id="_id0:outputField"></span></span>
+ #{pageInput.somePageInput}: a page input
+ <br/>
+ #{pageFlow.someProperty}: <input type="text" name="_id0:_id2" value="page flow property" />
+ <br/>
+ #{sharedFlow.sf.someProperty}: <input type="text" name="_id0:_id3" value="shared flow property" />
+ <br/>
+ #{backing.someProperty}: <input type="text" name="_id0:_id4" value="backing file property" />
+ <br/>
+ <br/>
+ <input type="submit" name="_id0:_id5" value="postback" /> This ensures that the page inputs don't get lost over postback.
+ <br/>
+ <input type="submit" name="_id0:_id6" value="get page input from backing" />
+ <span style="color:red"/><span id="_id0:outputField"></span></span>
This ensures that the backing bean has access to page inputs.
- <br/>
- <input type="submit" name="_id0:_id7" value="submit" /> Send everything to a page flow action.
- <input type="hidden" name="_id0" value="_id0" /></form>
+ <br/>
+ <input type="submit" name="_id0:_id7" value="submit" /> Send everything to a page flow action.
+ <input type="hidden" name="_id0" value="_id0" /></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
@@ -186,36 +186,36 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
- <form id="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
+ <form id="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
- #{pageInput.somePageInput}: a page input
- <br/>
- #{pageFlow.someProperty}: <input type="text" name="_id0:_id2" value="page flow property" />
- <br/>
- #{sharedFlow.sf.someProperty}: <input type="text" name="_id0:_id3" value="shared flow property" />
- <br/>
- #{backing.someProperty}: <input type="text" name="_id0:_id4" value="backing file property" />
- <br/>
- <br/>
- <input type="submit" name="_id0:_id5" value="postback" /> This ensures that the page inputs don't get lost over postback.
- <br/>
- <input type="submit" name="_id0:_id6" value="get page input from backing" />
- <span style="color:red"/><span id="_id0:outputField"></span></span>
+ #{pageInput.somePageInput}: a page input
+ <br/>
+ #{pageFlow.someProperty}: <input type="text" name="_id0:_id2" value="page flow property" />
+ <br/>
+ #{sharedFlow.sf.someProperty}: <input type="text" name="_id0:_id3" value="shared flow property" />
+ <br/>
+ #{backing.someProperty}: <input type="text" name="_id0:_id4" value="backing file property" />
+ <br/>
+ <br/>
+ <input type="submit" name="_id0:_id5" value="postback" /> This ensures that the page inputs don't get lost over postback.
+ <br/>
+ <input type="submit" name="_id0:_id6" value="get page input from backing" />
+ <span style="color:red"/><span id="_id0:outputField"></span></span>
This ensures that the backing bean has access to page inputs.
- <br/>
- <input type="submit" name="_id0:_id7" value="submit" /> Send everything to a page flow action.
- <input type="hidden" name="_id0" value="_id0" /></form>
+ <br/>
+ <input type="submit" name="_id0:_id7" value="submit" /> Send everything to a page flow action.
+ <input type="hidden" name="_id0" value="_id0" /></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
@@ -309,36 +309,36 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
- <form id="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
+ <form id="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
- #{pageInput.somePageInput}: a page input
- <br/>
- #{pageFlow.someProperty}: <input type="text" name="_id0:_id2" value="page flow property" />
- <br/>
- #{sharedFlow.sf.someProperty}: <input type="text" name="_id0:_id3" value="shared flow property" />
- <br/>
- #{backing.someProperty}: <input type="text" name="_id0:_id4" value="backing file property" />
- <br/>
- <br/>
- <input type="submit" name="_id0:_id5" value="postback" /> This ensures that the page inputs don't get lost over postback.
- <br/>
- <input type="submit" name="_id0:_id6" value="get page input from backing" />
- <span style="color:red"/><span id="_id0:outputField">a page input</span></span>
+ #{pageInput.somePageInput}: a page input
+ <br/>
+ #{pageFlow.someProperty}: <input type="text" name="_id0:_id2" value="page flow property" />
+ <br/>
+ #{sharedFlow.sf.someProperty}: <input type="text" name="_id0:_id3" value="shared flow property" />
+ <br/>
+ #{backing.someProperty}: <input type="text" name="_id0:_id4" value="backing file property" />
+ <br/>
+ <br/>
+ <input type="submit" name="_id0:_id5" value="postback" /> This ensures that the page inputs don't get lost over postback.
+ <br/>
+ <input type="submit" name="_id0:_id6" value="get page input from backing" />
+ <span style="color:red"/><span id="_id0:outputField">a page input</span></span>
This ensures that the backing bean has access to page inputs.
- <br/>
- <input type="submit" name="_id0:_id7" value="submit" /> Send everything to a page flow action.
- <input type="hidden" name="_id0" value="_id0" /></form>
+ <br/>
+ <input type="submit" name="_id0:_id7" value="submit" /> Send everything to a page flow action.
+ <input type="hidden" name="_id0" value="_id0" /></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/SubmitFormBean.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/SubmitFormBean.xml?view=diff&rev=441585&r1=441584&r2=441585
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/SubmitFormBean.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/SubmitFormBean.xml Fri Sep 8 10:40:19 2006
@@ -67,36 +67,36 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
This is a test of sending a form bean to a Page Flow action in two ways:
- <ul>
- <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
- <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
- </ul>
+ <ul>
+ <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
+ <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
+ </ul>
- <form id="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+ <form id="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
- <br/>
- <br/>
- <input type="submit" name="_id0:_id2" value="send bean through attribute" />
+ #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+ <br/>
+ <br/>
+ <input type="submit" name="_id0:_id2" value="send bean through attribute" />
- <br/>
- <input type="submit" name="_id0:_id3" value="send bean through command handler" />
- <br/>
+ <br/>
+ <input type="submit" name="_id0:_id3" value="send bean through command handler" />
+ <br/>
- <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
- <br/>
- <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
- <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
+ <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
+ <br/>
+ <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
+ <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
@@ -272,36 +272,36 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
This is a test of sending a form bean to a Page Flow action in two ways:
- <ul>
- <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
- <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
- </ul>
+ <ul>
+ <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
+ <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
+ </ul>
- <form id="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+ <form id="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
- <br/>
- <br/>
- <input type="submit" name="_id0:_id2" value="send bean through attribute" />
+ #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+ <br/>
+ <br/>
+ <input type="submit" name="_id0:_id2" value="send bean through attribute" />
- <br/>
- <input type="submit" name="_id0:_id3" value="send bean through command handler" />
- <br/>
+ <br/>
+ <input type="submit" name="_id0:_id3" value="send bean through command handler" />
+ <br/>
- <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
- <br/>
- <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
- <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
+ <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
+ <br/>
+ <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
+ <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
@@ -477,36 +477,36 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
This is a test of sending a form bean to a Page Flow action in two ways:
- <ul>
- <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
- <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
- </ul>
+ <ul>
+ <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
+ <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
+ </ul>
- <form id="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+ <form id="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
- <br/>
- <br/>
- <input type="submit" name="_id0:_id2" value="send bean through attribute" />
+ #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+ <br/>
+ <br/>
+ <input type="submit" name="_id0:_id2" value="send bean through attribute" />
- <br/>
- <input type="submit" name="_id0:_id3" value="send bean through command handler" />
- <br/>
+ <br/>
+ <input type="submit" name="_id0:_id3" value="send bean through command handler" />
+ <br/>
- <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
- <br/>
- <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
- <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
+ <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
+ <br/>
+ <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
+ <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
@@ -678,36 +678,36 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
This is a test of sending a form bean to a Page Flow action in two ways:
- <ul>
- <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
- <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
- </ul>
+ <ul>
+ <li>through the "submitFormBean" attribute (f:attribute tag) inside of h:commandLink or h:commandButton</li>
+ <li>through an <code>outputFormBean</code> attribute on @Jpf.RaiseAction in a backing file command handler</li>
+ </ul>
- <form id="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
+ <form id="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
- <br/>
- <br/>
- <input type="submit" name="_id0:_id2" value="send bean through attribute" />
+ #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+ <br/>
+ <br/>
+ <input type="submit" name="_id0:_id2" value="send bean through attribute" />
- <br/>
- <input type="submit" name="_id0:_id3" value="send bean through command handler" />
- <br/>
+ <br/>
+ <input type="submit" name="_id0:_id3" value="send bean through command handler" />
+ <br/>
- <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
- <br/>
- <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
- <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
+ <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id4'; document.forms['_id0'].submit(); return false;">send bean through attribute</a>
+ <br/>
+ <a href="#" onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id5'; document.forms['_id0'].submit(); return false;">send bean through command handler</a>
+ <input type="hidden" name="_id0" value="_id0" /><input type="hidden" name="_id0:_idcl" /></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml?view=diff&rev=441585&r1=441584&r2=441585
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/UseFormBean.xml Fri Sep 8 10:40:19 2006
@@ -88,7 +88,7 @@
<form id="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+ #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
<br/>
<br/>
<input type="submit" name="_id0:_id2" value="send bean through attribute" />
@@ -313,7 +313,7 @@
<form id="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+ #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
<br/>
<br/>
<input type="submit" name="_id0:_id2" value="send bean through attribute" />
@@ -538,7 +538,7 @@
<form id="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+ #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
<br/>
<br/>
<input type="submit" name="_id0:_id2" value="send bean through attribute" />
@@ -759,7 +759,7 @@
<form id="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
+ #{backing.theForm.foo}: <input type="text" name="_id0:_id1" />
<br/>
<br/>
<input type="submit" name="_id0:_id2" value="send bean through attribute" />
Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/BindingInFaces.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/BindingInFaces.xml?view=diff&rev=441585&r1=441584&r2=441585
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/BindingInFaces.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/BindingInFaces.xml Fri Sep 8 10:40:19 2006
@@ -63,33 +63,33 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
- <form id="_id0" name="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
- #{pageInput.somePageInput}: a page input
- <br/>
- #{pageFlow.someProperty}: <input id="_id0:_id2" name="_id0:_id2" type="text" value="page flow property"/>
- <br/>
- #{sharedFlow.sf.someProperty}: <input id="_id0:_id3" name="_id0:_id3" type="text" value="shared flow property"/>
- <br/>
- #{backing.someProperty}: <input id="_id0:_id4" name="_id0:_id4" type="text" value="backing file property"/>
- <br/>
- <br/>
- <input id="_id0:_id5" name="_id0:_id5" type="submit" value="postback" onclick="clear__5Fid0();"/> This ensures that the page inputs don't get lost over postback.
- <br/>
- <input id="_id0:_id6" name="_id0:_id6" type="submit" value="get page input from backing" onclick="clear__5Fid0();"/>
- <span style="color:red"/><span id="_id0:outputField"></span></span>
+ <form id="_id0" name="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
+ #{pageInput.somePageInput}: a page input
+ <br/>
+ #{pageFlow.someProperty}: <input id="_id0:_id2" name="_id0:_id2" type="text" value="page flow property"/>
+ <br/>
+ #{sharedFlow.sf.someProperty}: <input id="_id0:_id3" name="_id0:_id3" type="text" value="shared flow property"/>
+ <br/>
+ #{backing.someProperty}: <input id="_id0:_id4" name="_id0:_id4" type="text" value="backing file property"/>
+ <br/>
+ <br/>
+ <input id="_id0:_id5" name="_id0:_id5" type="submit" value="postback" onclick="clear__5Fid0();"/> This ensures that the page inputs don't get lost over postback.
+ <br/>
+ <input id="_id0:_id6" name="_id0:_id6" type="submit" value="get page input from backing" onclick="clear__5Fid0();"/>
+ <span style="color:red"/><span id="_id0:outputField"></span></span>
This ensures that the backing bean has access to page inputs.
- <br/>
- <input id="_id0:_id7" name="_id0:_id7" type="submit" value="submit" onclick="clear__5Fid0();"/> Send everything to a page flow action.
- <input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
-<!--
+ <br/>
+ <input id="_id0:_id7" name="_id0:_id7" type="submit" value="submit" onclick="clear__5Fid0();"/> Send everything to a page flow action.
+ <input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
+<!--
function clear__5Fid0() {
var f = document.forms['_id0'];
f.elements['_id0:_link_hidden_'].value=null;
@@ -97,10 +97,10 @@
}
clear__5Fid0();
//-->
-</script></form>
+</script></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
@@ -198,33 +198,33 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
- <form id="_id0" name="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
- #{pageInput.somePageInput}: a page input
- <br/>
- #{pageFlow.someProperty}: <input id="_id0:_id2" name="_id0:_id2" type="text" value="page flow property"/>
- <br/>
- #{sharedFlow.sf.someProperty}: <input id="_id0:_id3" name="_id0:_id3" type="text" value="shared flow property"/>
- <br/>
- #{backing.someProperty}: <input id="_id0:_id4" name="_id0:_id4" type="text" value="backing file property"/>
- <br/>
- <br/>
- <input id="_id0:_id5" name="_id0:_id5" type="submit" value="postback" onclick="clear__5Fid0();"/> This ensures that the page inputs don't get lost over postback.
- <br/>
- <input id="_id0:_id6" name="_id0:_id6" type="submit" value="get page input from backing" onclick="clear__5Fid0();"/>
- <span style="color:red"/><span id="_id0:outputField"></span></span>
+ <form id="_id0" name="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
+ #{pageInput.somePageInput}: a page input
+ <br/>
+ #{pageFlow.someProperty}: <input id="_id0:_id2" name="_id0:_id2" type="text" value="page flow property"/>
+ <br/>
+ #{sharedFlow.sf.someProperty}: <input id="_id0:_id3" name="_id0:_id3" type="text" value="shared flow property"/>
+ <br/>
+ #{backing.someProperty}: <input id="_id0:_id4" name="_id0:_id4" type="text" value="backing file property"/>
+ <br/>
+ <br/>
+ <input id="_id0:_id5" name="_id0:_id5" type="submit" value="postback" onclick="clear__5Fid0();"/> This ensures that the page inputs don't get lost over postback.
+ <br/>
+ <input id="_id0:_id6" name="_id0:_id6" type="submit" value="get page input from backing" onclick="clear__5Fid0();"/>
+ <span style="color:red"/><span id="_id0:outputField"></span></span>
This ensures that the backing bean has access to page inputs.
- <br/>
- <input id="_id0:_id7" name="_id0:_id7" type="submit" value="submit" onclick="clear__5Fid0();"/> Send everything to a page flow action.
- <input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
-<!--
+ <br/>
+ <input id="_id0:_id7" name="_id0:_id7" type="submit" value="submit" onclick="clear__5Fid0();"/> Send everything to a page flow action.
+ <input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
+<!--
function clear__5Fid0() {
var f = document.forms['_id0'];
f.elements['_id0:_link_hidden_'].value=null;
@@ -232,10 +232,10 @@
}
clear__5Fid0();
//-->
-</script></form>
+</script></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
@@ -333,33 +333,33 @@
<ses:response>
<ses:statusCode>200</ses:statusCode>
<ses:reason/>
- <ses:responseBody><html>
- <head>
- </head>
- <body>
+ <ses:responseBody><![CDATA[<html>
+ <head>
+ </head>
+ <body>
- <form id="_id0" name="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
- #{pageInput.somePageInput}: a page input
- <br/>
- #{pageFlow.someProperty}: <input id="_id0:_id2" name="_id0:_id2" type="text" value="page flow property"/>
- <br/>
- #{sharedFlow.sf.someProperty}: <input id="_id0:_id3" name="_id0:_id3" type="text" value="shared flow property"/>
- <br/>
- #{backing.someProperty}: <input id="_id0:_id4" name="_id0:_id4" type="text" value="backing file property"/>
- <br/>
- <br/>
- <input id="_id0:_id5" name="_id0:_id5" type="submit" value="postback" onclick="clear__5Fid0();"/> This ensures that the page inputs don't get lost over postback.
- <br/>
- <input id="_id0:_id6" name="_id0:_id6" type="submit" value="get page input from backing" onclick="clear__5Fid0();"/>
- <span style="color:red"/><span id="_id0:outputField">a page input</span></span>
+ <form id="_id0" name="_id0" method="post" action="/jsfWeb/bindingInFaces/page1.faces" enctype="application/x-www-form-urlencoded">
+ #{pageInput.somePageInput}: a page input
+ <br/>
+ #{pageFlow.someProperty}: <input id="_id0:_id2" name="_id0:_id2" type="text" value="page flow property"/>
+ <br/>
+ #{sharedFlow.sf.someProperty}: <input id="_id0:_id3" name="_id0:_id3" type="text" value="shared flow property"/>
+ <br/>
+ #{backing.someProperty}: <input id="_id0:_id4" name="_id0:_id4" type="text" value="backing file property"/>
+ <br/>
+ <br/>
+ <input id="_id0:_id5" name="_id0:_id5" type="submit" value="postback" onclick="clear__5Fid0();"/> This ensures that the page inputs don't get lost over postback.
+ <br/>
+ <input id="_id0:_id6" name="_id0:_id6" type="submit" value="get page input from backing" onclick="clear__5Fid0();"/>
+ <span style="color:red"/><span id="_id0:outputField">a page input</span></span>
This ensures that the backing bean has access to page inputs.
- <br/>
- <input id="_id0:_id7" name="_id0:_id7" type="submit" value="submit" onclick="clear__5Fid0();"/> Send everything to a page flow action.
- <input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
-<!--
+ <br/>
+ <input id="_id0:_id7" name="_id0:_id7" type="submit" value="submit" onclick="clear__5Fid0();"/> Send everything to a page flow action.
+ <input type="hidden" name="_id0_SUBMIT" value="1"/><input type="hidden" name="_id0:_link_hidden_"/><script type="text/javascript">
+<!--
function clear__5Fid0() {
var f = document.forms['_id0'];
f.elements['_id0:_link_hidden_'].value=null;
@@ -367,10 +367,10 @@
}
clear__5Fid0();
//-->
-</script></form>
+</script></form>
- </body>
-</html></ses:responseBody>
+ </body>
+</html>]]></ses:responseBody>
</ses:response>
</ses:test>
<ses:test>
Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml?view=diff&rev=441585&r1=441584&r2=441585
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml Fri Sep 8 10:40:19 2006
@@ -88,7 +88,7 @@
</ul>
<form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
<br/>
<br/>
@@ -322,7 +322,7 @@
</ul>
<form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
<br/>
<br/>
@@ -556,7 +556,7 @@
</ul>
<form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
<br/>
<br/>
@@ -786,7 +786,7 @@
</ul>
<form id="_id0" name="_id0" method="post" action="/jsfWeb/submitFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
<br/>
<br/>
Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml?view=diff&rev=441585&r1=441584&r2=441585
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml Fri Sep 8 10:40:19 2006
@@ -87,7 +87,7 @@
<form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
<br/>
<br/>
@@ -320,7 +320,7 @@
<form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
<br/>
<br/>
@@ -553,7 +553,7 @@
<form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
<br/>
<br/>
@@ -782,7 +782,7 @@
<form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
<br/>
<br/>
@@ -1011,7 +1011,7 @@
<form id="_id0" name="_id0" method="post" action="/jsfWeb/useFormBean/input.faces" enctype="application/x-www-form-urlencoded">
- #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
+ #{backing.theForm.foo}: <input id="_id0:_id1" name="_id0:_id1" type="text" value=""/>
<br/>
<br/>
Modified: beehive/trunk/netui/test/webapps/jsf/web/bindingInFaces/page1.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/web/bindingInFaces/page1.jsp?view=diff&rev=441585&r1=441584&r2=441585
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/web/bindingInFaces/page1.jsp (original)
+++ beehive/trunk/netui/test/webapps/jsf/web/bindingInFaces/page1.jsp Fri Sep 8 10:40:19 2006
@@ -11,13 +11,13 @@
<h:form>
- #{pageInput.somePageInput}: <h:outputText value="#{pageInput.somePageInput}"/>
+ #{pageInput.somePageInput}: <h:outputText value="#{pageInput.somePageInput}"/>
<br/>
- #{pageFlow.someProperty}: <h:inputText value="#{pageFlow.someProperty}"/>
+ #{pageFlow.someProperty}: <h:inputText value="#{pageFlow.someProperty}"/>
<br/>
- #{sharedFlow.sf.someProperty}: <h:inputText value="#{sharedFlow.sf.someProperty}"/>
+ #{sharedFlow.sf.someProperty}: <h:inputText value="#{sharedFlow.sf.someProperty}"/>
<br/>
- #{backing.someProperty}: <h:inputText value="#{backing.someProperty}"/>
+ #{backing.someProperty}: <h:inputText value="#{backing.someProperty}"/>
<br/>
<br/>
<h:commandButton value="postback"/> This ensures that the page inputs don't get lost over postback.
Modified: beehive/trunk/netui/test/webapps/jsf/web/submitFormBean/input.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/web/submitFormBean/input.jsp?view=diff&rev=441585&r1=441584&r2=441585
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/web/submitFormBean/input.jsp (original)
+++ beehive/trunk/netui/test/webapps/jsf/web/submitFormBean/input.jsp Fri Sep 8 10:40:19 2006
@@ -13,7 +13,7 @@
</ul>
<f:view>
<h:form>
- #{backing.theForm.foo}: <h:inputText value="#{backing.theForm.foo}"/>
+ #{backing.theForm.foo}: <h:inputText value="#{backing.theForm.foo}"/>
<br/>
<br/>
<h:commandButton action="submit" value="send bean through attribute">
Modified: beehive/trunk/netui/test/webapps/jsf/web/useFormBean/input.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/web/useFormBean/input.jsp?view=diff&rev=441585&r1=441584&r2=441585
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/web/useFormBean/input.jsp (original)
+++ beehive/trunk/netui/test/webapps/jsf/web/useFormBean/input.jsp Fri Sep 8 10:40:19 2006
@@ -12,7 +12,7 @@
<f:view>
<h:form>
- #{backing.theForm.foo}: <h:inputText value="#{backing.theForm.foo}"/>
+ #{backing.theForm.foo}: <h:inputText value="#{backing.theForm.foo}"/>
<br/>
<br/>
<h:commandButton action="submit" value="send bean through attribute">