<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>commits@beehive.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/beehive-commits/"/>
<id>http://mail-archives.apache.org/mod_mbox/beehive-commits/</id>
<updated>2009-12-06T09:25:41Z</updated>
<entry>
<title>[Beehive Wiki] Update of &quot;chinese mobile phones&quot; by efnsamoki</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200907.mbox/%3c20090723194741.28601.62316@eos.apache.org%3e"/>
<id>urn:uuid:%3c20090723194741-28601-62316@eos-apache-org%3e</id>
<updated>2009-07-23T19:47:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by efnsamoki:
http://wiki.apache.org/beehive/chinese_mobile_phones

The comment on the change is:
spam

------------------------------------------------------------------------------
- MTK has brought the [http://www.buyyourall.com mobile phone] revolution, the United Nations
Development Co., Ltd. is the title, full name in English is called MTK.. 
+ deleted
  
- United Nations Development Co., Ltd., founded in the year 1997, is one of the world's top
professional IC design company, the world's largest consumer of IC chip group of pilot status.
Covering the area of digital consumer products, digital TV, optical storage, [http://www.buyyourall.com
mobile phone], and so most of the series, is Asia's only six years in a row re-design the
world's top 10 IC companies only Chinese enterprises, the United States, "Forbes" magazine
" Top 50 Asian companies. " 
- United Nations Development as a global technology leader in IC design, focusing on wireless
communications and digital media technology. The chip company to provide integrated system
solutions, including wireless communications, high-resolution digital TV, optical storage,
high-resolution DVD-related products, ranking first in the market leadership position. 
- United Nations Development Science and Technology was founded in 1997, has been publicly
traded on the Taiwan Stock Exchange, code-named equity 2454. The company is headquartered
in Taiwan and has sales and R &amp; D team in China, the United States, Britain, Ireland,
Denmark, India, Japan, South Korea and Singapore.mtk make [http://www.buyyourall.com mobile
phone]more cheap and multifunctiom. it is more and more popular in the world.
- 


</pre>
</div>
</content>
</entry>
<entry>
<title>[Beehive Wiki] Update of &quot;FortuneCookies&quot; by efnsamoki</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200907.mbox/%3c20090723194137.26788.86556@eos.apache.org%3e"/>
<id>urn:uuid:%3c20090723194137-26788-86556@eos-apache-org%3e</id>
<updated>2009-07-23T19:41:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by efnsamoki:
http://wiki.apache.org/beehive/FortuneCookies

------------------------------------------------------------------------------
  * We live in an age when unnecessary things are our only necessities. Oscar Wilde (1854
- 1900).
  * When it is not necessary to make a decision, it is necessary not to make a decision. Lord
Falkland (1610 - 1643).
  * The best way to become acquainted with a subject is to write a book about it. Benjamin
Disraeli (1804 - 1881).
+ * "Yields falsehood when preceded by its quotation" yields falsehood when preceded by its
quotation. W.V.O. Quine.
  


</pre>
</div>
</content>
</entry>
<entry>
<title>[Beehive Wiki] Update of &quot;FortuneCookies&quot; by efnsamoki</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200907.mbox/%3c20090723193435.24615.30243@eos.apache.org%3e"/>
<id>urn:uuid:%3c20090723193435-24615-30243@eos-apache-org%3e</id>
<updated>2009-07-23T19:34:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by efnsamoki:
http://wiki.apache.org/beehive/FortuneCookies

------------------------------------------------------------------------------
-  * Edit the FortuneCookies page to display randomly selected wisdom here.
+ * We live in an age when unnecessary things are our only necessities. Oscar Wilde (1854
- 1900).
+ * When it is not necessary to make a decision, it is necessary not to make a decision. Lord
Falkland (1610 - 1643).
+ * The best way to become acquainted with a subject is to write a book about it. Benjamin
Disraeli (1804 - 1881).
  


</pre>
</div>
</content>
</entry>
<entry>
<title>[Beehive Wiki] Update of &quot;chinese mobile phones&quot; by buyyourall</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200812.mbox/%3c20081222155111.26250.26622@eos.apache.org%3e"/>
<id>urn:uuid:%3c20081222155111-26250-26622@eos-apache-org%3e</id>
<updated>2008-12-22T15:51:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by buyyourall:
http://wiki.apache.org/beehive/chinese_mobile_phones

New page:
MTK has brought the [http://www.buyyourall.com mobile phone] revolution, the United Nations
Development Co., Ltd. is the title, full name in English is called MTK.. 

United Nations Development Co., Ltd., founded in the year 1997, is one of the world's top
professional IC design company, the world's largest consumer of IC chip group of pilot status.
Covering the area of digital consumer products, digital TV, optical storage, [http://www.buyyourall.com
mobile phone], and so most of the series, is Asia's only six years in a row re-design the
world's top 10 IC companies only Chinese enterprises, the United States, "Forbes" magazine
" Top 50 Asian companies. " 
United Nations Development as a global technology leader in IC design, focusing on wireless
communications and digital media technology. The chip company to provide integrated system
solutions, including wireless communications, high-resolution digital TV, optical storage,
high-resolution DVD-related products, ranking first in the market leadership position. 
United Nations Development Science and Technology was founded in 1997, has been publicly traded
on the Taiwan Stock Exchange, code-named equity 2454. The company is headquartered in Taiwan
and has sales and R &amp; D team in China, the United States, Britain, Ireland, Denmark, India,
Japan, South Korea and Singapore.mtk make [http://www.buyyourall.com mobile phone]more cheap
and multifunctiom. it is more and more popular in the world.


</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r692920 - in /beehive/trunk/netui/src: scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java tags-html/org/apache/beehive/netui/tags/html/CheckBox.java tags-html/org/apache/beehive/netui/tags/html/Select.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200809.mbox/%3c20080907190905.D3C2D238896C@eris.apache.org%3e"/>
<id>urn:uuid:%3c20080907190905-D3C2D238896C@eris-apache-org%3e</id>
<updated>2008-09-07T19:09:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Sun Sep  7 12:09:05 2008
New Revision: 692920

URL: http://svn.apache.org/viewvc?rev=692920&amp;view=rev
Log:
Fix for BEEHIVE-1226, a contribution from Poorna Ramasamy. Thanks Poorna.


Modified:
    beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java
    beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java
    beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java

Modified: beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java?rev=692920&amp;r1=692919&amp;r2=692920&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java
(original)
+++ beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java
Sun Sep  7 12:09:05 2008
@@ -491,7 +491,7 @@
      * Just escapes some of the characters in the value with their
      * associated entities;
      */
-    private static String filterParamValue(String value)
+    public static String filterParamValue(String value)
     {
         if (value == null) {
             return null;

Modified: beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java?rev=692920&amp;r1=692919&amp;r2=692920&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java (original)
+++ beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java Sun
Sep  7 12:09:05 2008
@@ -20,6 +20,7 @@
 
 import org.apache.beehive.netui.pageflow.ProcessPopulate;
 import org.apache.beehive.netui.pageflow.RequestParameterHandler;
+import org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils;
 import org.apache.beehive.netui.tags.ByRef;
 import org.apache.beehive.netui.tags.IHtmlAccessable;
 import org.apache.beehive.netui.tags.naming.FormDataNameInterceptor;
@@ -283,7 +284,7 @@
         _state.disabled = isDisabled();
 
         //Create a hidden field to store the CheckBox oldValue
-        String oldValue = req.getParameter(_state.name);
+        String oldValue = ScopedServletUtils.filterParamValue(req.getParameter(_state.name));
         WriteRenderAppender writer = new WriteRenderAppender(pageContext);
 
         // if the checkbox is disabled we need to not write out the hidden

Modified: beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java?rev=692920&amp;r1=692919&amp;r2=692920&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java (original)
+++ beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java Sun Sep
 7 12:09:05 2008
@@ -22,6 +22,7 @@
 
 import org.apache.beehive.netui.pageflow.ProcessPopulate;
 import org.apache.beehive.netui.pageflow.RequestParameterHandler;
+import org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils;
 import org.apache.beehive.netui.script.common.DataAccessProviderStack;
 import org.apache.beehive.netui.script.common.IDataAccessProvider;
 import org.apache.beehive.netui.tags.ByRef;
@@ -37,6 +38,7 @@
 import javax.servlet.ServletRequest;
 import javax.servlet.jsp.JspException;
 import java.util.*;
+import java.util.regex.Pattern;
 
 
 /**
@@ -220,6 +222,11 @@
 
     private static final Logger logger = Logger.getInstance(Select.class);
 
+    private static final Pattern PATTERN_SCRIPT = Pattern.compile(".*&lt;script.*", Pattern.CASE_INSENSITIVE);
+    private static final Pattern PATTERN_OBJECT = Pattern.compile(".*&lt;object.*", Pattern.CASE_INSENSITIVE);
+    private static final Pattern PATTERN_APPLET = Pattern.compile(".*&lt;applet.*", Pattern.CASE_INSENSITIVE);
+    private static final Pattern PATTERN_EMBED = Pattern.compile(".*&lt;embed.*", Pattern.CASE_INSENSITIVE);
+
     private SelectTag.State _state = new SelectTag.State();
     private OptionTag.State _optionState = new OptionTag.State();
     private InputHiddenTag.State _hiddenState = new InputHiddenTag.State();
@@ -1219,10 +1226,25 @@
 
         for (int i = 0; i &lt; _match.length; i++) {
             if (!_optionList.contains(_match[i])) {
-                if (!_match[i].equals(NULL_VALUE))
-                    addOption(req, _match[i], _match[i]);
+                if (!_match[i].equals(NULL_VALUE)) {
+                    String value = filterValue(_match[i]);
+                    addOption(req, value, value);
+                }
+            }
+        }
+    }
+
+    private static String filterValue(String value)
+    {
+        if (value != null) {
+            if (PATTERN_SCRIPT.matcher(value).matches()
+                    || PATTERN_OBJECT.matcher(value).matches()
+                    || PATTERN_APPLET.matcher(value).matches()
+                    || PATTERN_EMBED.matcher(value).matches()) {
+                return ScopedServletUtils.filterParamValue(value);
             }
         }
+        return value;
     }
 
     private void addOption(ServletRequest req, String optionValue, String optionDisplay)




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r666879 - /beehive/trunk/docs/forrest/forrest.properties</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200806.mbox/%3c20080611224340.9141B23889C1@eris.apache.org%3e"/>
<id>urn:uuid:%3c20080611224340-9141B23889C1@eris-apache-org%3e</id>
<updated>2008-06-11T22:43:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Wed Jun 11 15:43:40 2008
New Revision: 666879

URL: http://svn.apache.org/viewvc?rev=666879&amp;view=rev
Log:
Fix for BEEHIVE-1221, a contribution from Scott L'Hommedieu to solve an issue with Forrest
when building the distribution. Thanks Scott!

Tests: built the dist


Modified:
    beehive/trunk/docs/forrest/forrest.properties

Modified: beehive/trunk/docs/forrest/forrest.properties
URL: http://svn.apache.org/viewvc/beehive/trunk/docs/forrest/forrest.properties?rev=666879&amp;r1=666878&amp;r2=666879&amp;view=diff
==============================================================================
--- beehive/trunk/docs/forrest/forrest.properties (original)
+++ beehive/trunk/docs/forrest/forrest.properties Wed Jun 11 15:43:40 2008
@@ -122,7 +122,7 @@
 # a production environment it is recomended that you specify a known working 
 # version.
 # Run "forrest available-plugins" for a list of plug-ins currently available
-project.required.plugins=org.apache.forrest.plugin.output.pdf
+project.required.plugins=org.apache.forrest.plugin.output.pdf-0.1
 
 # Proxy configuration
 # proxy.host=




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r666255 - in /beehive/trunk/netui/test/webapps/drt: src/bugs/j517/ src/javascript/jsFind/ src/miniTests/binding/ src/validation/declarativeValidation/ testRecorder/tests/</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200806.mbox/%3c20080610182204.CB0D32388A06@eris.apache.org%3e"/>
<id>urn:uuid:%3c20080610182204-CB0D32388A06@eris-apache-org%3e</id>
<updated>2008-06-10T18:22:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Tue Jun 10 11:22:04 2008
New Revision: 666255

URL: http://svn.apache.org/viewvc?rev=666255&amp;view=rev
Log:
Minor test changes... changed some tests to use LinkedHashMap rather than HashMap so that
the content of the test recordings are in a predictable iteration order.

Tests: netui BVT (WinXP passed)

Modified:
    beehive/trunk/netui/test/webapps/drt/src/bugs/j517/Controller.java
    beehive/trunk/netui/test/webapps/drt/src/javascript/jsFind/JsFind.java
    beehive/trunk/netui/test/webapps/drt/src/miniTests/binding/Controller.java
    beehive/trunk/netui/test/webapps/drt/src/validation/declarativeValidation/Controller.java
    beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughAction.xml
    beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughClass.xml
    beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughForm.xml

Modified: beehive/trunk/netui/test/webapps/drt/src/bugs/j517/Controller.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/src/bugs/j517/Controller.java?rev=666255&amp;r1=666254&amp;r2=666255&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/bugs/j517/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/src/bugs/j517/Controller.java Tue Jun 10 11:22:04
2008
@@ -23,12 +23,11 @@
 import org.apache.beehive.netui.pageflow.annotations.Jpf;
 
 import java.util.HashMap;
+import java.util.LinkedHashMap;
 
-@Jpf.Controller(
-    )
+@Jpf.Controller()
 public class Controller extends PageFlowController
 {
-    private HashMap radopts;
     private String resultsTwo;
 
     private HashMap opts;
@@ -49,12 +48,9 @@
         this.resultsOne = resultsOne;
     }
 
-  
-
     protected void onCreate()
     {        
-      
-        opts = new HashMap();
+        opts = new LinkedHashMap();
         opts.put("val1","Value One");
         opts.put("val2","Value Two");
         opts.put("val3","Value Three");
@@ -62,10 +58,6 @@
         opts.put("val4","Value Four");
     }
     
-    /**
-     * @jpf:action
-     * @jpf:forward name="index" path="index.jsp"
-     */
     @Jpf.Action(
         forwards = {
             @Jpf.Forward(
@@ -77,10 +69,6 @@
         return new Forward("index");
     }
     
-    /**
-     * @jpf:action
-     * @jpf:forward name="index" path="Results.jsp"
-     */
     @Jpf.Action(
         forwards = {
             @Jpf.Forward(

Modified: beehive/trunk/netui/test/webapps/drt/src/javascript/jsFind/JsFind.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/src/javascript/jsFind/JsFind.java?rev=666255&amp;r1=666254&amp;r2=666255&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/javascript/jsFind/JsFind.java (original)
+++ beehive/trunk/netui/test/webapps/drt/src/javascript/jsFind/JsFind.java Tue Jun 10 11:22:04
2008
@@ -22,95 +22,10 @@
 import org.apache.beehive.netui.pageflow.annotations.Jpf;
 
 import java.io.Serializable;
-import java.util.HashMap;
+import java.util.LinkedHashMap;
 import java.util.Map;
 
-/**
- * @jpf:controller
- * @jpf:view-properties view-properties::
- * &lt;!-- This data is auto-generated. Hand-editing this section is not recommended. --&gt;
- * &lt;view-properties&gt;
- * &lt;pageflow-object id="pageflow:/jsFind/JsFind.jpf"/&gt;
- * &lt;pageflow-object id="action:begin.do"&gt;
- *   &lt;property value="80" name="x"/&gt;
- *   &lt;property value="100" name="y"/&gt;
- * &lt;/pageflow-object&gt;
- * &lt;pageflow-object id="page:index.jsp"&gt;
- *   &lt;property value="240" name="x"/&gt;
- *   &lt;property value="100" name="y"/&gt;
- * &lt;/pageflow-object&gt;
- * &lt;pageflow-object id="forward:path#success#index.jsp#@action:begin.do@"&gt;
- *   &lt;property value="116,160,160,204" name="elbowsX"/&gt;
- *   &lt;property value="92,92,92,92" name="elbowsY"/&gt;
- *   &lt;property value="East_1" name="fromPort"/&gt;
- *   &lt;property value="West_1" name="toPort"/&gt;
- *   &lt;property value="success" name="label"/&gt;
- * &lt;/pageflow-object&gt;
- * &lt;pageflow-object id="formbean:jsFind.JsFind.TypeBean"/&gt;
- * &lt;pageflow-object id="formbeanprop:jsFind.JsFind.TypeBean#type#java.lang.String"/&gt;
- * &lt;pageflow-object id="action:postForm.do#jsFind.JsFind.TypeBean"&gt;
- *   &lt;property value="380" name="x"/&gt;
- *   &lt;property value="100" name="y"/&gt;
- * &lt;/pageflow-object&gt;
- * &lt;pageflow-object id="action-call:@page:index.jsp@#@action:postForm.do#jsFind.JsFind.TypeBean@"&gt;
- *   &lt;property value="276,310,310,344" name="elbowsX"/&gt;
- *   &lt;property value="92,92,92,92" name="elbowsY"/&gt;
- *   &lt;property value="East_1" name="fromPort"/&gt;
- *   &lt;property value="West_1" name="toPort"/&gt;
- * &lt;/pageflow-object&gt;
- * &lt;pageflow-object id="forward:path#success#index.jsp#@action:postForm.do#jsFind.JsFind.TypeBean@"&gt;
- *   &lt;property value="416,416,240,240" name="elbowsX"/&gt;
- *   &lt;property value="81,60,60,56" name="elbowsY"/&gt;
- *   &lt;property value="East_0" name="fromPort"/&gt;
- *   &lt;property value="North_1" name="toPort"/&gt;
- *   &lt;property value="success" name="label"/&gt;
- * &lt;/pageflow-object&gt;
- * &lt;/view-properties&gt;
- * ::
- */
-@Jpf.Controller(
-    )
-@Jpf.ViewProperties(
-    value = {
-        "&lt;!-- This data is auto-generated. Hand-editing this section is not recommended.
--&gt;",
-        "&lt;view-properties&gt;",
-        "&lt;pageflow-object id='pageflow:/jsFind/JsFind.jpf'/&gt;",
-        "&lt;pageflow-object id='action:begin.do'&gt;",
-        "  &lt;property value='80' name='x'/&gt;",
-        "  &lt;property value='100' name='y'/&gt;",
-        "&lt;/pageflow-object&gt;",
-        "&lt;pageflow-object id='page:index.jsp'&gt;",
-        "  &lt;property value='240' name='x'/&gt;",
-        "  &lt;property value='100' name='y'/&gt;",
-        "&lt;/pageflow-object&gt;",
-        "&lt;pageflow-object id='forward:path#success#index.jsp#@action:begin.do@'&gt;",
-        "  &lt;property value='116,160,160,204' name='elbowsX'/&gt;",
-        "  &lt;property value='92,92,92,92' name='elbowsY'/&gt;",
-        "  &lt;property value='East_1' name='fromPort'/&gt;",
-        "  &lt;property value='West_1' name='toPort'/&gt;",
-        "  &lt;property value='success' name='label'/&gt;",
-        "&lt;/pageflow-object&gt;",
-        "&lt;pageflow-object id='formbean:jsFind.JsFind.TypeBean'/&gt;",
-        "&lt;pageflow-object id='formbeanprop:jsFind.JsFind.TypeBean#type#java.lang.String'/&gt;",
-        "&lt;pageflow-object id='action:postForm.do#jsFind.JsFind.TypeBean'&gt;",
-        "  &lt;property value='380' name='x'/&gt;",
-        "  &lt;property value='100' name='y'/&gt;",
-        "&lt;/pageflow-object&gt;",
-        "&lt;pageflow-object id='action-call:@page:index.jsp@#@action:postForm.do#jsFind.JsFind.TypeBean@'&gt;",
-        "  &lt;property value='276,310,310,344' name='elbowsX'/&gt;",
-        "  &lt;property value='92,92,92,92' name='elbowsY'/&gt;",
-        "  &lt;property value='East_1' name='fromPort'/&gt;",
-        "  &lt;property value='West_1' name='toPort'/&gt;",
-        "&lt;/pageflow-object&gt;",
-        "&lt;pageflow-object id='forward:path#success#index.jsp#@action:postForm.do#jsFind.JsFind.TypeBean@'&gt;",
-        "  &lt;property value='416,416,240,240' name='elbowsX'/&gt;",
-        "  &lt;property value='81,60,60,56' name='elbowsY'/&gt;",
-        "  &lt;property value='East_0' name='fromPort'/&gt;",
-        "  &lt;property value='North_1' name='toPort'/&gt;",
-        "  &lt;property value='success' name='label'/&gt;",
-        "&lt;/pageflow-object&gt;",
-        "&lt;/view-properties&gt;"
-    })
+@Jpf.Controller()
 public class JsFind extends PageFlowController
 {
     private Map options;
@@ -140,8 +55,6 @@
 
     /**
      * This method represents the point of entry into the pageflow
-     * @jpf:action
-     * @jpf:forward name="success" path="index.jsp"
      */
     @Jpf.Action(
         forwards = {
@@ -151,7 +64,7 @@
         })
     protected Forward begin()
     {
-        options = new HashMap();
+        options = new LinkedHashMap();
         options.put("value1","Foo Value");
         options.put("value2","Bar Value");
         options.put("value3","Baz Value");
@@ -159,11 +72,6 @@
         return new Forward("success");
     }
 
-    /**
-     * @jpf:action
-
-     * @jpf:forward name="success" path="index.jsp"
-     */
     @Jpf.Action(
         forwards = {
             @Jpf.Forward(

Modified: beehive/trunk/netui/test/webapps/drt/src/miniTests/binding/Controller.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/src/miniTests/binding/Controller.java?rev=666255&amp;r1=666254&amp;r2=666255&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/miniTests/binding/Controller.java (original)
+++ beehive/trunk/netui/test/webapps/drt/src/miniTests/binding/Controller.java Tue Jun 10
11:22:04 2008
@@ -26,6 +26,7 @@
 import org.apache.beehive.netui.pageflow.annotations.Jpf;
 
 import java.util.HashMap;
+import java.util.LinkedHashMap;
 
 @Jpf.Controller
 public class Controller extends PageFlowController
@@ -83,7 +84,7 @@
                 path = "Begin.jsp") 
         })
     protected Forward begin(){
-    _hashValues = new HashMap();
+    _hashValues = new LinkedHashMap();
     _hashValues.put("foo","bar");
     _hashValues.put("baz","blee");
     _hashValues.put("array",_values);

Modified: beehive/trunk/netui/test/webapps/drt/src/validation/declarativeValidation/Controller.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/src/validation/declarativeValidation/Controller.java?rev=666255&amp;r1=666254&amp;r2=666255&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/validation/declarativeValidation/Controller.java
(original)
+++ beehive/trunk/netui/test/webapps/drt/src/validation/declarativeValidation/Controller.java
Tue Jun 10 11:22:04 2008
@@ -5,7 +5,7 @@
 import org.apache.beehive.netui.pageflow.annotations.Jpf;
 
 import java.io.Serializable;
-import java.util.HashMap;
+import java.util.LinkedHashMap;
 import java.util.Map;
 
 @Jpf.Controller(
@@ -118,7 +118,7 @@
 
     public Map getActionChoices()
     {
-        HashMap ret = new HashMap();
+        Map ret = new LinkedHashMap();
         ret.put( "formLevelValidate", "form-level validation" );
         ret.put( "actionLevelValidate", "action-level validation" );
         ret.put( "classLevelValidate", "class-level validation" );

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughAction.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughAction.xml?rev=666255&amp;r1=666254&amp;r2=666255&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughAction.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughAction.xml Tue
Jun 10 11:22:04 2008
@@ -85,9 +85,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate" checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"
checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -297,9 +297,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate" checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"
checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -509,9 +509,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate" checked&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate"&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"
checked&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"&gt;&lt;span&gt;form-level
validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -773,9 +773,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate" checked&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate"&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"
checked&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"&gt;&lt;span&gt;form-level
validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughClass.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughClass.xml?rev=666255&amp;r1=666254&amp;r2=666255&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughClass.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughClass.xml Tue Jun
10 11:22:04 2008
@@ -85,9 +85,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate" checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"
checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -297,9 +297,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate" checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"
checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -509,9 +509,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate"&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"
checked&gt;&lt;span&gt;class-level validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"&gt;&lt;span&gt;form-level
validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -773,9 +773,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate"&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"
checked&gt;&lt;span&gt;class-level validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"&gt;&lt;span&gt;form-level
validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -1051,9 +1051,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate"&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"
checked&gt;&lt;span&gt;class-level validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"&gt;&lt;span&gt;form-level
validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughForm.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughForm.xml?rev=666255&amp;r1=666254&amp;r2=666255&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughForm.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/ValidateThroughForm.xml Tue Jun
10 11:22:04 2008
@@ -85,9 +85,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate" checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"
checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -297,9 +297,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate" checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"
checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -561,9 +561,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate" checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"
checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;
@@ -839,9 +839,9 @@
         
         Which type of validation?
         &lt;form action="/coreWeb/validation/declarativeValidation/begin.do" method="post"&gt;
-            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="actionLevelValidate"&gt;&lt;span&gt;action-level validation&lt;/span&gt;&lt;br&gt;
+            &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}"
value="formLevelValidate" checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
+&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="actionLevelValidate"&gt;&lt;span&gt;action-level
validation&lt;/span&gt;&lt;br&gt;
 &lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="classLevelValidate"&gt;&lt;span&gt;class-level
validation&lt;/span&gt;&lt;br&gt;
-&lt;input type="radio" name="wlw-radio_button_group_key:{pageFlow.selectedAction}" value="formLevelValidate"
checked&gt;&lt;span&gt;form-level validation&lt;/span&gt;&lt;br&gt;
 
             &lt;input type="submit" value="submit"&gt;
         &lt;/form&gt;




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r665719 - /beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/BaseHandler.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200806.mbox/%3c20080609151705.6FE9F23889FE@eris.apache.org%3e"/>
<id>urn:uuid:%3c20080609151705-6FE9F23889FE@eris-apache-org%3e</id>
<updated>2008-06-09T15:17:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Mon Jun  9 08:17:05 2008
New Revision: 665719

URL: http://svn.apache.org/viewvc?rev=665719&amp;view=rev
Log:
Fix for BEEHIVE-1220. Modified the BaseHandler.reinit() method to call the reinit() method
on the _previousHandler member if it is not null.

Tests: netui BVT (WinXP passed)


Modified:
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/BaseHandler.java

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/BaseHandler.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/BaseHandler.java?rev=665719&amp;r1=665718&amp;r2=665719&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/BaseHandler.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/BaseHandler.java
Mon Jun  9 08:17:05 2008
@@ -71,5 +71,8 @@
     public void reinit( ServletContext servletContext )
     {
         _servletContext = servletContext;
+        if (_previousHandler != null) {
+            _previousHandler.reinit(servletContext);
+        }
     }
 }




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r661404 - /beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urls/URLRewriterService.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200805.mbox/%3c20080529170241.995702388A26@eris.apache.org%3e"/>
<id>urn:uuid:%3c20080529170241-995702388A26@eris-apache-org%3e</id>
<updated>2008-05-29T17:02:41Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Thu May 29 10:02:41 2008
New Revision: 661404

URL: http://svn.apache.org/viewvc?rev=661404&amp;view=rev
Log:
Fix for BEEHIVE-1219. Modified the getURLRewriters() method to check for null before calling
the Collections.unmodifiableList() method.
Patch contributed by Poorna. Thanks!

Tests: netui BVT (WinXP passed)


Modified:
    beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urls/URLRewriterService.java

Modified: beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urls/URLRewriterService.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urls/URLRewriterService.java?rev=661404&amp;r1=661403&amp;r2=661404&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urls/URLRewriterService.java
(original)
+++ beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urls/URLRewriterService.java
Thu May 29 10:02:41 2008
@@ -166,7 +166,11 @@
      */
     public static List/*&lt; URLRewriter &gt;*/ getURLRewriters( ServletRequest request )
     {
-        return Collections.unmodifiableList( getRewriters( request ) );
+        List rewriters = getRewriters( request );
+        if ( rewriters != null ) {
+            rewriters = Collections.unmodifiableList( rewriters );
+        }
+        return rewriters;
     }
 
     /**




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r619708 - in /beehive/trunk/netui: src/tags-html/org/apache/beehive/netui/tags/html/ test/webapps/drt/testRecorder/tests/ test/webapps/drt/web/tags/formatTags/</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200802.mbox/%3c20080208003411.25CB51A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20080208003411-25CB51A9832@eris-apache-org%3e</id>
<updated>2008-02-08T00:34:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Thu Feb  7 16:34:08 2008
New Revision: 619708

URL: http://svn.apache.org/viewvc?rev=619708&amp;view=rev
Log:
Modified the formatNumber tag to use BigDecimal rather than double (fixes BEEHIVE-1216).
Also updated a test to cover the rounding error scenario noted in the bug. Patch contributed
by Poorna. Thanks!

Tests: netui BVT (WinXP passed)


Modified:
    beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatNumber.java
    beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberErrors.xml
    beehive/trunk/netui/test/webapps/drt/testRecorder/tests/FormatTags.xml
    beehive/trunk/netui/test/webapps/drt/web/tags/formatTags/Begin.jsp

Modified: beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatNumber.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatNumber.java?rev=619708&amp;r1=619707&amp;r2=619708&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatNumber.java
(original)
+++ beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/FormatNumber.java
Thu Feb  7 16:34:08 2008
@@ -18,15 +18,15 @@
  */
 package org.apache.beehive.netui.tags.html;
 
-import org.apache.beehive.netui.util.internal.InternalStringBuilder;
-
-import org.apache.beehive.netui.util.Bundle;
-
+import java.math.BigDecimal;
+import java.text.DecimalFormat;
+import java.util.Locale;
 import javax.servlet.jsp.JspException;
 import javax.servlet.jsp.tagext.JspTag;
 import javax.servlet.jsp.tagext.SimpleTagSupport;
-import java.text.DecimalFormat;
-import java.util.Locale;
+
+import org.apache.beehive.netui.util.Bundle;
+import org.apache.beehive.netui.util.internal.InternalStringBuilder;
 
 /**
  * A formatter used to format numbers.  This formatter uses patterns that conform to
@@ -245,11 +245,18 @@
                 return "";
             }
             try {
-                double number = Double.parseDouble(dataToFormat.toString());
+                BigDecimal number = new BigDecimal(dataToFormat.toString());
                 formattedString.append(numberFormat.format(number));
             }
             catch (Exception e) {
-                JspException jspException = new JspException(Bundle.getString("Tags_NumberFormatParseException",
e.getMessage()), e);
+                String msg = e.getMessage();
+                // If BigDecimal throws a NumberFormatException without
+                // a message, just provide the data being formatted.
+                if (msg == null) {
+                    msg = dataToFormat.toString();
+                }
+
+                JspException jspException = new JspException(Bundle.getString("Tags_NumberFormatParseException",
msg), e);
 
                 // The 2.5 Servlet api will set the initCause in the Throwable superclass
during construction,
                 // initCause() throws an IllegalStateException if the cause is already set.

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberErrors.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberErrors.xml?rev=619708&amp;r1=619707&amp;r2=619708&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberErrors.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/CtFormatNumberErrors.xml Thu Feb
 7 16:34:08 2008
@@ -86,7 +86,7 @@
  &lt;tr&gt;&lt;th colspan="6"&gt;Page Errors&lt;/th&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;th&gt;Error Number&lt;/th&gt;&lt;th&gt;Tag Type&lt;/th&gt;&lt;th colspan="4"&gt;Error&lt;/th&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;th&gt;1&lt;/th&gt;&lt;th&gt;FormatNumber&lt;/th&gt;&lt;th&gt;Message&lt;/th&gt;&lt;td&gt;Format
tags require a parent that is Formattable.&lt;/td&gt;&lt;/tr&gt;
-&lt;tr&gt;&lt;th&gt;2&lt;/th&gt;&lt;th&gt;Label&lt;/th&gt;&lt;th&gt;Message&lt;/th&gt;&lt;td&gt;FormatNumber
error parsing input: For input string: "bad.number"&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;th&gt;2&lt;/th&gt;&lt;th&gt;Label&lt;/th&gt;&lt;th&gt;Message&lt;/th&gt;&lt;td&gt;FormatNumber
error parsing input: bad.number&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;th&gt;3&lt;/th&gt;&lt;th&gt;Label&lt;/th&gt;&lt;th&gt;Message&lt;/th&gt;&lt;td&gt;FormatNumber
error applying pattern: Unquoted special character ';' in pattern ";##0.0#"&lt;/td&gt;&lt;/tr&gt;
 &lt;/table&gt;&lt;/div&gt;
 &lt;/body&gt;
@@ -103,4 +103,4 @@
    &lt;ses:testCount&gt;1&lt;/ses:testCount&gt;
    &lt;ses:passedCount&gt;0&lt;/ses:passedCount&gt;
    &lt;ses:failedCount&gt;1&lt;/ses:failedCount&gt;
-&lt;/ses:recorderSession&gt;
\ No newline at end of file
+&lt;/ses:recorderSession&gt;

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/FormatTags.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/FormatTags.xml?rev=619708&amp;r1=619707&amp;r2=619708&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/FormatTags.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/FormatTags.xml Thu Feb  7 16:34:08
2008
@@ -143,6 +143,16 @@
 Removed because this is not handled by the test recorder correctly
 &lt;/td&gt;&lt;/tr&gt;
 &lt;/table&gt;
+
+&lt;b&gt;BEEHIVE-1216: rounding... use BigDecimal instead of double&lt;/b&gt;
+&lt;table border="1" cellspacing="0"&gt;
+&lt;tr&gt;&lt;th&gt;large number: &amp;quot;999999999999999999.97&amp;quot;&lt;/th&gt;&lt;td&gt;
+&lt;span&gt;999,999,999,999,999,999.97&lt;/span&gt;
+&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;th&gt;large currency: &amp;quot;999999999999999999.97&amp;quot;&lt;/th&gt;&lt;td&gt;
+&lt;span&gt;$999,999,999,999,999,999.97&lt;/span&gt;
+&lt;/td&gt;&lt;/tr&gt;
+&lt;/table&gt;
 &lt;/body&gt;
 &lt;/html&gt;]]&gt;&lt;/responseBody&gt;
 

Modified: beehive/trunk/netui/test/webapps/drt/web/tags/formatTags/Begin.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/web/tags/formatTags/Begin.jsp?rev=619708&amp;r1=619707&amp;r2=619708&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/tags/formatTags/Begin.jsp (original)
+++ beehive/trunk/netui/test/webapps/drt/web/tags/formatTags/Begin.jsp Thu Feb  7 16:34:08
2008
@@ -110,5 +110,19 @@
 Removed because this is not handled by the test recorder correctly
 &lt;/td&gt;&lt;/tr&gt;
 &lt;/table&gt;
+
+&lt;b&gt;BEEHIVE-1216: rounding... use BigDecimal instead of double&lt;/b&gt;
+&lt;table border="1" cellspacing="0"&gt;
+&lt;tr&gt;&lt;th&gt;large number: &amp;quot;999999999999999999.97&amp;quot;&lt;/th&gt;&lt;td&gt;
+&lt;netui:span value="999999999999999999.97"&gt;
+     &lt;netui:formatNumber pattern="#,###.##" type="number"/&gt;
+&lt;/netui:span&gt;
+&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;th&gt;large currency: &amp;quot;999999999999999999.97&amp;quot;&lt;/th&gt;&lt;td&gt;
+&lt;netui:span value="999999999999999999.97"&gt;
+     &lt;netui:formatNumber language="EN" country = "US" type="currency"/&gt;
+&lt;/netui:span&gt;
+&lt;/td&gt;&lt;/tr&gt;
+&lt;/table&gt;
 &lt;/body&gt;
 &lt;/html&gt;




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r611705 - in /beehive/site: src/documentation/content/xdocs/site.xml www/contributors.html www/documentation.html www/downloads.html www/faq.html www/index.html www/license.html www/linkmap.html www/mailinglists.html www/skin/screen.css</title>
<author><name>ekoneil@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200801.mbox/%3c20080114040628.2AC7B1A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20080114040628-2AC7B1A9832@eris-apache-org%3e</id>
<updated>2008-01-14T04:06:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: ekoneil
Date: Sun Jan 13 20:06:26 2008
New Revision: 611705

URL: http://svn.apache.org/viewvc?rev=611705&amp;view=rev
Log:
Add Sponsorship link to the Beehive website.



Modified:
    beehive/site/src/documentation/content/xdocs/site.xml
    beehive/site/www/contributors.html
    beehive/site/www/documentation.html
    beehive/site/www/downloads.html
    beehive/site/www/faq.html
    beehive/site/www/index.html
    beehive/site/www/license.html
    beehive/site/www/linkmap.html
    beehive/site/www/mailinglists.html
    beehive/site/www/skin/screen.css

Modified: beehive/site/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/beehive/site/src/documentation/content/xdocs/site.xml?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/src/documentation/content/xdocs/site.xml (original)
+++ beehive/site/src/documentation/content/xdocs/site.xml Sun Jan 13 20:06:26 2008
@@ -8,6 +8,7 @@
         &lt;mailinglists label="Mailing Lists" href="mailinglists.html"/&gt;
         &lt;whoweare label="Who We Are" href="contributors.html"/&gt;
         &lt;faq label="FAQ" href="faq.html"/&gt;
+        &lt;sponsorship label="Sponsorship" href="http://www.apache.org/foundation/sponsorship.html"/&gt;
     &lt;/about&gt;
     &lt;docs label="Documentation" tab="welcome"&gt;
         &lt;release-v102 href="ext:beehive/docs/v102/" label="1.0.2"/&gt;

Modified: beehive/site/www/contributors.html
URL: http://svn.apache.org/viewvc/beehive/site/www/contributors.html?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/www/contributors.html (original)
+++ beehive/site/www/contributors.html Sun Jan 13 20:06:26 2008
@@ -77,6 +77,9 @@
 &lt;div class="menuitem"&gt;
 &lt;a href="faq.html"&gt;FAQ&lt;/a&gt;
 &lt;/div&gt;
+&lt;div class="menuitem"&gt;
+&lt;a href="http://www.apache.org/foundation/sponsorship.html"&gt;Sponsorship&lt;/a&gt;
+&lt;/div&gt;
 &lt;/div&gt;
 &lt;div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle"&gt;Documentation&lt;/div&gt;
 &lt;div id="menu_1.2" class="menuitemgroup"&gt;

Modified: beehive/site/www/documentation.html
URL: http://svn.apache.org/viewvc/beehive/site/www/documentation.html?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/www/documentation.html (original)
+++ beehive/site/www/documentation.html Sun Jan 13 20:06:26 2008
@@ -77,6 +77,9 @@
 &lt;div class="menuitem"&gt;
 &lt;a href="faq.html"&gt;FAQ&lt;/a&gt;
 &lt;/div&gt;
+&lt;div class="menuitem"&gt;
+&lt;a href="http://www.apache.org/foundation/sponsorship.html"&gt;Sponsorship&lt;/a&gt;
+&lt;/div&gt;
 &lt;/div&gt;
 &lt;div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle"&gt;Documentation&lt;/div&gt;
 &lt;div id="menu_1.2" class="menuitemgroup"&gt;

Modified: beehive/site/www/downloads.html
URL: http://svn.apache.org/viewvc/beehive/site/www/downloads.html?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/www/downloads.html (original)
+++ beehive/site/www/downloads.html Sun Jan 13 20:06:26 2008
@@ -77,6 +77,9 @@
 &lt;div class="menuitem"&gt;
 &lt;a href="faq.html"&gt;FAQ&lt;/a&gt;
 &lt;/div&gt;
+&lt;div class="menuitem"&gt;
+&lt;a href="http://www.apache.org/foundation/sponsorship.html"&gt;Sponsorship&lt;/a&gt;
+&lt;/div&gt;
 &lt;/div&gt;
 &lt;div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle"&gt;Documentation&lt;/div&gt;
 &lt;div id="menu_1.2" class="menuitemgroup"&gt;

Modified: beehive/site/www/faq.html
URL: http://svn.apache.org/viewvc/beehive/site/www/faq.html?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/www/faq.html (original)
+++ beehive/site/www/faq.html Sun Jan 13 20:06:26 2008
@@ -77,6 +77,9 @@
 &lt;div class="menupage"&gt;
 &lt;div class="menupagetitle"&gt;FAQ&lt;/div&gt;
 &lt;/div&gt;
+&lt;div class="menuitem"&gt;
+&lt;a href="http://www.apache.org/foundation/sponsorship.html"&gt;Sponsorship&lt;/a&gt;
+&lt;/div&gt;
 &lt;/div&gt;
 &lt;div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle"&gt;Documentation&lt;/div&gt;
 &lt;div id="menu_1.2" class="menuitemgroup"&gt;

Modified: beehive/site/www/index.html
URL: http://svn.apache.org/viewvc/beehive/site/www/index.html?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/www/index.html (original)
+++ beehive/site/www/index.html Sun Jan 13 20:06:26 2008
@@ -77,6 +77,9 @@
 &lt;div class="menuitem"&gt;
 &lt;a href="faq.html"&gt;FAQ&lt;/a&gt;
 &lt;/div&gt;
+&lt;div class="menuitem"&gt;
+&lt;a href="http://www.apache.org/foundation/sponsorship.html"&gt;Sponsorship&lt;/a&gt;
+&lt;/div&gt;
 &lt;/div&gt;
 &lt;div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle"&gt;Documentation&lt;/div&gt;
 &lt;div id="menu_1.2" class="menuitemgroup"&gt;

Modified: beehive/site/www/license.html
URL: http://svn.apache.org/viewvc/beehive/site/www/license.html?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/www/license.html (original)
+++ beehive/site/www/license.html Sun Jan 13 20:06:26 2008
@@ -77,6 +77,9 @@
 &lt;div class="menuitem"&gt;
 &lt;a href="faq.html"&gt;FAQ&lt;/a&gt;
 &lt;/div&gt;
+&lt;div class="menuitem"&gt;
+&lt;a href="http://www.apache.org/foundation/sponsorship.html"&gt;Sponsorship&lt;/a&gt;
+&lt;/div&gt;
 &lt;/div&gt;
 &lt;div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle"&gt;Documentation&lt;/div&gt;
 &lt;div id="menu_1.2" class="menuitemgroup"&gt;

Modified: beehive/site/www/linkmap.html
URL: http://svn.apache.org/viewvc/beehive/site/www/linkmap.html?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/www/linkmap.html (original)
+++ beehive/site/www/linkmap.html Sun Jan 13 20:06:26 2008
@@ -77,6 +77,9 @@
 &lt;div class="menuitem"&gt;
 &lt;a href="faq.html"&gt;FAQ&lt;/a&gt;
 &lt;/div&gt;
+&lt;div class="menuitem"&gt;
+&lt;a href="http://www.apache.org/foundation/sponsorship.html"&gt;Sponsorship&lt;/a&gt;
+&lt;/div&gt;
 &lt;/div&gt;
 &lt;div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle"&gt;Documentation&lt;/div&gt;
 &lt;div id="menu_1.2" class="menuitemgroup"&gt;
@@ -170,6 +173,12 @@
 &lt;ul&gt;
 &lt;li&gt;
 &lt;a href="faq.html"&gt;FAQ&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_________________________&amp;nbsp;&amp;nbsp;&lt;em&gt;faq&lt;/em&gt;
+&lt;/li&gt;
+&lt;/ul&gt;
+        
+&lt;ul&gt;
+&lt;li&gt;
+&lt;a href="http://www.apache.org/foundation/sponsorship.html"&gt;Sponsorship&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;_________________________&amp;nbsp;&amp;nbsp;&lt;em&gt;sponsorship&lt;/em&gt;
 &lt;/li&gt;
 &lt;/ul&gt;
     

Modified: beehive/site/www/mailinglists.html
URL: http://svn.apache.org/viewvc/beehive/site/www/mailinglists.html?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/www/mailinglists.html (original)
+++ beehive/site/www/mailinglists.html Sun Jan 13 20:06:26 2008
@@ -77,6 +77,9 @@
 &lt;div class="menuitem"&gt;
 &lt;a href="faq.html"&gt;FAQ&lt;/a&gt;
 &lt;/div&gt;
+&lt;div class="menuitem"&gt;
+&lt;a href="http://www.apache.org/foundation/sponsorship.html"&gt;Sponsorship&lt;/a&gt;
+&lt;/div&gt;
 &lt;/div&gt;
 &lt;div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle"&gt;Documentation&lt;/div&gt;
 &lt;div id="menu_1.2" class="menuitemgroup"&gt;

Modified: beehive/site/www/skin/screen.css
URL: http://svn.apache.org/viewvc/beehive/site/www/skin/screen.css?rev=611705&amp;r1=611704&amp;r2=611705&amp;view=diff
==============================================================================
--- beehive/site/www/skin/screen.css (original)
+++ beehive/site/www/skin/screen.css Sun Jan 13 20:06:26 2008
@@ -547,4 +547,4 @@
   list-style-image: url('../images/instruction_arrow.png');
   list-style-position: outside;
   margin-left: 2em;
-} 
+} 
\ No newline at end of file




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r611336 - in /beehive/trunk/netui: src/pageflow/org/apache/beehive/netui/pageflow/ src/pageflow/org/apache/beehive/netui/pageflow/internal/ test/webapps/drt/src/controls/pfbeancontext/</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200801.mbox/%3c20080112001823.1EA731A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20080112001823-1EA731A9832@eris-apache-org%3e</id>
<updated>2008-01-12T00:18:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Fri Jan 11 16:18:14 2008
New Revision: 611336

URL: http://svn.apache.org/viewvc?rev=611336&amp;view=rev
Log:
Fixes Page Flow + Controls integration issue so that the Control container is initialized
correctly for the page flow's onDestroy() method when navigating away from one page flow to
another page flow. BEEHIVE-1094.

Tests: BVT and controlsWeb in NetUI (passed on WinXP)

Added:
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/SessionBindingEvent.java
  (with props)
Modified:
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowManagedObject.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowStack.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/RequestContext.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultActionForwardHandler.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java
    beehive/trunk/netui/test/webapps/drt/src/controls/pfbeancontext/PageFlowBeanContextController.java

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowController.java
Fri Jan 11 16:18:14 2008
@@ -601,13 +601,21 @@
     }
 
     /**
+     * @deprecated {@link FlowController#destroy(RequestContext, HttpSession)} should be
used instead.
+     */
+    void destroy(HttpSession session)
+    {
+        destroy(null, session);
+    }
+
+    /**
      * Internal destroy method that is invoked when this object is being removed from the
session.  This is a
      * framework-invoked method; it should not normally be called directly.
      */
-    void destroy( HttpSession session )
+    void destroy(RequestContext requestContext, HttpSession session)
     {
         onDestroy();    // for backwards compatiblity
-        super.destroy( session );
+        super.destroy(requestContext, session);
 
         //
         // We may have lost our transient ServletContext reference.  Try to get the ServletContext
reference from the

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
Fri Jan 11 16:18:14 2008
@@ -269,7 +269,7 @@
 
             if ( options == null || ! options.isEnableSelfNesting() )
             {
-                PageFlowController existing = pfStack.popUntil(request, pageFlowClass, true);
+                PageFlowController existing = pfStack.popUntil(request, response, pageFlowClass,
true);
 
                 if (existing != null) {
                     existing.persistInSession(request, response);
@@ -362,7 +362,7 @@
                 // If (2), we'll use that one (this means that executing an action on a nesting
page flow
                 // while in a nested one will not destroy the nesting page flow only to create
a new instance of it).
                 //
-                PageFlowController onStackAlready = pfStack.popUntil( request, retVal.getClass(),
false );
+                PageFlowController onStackAlready = pfStack.popUntil(request, response, retVal.getClass(),
false);
 
                 if ( onStackAlready != null )
                 {

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java
Fri Jan 11 16:18:14 2008
@@ -231,7 +231,7 @@
         {
             synchronized ( currentPageFlow )
             {
-                InternalUtils.setCurrentPageFlow( this, request, getServletContext() );
+                InternalUtils.setCurrentPageFlow( this, request, response, getServletContext()
);
             }
         }
         //
@@ -239,7 +239,7 @@
         //
         else
         {
-            InternalUtils.setCurrentPageFlow( this, request, getServletContext() );
+            InternalUtils.setCurrentPageFlow( this, request, response, getServletContext()
);
         }
     }
 
@@ -1103,4 +1103,4 @@
     void setReturnActionViewRenderer(ViewRenderer returnActionViewRenderer) {
         _returnActionViewRenderer = returnActionViewRenderer;
     }
-}
\ No newline at end of file
+}

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowManagedObject.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowManagedObject.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowManagedObject.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowManagedObject.java
Fri Jan 11 16:18:14 2008
@@ -18,18 +18,19 @@
  */
 package org.apache.beehive.netui.pageflow;
 
-import org.apache.beehive.netui.pageflow.internal.JavaControlUtils;
-import org.apache.beehive.netui.pageflow.handler.Handlers;
-import org.apache.beehive.netui.util.logging.Logger;
-
-import javax.servlet.http.HttpSessionBindingListener;
+import java.io.Serializable;
+import java.lang.reflect.Field;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 import javax.servlet.http.HttpSession;
 import javax.servlet.http.HttpSessionBindingEvent;
+import javax.servlet.http.HttpSessionBindingListener;
 import javax.servlet.ServletContext;
-import java.io.Serializable;
-import java.lang.reflect.Field;
+
+import org.apache.beehive.netui.pageflow.handler.Handlers;
+import org.apache.beehive.netui.pageflow.internal.JavaControlUtils;
+import org.apache.beehive.netui.pageflow.internal.SessionBindingEvent;
+import org.apache.beehive.netui.util.logging.Logger;
 
 /**
  * Base class for Page Flow managed objects (like page flows and JavaServer Faces backing
beans).
@@ -96,12 +97,35 @@
     }
 
     /**
+     * @deprecated {@link PageFlowManagedObject#destroy(RequestContext, HttpSession)} should
be used instead.
+     */
+    void destroy( HttpSession session )
+    {
+        destroy(null, session);
+    }
+
+    /**
      * Internal destroy method that is invoked when this object is being removed from the
session.  This is a
      * framework-invoked method; it should not normally be called directly.
      */ 
-    void destroy( HttpSession session )
+    void destroy(RequestContext requestContext, HttpSession session)
     {
-        onDestroy( session );
+        if (requestContext != null) {
+            HttpServletRequest request = requestContext.getHttpRequest();
+            HttpServletResponse response = requestContext.getHttpResponse();
+            PageFlowControlContainer pfcc = PageFlowControlContainerFactory.getControlContainer(request,
session.getServletContext());
+            pfcc.beginContextOnPageFlow(this, request, response, session.getServletContext());
+            try {
+                onDestroy(session);
+            }
+            finally {
+                pfcc.endContextOnPageFlow(this);
+            }
+        }
+        else {
+            onDestroy(session);
+        }
+
         JavaControlUtils.uninitJavaControls( session.getServletContext(), this );
     }
     
@@ -151,7 +175,12 @@
         {
             if ( !_isDestroyed &amp;&amp; Handlers.get( servletContext ).getStorageHandler().allowBindingEvent(
event ) )
             {
-                destroy( session );
+                RequestContext requestContext = null;
+                if (event instanceof SessionBindingEvent)
+                {
+                    requestContext = ((SessionBindingEvent) event).getRequestContext();
+                }
+                destroy(requestContext, session);
                 _isDestroyed = true;
             }
         }

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowStack.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowStack.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowStack.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowStack.java
Fri Jan 11 16:18:14 2008
@@ -18,26 +18,24 @@
  */
 package org.apache.beehive.netui.pageflow;
 
-import org.apache.beehive.netui.util.logging.Logger;
-import org.apache.beehive.netui.util.internal.InternalStringBuilder;
-import org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils;
-import org.apache.beehive.netui.pageflow.internal.InternalConstants;
-import org.apache.beehive.netui.pageflow.internal.InternalUtils;
-import org.apache.beehive.netui.pageflow.interceptor.action.InterceptorForward;
-import org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor;
-import org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptorContext;
+import java.io.Serializable;
+import java.util.Stack;
+import javax.servlet.ServletContext;
+import javax.servlet.http.*;
+
 import org.apache.beehive.netui.pageflow.handler.Handlers;
 import org.apache.beehive.netui.pageflow.handler.StorageHandler;
+import org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor;
+import org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptorContext;
+import org.apache.beehive.netui.pageflow.interceptor.action.InterceptorForward;
+import org.apache.beehive.netui.pageflow.internal.InternalConstants;
+import org.apache.beehive.netui.pageflow.internal.InternalUtils;
+import org.apache.beehive.netui.pageflow.internal.SessionBindingEvent;
+import org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils;
+import org.apache.beehive.netui.util.internal.InternalStringBuilder;
+import org.apache.beehive.netui.util.logging.Logger;
 import org.apache.struts.config.ModuleConfig;
 
-import javax.servlet.http.HttpSessionBindingListener;
-import javax.servlet.http.HttpSessionBindingEvent;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpSession;
-import javax.servlet.ServletContext;
-import java.util.Stack;
-import java.io.Serializable;
-
 /**
  * &lt;p&gt;
  * Stack for keeping track of a series of nested page flows.  When a nested page flow is
entered,
@@ -46,7 +44,8 @@
  * &lt;p&gt;
  * This Stack implements the {@link HttpSessionBindingListener} which will receive a callback
when
  * this is removed from the {@link HttpSession}.  At this time, any PageFlowController instances
stored
- * on the stack will be destroyed using the {@link PageFlowManagedObject#destroy(javax.servlet.http.HttpSession)}
+ * on the stack will be destroyed using the
+ * {@link PageFlowManagedObject#destroy(RequestContext, HttpSession)}
  * lifecycle method.
  * &lt;/p&gt;
  */ 
@@ -197,7 +196,7 @@
      * @return the last popped page flow if one of the given type was found, or &lt;code&gt;null&lt;/code&gt;
      *         if none was found.
      */ 
-    PageFlowController popUntil( HttpServletRequest request, Class stopAt, boolean onlyIfPresent
)
+    PageFlowController popUntil(HttpServletRequest request, HttpServletResponse response,
Class stopAt, boolean onlyIfPresent )
     {
         if (onlyIfPresent &amp;&amp; lastIndexOf(stopAt) == -1) {
             return null;
@@ -220,7 +219,9 @@
                 //
                 // We're discarding the popped page flow.  Invoke its destroy() callback,
unless it's longLived.
                 //
-                if ( ! popped.isLongLived() ) popped.destroy( request.getSession( false )
);
+                HttpServletRequest unwrappedRequest = PageFlowUtils.unwrapMultipart(request);
+                RequestContext rc = new RequestContext(unwrappedRequest, response);
+                if (!popped.isLongLived()) popped.destroy(rc, request.getSession(false));
             }
         }
 
@@ -373,8 +374,14 @@
             // to be lost.  Rehydrate it.
             HttpSession session = event.getSession();
             if ( session != null ) jpf.reinitialize( null, null, session.getServletContext()
);
-            
-            if ( ! jpf.isLongLived() ) jpf.destroy( event.getSession() );
+
+            if (! jpf.isLongLived()) {
+                RequestContext rc = null;
+                if (event instanceof SessionBindingEvent) {
+                    rc = ((SessionBindingEvent) event).getRequestContext();
+                }
+                jpf.destroy(rc, event.getSession());
+            }
         }
     }
     

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/RequestContext.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/RequestContext.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/RequestContext.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/RequestContext.java
Fri Jan 11 16:18:14 2008
@@ -55,7 +55,9 @@
     
     HttpServletResponse getHttpResponse()
     {
-        assert _response instanceof HttpServletResponse : "HttpServletResponse is currently
required";
+        if (_response != null) {
+            assert _response instanceof HttpServletResponse : "HttpServletResponse is currently
required";
+        }
         return ( HttpServletResponse ) _response;
     }
 }

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultActionForwardHandler.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultActionForwardHandler.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultActionForwardHandler.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultActionForwardHandler.java
Fri Jan 11 16:18:14 2008
@@ -533,8 +533,7 @@
             _log.debug( "Popped PageFlowController " + poppedPageFlow + " from the nesting
stack" );
         }
 
-        InternalUtils.setCurrentPageFlow( poppedPageFlow, request, getServletContext() );
-
+        InternalUtils.setCurrentPageFlow(poppedPageFlow, request, response, getServletContext());
                 
         //
         // If an ActionInterceptor forwarded to the nested page flow, give it a chance to
change the URI as the nested

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DeferredSessionStorageHandler.java
Fri Jan 11 16:18:14 2008
@@ -70,20 +70,6 @@
         init( null, null, servletContext );
     }
 
-    private static final class SessionBindingEvent
-        extends HttpSessionBindingEvent
-    {
-        public SessionBindingEvent( HttpSession httpSession, String attrName )
-        {
-            super( httpSession, attrName );
-        }
-
-        public SessionBindingEvent( HttpSession httpSession, String attrName, Object attrVal
)
-        {
-            super( httpSession, attrName, attrVal );
-        }
-    }
-
     public void setAttribute( RequestContext context, String attrName, Object value )
     {
         if (_log.isTraceEnabled()) {
@@ -106,7 +92,7 @@
         //
         if ( currentValue != null &amp;&amp; currentValue != value &amp;&amp; currentValue
instanceof HttpSessionBindingListener )
         {
-            HttpSessionBindingEvent event = new SessionBindingEvent( session, attrName, currentValue
);
+            HttpSessionBindingEvent event = new SessionBindingEvent( context, session, attrName,
currentValue );
             ( ( HttpSessionBindingListener ) currentValue ).valueUnbound( event );
         }
 
@@ -137,7 +123,7 @@
         //
         if ( currentValue != null &amp;&amp; currentValue instanceof HttpSessionBindingListener
)
         {
-            HttpSessionBindingEvent event = new SessionBindingEvent( request.getSession(),
attrName, currentValue );
+            HttpSessionBindingEvent event = new SessionBindingEvent( context, request.getSession(),
attrName, currentValue );
             ( ( HttpSessionBindingListener ) currentValue ).valueUnbound( event );
         }
 
@@ -229,7 +215,7 @@
                         // In order to maintain the single-threaded semantics of PFMO destruction,
it's necessary
                         // to synchronize on PFMO objects here.
                         //
-                        HttpSessionBindingEvent event = new SessionBindingEvent(session,
attrName, currSessValue);
+                        HttpSessionBindingEvent event = new SessionBindingEvent(context,
session, attrName, currSessValue);
                         synchronized(currSessValue) {
                             ((HttpSessionBindingListener)currSessValue).valueUnbound(event);
                         }
@@ -416,4 +402,4 @@
 
         return map;
     }
-}
\ No newline at end of file
+}

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java
Fri Jan 11 16:18:14 2008
@@ -339,10 +339,69 @@
         return LONGLIVED_PAGEFLOWS_ATTR_PREFIX + modulePath;
     }
 
+    /**
+     * Set the current {@link PageFlowController} in the user session.
+     *
+     * @param jpf the {@link PageFlowController} to set as the current one in the user session.
+     * @param request
+     * @deprecated Should use {@link #setCurrentPageFlow(PageFlowController, HttpServletRequest,
HttpServletResponse, ServletContext)}.
+     */
     public static void setCurrentPageFlow( PageFlowController jpf, HttpServletRequest request,
                                            ServletContext servletContext )
     {
-        setCurrentActionResolver( jpf, request, servletContext );
+        setCurrentPageFlow( jpf, request, null, servletContext );
+    }
+
+    /**
+     * Set the current {@link PageFlowController} in the user session.
+     *
+     * @param jpf     the {@link PageFlowController} to set as the current one in the user
session.
+     * @param request
+     * @param response
+     * @param servletContext
+     */
+    public static void setCurrentPageFlow(PageFlowController jpf, HttpServletRequest request,
+                                          HttpServletResponse response, ServletContext servletContext)
{
+        StorageHandler sh = Handlers.get(servletContext).getStorageHandler();
+        HttpServletRequest unwrappedRequest = PageFlowUtils.unwrapMultipart(request);
+        RequestContext rc = new RequestContext(unwrappedRequest, response);
+        String currentJpfAttrName =
+                ScopedServletUtils.getScopedSessionAttrName(CURRENT_JPF_ATTR, unwrappedRequest);
+        String currentLongLivedJpfAttrName =
+                ScopedServletUtils.getScopedSessionAttrName(CURRENT_LONGLIVED_ATTR, unwrappedRequest);
+
+        //
+        // This case occurs when the previous page flow is no longer active and there is
no new page flow
+        //
+        if (jpf == null) {
+            sh.removeAttribute(rc, currentJpfAttrName);
+            sh.removeAttribute(rc, currentLongLivedJpfAttrName);
+            return;
+        }
+
+        //
+        // If this is a long-lived page flow, also store the instance in an attribute that
never goes away.
+        //
+        if (jpf.isPageFlow() &amp;&amp; isLongLived(jpf.theModuleConfig())) {
+            String longLivedAttrName = getLongLivedFlowAttr(jpf.getModulePath());
+            longLivedAttrName = ScopedServletUtils.getScopedSessionAttrName(longLivedAttrName,
unwrappedRequest);
+
+            // Only set this attribute if it's not already there.  We want to avoid our onDestroy()
callback that's
+            // invoked when the page flow's session attribute is unbound.
+            if (sh.getAttribute(rc, longLivedAttrName) != jpf) {
+                sh.setAttribute(rc, longLivedAttrName, jpf);
+            }
+
+            sh.setAttribute(rc, currentLongLivedJpfAttrName, jpf.getModulePath());
+            sh.removeAttribute(rc, currentJpfAttrName);
+        }
+        //
+        // Default case for removing a previous page flow in the presence of a new page flow.
+        //
+        else {
+            sh.setAttribute(rc, currentJpfAttrName, jpf);
+            sh.removeAttribute(rc, currentLongLivedJpfAttrName);
+        }
     }
 
     public static void removeCurrentPageFlow( HttpServletRequest request, ServletContext
servletContext )
@@ -689,7 +748,7 @@
      * Set the current {@link ActionResolver} (or {@link PageFlowController}) in the user
session.
      *
      * @param resolver the {@link ActionResolver} to set as the current one in the user session.
-     * @deprecated Will be removed in the next version.
+     * @deprecated Will be removed in the next version. See {@link #setCurrentPageFlow(PageFlowController,
HttpServletRequest, HttpServletResponse, ServletContext)}.
      */
     public static void setCurrentActionResolver( ActionResolver resolver, HttpServletRequest
request,
                                                  ServletContext servletContext )

Added: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/SessionBindingEvent.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/SessionBindingEvent.java?rev=611336&amp;view=auto
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/SessionBindingEvent.java
(added)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/SessionBindingEvent.java
Fri Jan 11 16:18:14 2008
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package org.apache.beehive.netui.pageflow.internal;
+
+import javax.servlet.http.HttpSession;
+import javax.servlet.http.HttpSessionBindingEvent;
+
+import org.apache.beehive.netui.pageflow.RequestContext;
+
+public final class SessionBindingEvent extends HttpSessionBindingEvent
+{
+    RequestContext _requestContext;
+
+    public SessionBindingEvent( HttpSession httpSession, String attrName )
+    {
+        super( httpSession, attrName );
+    }
+
+    public SessionBindingEvent( HttpSession httpSession, String attrName, Object attrVal
)
+    {
+        super( httpSession, attrName, attrVal );
+    }
+    
+    public SessionBindingEvent( RequestContext context, HttpSession httpSession, String attrName,
Object attrVal )
+    {
+        this( httpSession, attrName, attrVal );
+        _requestContext = context;
+    }
+        
+    public RequestContext getRequestContext()
+    {
+        return _requestContext;
+    }
+}
+

Propchange: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/SessionBindingEvent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/netui/test/webapps/drt/src/controls/pfbeancontext/PageFlowBeanContextController.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/src/controls/pfbeancontext/PageFlowBeanContextController.java?rev=611336&amp;r1=611335&amp;r2=611336&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/controls/pfbeancontext/PageFlowBeanContextController.java
(original)
+++ beehive/trunk/netui/test/webapps/drt/src/controls/pfbeancontext/PageFlowBeanContextController.java
Fri Jan 11 16:18:14 2008
@@ -59,9 +59,28 @@
     }
 
     protected void onDestroy(HttpSession httpSession) {
-        // This check is disabled because of a bug in JPF + Controls integration where the
Page Flow
-        // runtime doesn't "beginContext" on a ControlContainerContext during JPF destruction.

-        // check();
+        // The check() routine can still fail in JPF + Controls
+        // integration because the Page Flow runtime can't do a
+        // "beginContext" on a ControlContainerContext during
+        // JPF destruction.
+        // This only occurs on a Session time out, when there is
+        // no request instance for valid contextual services for
+        // a control in a page flow.
+        if (!sessionExpired(httpSession)) {
+            check();
+        }
+    }
+
+    private boolean sessionExpired(HttpSession session) {
+        boolean result = false;
+        try {
+            // this call will throw IllegalStateException
+            // on an invalidated session
+            session.getLastAccessedTime();
+        } catch (IllegalStateException e) {
+            result = true;
+        }
+        return result;
     }
 
     private boolean check() {




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r611318 - in /beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow: FlowControllerFactory.java PageFlowController.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200801.mbox/%3c20080111221317.4E7D91A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20080111221317-4E7D91A9832@eris-apache-org%3e</id>
<updated>2008-01-11T22:13:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Fri Jan 11 14:13:15 2008
New Revision: 611318

URL: http://svn.apache.org/viewvc?rev=611318&amp;view=rev
Log:
Fix for BEEHIVE-1214. Changed the nested page flow creation to persist the page flow in the
session and then intialize it (including the controls, so that the PageFlowController @Context
member fields in controls are initialized correctly).

tests: bvt in netui (WinXP)

Modified:
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java?rev=611318&amp;r1=611317&amp;r2=611318&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
Fri Jan 11 14:13:15 2008
@@ -34,9 +34,11 @@
 import org.apache.beehive.netui.util.config.bean.PageFlowFactoriesConfig;
 import org.apache.beehive.netui.util.config.bean.PageFlowConfig;
 import org.apache.beehive.netui.util.config.bean.SharedFlowRefConfig;
+import org.apache.beehive.netui.util.internal.DiscoveryUtils;
 import org.apache.beehive.netui.pageflow.internal.InternalUtils;
 import org.apache.beehive.netui.pageflow.internal.InternalConstants;
 import org.apache.beehive.netui.pageflow.internal.PageFlowRequestWrapper;
+import org.apache.beehive.netui.pageflow.internal.ViewRenderer;
 import org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig;
 import org.apache.beehive.netui.pageflow.handler.ReloadableClassHandler;
 import org.apache.beehive.netui.pageflow.handler.Handlers;
@@ -300,14 +302,23 @@
         //
         if ( isNestable )
         {
-            //
-            // Call create() on the newly-created page flow.  Note, the PageFlowController
is responsible for
-            // driving the appropriate Control lifecycle.
-            //
-            if ( createdNew )
-                retVal.create( request, response, servletContext );
-
-            PageFlowController current = PageFlowUtils.getCurrentPageFlow( request, getServletContext()
);
+            // Initialize a ViewRenderer for exiting the nested page flow.
+            // This is used (currently) as part of popup window support --
+            // when exiting a popup nested page flow, a special view renderer
+            // writes out javascript that maps output values to the original
+            // window and closes the popup window.
+            PageFlowController current = PageFlowUtils.getCurrentPageFlow(request, getServletContext());
+            String vrClassName = request.getParameter(InternalConstants.RETURN_ACTION_VIEW_RENDERER_PARAM);
+
+            if (vrClassName != null) {
+                ViewRenderer vr =
+                        (ViewRenderer) DiscoveryUtils.newImplementorInstance(vrClassName,
ViewRenderer.class);
+
+                if (vr != null &amp;&amp; current != null) {
+                    vr.init(request);
+                    current.setReturnActionViewRenderer(vr);
+                }
+            }
 
             if ( current != null )
             {
@@ -321,6 +332,15 @@
 
             retVal.reinitialize( request, response, servletContext );
             retVal.persistInSession( request, response );
+
+            //
+            // Call create() on the newly-created page flow.  Note, the
+            // PageFlowController is responsible for
+            // driving the appropriate Control lifecycle.
+            //
+            if (createdNew) {
+                retVal.create(request, response, servletContext);
+            }
         }
         //
         // New page flow is not nestable; behave accordingly

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java?rev=611318&amp;r1=611317&amp;r2=611318&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowController.java
Fri Jan 11 14:13:15 2008
@@ -409,28 +409,6 @@
     {
         reinitialize( request, response, servletContext );
         initializeSharedFlowFields( request );
-
-        if ( isNestable() )
-        {
-            // Initialize a ViewRenderer for exiting the nested page flow.  This is used
(currently) as part of popup
-            // window support -- when exiting a popup nested page flow, a special view renderer
writes out javascript
-            // that maps output values to the original window and closes the popup window.
-            String vrClassName = request.getParameter( InternalConstants.RETURN_ACTION_VIEW_RENDERER_PARAM
);
-
-            if ( vrClassName != null )
-            {
-                ViewRenderer vr =
-                        ( ViewRenderer ) DiscoveryUtils.newImplementorInstance( vrClassName,
ViewRenderer.class );
-
-                if ( vr != null )
-                {
-                    vr.init( request );
-                    PageFlowController nestingPageFlow = PageFlowUtils.getCurrentPageFlow(request,
servletContext);
-                    nestingPageFlow.setReturnActionViewRenderer(vr);
-                }
-            }
-        }
-
         super.create( request, response, servletContext );
     }
 
@@ -1122,7 +1100,7 @@
         return _returnActionViewRenderer;
     }
 
-    private void setReturnActionViewRenderer(ViewRenderer returnActionViewRenderer) {
+    void setReturnActionViewRenderer(ViewRenderer returnActionViewRenderer) {
         _returnActionViewRenderer = returnActionViewRenderer;
     }
 }




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r604080 - /beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowUtils.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200712.mbox/%3c20071214014639.CD0901A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20071214014639-CD0901A9832@eris-apache-org%3e</id>
<updated>2007-12-14T01:46:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Thu Dec 13 17:46:37 2007
New Revision: 604080

URL: http://svn.apache.org/viewvc?rev=604080&amp;view=rev
Log:
Overload PageFlowUtils.strutsLookup() to provide an option to set whether processPopulate()
routine has already been called (BEEHIVE-1212)

Tests: netui BVT (WinXP passed)


Modified:
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowUtils.java

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowUtils.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowUtils.java?rev=604080&amp;r1=604079&amp;r2=604080&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowUtils.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowUtils.java
Thu Dec 13 17:46:37 2007
@@ -1105,12 +1105,35 @@
         ExpressionMessage msg = new ExpressionMessage( expression, messageArgs );
         InternalUtils.addActionError( propertyName, msg, request );
     }
-    
+
     /**
      * Resolve the given action to a URI by running an entire request-processing cycle on
the given ScopedRequest
      * and ScopedResponse.
      * @exclude
-     * 
+     *
+     * @param context the current ServletContext
+     * @param request the ServletRequest, which must be a {@link ScopedRequest}.
+     * @param response the ServletResponse, which must be a {@link ScopedResponse}.
+     * @param actionOverride if not &lt;code&gt;null&lt;/code&gt;, this qualified action-path
is used to construct an action
+     *                       URI which is set as the request URI.  The action-path &lt;strong&gt;must&lt;/strong&gt;
begin with '/',
+     *                       which makes it qualified from the webapp root.
+     * @param autoResolveExtensions a list of URI extensions (e.g., ".do", ".jpf") that will
be auto-resolved, i.e.,
+     *                              on which this method will be recursively called.  If
&lt;code&gt;null&lt;/code&gt;, the
+     *                              default extensions ".do" and ".jpf" will be used.
+     */
+    public static ActionResult strutsLookup(ServletContext context, ServletRequest request,
+                                            HttpServletResponse response, String actionOverride,
+                                            String[] autoResolveExtensions)
+        throws Exception
+    {
+        return strutsLookup(context, request, response, actionOverride, autoResolveExtensions,
false);
+    }
+
+    /**
+     * Resolve the given action to a URI by running an entire request-processing cycle on
the given ScopedRequest
+     * and ScopedResponse.
+     * @exclude
+     *
      * @param context the current ServletContext
      * @param request the ServletRequest, which must be a {@link ScopedRequest}.
      * @param response the ServletResponse, which must be a {@link ScopedResponse}.
@@ -1120,10 +1143,13 @@
      * @param autoResolveExtensions a list of URI extensions (e.g., ".do", ".jpf") that will
be auto-resolved, i.e.,
      *                              on which this method will be recursively called.  If
&lt;code&gt;null&lt;/code&gt;, the
      *                              default extensions ".do" and ".jpf" will be used.
+     * @param processPopulateAlreadyCalled if &lt;code&gt;true&lt;/code&gt;, processPopulate()
will
+     *                                     not be called for the action form bean.
      */
-    public static ActionResult strutsLookup( ServletContext context, ServletRequest request,
-                                             HttpServletResponse response, String actionOverride,
-                                             String[] autoResolveExtensions )
+    public static ActionResult strutsLookup(ServletContext context, ServletRequest request,
+                                            HttpServletResponse response, String actionOverride,
+                                            String[] autoResolveExtensions,
+                                            boolean processPopulateAlreadyCalled)
         throws Exception
     {
         ScopedRequest scopedRequest = ScopedServletUtils.unwrapRequest( request );
@@ -1164,6 +1190,9 @@
         //
         PageFlowRequestWrapper wrappedRequest = PageFlowRequestWrapper.wrapRequest( ( HttpServletRequest
) request );
         wrappedRequest.setScopedLookup( true );
+        if (processPopulateAlreadyCalled) {
+            wrappedRequest.setProcessPopulateAlreadyCalled(true);
+        }
 
         if (as != null)
         {
@@ -1198,7 +1227,10 @@
                     if ( FileUtils.uriEndsWith( returnURI, autoResolveExtensions[i] ) )
                     {
                         scopedRequest.doForward();
-                        return strutsLookup( context, wrappedRequest, scopedResponse, null,
autoResolveExtensions );
+                        return strutsLookup(context, wrappedRequest,
+                                            scopedResponse, null,
+                                            autoResolveExtensions,
+                                            processPopulateAlreadyCalled);
                     }
                 }
             }
@@ -1483,7 +1515,7 @@
             actionURI.append( InternalUtils.getModulePathFromReqAttr( request ) );
             actionURI.append( '/' );
         }
-        
+
         actionURI.append( actionName );
         if ( ! actionName.endsWith( ACTION_EXTENSION ) ) actionURI.append( ACTION_EXTENSION
);
         




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r603418 - /beehive/trunk/netui/src/util/org/apache/beehive/netui/util/iterator/IteratorFactory.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200712.mbox/%3c20071211235332.55BF11A983A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20071211235332-55BF11A983A@eris-apache-org%3e</id>
<updated>2007-12-11T23:53:31Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Tue Dec 11 15:53:31 2007
New Revision: 603418

URL: http://svn.apache.org/viewvc?rev=603418&amp;view=rev
Log:
This is a contribution from Jacob Danner to fix BEEHIVE-1206 - NetUI databinding iterator
does not support RowSet. Thanks Jacob.

Tests: netui BVT (WinXP passed)


Modified:
    beehive/trunk/netui/src/util/org/apache/beehive/netui/util/iterator/IteratorFactory.java

Modified: beehive/trunk/netui/src/util/org/apache/beehive/netui/util/iterator/IteratorFactory.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/util/org/apache/beehive/netui/util/iterator/IteratorFactory.java?rev=603418&amp;r1=603417&amp;r2=603418&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/util/org/apache/beehive/netui/util/iterator/IteratorFactory.java
(original)
+++ beehive/trunk/netui/src/util/org/apache/beehive/netui/util/iterator/IteratorFactory.java
Tue Dec 11 15:53:31 2007
@@ -98,10 +98,11 @@
             return new MapIterator((Map)object);
         } else if(object.getClass().isArray()) {
             return new ArrayIterator(object);
-        } else if(object instanceof Enumeration)
+        } else if(object instanceof Enumeration) {
             return new EnumerationIterator((Enumeration)object);
-        else if(object instanceof ResultSet &amp;&amp; !(object instanceof RowSet))
+        } else if(object instanceof ResultSet &amp;&amp; !(object instanceof RowSet)) {
             return new ResultSetIterator((ResultSet)object);
+        }
 
         // check to see if there is a registered IteratorPlant that can handle this type
         Iterator ret = null;
@@ -111,6 +112,15 @@
             ret = plant.createIterator(object);
 
             if(ret != null) return ret;
+        }
+
+        // BEEHIVE-1206 -&gt; netui databinding iterator does not support RowSet,
+        // but javadoc says it does. Use the default ResultSetIterator if an
+        // Iterator has not already been configured in the
+        // beehive-netui-config.xml/iterator-factories element
+        // since RowSet is common registered iterator
+        if(object instanceof RowSet) {
+            return new ResultSetIterator((ResultSet)object);
         }
 
         return new AtomicObjectIterator(object);




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r603377 - /beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptTask.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200712.mbox/%3c20071211220654.9C0FE1A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20071211220654-9C0FE1A9832@eris-apache-org%3e</id>
<updated>2007-12-11T22:06:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Tue Dec 11 14:06:48 2007
New Revision: 603377

URL: http://svn.apache.org/viewvc?rev=603377&amp;view=rev
Log:
BEEHIVE-1210 - Add an option to the Beehive AptTask to allow a user to define an AP factory
or factory path to override the usual discovery process.


Modified:
    beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptTask.java

Modified: beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptTask.java
URL: http://svn.apache.org/viewvc/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptTask.java?rev=603377&amp;r1=603376&amp;r2=603377&amp;view=diff
==============================================================================
--- beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptTask.java
(original)
+++ beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptTask.java
Tue Dec 11 14:06:48 2007
@@ -100,6 +100,14 @@
         _compileByExt = compileByExt;
     }
 
+    public void setFactory(String factory) {
+        _factory = factory;
+    }
+
+    public void setFactorypath(String factorypath) {
+        _factorypath = factorypath;
+    }
+
     /**
      * Override the implementation of scanDir, to look for additional files based upon any
      * specified source extensions
@@ -205,30 +213,24 @@
             }
         }
 
-        //
         // Select the executable (apt) and set fork = true
-        //
         setExecutable("apt");
         setFork(true);
 
-        //
         // Specify the code generation output directory to APT
-        // 
         Commandline.Argument arg = createCompilerArg();
         arg.setValue("-s");
         arg = createCompilerArg();
         arg.setFile(_genDir);
 
-        //add the -nocompile flag if set to true
+        // Add the -nocompile flag if set to true
         if(_nocompile)
         {
             Commandline.Argument ncarg = createCompilerArg();
             ncarg.setValue("-nocompile");
         }
         
-        //
         // Add processor options.
-        //
         for (Object i : _processorOptions)
         {
             Commandline.Argument optionArg = createCompilerArg();
@@ -238,8 +240,46 @@
         checkParameters();
         resetFileLists();
 
-        // Iterate through the list of input extensions, matching/dependency checking based
-        // upon the input list.
+        //
+        // Allow user to define apt specific options for the name of an
+        // annotation processor (AP) factory to use or the factory path
+        // for finding the AP factories. This allows apt to bypass the
+        // default discovery process or specify where to find AP factories.
+        //
+        // This can help resolve build issues users may experience when
+        // multiple annotation processors conflict. For example,...
+        // A project may contain JAX-RPC 1.1 Web Services annotations.
+        // Starting with JDK1.6, JDK bundles the JAX-WS 2.0 AP in its
+        // tool jar. JAX-RPC and JAX-WS use the same JSR 181 annotations
+        // but the JAX-WS 2.0 AP doesn't support the earlier JAX-RPC use
+        // of the RPC/ENCODED soapbinding annotation on an endpoint.
+        // A user running the build through the Beehive AptTask and using
+        // Java 6, would see APT fail on JAX-RPC services thinking they are
+        // invalid JAX-WS services.
+        //
+        // In this example, using the -factorypath option does not disable the
+        // built-in annotation processor because tools.jar is always in APT's
+        // class path. However, exposing the option to use a specific factory
+        // can solve this problem. There can only be one factory name when
+        // invoking APT, so a user of this task may want to pass a wrapper
+        // factory that is an aggregated annotation processor factory.
+        //
+        if (_factorypath != null &amp;&amp; _factorypath.trim().length() &gt; 0) {
+            Commandline.Argument factoryArg = createCompilerArg();
+            factoryArg.setValue("-factorypath");
+            factoryArg = createCompilerArg();
+            factoryArg.setValue(_factorypath);
+        }
+
+        if (_factory != null &amp;&amp; _factory.trim().length() &gt; 0) {
+            Commandline.Argument factoryArg = createCompilerArg();
+            factoryArg.setValue("-factory");
+            factoryArg = createCompilerArg();
+            factoryArg.setValue(_factory);
+        }
+
+        // Iterate through the list of input extensions, matching/dependency
+        // checking based upon the input list.
         for (int j = 0; j &lt; _srcExts.size(); j++)
         {
             String ext = (String)_srcExts.get(j);
@@ -311,4 +351,6 @@
     protected File _genDir;
     protected Vector/*&lt;String&gt;*/ _srcExts = new Vector/*&lt;String&gt;*/();
     protected Vector/*&lt;String&gt;*/ _processorOptions = new Vector/*&lt;String&gt;*/();
+    protected String _factory = null;
+    protected String _factorypath = null;
 }




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r601914 - in /beehive/trunk: controls/src/runtime/org/apache/beehive/controls/runtime/assembly/ controls/src/runtime/org/apache/beehive/controls/runtime/bean/ controls/src/runtime/org/apache/beehive/controls/runtime/generator/ netui/src/cor...</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200712.mbox/%3c20071206233347.615E91A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20071206233347-615E91A9832@eris-apache-org%3e</id>
<updated>2007-12-06T23:33:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Thu Dec  6 15:33:40 2007
New Revision: 601914

URL: http://svn.apache.org/viewvc?rev=601914&amp;view=rev
Log:
BEEHIVE-1209 - change ClassLoader.loadClass() to 3 arg version of Class.forName() for Java
6

Tests: controls BVT, netui BVT (WinXP passed)


Modified:
    beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/assembly/Assembler.java
    beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java
    beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java
    beehive/trunk/netui/src/core/org/apache/beehive/netui/core/factory/FactoryUtils.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/Handlers.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/interceptor/InterceptorContext.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultReloadableClassHandler.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/PageFlowInitialization.java
    beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeRendererFactory.java
    beehive/trunk/netui/src/tomcat-webapp/5.0.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java
    beehive/trunk/netui/src/tomcat-webapp/5.5.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java
    beehive/trunk/netui/src/util/org/apache/beehive/netui/util/internal/DiscoveryUtils.java
    beehive/trunk/netui/src/util/org/apache/beehive/netui/util/logging/Logger.java

Modified: beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/assembly/Assembler.java
URL: http://svn.apache.org/viewvc/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/assembly/Assembler.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/assembly/Assembler.java
(original)
+++ beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/assembly/Assembler.java
Thu Dec  6 15:33:40 2007
@@ -73,7 +73,7 @@
         try
         {
             // Create the requested ControlAssemblyContext.Factory
-            Class factoryClass = cl.loadClass( factoryName );
+            Class factoryClass = Class.forName(factoryName, false, cl);
             ControlAssemblyContext.Factory factory = (ControlAssemblyContext.Factory)factoryClass.newInstance();
 
             // Iterate over control types
@@ -82,7 +82,7 @@
             {
                 // Search for applicable ControlAssemblers as specified on the control impls
                 String cImpl = controlTypeToImpl.get( ct );
-                Class cImplClass = cl.loadClass( cImpl );
+                Class cImplClass = Class.forName(cImpl, false, cl);
 
                 ControlImplementation a = (ControlImplementation)cImplClass.getAnnotation(ControlImplementation.class);
                 if ( a == null )
@@ -95,7 +95,7 @@
                     ControlAssembler assembler = assemblerClass.newInstance();
                     Set&lt;String&gt; clients = controlTypeToClients.get( ct );
                     ControlAssemblyContext cac = factory.newInstance(
-                        cl.loadClass(ct), null, clients, moduleRoot, moduleName, srcOutputRoot
);
+                        Class.forName(ct, false, cl), null, clients, moduleRoot, moduleName,
srcOutputRoot );
                     assembler.assemble( cac );
                 }
             }

Modified: beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java
URL: http://svn.apache.org/viewvc/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java
(original)
+++ beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/bean/ControlBean.java
Thu Dec  6 15:33:40 2007
@@ -238,8 +238,8 @@
         {
             try
             {
-                Class initClass = _implClass.getClassLoader().loadClass(
-                                        _implClass.getName() + "Initializer");
+                Class initClass = Class.forName(_implClass.getName() + "Initializer",
+                        false, _implClass.getClassLoader());
                 _implInitializer = (ImplInitializer)initClass.newInstance();
             }
             catch (Exception e)
@@ -275,7 +275,7 @@
 
             try
             {
-                _implClass = _controlIntf.getClassLoader().loadClass(implBinding);
+                _implClass = Class.forName(implBinding, false, _controlIntf.getClassLoader());
 
                 //
                 // Validate that the specified implementation class has an @ControlImplementation
@@ -976,7 +976,7 @@
         {
             try
             {
-                i  = (Interceptor) getControlService( getControlBeanContext().getClassLoader().loadClass(
n ), null );
+                i  = (Interceptor) getControlService(Class.forName(n, false, getControlBeanContext().getClassLoader()),
null );
             }
             catch ( Exception e )
             {

Modified: beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java
URL: http://svn.apache.org/viewvc/beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java
(original)
+++ beehive/trunk/controls/src/runtime/org/apache/beehive/controls/runtime/generator/AptControlInterface.java
Thu Dec  6 15:33:40 2007
@@ -985,7 +985,7 @@
             {
                 ClassLoader loader = getExternalClassLoader();
 
-                Class checkerClass = loader.loadClass( checkerName );
+                Class checkerClass = Class.forName(checkerName, false, loader);
                 if ( !ControlChecker.class.isAssignableFrom(checkerClass) )
                 {
                     _ap.printError( intfDecl, "control.interface.illegal.checker", intfDecl.getSimpleName(),
checkerName );

Modified: beehive/trunk/netui/src/core/org/apache/beehive/netui/core/factory/FactoryUtils.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/core/org/apache/beehive/netui/core/factory/FactoryUtils.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/core/org/apache/beehive/netui/core/factory/FactoryUtils.java (original)
+++ beehive/trunk/netui/src/core/org/apache/beehive/netui/core/factory/FactoryUtils.java Thu
Dec  6 15:33:40 2007
@@ -41,7 +41,7 @@
         
         try
         {
-            Class actualFactoryType = cl.loadClass( className );
+            Class actualFactoryType = Class.forName(className, false, cl);
             
             if ( ! factoryType.isAssignableFrom( actualFactoryType ) )
             {

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
Thu Dec  6 15:33:40 2007
@@ -1847,7 +1847,7 @@
 
                     if ( className != null )
                     {
-                        pageServletClass = cl.loadClass( className );
+                        pageServletClass = Class.forName(className, false, cl);
 
                         if ( Servlet.class.isAssignableFrom( pageServletClass ) )
                         {

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/Handlers.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/Handlers.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/Handlers.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/handler/Handlers.java
Thu Dec  6 15:33:40 2007
@@ -225,7 +225,7 @@
         
         try
         {
-            Class handlerClass = cl.loadClass( className );
+            Class handlerClass = Class.forName(className, false, cl);
             
             if ( ! baseClassOrInterface.isAssignableFrom( handlerClass ) )
             {

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/interceptor/InterceptorContext.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/interceptor/InterceptorContext.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/interceptor/InterceptorContext.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/interceptor/InterceptorContext.java
Thu Dec  6 15:33:40 2007
@@ -128,7 +128,7 @@
         
         try
         {
-            Class interceptorClass = cl.loadClass( className );
+            Class interceptorClass = Class.forName(className, false, cl);
             
             if ( ! baseClassOrInterface.isAssignableFrom( interceptorClass ) )
             {

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultReloadableClassHandler.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultReloadableClassHandler.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultReloadableClassHandler.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultReloadableClassHandler.java
Thu Dec  6 15:33:40 2007
@@ -181,11 +181,11 @@
         {
             synchronized ( this )
             {
-                return _pageFlowClassLoader.loadClass( className );
+                return Class.forName(className, false, _pageFlowClassLoader);
             }
         }
         
-        return DiscoveryUtils.getClassLoader().loadClass( className );
+        return Class.forName(className, false, DiscoveryUtils.getClassLoader());
     }
 
     public URL getResource(String name)

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/PageFlowInitialization.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/PageFlowInitialization.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/PageFlowInitialization.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/PageFlowInitialization.java
Thu Dec  6 15:33:40 2007
@@ -210,7 +210,7 @@
 
                 try
                 {
-                    Class formatterClass = cl.loadClass( className );
+                    Class formatterClass = Class.forName(className, false, cl);
                     if ( ! TemplatedURLFormatter.class.isAssignableFrom( formatterClass )
)
                     {
                         _log.error( "The templated-url-formatter-class, " + className

Modified: beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeRendererFactory.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeRendererFactory.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeRendererFactory.java
(original)
+++ beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeRendererFactory.java
Thu Dec  6 15:33:40 2007
@@ -67,7 +67,7 @@
             // create an instance of the def template formatter class
             ClassLoader cl = DiscoveryUtils.getClassLoader();
             try {
-                Class rendererClass = cl.loadClass(className);
+                Class rendererClass = Class.forName(className, false, cl);
                 if (!TreeRenderer.class.isAssignableFrom(rendererClass)) {
                     _log.error("The tree renderer class, " + className
                             + ", does not extend TreeRenderer.");

Modified: beehive/trunk/netui/src/tomcat-webapp/5.0.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tomcat-webapp/5.0.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/tomcat-webapp/5.0.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java
(original)
+++ beehive/trunk/netui/src/tomcat-webapp/5.0.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java
Thu Dec  6 15:33:40 2007
@@ -46,7 +46,7 @@
                 //
                 // See if our helper interface is in the common classloader.
                 //
-                DiscoveryUtils.getClassLoader().loadClass( HELPER_INTERFACE_CLASSNAME );
+                Class.forName(HELPER_INTERFACE_CLASSNAME, false, DiscoveryUtils.getClassLoader());
             }
             catch ( ClassNotFoundException e )
             {

Modified: beehive/trunk/netui/src/tomcat-webapp/5.5.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tomcat-webapp/5.5.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/tomcat-webapp/5.5.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java
(original)
+++ beehive/trunk/netui/src/tomcat-webapp/5.5.x/org/apache/beehive/netui/tomcat/TomcatServletContainerAdapter.java
Thu Dec  6 15:33:40 2007
@@ -46,7 +46,7 @@
                 //
                 // See if our helper interface is in the common classloader.
                 //
-                DiscoveryUtils.getClassLoader().loadClass( HELPER_INTERFACE_CLASSNAME );
+                Class.forName(HELPER_INTERFACE_CLASSNAME, false, DiscoveryUtils.getClassLoader());
             }
             catch ( ClassNotFoundException e )
             {

Modified: beehive/trunk/netui/src/util/org/apache/beehive/netui/util/internal/DiscoveryUtils.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/util/org/apache/beehive/netui/util/internal/DiscoveryUtils.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/util/org/apache/beehive/netui/util/internal/DiscoveryUtils.java
(original)
+++ beehive/trunk/netui/src/util/org/apache/beehive/netui/util/internal/DiscoveryUtils.java
Thu Dec  6 15:33:40 2007
@@ -175,7 +175,7 @@
                             + ": " + className );
             }
             
-            Class implementorClass = classLoader.loadClass( className );
+            Class implementorClass = Class.forName(className, false, classLoader);
             
             if ( interfaceType.isAssignableFrom( implementorClass ) )
             {

Modified: beehive/trunk/netui/src/util/org/apache/beehive/netui/util/logging/Logger.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/util/org/apache/beehive/netui/util/logging/Logger.java?rev=601914&amp;r1=601913&amp;r2=601914&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/util/org/apache/beehive/netui/util/logging/Logger.java (original)
+++ beehive/trunk/netui/src/util/org/apache/beehive/netui/util/logging/Logger.java Thu Dec
 6 15:33:40 2007
@@ -200,7 +200,7 @@
 
         String className = "org.apache.beehive.netui.util.logging.internal.Log4JLogger";
         try {
-            Class logDelegateClass = Logger.class.getClassLoader().loadClass(className);
+            Class logDelegateClass = Class.forName(className, false, Logger.class.getClassLoader());
             Method method = logDelegateClass.getMethod("getInstance", new Class[] {Class.class});
             return (Log)method.invoke(null, new Object[] {loggerClient});
         }




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r596723 - /beehive/sandbox/maven2/beehive-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/index.jsp</title>
<author><name>ekoneil@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200711.mbox/%3c20071120155113.9B59A1A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20071120155113-9B59A1A9832@eris-apache-org%3e</id>
<updated>2007-11-20T15:51:13Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: ekoneil
Date: Tue Nov 20 07:51:12 2007
New Revision: 596723

URL: http://svn.apache.org/viewvc?rev=596723&amp;view=rev
Log:
Update the page template for the NetUI web project archetype.



Modified:
    beehive/sandbox/maven2/beehive-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/index.jsp

Modified: beehive/sandbox/maven2/beehive-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/beehive/sandbox/maven2/beehive-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/index.jsp?rev=596723&amp;r1=596722&amp;r2=596723&amp;view=diff
==============================================================================
--- beehive/sandbox/maven2/beehive-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/index.jsp
(original)
+++ beehive/sandbox/maven2/beehive-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/index.jsp
Tue Nov 20 07:51:12 2007
@@ -1,5 +1,10 @@
+&lt;%@ page language="java"%&gt;
+&lt;%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0"%&gt;
+&lt;%@ taglib prefix="netui-data" uri="http://beehive.apache.org/netui/tags-databinding-1.0"%&gt;
+&lt;%@ taglib prefix="netui-temp" uri="http://beehive.apache.org/netui/tags-template-1.0"%&gt;
+
 &lt;html&gt;
     &lt;body&gt;
-        &lt;h2&gt;Hello World!&lt;/h2&gt;
+        &lt;span style="font-weight:bold"&gt;Hello World!&lt;/span&gt;
     &lt;/body&gt;
 &lt;/html&gt;




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r582706 - in /beehive/trunk/netui: src/compiler-core/org/apache/beehive/netui/compiler/grammar/ test/src/compilerTests/testsuite/Jira1207/ test/src/compilerTests/testsuite/Jira1207/Jira1207/ test/src/compilerTests/testsuite/Jira1207/expecte...</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200710.mbox/%3c20071008040530.E979A1A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20071008040530-E979A1A9832@eris-apache-org%3e</id>
<updated>2007-10-08T04:05:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Sun Oct  7 21:05:27 2007
New Revision: 582706

URL: http://svn.apache.org/viewvc?rev=582706&amp;view=rev
Log:
Fix and test for BEEHIVE-12207... added code to see if the additional value to check is null.

Tests: NetUI compiler tests (WinXP passed)


Added:
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/Controller.java
  (with props)
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/index.jsp   (with
props)
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/expectedOutput/
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/expectedOutput/warningsorerrors.expected
  (with props)
Modified:
    beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/grammar/UniqueValueType.java

Modified: beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/grammar/UniqueValueType.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/grammar/UniqueValueType.java?rev=582706&amp;r1=582705&amp;r2=582706&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/grammar/UniqueValueType.java
(original)
+++ beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/grammar/UniqueValueType.java
Sun Oct  7 21:05:27 2007
@@ -90,7 +90,7 @@
                                 annotationArrayIndex );
             
             //
-            // Get a list of additional annotations (presumably not from the this one's parent)
to check.
+            // Get a list of additional annotations (presumably not from this one's parent)
to check.
             //
             List additionalAnnsToCheck = getAdditionalAnnotationsToCheck( classMember );
             
@@ -99,12 +99,17 @@
                 // Check this value against the list of additional annotations.
                 checkForDuplicates( value, valueName, parentAnnotation, classMember, additionalAnnsToCheck,
true, -1 );
                 
-                // Check for duplicates *within* within the list of additional annotations.
+                // Check for duplicates *within* the list of additional annotations.
                 for ( int i = 0; i &lt; additionalAnnsToCheck.size(); ++i )
                 {
                     AnnotationInstance ann = ( AnnotationInstance ) additionalAnnsToCheck.get(
i );
                     AnnotationValue valueToCheck = CompilerUtils.getAnnotationValue( ann,
valueName, true );
-                    checkForDuplicates( valueToCheck, valueName, ann, classMember, additionalAnnsToCheck,
true, -1 );
+
+                    // The additional value to check could be null, but this
+                    // error would be caught in another check. 
+                    if (valueToCheck != null) {
+                        checkForDuplicates(valueToCheck, valueName, ann, classMember, additionalAnnsToCheck,
true, -1);
+                    }
                 }
             }
         }

Added: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/Controller.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/Controller.java?rev=582706&amp;view=auto
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/Controller.java
(added)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/Controller.java
Sun Oct  7 21:05:27 2007
@@ -0,0 +1,58 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package Jira1207;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.pageflow.Forward;
+
+/*
+ * Test for JIRA issue, BEEHIVE-1207, to make sure we don't have
+ * an NPE caused by the empty forward in the exception handler.
+ */
+@Jpf.Controller(
+)
+public class Controller extends PageFlowController {
+
+    @Jpf.Action(
+        catches = {
+            @Jpf.Catch(
+                type = Exception.class,
+                method = "localHandler")
+        },
+        forwards = {
+            @Jpf.Forward(name = "success", path = "index.jsp")
+        }
+    )
+    public Forward begin() {
+        Forward forward = new Forward("success");
+        return forward;
+    }
+
+    @Jpf.ExceptionHandler(
+        forwards = {
+            @Jpf.Forward()
+        }
+    )
+    protected Forward localHandler(Exception ex, String actionName,
+                                   String message, Object form)
+    {
+        return new Forward("test");
+    }
+}

Propchange: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/Controller.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/index.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/index.jsp?rev=582706&amp;view=auto
==============================================================================
    (empty)

Propchange: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/Jira1207/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/expectedOutput/warningsorerrors.expected
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/expectedOutput/warningsorerrors.expected?rev=582706&amp;view=auto
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/expectedOutput/warningsorerrors.expected
(added)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/expectedOutput/warningsorerrors.expected
Sun Oct  7 21:05:27 2007
@@ -0,0 +1,7 @@
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\Jira1207\Controller.java:53: Attribute "name" must be present.
+    protected Forward localHandler(Exception ex, String actionName,
+                      ^
+[LOCAL_PATH]\WEB-INF\.tmpbeansrc\Jira1207\Controller.java:53: At least one of attributes
"path", "tilesDefinition", "returnAction", "navigateTo", or "action" must be present.
+    protected Forward localHandler(Exception ex, String actionName,
+                      ^
+2 errors

Propchange: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1207/expectedOutput/warningsorerrors.expected
------------------------------------------------------------------------------
    svn:eol-style = native




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r581622 - /beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200710.mbox/%3c20071003151907.D96771A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20071003151907-D96771A9832@eris-apache-org%3e</id>
<updated>2007-10-03T15:19:07Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Wed Oct  3 08:19:06 2007
New Revision: 581622

URL: http://svn.apache.org/viewvc?rev=581622&amp;view=rev
Log:
fixed a typo in a comment.


Modified:
    beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java

Modified: beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java?rev=581622&amp;r1=581621&amp;r2=581622&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java (original)
+++ beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java Wed Oct
 3 08:19:06 2007
@@ -1210,7 +1210,7 @@
         return _state.multiple;
     }
 
-    // add dthe datasource values if needed.
+    // add the datasource values if needed.
     private void addDatasourceIfNeeded(ServletRequest req)
             throws JspException
     {




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r580513 - /beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070928230959.58B821A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070928230959-58B821A9832@eris-apache-org%3e</id>
<updated>2007-09-28T23:09:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Fri Sep 28 16:09:58 2007
New Revision: 580513

URL: http://svn.apache.org/viewvc?rev=580513&amp;view=rev
Log:
Modified the FlowControllerFactory so that if the application has a shared flow defined with
the GlobalApp class name then don't use it as a global app we won't log an error. The app
may have updated from an old netui implementation and changed the class to a shared flow that's
properly referenced from other Controllers. Just log a warning and return null, indicating
that there is no GlobalApp. Related to BEEHIVE-1205

Tests: NetUI BVT (WinXP passed)


Modified:
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java?rev=580513&amp;r1=580512&amp;r2=580513&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
Fri Sep 28 16:09:58 2007
@@ -701,8 +701,14 @@
                     factory.createSharedFlow(new RequestContext(request, response), sharedFlowClass);
                 if ( ! ( sf instanceof GlobalApp ) )
                 {
-                    LOG.error( "Class " + PageFlowConstants.GLOBALAPP_CLASSNAME + " is not
an instance of "
-                                + GlobalApp.class.getName() );
+                    // If the application has a shared flow defined with the
+                    // GlobalApp class name then don't use it as a global app.
+                    // The app may have updated from an old netui implementation
+                    // and change the class to a shared flow that's properly
+                    // referenced from other Controllers. Just log a warning
+                    // and return null, indicating that there is no GlobalApp.
+                    LOG.warn("Class " + PageFlowConstants.GLOBALAPP_CLASSNAME + " is not
an instance of "
+                            + GlobalApp.class.getName());
                     servletContext.setAttribute(NO_GLOBAL_APP_KEY, Boolean.TRUE);
                     return null;
                 }




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r576735 - /beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070918070320.8C2C81A9842@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070918070320-8C2C81A9842@eris-apache-org%3e</id>
<updated>2007-09-18T07:03:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Tue Sep 18 00:03:19 2007
New Revision: 576735

URL: http://svn.apache.org/viewvc?rev=576735&amp;view=rev
Log:
Add a runtime check in FlowControllerFactory to ensure that a global.Global class inherits
from SharedFlowController before trying to create the shared flow.  BEEHIVE-1205

Tests: NetUI BVT (WinXP passed)


Modified:
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java?rev=576735&amp;r1=576734&amp;r2=576735&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/FlowControllerFactory.java
Tue Sep 18 00:03:19 2007
@@ -689,13 +689,21 @@
             try
             {
                 FlowControllerFactory factory = get( servletContext );
-                SharedFlowController sf =
-                    factory.createSharedFlow( new RequestContext( request, response ), PageFlowConstants.GLOBALAPP_CLASSNAME
);
+                Class sharedFlowClass = factory.getFlowControllerClass(PageFlowConstants.GLOBALAPP_CLASSNAME);
+                if (!SharedFlowController.class.isAssignableFrom(sharedFlowClass)) {
+                    LOG.info("Class " + PageFlowConstants.GLOBALAPP_CLASSNAME + " is not
an instance of "
+                            + SharedFlowController.class.getName());
+                    servletContext.setAttribute(NO_GLOBAL_APP_KEY, Boolean.TRUE);
+                    return null;
+                }
 
+                SharedFlowController sf =
+                    factory.createSharedFlow(new RequestContext(request, response), sharedFlowClass);
                 if ( ! ( sf instanceof GlobalApp ) )
                 {
                     LOG.error( "Class " + PageFlowConstants.GLOBALAPP_CLASSNAME + " is not
an instance of "
                                 + GlobalApp.class.getName() );
+                    servletContext.setAttribute(NO_GLOBAL_APP_KEY, Boolean.TRUE);
                     return null;
                 }
 




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r575538 - in /beehive/trunk/netui: src/compiler-core/org/apache/beehive/netui/compiler/ test/src/compilerTests/testsuite/Jira1205/ test/src/compilerTests/testsuite/Jira1205/Jira1205/ test/src/compilerTests/testsuite/Jira1205/expectedOutput/...</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070914052816.166731A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070914052816-166731A9832@eris-apache-org%3e</id>
<updated>2007-09-14T05:28:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Thu Sep 13 22:28:14 2007
New Revision: 575538

URL: http://svn.apache.org/viewvc?rev=575538&amp;view=rev
Log:
Fix for BEEHIVE-1205. Modify FlowControllerInfo.setSharedFlowInfo() to check that the global.Global
class inherits from SharedFlowController. Includes a new compiler test.

Tests: NetUI BVT (WinXP passed)


Added:
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/Controller.java
  (with props)
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/index.jsp   (with
props)
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/expectedOutput/
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/expectedOutput/struts-config-Jira1205.expected
  (with props)
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/global/
    beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/global/Global.java   (with
props)
Modified:
    beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerInfo.java

Modified: beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerInfo.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerInfo.java?rev=575538&amp;r1=575537&amp;r2=575538&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerInfo.java
(original)
+++ beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerInfo.java
Thu Sep 13 22:28:14 2007
@@ -235,7 +235,9 @@
         if ( _sharedFlowTypes.isEmpty() )
         {
             TypeDeclaration type = env.getTypeDeclaration( GLOBALAPP_FULL_CLASSNAME );
-            if ( type != null ) _sharedFlowTypes.put( GLOBALAPP_SHARED_FLOW_NAME, type );
+            if (type != null &amp;&amp; CompilerUtils.isAssignableFrom(SHARED_FLOW_BASE_CLASS,
type, env)) {
+                _sharedFlowTypes.put(GLOBALAPP_SHARED_FLOW_NAME, type);
+            }
         }
   
         _sharedFlowTypeNames = new LinkedHashMap();

Added: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/Controller.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/Controller.java?rev=575538&amp;view=auto
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/Controller.java
(added)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/Controller.java
Thu Sep 13 22:28:14 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package Jira1205;
+
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+/*
+ * Test that a global.Global POJO class does not get set as a
+ * shared flow (deprecated GlobalApp) property of the Controller.
+ */
+@Jpf.Controller(
+    simpleActions={
+        @Jpf.SimpleAction(name="begin", path="index.jsp")
+    }
+)
+public class Controller extends PageFlowController
+{
+}

Propchange: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/Controller.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/index.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/index.jsp?rev=575538&amp;view=auto
==============================================================================
    (empty)

Propchange: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/Jira1205/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/expectedOutput/struts-config-Jira1205.expected
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/expectedOutput/struts-config-Jira1205.expected?rev=575538&amp;view=auto
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/expectedOutput/struts-config-Jira1205.expected
(added)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/expectedOutput/struts-config-Jira1205.expected
Thu Sep 13 22:28:14 2007
@@ -0,0 +1,26 @@
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration
1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"&gt;
+&lt;struts-config&gt;
+  &lt;!-- Generated from /Jira1205/Controller.java on Thu Sep 13 12:05:00 MDT 2007 --&gt;
+  &lt;form-beans/&gt;
+  &lt;global-exceptions/&gt;
+  &lt;global-forwards&gt;
+    &lt;forward name="_auto" path=""/&gt;
+  &lt;/global-forwards&gt;
+  &lt;action-mappings&gt;
+    &lt;action className="org.apache.beehive.netui.pageflow.config.PageFlowActionMapping"
parameter="Jira1205.Controller" path="/begin" scope="request" type="org.apache.beehive.netui.pageflow.internal.FlowControllerAction"
validate="false"&gt;
+      &lt;set-property property="readonly" value="true"/&gt;
+      &lt;set-property property="simpleAction" value="true"/&gt;
+      &lt;set-property property="defaultForward" value="_defaultForward"/&gt;
+      &lt;forward name="_defaultForward" path="/index.jsp"/&gt;
+    &lt;/action&gt;
+  &lt;/action-mappings&gt;
+  &lt;controller className="org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig"
inputForward="true" processorClass="org.apache.beehive.netui.pageflow.PageFlowRequestProcessor"&gt;
+    &lt;set-property property="isReturnToPageDisabled" value="true"/&gt;
+    &lt;set-property property="isReturnToActionDisabled" value="true"/&gt;
+    &lt;set-property property="sharedFlows" value=""/&gt;
+    &lt;set-property property="controllerClass" value="Jira1205.Controller"/&gt;
+    &lt;set-property property="isMissingDefaultMessages" value="true"/&gt;
+  &lt;/controller&gt;
+  &lt;message-resources key="_defaultMsgs" null="true" parameter="org.apache.beehive.netui.pageflow.validation.defaultMessages"/&gt;
+&lt;/struts-config&gt;

Propchange: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/expectedOutput/struts-config-Jira1205.expected
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/global/Global.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/global/Global.java?rev=575538&amp;view=auto
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/global/Global.java (added)
+++ beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/global/Global.java Thu Sep
13 22:28:14 2007
@@ -0,0 +1,22 @@
+package global;
+
+public class Global implements java.io.Serializable {
+
+    private static final long serialVersionUID = 1L;
+    private String _name = "foo";
+    private String _id = "bar";
+
+
+    public Global() { }
+
+    public Global(String name, String id) {
+        _name = name;
+        _id = id;
+    }
+
+    public String getName() { return _name; }
+    public void setName(String name) { _name = name; }
+
+    public String getId() { return _id; }
+    public void setId(String id) { _id = id; }
+}

Propchange: beehive/trunk/netui/test/src/compilerTests/testsuite/Jira1205/global/Global.java
------------------------------------------------------------------------------
    svn:eol-style = native




</pre>
</div>
</content>
</entry>
<entry>
<title>[Beehive Wiki] Update of &quot;wow+power+leveling&quot; by antonioGallardo</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070911040428.15090.40157@eos.apache.org%3e"/>
<id>urn:uuid:%3c20070911040428-15090-40157@eos-apache-org%3e</id>
<updated>2007-09-11T04:04:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by antonioGallardo:
http://wiki.apache.org/beehive/wow+power+leveling

The comment on the change is:
Spam

------------------------------------------------------------------------------
- Baseball gave him his earliest challenge. He was an outstanding pitcher in Little League,
and eventually, as a senior in high school, made the [http://www.toppowerlevel.net wow powerleveling]
varsity, winning half the team‘s games with a record of five wins and two losses. At graduation,
the coach named Daniel the [http://www.toppowerlevel.net wow power level] team‘s most valuable
player. 
+ deleted
  
- 　　His finest hour, though, came at a school science fair. He entered an exhibit showing
how the [http://www.toppowerlevel.net wow power leveling] circulatory system works. It was
primitive and crude, especially compared to the fancy, computerized, blinking-light models
entered by other [http://www.toppowerlevel.net wow power level] students. My wife, Sara, felt
embarrassed for him. 
- 
- 　　It turned out that the other kids [http://www.toppowerlevel.net wow power leveling]
had not done their own work-their parents had made their exhibits. As the judges went on their
rounds, they found that these other kids couldn‘t answer their questions. Daniel answered
every one. When the judges awarded the [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro power leveling] Albert Einstein Plaque for the best exhibit, they gave it to him. 
- 
- 　　By the time Daniel left for [http://www.toppowerlevel.net/powerlist.php?fid=2871 lotro
power leveling] he stood six feet tall and weighed 170 pounds. He was muscular and in superb
[http://www.toppowerlevel.net wow powerleveling] condition, but he never pitched another inning,
having given up baseball for English literature. I was sorry that he would not develop his
athletic talent, but proud that he had made such a mature decision. 
- 
- 　　One day I told Daniel that the great failing in my [http://www.toppowerlevel.net wow
power leveling] life had been that I didn‘t take a year or two off to travel when I finished
college. This is the best way, to my way of thinking, to broaden oneself and develop a larger
perspective on life. Once I had married and begun working, I found that the dream of [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro power leveling] in another culture had vanished. 
- 
- 　　Daniel thought about this. His friends said that he would be insane to put his career
on [http://www.toppowerlevel.net wow powerleveling]. But he decided it wasn‘t so crazy.
After graduation, he worked as a waiter at college, a bike messenger and a house painter.
With the money he earned, he had enough to go to [http://www.toppowerlevel.net wow power level]
Paris. 
- 
- 　　The [http://www.toppowerlevel.net/powerlist.php?fid=2871 lotro power leveling] before
he was to leave, I tossed in bed. I was trying to figure out something to say. Nothing came
to mind. Maybe, I thought [http://www.toppowerlevel.net wow power leveling], it wasn‘t necessary
to say anything. 
- 
- 　　What does it matter in the course of a [http://www.toppowerlevel.net wow power level]
if a father never tells a son what he really thinks of him? But as I stood before Daniel,
I knew that it does matter. My father and I loved each other. Yet, I always regretted never
hearing him put his feelings into words and never having the memory of that moment. Now, I
could feel my palms sweat and my throat tighten. Why is it so hard to tell a son something
from the heart? My mouth turned dry, and I knew I would be able to get out only a few [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro power leveling] words clearly. 
- 
- 　　“Daniel," I said, "if I could have picked [http://www.toppowerlevel.net wow powerleveling],
I would have picked you." 
- 
- 　　That‘s all I could say. I wasn‘t sure he understood what I meant. Then he came
toward me and threw his arms around me. For a moment, the [http://www.toppowerlevel.net wow
power leveling] world and all its people vanished, and there was just Daniel and me in our
home by the sea. 
- 
- 　　He was saying [http://www.toppowerlevel.net wow powerleveling], but my eyes misted
over, and I couldn‘t understand what he was saying. All I was aware of was the stubble on
his chin as his face pressed against mine. And then, the [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro powerleveling]. I went to [http://www.toppowerlevel.net wow power level] work, and Daniel
left a few hours later with his girlfriend. 
- 
- 　　That was seven weeks ago, and I think about [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro powerleveling] when I walk along the beach on weekends. Thousands of miles away, somewhere
out past the ocean waves breaking on the [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro power level]
-  deserted shore, he might be scurrying across Boulevard Saint Germain, strolling through
a musty hallway of the Louvre, bending an elbow in a Left Bank café. 
- 
- 　　What I had said to Daniel was clumsy and trite. It was [http://www.toppowerlevel.net
wow power level]. And yet, it was everything.
- 


</pre>
</div>
</content>
</entry>
<entry>
<title>[Beehive Wiki] Update of &quot;wow+power+leveling&quot; by loki002</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070910232155.16526.65326@eos.apache.org%3e"/>
<id>urn:uuid:%3c20070910232155-16526-65326@eos-apache-org%3e</id>
<updated>2007-09-10T23:21:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by loki002:
http://wiki.apache.org/beehive/wow+power+leveling

New page:
Baseball gave him his earliest challenge. He was an outstanding pitcher in Little League,
and eventually, as a senior in high school, made the [http://www.toppowerlevel.net wow powerleveling]
varsity, winning half the team‘s games with a record of five wins and two losses. At graduation,
the coach named Daniel the [http://www.toppowerlevel.net wow power level] team‘s most valuable
player. 

　　His finest hour, though, came at a school science fair. He entered an exhibit showing
how the [http://www.toppowerlevel.net wow power leveling] circulatory system works. It was
primitive and crude, especially compared to the fancy, computerized, blinking-light models
entered by other [http://www.toppowerlevel.net wow power level] students. My wife, Sara, felt
embarrassed for him. 

　　It turned out that the other kids [http://www.toppowerlevel.net wow power leveling]
had not done their own work-their parents had made their exhibits. As the judges went on their
rounds, they found that these other kids couldn‘t answer their questions. Daniel answered
every one. When the judges awarded the [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro power leveling] Albert Einstein Plaque for the best exhibit, they gave it to him. 

　　By the time Daniel left for [http://www.toppowerlevel.net/powerlist.php?fid=2871 lotro
power leveling] he stood six feet tall and weighed 170 pounds. He was muscular and in superb
[http://www.toppowerlevel.net wow powerleveling] condition, but he never pitched another inning,
having given up baseball for English literature. I was sorry that he would not develop his
athletic talent, but proud that he had made such a mature decision. 

　　One day I told Daniel that the great failing in my [http://www.toppowerlevel.net wow
power leveling] life had been that I didn‘t take a year or two off to travel when I finished
college. This is the best way, to my way of thinking, to broaden oneself and develop a larger
perspective on life. Once I had married and begun working, I found that the dream of [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro power leveling] in another culture had vanished. 

　　Daniel thought about this. His friends said that he would be insane to put his career
on [http://www.toppowerlevel.net wow powerleveling]. But he decided it wasn‘t so crazy.
After graduation, he worked as a waiter at college, a bike messenger and a house painter.
With the money he earned, he had enough to go to [http://www.toppowerlevel.net wow power level]
Paris. 

　　The [http://www.toppowerlevel.net/powerlist.php?fid=2871 lotro power leveling] before
he was to leave, I tossed in bed. I was trying to figure out something to say. Nothing came
to mind. Maybe, I thought [http://www.toppowerlevel.net wow power leveling], it wasn‘t necessary
to say anything. 

　　What does it matter in the course of a [http://www.toppowerlevel.net wow power level]
if a father never tells a son what he really thinks of him? But as I stood before Daniel,
I knew that it does matter. My father and I loved each other. Yet, I always regretted never
hearing him put his feelings into words and never having the memory of that moment. Now, I
could feel my palms sweat and my throat tighten. Why is it so hard to tell a son something
from the heart? My mouth turned dry, and I knew I would be able to get out only a few [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro power leveling] words clearly. 

　　“Daniel," I said, "if I could have picked [http://www.toppowerlevel.net wow powerleveling],
I would have picked you." 

　　That‘s all I could say. I wasn‘t sure he understood what I meant. Then he came toward
me and threw his arms around me. For a moment, the [http://www.toppowerlevel.net wow power
leveling] world and all its people vanished, and there was just Daniel and me in our home
by the sea. 

　　He was saying [http://www.toppowerlevel.net wow powerleveling], but my eyes misted over,
and I couldn‘t understand what he was saying. All I was aware of was the stubble on his
chin as his face pressed against mine. And then, the [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro powerleveling]. I went to [http://www.toppowerlevel.net wow power level] work, and Daniel
left a few hours later with his girlfriend. 

　　That was seven weeks ago, and I think about [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro powerleveling] when I walk along the beach on weekends. Thousands of miles away, somewhere
out past the ocean waves breaking on the [http://www.toppowerlevel.net/powerlist.php?fid=2871
lotro power level]
 deserted shore, he might be scurrying across Boulevard Saint Germain, strolling through a
musty hallway of the Louvre, bending an elbow in a Left Bank café. 

　　What I had said to Daniel was clumsy and trite. It was [http://www.toppowerlevel.net
wow power level]. And yet, it was everything.


</pre>
</div>
</content>
</entry>
<entry>
<title>[Beehive Wiki] Update of &quot;Globe+Correspondent&quot; by CarlinRogers</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070910171235.11354.5679@eos.apache.org%3e"/>
<id>urn:uuid:%3c20070910171235-11354-5679@eos-apache-org%3e</id>
<updated>2007-09-10T17:12:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by CarlinRogers:
http://wiki.apache.org/beehive/Globe+Correspondent

The comment on the change is:
Spam

------------------------------------------------------------------------------
+ deleted
- But community health centers draw patients for a number of reasons. They offer "one-stop
shopping," which can include dental care, substance abuse treatment, 
- pediatric and prenatal care, and social services. Most have child care and translators on
site for non-English speakers.
  
- With the new Massachusetts health insurance law boosting the number of patients seeking
care, community health centers south of Boston are scrambling to meet 
- the demand.
- 
- Sign up for: Globe Headlines e-mail | Breaking News Alerts Manet Community Health Center,
which has four locations in Quincy and one in Hull, is hiring two 
- new family care physicians and a nurse practitioner. Brockton Neighborhood Health Center
now stays open two hours later on weeknights. In February, it hired 
- a nurse practitioner, two medical assistants, and two social workers, and is planning to
hire 20 more staff members in the next six months.
- 
- "We've seen a really significant increase in visits by new patients," said Sue Joss, executive
director of the Brockton health center. "Our phones are 
- ringing off the hook for new patients."
- 
- The two centers are the only ones directly south of Boston. But community health centers
in Fall River and New Bedford, which also serve people from this 
- region, are experiencing the same increase in demand, and expanding hours to meet it.
- 
- The state's universal health insurance law, which is being rolled out this year, is bringing
formerly uninsured people into the healthcare system. Many of 
- these individuals and families are turning to community health centers, the locally based
nonprofit organizations that arose from the antipoverty movement of 
- the 1960s.
- 
- "We are front and center in the new healthcare legislation," said Kerin O'Toole, spokeswoman
for the Massachusetts League of Community Health Centers. "We've 
- seen quite a surge in demand. Although in many cases patients could go elsewhere, the health
centers offer a whole range of services you can't get from a 
- private provider."
- 
- The nation's first community health center opened at Columbia Point in Dorchester in 1965
as part of President Johnson's war on poverty.
- 
- Similar centers, supported by federal aid and private grants, opened across the country
in poor and medically underserved areas. Today, the United States has 
- more than a thousand centers, 52 of them in Massachusetts.
- 
- Business is thriving. In April, the Brockton center on Main Street saw a 12 percent spike
in patient visits over last year, and in May, a 9 percent increase. 
- A new $16 million center is under construction next to the cramped downtown facility and
is scheduled to open in November.
- 
- Statewide, patient loads at community health centers have been on the rise. In 2006, centers
in Massachusetts saw 760,301 patients, an increase of nearly 
- 94,000, or 14 percent, over the previous year.
- 
- The surge in demand at community health centers with the new law was not fully expected.
The centers have long been a safety net in the healthcare system - 
- places where people could go whether they had insurance or not. The insured usually have
many choices when seeking care
- 
- Sign up for: Globe Headlines e-mail | Breaking News Alerts "People are more aware of the
community health centers and the services we provide," said Sheryl 
- Turgeon, chief executive officer of Healthfirst, which draws patients from Fall River and
nearby towns.
- 
- Community health centers also do outreach for Commonwealth Care, the new state health insurance
program, and visitors to most centers can sign up for health 
- insurance on the spot.
- 
- The heavy promotions the state has been doing to get the uninsured to sign up and take advantage
of healthcare also seems to be a factor in the increasing 
- number of visits, according to Toni McGuire, chief executive officer of the Manet center.
- 
- "I think one of the biggest reasons for the increase is the advertising around Commonwealth
Care," McGuire said. Said Joss of the Brockton center, "There was 
- never this kind of publicity around the free-care pool."
- 
- In the past, institutions that treated the uninsured were compensated by a pool of money
administered by the state and paid into by hospitals and other large 
- providers.
- 
- Another reason that community health centers are seeing more patients is that three of the
four insurers working with Commonwealth Care tend to direct 
- subscribers to the centers, according to Alan Sager, director of the health reform program
at Boston University School of Public Health.
- 
- Sager said he is concerned that some community health centers may not be able to hire physicians
quickly enough to meet the demand.
- 
- "If health centers were deluged by dozens more patients every day, how quickly could they
respond?" he asked.
- 
- A Massachusetts Medical Society report issued last month warned of a growing shortage of
primary care physicians and some specialists, based on surveys of 
- doctors and Massachusetts residents.
- 
- "The community health centers rely heavily on primary care physicians, and if there is a
shortage in the state, the centers would be exposed to that 
- shortage," said B. Dale Magee, president of the Massachusetts Medical Society.
- 
- So far, directors of centers south of Boston say they have been able to hire qualified staff
and otherwise meet the demands of new patients - in part by 
- expansion.
- 
- The Manet center recently purchased the building it had been renting in North Quincy and
is eyeing expansion on the site. The center also opened a clinic at 
- Quincy Medical Center.
- [http://www.tnb120.com.cn/  上海搬家公司],[http://www.168bc.com/  上海搬场],[http://www.tunfar.com.cn/
 物资回收]
- [http://www.globalceoforum.com.cn/  调节阀],[http://www.xcyouth.org.cn/  上海搬家公司],[http://www.fdcchina.com.cn/
 上海搬场公司]
- [http://www.hbgm.cn/  多动症],[http://www.sh-dzbc.com.cn/  上海搬场],[http://www.isas.com.cn/
 大众搬场],[http://www.easyday.cn/  浦东搬场公司]
- [http://www.shyxbc.com.cn/  上海搬家公司],[http://www.hfire.cn/ 私人侦探],[http://www.168bc.com/price.html
上海搬家公司]
- The Greater New Bedford center recently expanded its downtown facility, more than doubling
its square footage. Brockton's new facility will approximately 
- double its patient capacity.
- 
- "We're taking a pretty aggressive stance as we get ready to move into the new building,"
said Joss. "It seems right now the demand will be there."
- 


</pre>
</div>
</content>
</entry>
<entry>
<title>[Beehive Wiki] Update of &quot;Carolina+Coast+&quot; by CarlinRogers</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070910171128.11077.70870@eos.apache.org%3e"/>
<id>urn:uuid:%3c20070910171128-11077-70870@eos-apache-org%3e</id>
<updated>2007-09-10T17:11:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by CarlinRogers:
http://wiki.apache.org/beehive/Carolina+Coast+

The comment on the change is:
Spam

------------------------------------------------------------------------------
- NAGS HEAD, N.C. (AP) — Tropical Storm Gabrielle began to shower North Carolina's Outer
Banks with rain and batter them with high winds Sunday as the storm slogged slowly toward
the coast.
+ deleted
  
- Forecasters expected the storm to increase its wind speed slightly — though not to hurricane
levels — before swiping the state's barrier islands on Sunday. After a brief landfall, Gabrielle
was expected to take a sharp turn back into the Atlantic, the National Weather Service said.
- 
- "All things considered, it's a pretty weak storm," said Casey Quell, a NWS forecaster in
Morehead City. "More than anything, it will bring some much-needed rain."
- 
- The storm carried top sustained winds of about 45 mph as of 5 a.m. Sunday, the National
Weather Service reported. But those winds could strengthen to near 50 mph as Gabrielle nears
the coast, according to the weather service.
- 
- Gabrielle's center was located about 50 miles southeast of Cape Lookout and was moving slowly
— about 10 mph — to the north-northwest.
- 
- Forecasters issued a tropical storm warning for the North Carolina coastline north of Surf
City through the Outer Banks and to the Virginia border. A tropical storm warning was also
issued northward to Cape Charles Light, Va., along the Atlantic Coast, and a watch remains
in effect for the area extending to New Point Comfort peninsula, along the Chesapeake Bay.
- 
- Local officials urged residents and visitors at the vacation hotspot to secure loose items
and to stay indoors as the storm blows through.
- 
- Austin Lucas, a manager at Howard's Pub on Ocracoke Island, said workers there tied down
furniture that was on the roof. But beyond that, he said everyone was just waiting to see
when the storm would come.
- 
- "We haven't really taken any severe precautions," Lucas said Sunday morning. "Nobody's too
concerned about it."
- 
- The National Park Service closed all campgrounds on the Cape Hatteras National Seashore.
But they did not ask or recommend that people leave the islands.
- 
- "When people hear about tropical storms, they assume houses are going to fall in the ocean,"
said Margot Jolly, a lifeguard with Nags Heads Ocean Rescue. "They shouldn't overreact like
that. Just relax, stay inside, and have a little hurricane party."
- 
- Gabrielle's first showers reached the coastline late Saturday night. Quell said the storm
could produce a storm surge of up to 3 feet, with 1 to 3 inches of rain falling in coastal
areas and up to 5 inches in isolated spots.
- 
- "The greatest danger will be flooding in low lying areas and on roads, such as Highway 12
on the Outer Banks," said North Carolina Gov. Mike Easley. "The most deaths during tropical
storms occur when people drive into flood waters and drown. Rip currents will be strong in
the ocean."
- 
- Rip currents had already caused problems Saturday. David Baker, the Ocean Rescue director
for the Wrightsville Beach Fire Department about 150 miles south of Nags Head, told The Star-News
of Wilmington that lifeguards rescued about a dozen people from the water because of rip currents.
- 
- Gabrielle spun into the storm late Friday after wandering in the Atlantic for several days,
caught along an old frontal boundary that stalled about midway between the Southeast coast
and Bermuda. Forecasters first labeled it a subtropical storm — a hybrid system that takes
power from warm ocean waters but also forms from warm and cold fronts colliding — before
classifying it a tropical system Saturday.
- 
- WOW Gold,buy WOW Gold [http://www.isefc.com.cn/  wow gold]
- powerleveling   [http://www.isefc.com.cn/powerleveling.asp  powerleveling]
- world of warcraft gold  [http://www.isefc.com.cn/  world of warcraft gold]
- Burglar alarm   [http://www.teamflyelectronic.com/  Burglar alarm]
- [http://www.electronic-wire.com/  cables]
- [http://www.isefc.com.cn/powerleveling.asp  powerleveling]
- 
- "We've been asking residents to be prepared for anything," said Chris Baucom, a spokesman
for Dare County Emergency Management. "This storm's track has been kind of unpredictable."
- 
- All of North Carolina's counties are facing drought conditions, with 91 percent under a
severe drought. Easley asked Friday that all the state's local governments immediately enact
voluntary or mandatory water restrictions. 
- 


</pre>
</div>
</content>
</entry>
<entry>
<title>[Beehive Wiki] Update of &quot;Globe+Correspondent&quot; by wikicninfo</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070910154733.17723.58790@eos.apache.org%3e"/>
<id>urn:uuid:%3c20070910154733-17723-58790@eos-apache-org%3e</id>
<updated>2007-09-10T15:47:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by wikicninfo:
http://wiki.apache.org/beehive/Globe+Correspondent

New page:
But community health centers draw patients for a number of reasons. They offer "one-stop shopping,"
which can include dental care, substance abuse treatment, 
pediatric and prenatal care, and social services. Most have child care and translators on
site for non-English speakers.

With the new Massachusetts health insurance law boosting the number of patients seeking care,
community health centers south of Boston are scrambling to meet 
the demand.

Sign up for: Globe Headlines e-mail | Breaking News Alerts Manet Community Health Center,
which has four locations in Quincy and one in Hull, is hiring two 
new family care physicians and a nurse practitioner. Brockton Neighborhood Health Center now
stays open two hours later on weeknights. In February, it hired 
a nurse practitioner, two medical assistants, and two social workers, and is planning to hire
20 more staff members in the next six months.

"We've seen a really significant increase in visits by new patients," said Sue Joss, executive
director of the Brockton health center. "Our phones are 
ringing off the hook for new patients."

The two centers are the only ones directly south of Boston. But community health centers in
Fall River and New Bedford, which also serve people from this 
region, are experiencing the same increase in demand, and expanding hours to meet it.

The state's universal health insurance law, which is being rolled out this year, is bringing
formerly uninsured people into the healthcare system. Many of 
these individuals and families are turning to community health centers, the locally based
nonprofit organizations that arose from the antipoverty movement of 
the 1960s.

"We are front and center in the new healthcare legislation," said Kerin O'Toole, spokeswoman
for the Massachusetts League of Community Health Centers. "We've 
seen quite a surge in demand. Although in many cases patients could go elsewhere, the health
centers offer a whole range of services you can't get from a 
private provider."

The nation's first community health center opened at Columbia Point in Dorchester in 1965
as part of President Johnson's war on poverty.

Similar centers, supported by federal aid and private grants, opened across the country in
poor and medically underserved areas. Today, the United States has 
more than a thousand centers, 52 of them in Massachusetts.

Business is thriving. In April, the Brockton center on Main Street saw a 12 percent spike
in patient visits over last year, and in May, a 9 percent increase. 
A new $16 million center is under construction next to the cramped downtown facility and is
scheduled to open in November.

Statewide, patient loads at community health centers have been on the rise. In 2006, centers
in Massachusetts saw 760,301 patients, an increase of nearly 
94,000, or 14 percent, over the previous year.

The surge in demand at community health centers with the new law was not fully expected. The
centers have long been a safety net in the healthcare system - 
places where people could go whether they had insurance or not. The insured usually have many
choices when seeking care

Sign up for: Globe Headlines e-mail | Breaking News Alerts "People are more aware of the community
health centers and the services we provide," said Sheryl 
Turgeon, chief executive officer of Healthfirst, which draws patients from Fall River and
nearby towns.

Community health centers also do outreach for Commonwealth Care, the new state health insurance
program, and visitors to most centers can sign up for health 
insurance on the spot.

The heavy promotions the state has been doing to get the uninsured to sign up and take advantage
of healthcare also seems to be a factor in the increasing 
number of visits, according to Toni McGuire, chief executive officer of the Manet center.

"I think one of the biggest reasons for the increase is the advertising around Commonwealth
Care," McGuire said. Said Joss of the Brockton center, "There was 
never this kind of publicity around the free-care pool."

In the past, institutions that treated the uninsured were compensated by a pool of money administered
by the state and paid into by hospitals and other large 
providers.

Another reason that community health centers are seeing more patients is that three of the
four insurers working with Commonwealth Care tend to direct 
subscribers to the centers, according to Alan Sager, director of the health reform program
at Boston University School of Public Health.

Sager said he is concerned that some community health centers may not be able to hire physicians
quickly enough to meet the demand.

"If health centers were deluged by dozens more patients every day, how quickly could they
respond?" he asked.

A Massachusetts Medical Society report issued last month warned of a growing shortage of primary
care physicians and some specialists, based on surveys of 
doctors and Massachusetts residents.

"The community health centers rely heavily on primary care physicians, and if there is a shortage
in the state, the centers would be exposed to that 
shortage," said B. Dale Magee, president of the Massachusetts Medical Society.

So far, directors of centers south of Boston say they have been able to hire qualified staff
and otherwise meet the demands of new patients - in part by 
expansion.

The Manet center recently purchased the building it had been renting in North Quincy and is
eyeing expansion on the site. The center also opened a clinic at 
Quincy Medical Center.
[http://www.tnb120.com.cn/  上海搬家公司],[http://www.168bc.com/  上海搬场],[http://www.tunfar.com.cn/
 物资回收]
[http://www.globalceoforum.com.cn/  调节阀],[http://www.xcyouth.org.cn/  上海搬家公司],[http://www.fdcchina.com.cn/
 上海搬场公司]
[http://www.hbgm.cn/  多动症],[http://www.sh-dzbc.com.cn/  上海搬场],[http://www.isas.com.cn/
 大众搬场],[http://www.easyday.cn/  浦东搬场公司]
[http://www.shyxbc.com.cn/  上海搬家公司],[http://www.hfire.cn/ 私人侦探],[http://www.168bc.com/price.html
上海搬家公司]
The Greater New Bedford center recently expanded its downtown facility, more than doubling
its square footage. Brockton's new facility will approximately 
double its patient capacity.

"We're taking a pretty aggressive stance as we get ready to move into the new building," said
Joss. "It seems right now the demand will be there."


</pre>
</div>
</content>
</entry>
<entry>
<title>[Beehive Wiki] Update of &quot;Carolina+Coast+&quot; by wikicninfo</title>
<author><name>Apache Wiki &lt;wikidiffs@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070910153244.13746.38164@eos.apache.org%3e"/>
<id>urn:uuid:%3c20070910153244-13746-38164@eos-apache-org%3e</id>
<updated>2007-09-10T15:32:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for change notification.

The following page has been changed by wikicninfo:
http://wiki.apache.org/beehive/Carolina+Coast+

New page:
NAGS HEAD, N.C. (AP) — Tropical Storm Gabrielle began to shower North Carolina's Outer Banks
with rain and batter them with high winds Sunday as the storm slogged slowly toward the coast.

Forecasters expected the storm to increase its wind speed slightly — though not to hurricane
levels — before swiping the state's barrier islands on Sunday. After a brief landfall, Gabrielle
was expected to take a sharp turn back into the Atlantic, the National Weather Service said.

"All things considered, it's a pretty weak storm," said Casey Quell, a NWS forecaster in Morehead
City. "More than anything, it will bring some much-needed rain."

The storm carried top sustained winds of about 45 mph as of 5 a.m. Sunday, the National Weather
Service reported. But those winds could strengthen to near 50 mph as Gabrielle nears the coast,
according to the weather service.

Gabrielle's center was located about 50 miles southeast of Cape Lookout and was moving slowly
— about 10 mph — to the north-northwest.

Forecasters issued a tropical storm warning for the North Carolina coastline north of Surf
City through the Outer Banks and to the Virginia border. A tropical storm warning was also
issued northward to Cape Charles Light, Va., along the Atlantic Coast, and a watch remains
in effect for the area extending to New Point Comfort peninsula, along the Chesapeake Bay.

Local officials urged residents and visitors at the vacation hotspot to secure loose items
and to stay indoors as the storm blows through.

Austin Lucas, a manager at Howard's Pub on Ocracoke Island, said workers there tied down furniture
that was on the roof. But beyond that, he said everyone was just waiting to see when the storm
would come.

"We haven't really taken any severe precautions," Lucas said Sunday morning. "Nobody's too
concerned about it."

The National Park Service closed all campgrounds on the Cape Hatteras National Seashore. But
they did not ask or recommend that people leave the islands.

"When people hear about tropical storms, they assume houses are going to fall in the ocean,"
said Margot Jolly, a lifeguard with Nags Heads Ocean Rescue. "They shouldn't overreact like
that. Just relax, stay inside, and have a little hurricane party."

Gabrielle's first showers reached the coastline late Saturday night. Quell said the storm
could produce a storm surge of up to 3 feet, with 1 to 3 inches of rain falling in coastal
areas and up to 5 inches in isolated spots.

"The greatest danger will be flooding in low lying areas and on roads, such as Highway 12
on the Outer Banks," said North Carolina Gov. Mike Easley. "The most deaths during tropical
storms occur when people drive into flood waters and drown. Rip currents will be strong in
the ocean."

Rip currents had already caused problems Saturday. David Baker, the Ocean Rescue director
for the Wrightsville Beach Fire Department about 150 miles south of Nags Head, told The Star-News
of Wilmington that lifeguards rescued about a dozen people from the water because of rip currents.

Gabrielle spun into the storm late Friday after wandering in the Atlantic for several days,
caught along an old frontal boundary that stalled about midway between the Southeast coast
and Bermuda. Forecasters first labeled it a subtropical storm — a hybrid system that takes
power from warm ocean waters but also forms from warm and cold fronts colliding — before
classifying it a tropical system Saturday.

WOW Gold,buy WOW Gold [http://www.isefc.com.cn/  wow gold]
powerleveling   [http://www.isefc.com.cn/powerleveling.asp  powerleveling]
world of warcraft gold  [http://www.isefc.com.cn/  world of warcraft gold]
Burglar alarm   [http://www.teamflyelectronic.com/  Burglar alarm]
[http://www.electronic-wire.com/  cables]
[http://www.isefc.com.cn/powerleveling.asp  powerleveling]

"We've been asking residents to be prepared for anything," said Chris Baucom, a spokesman
for Dare County Emergency Management. "This storm's track has been kind of unpredictable."

All of North Carolina's counties are facing drought conditions, with 91 percent under a severe
drought. Easley asked Friday that all the state's local governments immediately enact voluntary
or mandatory water restrictions. 


</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r573618 - /beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java</title>
<author><name>cschoett@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200709.mbox/%3c20070907155047.97B831A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070907155047-97B831A9832@eris-apache-org%3e</id>
<updated>2007-09-07T15:50:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: cschoett
Date: Fri Sep  7 08:50:46 2007
New Revision: 573618

URL: http://svn.apache.org/viewvc?rev=573618&amp;view=rev
Log:
Applied patch provided by Steven Dalton for BEEHIVE-1203.  
DRTs: jdbc-control drts passed


Modified:
    beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java

Modified: beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java
URL: http://svn.apache.org/viewvc/beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java?rev=573618&amp;r1=573617&amp;r2=573618&amp;view=diff
==============================================================================
--- beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java
(original)
+++ beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java
Fri Sep  7 08:50:46 2007
@@ -309,11 +309,12 @@
             // process returned data
             //
             ResultSet rs = null;
-            int updateCount = ps.getUpdateCount();
+            int updateCount = -1;
 
             if (hasResults) {
                 rs = ps.getResultSet();
             }
+            updateCount = ps.getUpdateCount();
 
             if (sqlStatement.getsGeneratedKeys()) {
                 rs = ps.getGeneratedKeys();




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r570927 - in /beehive/trunk/netui: src/compiler-core/org/apache/beehive/netui/compiler/ test/src/compilerTests/org/apache/beehive/netui/test/compiler/</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200708.mbox/%3c20070829204106.2A5841A9832@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070829204106-2A5841A9832@eris-apache-org%3e</id>
<updated>2007-08-29T20:41:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Wed Aug 29 13:41:04 2007
New Revision: 570927

URL: http://svn.apache.org/viewvc?rev=570927&amp;view=rev
Log:
Added option for configuring NetUI compiler to run/skip the check for more than one Controller
class within the Controller's package (BEEHIVE-1204). Also updated the compiler test to explicitly
run the check for another Controller class.

Tests: NetUI BVT (WinXP passed)
CR: cschoett


Modified:
    beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/CompilerUtils.java
    beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerChecker.java
    beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java
    beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java

Modified: beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/CompilerUtils.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/CompilerUtils.java?rev=570927&amp;r1=570926&amp;r2=570927&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/CompilerUtils.java
(original)
+++ beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/CompilerUtils.java
Wed Aug 29 13:41:04 2007
@@ -1319,6 +1319,27 @@
         return phase != null &amp;&amp; phase.length &gt; 0 ? phase[0] : null;
     }
 
+    /**
+     * Utility method to see if the AP should perform the check for an
+     * overlapping Controller (another Controller in the same package).
+     *
+     * @param env the annotation processing environment
+     * @return &lt;code&gt;true&lt;/code&gt; if the AP should perform the check
+     *         for an overlapping Controller.
+     * @throws FatalCompileTimeException if an error occurs getting
+     *         the value of the option
+     */
+    public static boolean isCheckForOverlappingController(CoreAnnotationProcessorEnv env)
+            throws FatalCompileTimeException {
+        // check for command line option
+        String[] option = getOption("-A" + JpfLanguageConstants.ANNOTATION_PROCESSOR_OPTION_OVERLAPPING_CONTROLLER,
false, env);
+        if (option != null &amp;&amp; option.length &gt; 0 &amp;&amp; "true".equals(option[0]))
{
+            return true;
+        }
+
+        return false;
+    }
+
     private static String[] getOption( String optionName, boolean required, CoreAnnotationProcessorEnv
env )
         throws MissingOptionException
     {

Modified: beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerChecker.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerChecker.java?rev=570927&amp;r1=570926&amp;r2=570927&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerChecker.java
(original)
+++ beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/FlowControllerChecker.java
Wed Aug 29 13:41:04 2007
@@ -678,9 +678,15 @@
     protected void checkForOverlappingClasses( ClassDeclaration jpfClass, String baseClass,
String fileExtension,
                                                String errorKey )
     {
+        // By default this method will not go through the expensive of the APT
+        // checking for another Controller in the same package unless option
+        // (JpfLanguageConstants.ANNOTATION_PROCESSOR_OPTION_OVERLAPPING_CONTROLLER)
+        // is set to true. (BEEHIVE-1204)
+        boolean doCheck = false;
         boolean isReconcilePhase = false;
         try {
-            String phase = (String) CompilerUtils.isReconcilePhase(getEnv());
+            doCheck = CompilerUtils.isCheckForOverlappingController(getEnv());
+            String phase = CompilerUtils.isReconcilePhase(getEnv());
             isReconcilePhase = "RECONCILE".equals(phase);
         }
         catch (FatalCompileTimeException e) {
@@ -694,7 +700,7 @@
         // reconcile phase.
         // Custom AP environments that wish to control this should set the
         // "phase" option for the annotation processor to "RECONCILE".
-        if (isReconcilePhase) {
+        if (!doCheck || isReconcilePhase) {
             return;
         }
 

Modified: beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java?rev=570927&amp;r1=570926&amp;r2=570927&amp;view=diff
==============================================================================
--- beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java
(original)
+++ beehive/trunk/netui/src/compiler-core/org/apache/beehive/netui/compiler/JpfLanguageConstants.java
Wed Aug 29 13:41:04 2007
@@ -27,6 +27,7 @@
     public static final String ANNOTATIONS_CLASSNAME = PAGEFLOW_PACKAGE + ".annotations.Jpf";
 
     public static final String ANNOTATION_PROCESSOR_OPTION_PHASE = "phase";
+    public static final String ANNOTATION_PROCESSOR_OPTION_OVERLAPPING_CONTROLLER = "checkForOverlappingController";
 
     public static final String ACTION_TAG_NAME = "Action";
     public static final String SIMPLE_ACTION_TAG_NAME = "SimpleAction";

Modified: beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java?rev=570927&amp;r1=570926&amp;r2=570927&amp;view=diff
==============================================================================
--- beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java
(original)
+++ beehive/trunk/netui/test/src/compilerTests/org/apache/beehive/netui/test/compiler/RunApt.java
Wed Aug 29 13:41:04 2007
@@ -133,6 +133,9 @@
         aptArgs.add("-sourcepath");
         aptArgs.add(tempDir.getAbsolutePath());
 
+        // Option for the overlapping controller test.
+        aptArgs.add("-AcheckForOverlappingController=true");
+
         aptArgs.add("-Aweb.content.root=" + webappRoot);
 
         // Find all the source files by the specified extentions




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r559532 - /beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200707.mbox/%3c20070725174050.235291A981A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070725174050-235291A981A@eris-apache-org%3e</id>
<updated>2007-07-25T17:40:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Wed Jul 25 10:40:49 2007
New Revision: 559532

URL: http://svn.apache.org/viewvc?view=rev&amp;rev=559532
Log:
This is a contribution from Drew Varner for BEEHIVE-1202 to fix the documentation in the NetUI
tags Exceptions class. Thanks Drew.


Modified:
    beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java

Modified: beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java?view=diff&amp;rev=559532&amp;r1=559531&amp;r2=559532
==============================================================================
--- beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java (original)
+++ beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Exceptions.java Wed
Jul 25 10:40:49 2007
@@ -32,7 +32,7 @@
 
 /**
  * Renders formatted exception data, as found in the Request with the key:
- * &lt;code&gt;org.apache.struts.action.Action.EXCEPTION_KEY&lt;/code&gt;.  Exceptions ignores
its
+ * &lt;code&gt;org.apache.struts.Globals.EXCEPTION_KEY&lt;/code&gt;.  Exceptions ignores
its
  * body content.
  * @jsptagref.tagdescription Renders exception messages and stack traces inline on the JSP
page.
  * @example In this sample, the &amp;lt;netui:exceptions&gt; tag will output the exception
title and message,




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r555078 - /beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java</title>
<author><name>cschoett@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200707.mbox/%3c20070710211330.3F8311A981A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070710211330-3F8311A981A@eris-apache-org%3e</id>
<updated>2007-07-10T21:13:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: cschoett
Date: Tue Jul 10 14:13:28 2007
New Revision: 555078

URL: http://svn.apache.org/viewvc?view=rev&amp;rev=555078
Log:
Fix for BEEHIVE-1201, applied patch submitted by Steven Dalton which releases prepared statements
when using the JDBC control setConnection API.

DRTs: JDBC control drts passed


Modified:
    beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java

Modified: beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java
URL: http://svn.apache.org/viewvc/beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java?view=diff&amp;rev=555078&amp;r1=555077&amp;r2=555078
==============================================================================
--- beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java
(original)
+++ beehive/trunk/system-controls/src/jdbc/org/apache/beehive/controls/system/jdbc/JdbcControlImpl.java
Tue Jul 10 14:13:28 2007
@@ -140,10 +140,7 @@
         if (LOGGER.isDebugEnabled()) {
             LOGGER.debug("Enter: onRelease()");
         }
-
-        if (_connection != null &amp;&amp; !_externalConnection) {
-            cleanupConnection();
-        }
+        cleanupConnection();
     }
 
     /**
@@ -411,15 +408,17 @@
         }
         getResources().clear();
 
-        try {
-            _connection.close();
-        }
-        catch (SQLException e) {
-            throw new ControlException("SQL Exception while attempting to close database
connection.", e);
-        }
+        if (_connection != null &amp;&amp; !_externalConnection) {
+            try {
+                _connection.close();
+            }
+            catch (SQLException e) {
+                throw new ControlException("SQL Exception while attempting to close database
connection.", e);
+            }
 
-        _connection = null;
-        _externalConnection = false;
+            _connection = null;
+            _externalConnection = false;
+        }
     }
 
     /**




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r552041 [2/2] - in /beehive/trunk/netui/test/webapps/jsf: testRecorder/config/ testRecorder/tests-jsf-ri/ testRecorder/tests-myfaces/ web/faces/facesSmoke/</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200706.mbox/%3c20070629214923.888091A981D@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070629214923-888091A981D@eris-apache-org%3e</id>
<updated>2007-06-29T21:49:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
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&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/UseFormBean.xml Fri Jun
29 14:49:19 2007
@@ -101,7 +101,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp4"&gt;send bean through attribute&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp5';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp5"&gt;send bean through command handler&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="61" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="63" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -332,7 +332,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp4"&gt;send bean through attribute&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp5';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp5"&gt;send bean through command handler&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="63" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="65" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -563,7 +563,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp4"&gt;send bean through attribute&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp5';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp5"&gt;send bean through command handler&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="65" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="67" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -790,7 +790,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp4"&gt;send bean through attribute&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp5';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp5"&gt;send bean through command handler&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="67" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="69" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -1017,7 +1017,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp4"&gt;send bean through attribute&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp5';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result
) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;"
id="_idJsp0:_idJsp5"&gt;send bean through command handler&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="69" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden"
name="jsf_sequence" value="71" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script
type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';

Modified: beehive/trunk/netui/test/webapps/jsf/web/faces/facesSmoke/Convert.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/web/faces/facesSmoke/Convert.jsp?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/web/faces/facesSmoke/Convert.jsp (original)
+++ beehive/trunk/netui/test/webapps/jsf/web/faces/facesSmoke/Convert.jsp Fri Jun 29 14:49:19
2007
@@ -1,3 +1,21 @@
+&lt;%--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+   $Header:$
+--%&gt;
 &lt;%@ page language="java" contentType="text/html;charset=UTF-8"%&gt;
 &lt;%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %&gt;
 &lt;%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %&gt;
@@ -10,7 +28,8 @@
     &lt;body&gt;
         &lt;f:view&gt;
               &lt;h:form&gt;
-                &lt;h:panelGrid  cellpadding="0" cellspacing="0" columns="1" width="600pt"
columnClasses="titleBar"&gt;
+                &lt;h:panelGrid  cellpadding="0" cellspacing="0" columns="1"
+                              width="600pt" columnClasses="titleBar"&gt;
                     &lt;h:outputText value="Image Tests" /&gt;
                     &lt;f:verbatim escape="false"&gt;&lt;hr width="600pt" /&gt;&lt;/f:verbatim&gt;
                 &lt;/h:panelGrid&gt;
@@ -19,20 +38,29 @@
                 &lt;/h:outputLink&gt;&lt;br /&gt;
                 &lt;h:outputText value="Converter Tag" styleClass="sectionTitle" /&gt;
                 &lt;h:panelGrid columns="3" styleClass="normal"&gt;
-                    &lt;h:outputText value="Date:" /&gt;&lt;h:outputText id="date" value="#{PageFlow.date}"&gt;&lt;f:convertDateTime
pattern="dd-MMM-yyyy" /&gt;&lt;/h:outputText&gt; 
-                        &lt;h:message  styleClass="validationMessage" for="date" showDetail="true"
showSummary="true"/&gt;
-                    &lt;h:outputText value="Number:" /&gt;&lt;h:outputText id="number" value="#{PageFlow.number}"&gt;&lt;f:convertNumber
currencyCode="usd" /&gt;&lt;/h:outputText&gt; 
-                        &lt;h:message  styleClass="validationMessage" for="number" showDetail="true"
showSummary="true"/&gt;
-                    &lt;h:outputText value="No Formatting Date:" /&gt;&lt;h:outputText value="#{PageFlow.date}"
/&gt;
-                        &lt;h:message  styleClass="validationMessage" for="date" showDetail="true"
showSummary="true"/&gt;
-                    &lt;h:outputText value="No Formatting Number:" /&gt;&lt;h:outputText
value="#{PageFlow.number}" /&gt;
-                        &lt;h:message  styleClass="validationMessage" for="date" showDetail="true"
showSummary="true"/&gt;
+                    &lt;h:outputText value="Date:" /&gt;
+                    &lt;h:outputText id="date" value="#{PageFlow.date}"&gt;
+                        &lt;f:convertDateTime pattern="dd-MMM-yyyy" /&gt;
+                    &lt;/h:outputText&gt; 
+                    &lt;h:message styleClass="validationMessage" for="date"
+                               showDetail="true" showSummary="true"/&gt;
+                    &lt;h:outputText value="Number:" /&gt;
+                    &lt;h:outputText id="number" value="#{PageFlow.number}"&gt;
+                        &lt;f:convertNumber currencyCode="USD"
+                                         type="currency" locale="en_US" /&gt;
+                    &lt;/h:outputText&gt; 
+                    &lt;h:message styleClass="validationMessage" for="number"
+                               showDetail="true" showSummary="true"/&gt;
+                    &lt;h:outputText value="No Formatting Date:" /&gt;
+                    &lt;h:outputText value="#{PageFlow.date}" /&gt;
+                    &lt;h:message styleClass="validationMessage" for="date"
+                               showDetail="true" showSummary="true"/&gt;
+                    &lt;h:outputText value="No Formatting Number:" /&gt;
+                    &lt;h:outputText value="#{PageFlow.number}" /&gt;
+                    &lt;h:message styleClass="validationMessage" for="date"
+                               showDetail="true" showSummary="true"/&gt;
                 &lt;/h:panelGrid&gt;
               &lt;/h:form&gt;
         &lt;/f:view&gt;
     &lt;/body&gt;
 &lt;/html&gt;
-
-  
-
-  




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r552041 [1/2] - in /beehive/trunk/netui/test/webapps/jsf: testRecorder/config/ testRecorder/tests-jsf-ri/ testRecorder/tests-myfaces/ web/faces/facesSmoke/</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200706.mbox/%3c20070629214923.7C2661A981C@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070629214923-7C2661A981C@eris-apache-org%3e</id>
<updated>2007-06-29T21:49:22Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Fri Jun 29 14:49:19 2007
New Revision: 552041

URL: http://svn.apache.org/viewvc?view=rev&amp;rev=552041
Log:
Fixed a test page so that it had the correct currencyCode attribute for a JSF convertNumber tag and works with MyFaces. I also added a new TestRecorder recording to the JSF suite to cover this converter tags page. Note that the markup generated from MyFaces tags includes a hidden input tag "jsf_sequence" which increment for each form in each page hit in the user session... all the tests that follow the new FacesSmokeConverters test had to be updated for MyFaces.

Tests: NetUI JSF test web app for both MyFaces and RI.


Added:
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/FacesSmokeConverters.xml   (with props)
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeConverters.xml   (with props)
Modified:
    beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeDataTable.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormOne.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormTwo.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeImage.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokePanel.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/HitFacesPageDirectly.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/InitMemberFields.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/JpfFaces.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnCreate.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnRestore.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousBackingBean.xml
    beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousPage.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/faces/facesSmoke/Convert.jsp

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/config/testRecorder-tests.xml Fri Jun 29 14:49:19 2007
@@ -22,7 +22,7 @@
         &lt;/test&gt;
         &lt;test&gt;
             &lt;name&gt;FacesSmokeAnchors&lt;/name&gt;
-            &lt;description&gt;FacesSmokeAnchors&lt;/description&gt;
+            &lt;description&gt;Simple test of JSF Anchors&lt;/description&gt;
             &lt;webapp&gt;jsfWeb&lt;/webapp&gt;
             &lt;categories&gt;
                 &lt;category&gt;bvt&lt;/category&gt;
@@ -30,7 +30,15 @@
         &lt;/test&gt;
         &lt;test&gt;
             &lt;name&gt;FacesSmokeBundle&lt;/name&gt;
-            &lt;description&gt;FacesSmokeBundle&lt;/description&gt;
+            &lt;description&gt;Simple test of JSF Bundle&lt;/description&gt;
+            &lt;webapp&gt;jsfWeb&lt;/webapp&gt;
+            &lt;categories&gt;
+                &lt;category&gt;bvt&lt;/category&gt;
+            &lt;/categories&gt;
+        &lt;/test&gt;
+        &lt;test&gt;
+            &lt;name&gt;FacesSmokeConverters&lt;/name&gt;
+            &lt;description&gt;Simple test of JSF converter tags.&lt;/description&gt;
             &lt;webapp&gt;jsfWeb&lt;/webapp&gt;
             &lt;categories&gt;
                 &lt;category&gt;bvt&lt;/category&gt;
@@ -38,7 +46,7 @@
         &lt;/test&gt;
         &lt;test&gt;
             &lt;name&gt;FacesSmokeDataTable&lt;/name&gt;
-            &lt;description&gt;FacesSmokeDataTable&lt;/description&gt;
+            &lt;description&gt;Simple test of JSF DataTable&lt;/description&gt;
             &lt;webapp&gt;jsfWeb&lt;/webapp&gt;
             &lt;categories&gt;
                 &lt;category&gt;bvt&lt;/category&gt;
@@ -46,7 +54,7 @@
         &lt;/test&gt;
         &lt;test&gt;
             &lt;name&gt;FacesSmokeFormOne&lt;/name&gt;
-            &lt;description&gt;FacesSmokeFormOne&lt;/description&gt;
+            &lt;description&gt;Simple test of JSF forms and controls&lt;/description&gt;
             &lt;webapp&gt;jsfWeb&lt;/webapp&gt;
             &lt;categories&gt;
                 &lt;category&gt;bvt&lt;/category&gt;
@@ -54,7 +62,7 @@
         &lt;/test&gt;
         &lt;test&gt;
             &lt;name&gt;FacesSmokeFormTwo&lt;/name&gt;
-            &lt;description&gt;FacesSmokeFormTwo&lt;/description&gt;
+            &lt;description&gt;Simple test of JSF forms&lt;/description&gt;
             &lt;webapp&gt;jsfWeb&lt;/webapp&gt;
             &lt;categories&gt;
                 &lt;category&gt;bvt&lt;/category&gt;
@@ -62,7 +70,7 @@
         &lt;/test&gt;
         &lt;test&gt;
             &lt;name&gt;FacesSmokeImage&lt;/name&gt;
-            &lt;description&gt;FacesSmokeImage&lt;/description&gt;
+            &lt;description&gt;Simple test of JSF image&lt;/description&gt;
             &lt;webapp&gt;jsfWeb&lt;/webapp&gt;
             &lt;categories&gt;
                 &lt;category&gt;bvt&lt;/category&gt;
@@ -70,7 +78,7 @@
         &lt;/test&gt;
         &lt;test&gt;
             &lt;name&gt;FacesSmokePanel&lt;/name&gt;
-            &lt;description&gt;FacesSmokePanel&lt;/description&gt;
+            &lt;description&gt;Simple test of JSF panel&lt;/description&gt;
             &lt;webapp&gt;jsfWeb&lt;/webapp&gt;
             &lt;categories&gt;
                 &lt;category&gt;bvt&lt;/category&gt;

Added: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/FacesSmokeConverters.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/FacesSmokeConverters.xml?view=auto&amp;rev=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/FacesSmokeConverters.xml (added)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/FacesSmokeConverters.xml Fri Jun 29 14:49:19 2007
@@ -0,0 +1,284 @@
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session"&gt;
+&lt;sessionName&gt;FacesSmokeConverters&lt;/sessionName&gt;
+&lt;tester&gt;crogers&lt;/tester&gt;
+&lt;startDate&gt;29 Jun 2007, 02:21:19.360 PM MDT&lt;/startDate&gt;
+&lt;description&gt;Test JSF converter tags.&lt;/description&gt;
+&lt;tests&gt;
+&lt;test&gt;
+&lt;testNumber&gt;1&lt;/testNumber&gt;
+&lt;request&gt;
+&lt;protocol&gt;HTTP&lt;/protocol&gt;
+&lt;protocolVersion&gt;1.1&lt;/protocolVersion&gt;
+&lt;host&gt;localhost&lt;/host&gt;
+&lt;port&gt;8080&lt;/port&gt;
+&lt;uri&gt;/jsfWeb/faces/facesSmoke/begin.do&lt;/uri&gt;
+&lt;method&gt;GET&lt;/method&gt;
+&lt;parameters&gt;
+&lt;/parameters&gt;
+&lt;cookies&gt;
+&lt;cookie&gt;
+&lt;name&gt;JSESSIONID&lt;/name&gt;
+&lt;value&gt;C7ED3DB7F3246EDE3451BA73F56061D9&lt;/value&gt;
+&lt;/cookie&gt;
+&lt;/cookies&gt;
+&lt;headers&gt;
+&lt;header&gt;
+&lt;name&gt;accept&lt;/name&gt;
+&lt;value&gt;image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */*&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-encoding&lt;/name&gt;
+&lt;value&gt;gzip, deflate&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-language&lt;/name&gt;
+&lt;value&gt;en-us&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;connection&lt;/name&gt;
+&lt;value&gt;Keep-Alive&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;cookie&lt;/name&gt;
+&lt;value&gt;JSESSIONID=C7ED3DB7F3246EDE3451BA73F56061D9&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;host&lt;/name&gt;
+&lt;value&gt;localhost:8080&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;user-agent&lt;/name&gt;
+&lt;value&gt;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)&lt;/value&gt;
+&lt;/header&gt;
+&lt;/headers&gt;
+&lt;/request&gt;
+&lt;response&gt;
+&lt;statusCode&gt;200&lt;/statusCode&gt;
+&lt;reason&gt;&lt;/reason&gt;
+&lt;responseBody&gt;
+&lt;![CDATA[&lt;html&gt;
+    &lt;head&gt;
+        &lt;title&gt;CustomRenderer - Test Web&lt;/title&gt;
+        &lt;link rel="stylesheet" href="styles.css" type="text/css" /&gt;
+    &lt;/head&gt;
+    &lt;body style="border: 1px dotted;"&gt;
+        
+            &lt;form id="pageForm" method="post" action="/jsfWeb/faces/facesSmoke/index.faces" enctype="application/x-www-form-urlencoded"&gt;
+
+            
+                
+            &lt;table width="600pt"&gt;
+&lt;tbody&gt;
+&lt;tr&gt;
+&lt;td class="titleBar"&gt;Custom Renderer Tests&lt;/td&gt;
+&lt;/tr&gt;
+&lt;/tbody&gt;
+&lt;/table&gt;
+
+            
+                    
+                
+                
+                
+                
+                
+
+                
+                
+
+                
+                
+                
+                
+                
+                
+                
+                
+
+                
+                
+
+                
+                
+
+            &lt;table width="600pt"&gt;
+&lt;tbody&gt;
+&lt;tr&gt;
+&lt;td&gt;&lt;a href="goPanels.do" class="normal"&gt;Panel&lt;/a&gt;&lt;/td&gt;
+&lt;td&gt;&lt;span class="normal"&gt;Test of the PanelGrid and related controls&lt;/span&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;&lt;a href="goImages.do" class="normal"&gt;Images&lt;/a&gt;&lt;/td&gt;
+&lt;td&gt;&lt;span class="normal"&gt;Test of the GraphicImage&lt;/span&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;&lt;a href="goAnchors.do" class="normal"&gt;Anchors&lt;/a&gt;&lt;/td&gt;
+&lt;td&gt;&lt;span class="normal"&gt;Test of Anchors and Buttons&lt;/span&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;&lt;a href="goConvert.do" class="normal"&gt;Conversions&lt;/a&gt;&lt;/td&gt;
+&lt;td&gt;&lt;span class="normal"&gt;Test of Converters&lt;/span&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;&lt;a href="goFormOne.do" class="normal"&gt;Form One&lt;/a&gt;&lt;/td&gt;
+&lt;td&gt;&lt;span class="normal"&gt;Test the Form Fields&lt;/span&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;&lt;a href="goFormTwo.do" class="normal"&gt;Form Two&lt;/a&gt;&lt;/td&gt;
+&lt;td&gt;&lt;span class="normal"&gt;Test the Select/Radio/Checkbox Form Fields&lt;/span&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;&lt;a href="goBundle.do" class="normal"&gt;Bundle&lt;/a&gt;&lt;/td&gt;
+&lt;td&gt;&lt;span class="normal"&gt;Test of the Bundle&lt;/span&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;&lt;a href="goDataTable.do" class="normal"&gt;Data Table&lt;/a&gt;&lt;/td&gt;
+&lt;td&gt;&lt;span class="normal"&gt;Test of the DataTable&lt;/span&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;/tbody&gt;
+&lt;/table&gt;
+
+            &lt;input type="hidden" name="pageForm" value="pageForm" /&gt;&lt;/form&gt;
+        
+    &lt;/body&gt;
+&lt;/html&gt;]]&gt;
+&lt;/responseBody&gt;
+&lt;/response&gt;
+&lt;/test&gt;
+&lt;test&gt;
+&lt;testNumber&gt;2&lt;/testNumber&gt;
+&lt;request&gt;
+&lt;protocol&gt;HTTP&lt;/protocol&gt;
+&lt;protocolVersion&gt;1.1&lt;/protocolVersion&gt;
+&lt;host&gt;localhost&lt;/host&gt;
+&lt;port&gt;8080&lt;/port&gt;
+&lt;uri&gt;/jsfWeb/faces/facesSmoke/goConvert.do&lt;/uri&gt;
+&lt;method&gt;GET&lt;/method&gt;
+&lt;parameters&gt;
+&lt;/parameters&gt;
+&lt;cookies&gt;
+&lt;cookie&gt;
+&lt;name&gt;JSESSIONID&lt;/name&gt;
+&lt;value&gt;C7ED3DB7F3246EDE3451BA73F56061D9&lt;/value&gt;
+&lt;/cookie&gt;
+&lt;/cookies&gt;
+&lt;headers&gt;
+&lt;header&gt;
+&lt;name&gt;-------&lt;/name&gt;
+&lt;value&gt;----:-----------:-------------------------------------&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept&lt;/name&gt;
+&lt;value&gt;image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */*&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-encoding&lt;/name&gt;
+&lt;value&gt;gzip, deflate&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-language&lt;/name&gt;
+&lt;value&gt;en-us&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;connection&lt;/name&gt;
+&lt;value&gt;Keep-Alive&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;cookie&lt;/name&gt;
+&lt;value&gt;JSESSIONID=C7ED3DB7F3246EDE3451BA73F56061D9&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;host&lt;/name&gt;
+&lt;value&gt;localhost:8080&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;user-agent&lt;/name&gt;
+&lt;value&gt;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)&lt;/value&gt;
+&lt;/header&gt;
+&lt;/headers&gt;
+&lt;/request&gt;
+&lt;response&gt;
+&lt;statusCode&gt;200&lt;/statusCode&gt;
+&lt;reason&gt;&lt;/reason&gt;
+&lt;responseBody&gt;
+&lt;![CDATA[&lt;html&gt;
+    &lt;head&gt;
+        &lt;title&gt;Image - Test Web&lt;/title&gt;
+        &lt;link rel="stylesheet" href="styles.css" type="text/css" /&gt;
+    &lt;/head&gt;
+    &lt;body&gt;
+        
+              &lt;form id="_id0" method="post" action="/jsfWeb/faces/facesSmoke/Convert.faces" enctype="application/x-www-form-urlencoded"&gt;
+
+                
+                    
+                    
+                &lt;table cellpadding="0" cellspacing="0" width="600pt"&gt;
+&lt;tbody&gt;
+&lt;tr&gt;
+&lt;td class="titleBar"&gt;Image Tests&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td class="titleBar"&gt;&lt;hr width="600pt" /&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;/tbody&gt;
+&lt;/table&gt;
+
+                
+                    
+                &lt;a href="Controller.jpf"&gt;&lt;span class="normal"&gt;Navigate Home&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
+                &lt;span class="sectionTitle"&gt;Converter Tag&lt;/span&gt;
+                
+                    
+                    
+                        
+                     
+                    
+                    
+                    
+                        
+                     
+                    
+                    
+                    
+                    
+                    
+                    
+                    
+                &lt;table class="normal"&gt;
+&lt;tbody&gt;
+&lt;tr&gt;
+&lt;td&gt;Date:&lt;/td&gt;
+&lt;td&gt;&lt;span id="_id0:date"&gt;12-Jan-2000&lt;/span&gt;&lt;/td&gt;
+&lt;td&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;Number:&lt;/td&gt;
+&lt;td&gt;&lt;span id="_id0:number"&gt;$123,456.00&lt;/span&gt;&lt;/td&gt;
+&lt;td&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;No Formatting Date:&lt;/td&gt;
+&lt;td&gt;Wed Jan 12 16:05:00 MST 2000&lt;/td&gt;
+&lt;td&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;No Formatting Number:&lt;/td&gt;
+&lt;td&gt;123456&lt;/td&gt;
+&lt;td&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;/tbody&gt;
+&lt;/table&gt;
+
+              &lt;input type="hidden" name="_id0" value="_id0" /&gt;&lt;/form&gt;
+        
+    &lt;/body&gt;
+&lt;/html&gt;]]&gt;
+&lt;/responseBody&gt;
+&lt;/response&gt;
+&lt;/test&gt;
+&lt;/tests&gt;
+&lt;endDate&gt;29 Jun 2007, 02:22:21.205 PM MDT&lt;/endDate&gt;
+&lt;testCount&gt;2&lt;/testCount&gt;
+&lt;/recorderSession&gt;

Propchange: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-jsf-ri/FacesSmokeConverters.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeConverters.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeConverters.xml?view=auto&amp;rev=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeConverters.xml (added)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeConverters.xml Fri Jun 29 14:49:19 2007
@@ -0,0 +1,168 @@
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session"&gt;
+&lt;sessionName&gt;FacesSmokeConverters&lt;/sessionName&gt;
+&lt;tester&gt;crogers&lt;/tester&gt;
+&lt;startDate&gt;29 Jun 2007, 02:47:52.700 PM MDT&lt;/startDate&gt;
+&lt;description&gt;Test JSF converter tags.&lt;/description&gt;
+&lt;tests&gt;
+&lt;test&gt;
+&lt;testNumber&gt;1&lt;/testNumber&gt;
+&lt;request&gt;
+&lt;protocol&gt;HTTP&lt;/protocol&gt;
+&lt;protocolVersion&gt;1.1&lt;/protocolVersion&gt;
+&lt;host&gt;localhost&lt;/host&gt;
+&lt;port&gt;8080&lt;/port&gt;
+&lt;uri&gt;/jsfWeb/faces/facesSmoke/begin.do&lt;/uri&gt;
+&lt;method&gt;GET&lt;/method&gt;
+&lt;parameters&gt;
+&lt;/parameters&gt;
+&lt;cookies&gt;
+&lt;cookie&gt;
+&lt;name&gt;JSESSIONID&lt;/name&gt;
+&lt;value&gt;FC2B7033E18FF6A4D56856C9E3AEE0FB&lt;/value&gt;
+&lt;/cookie&gt;
+&lt;/cookies&gt;
+&lt;headers&gt;
+&lt;header&gt;
+&lt;name&gt;accept&lt;/name&gt;
+&lt;value&gt;image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */*&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-encoding&lt;/name&gt;
+&lt;value&gt;gzip, deflate&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-language&lt;/name&gt;
+&lt;value&gt;en-us&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;connection&lt;/name&gt;
+&lt;value&gt;Keep-Alive&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;host&lt;/name&gt;
+&lt;value&gt;localhost:8080&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;user-agent&lt;/name&gt;
+&lt;value&gt;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)&lt;/value&gt;
+&lt;/header&gt;
+&lt;/headers&gt;
+&lt;/request&gt;
+&lt;response&gt;
+&lt;statusCode&gt;200&lt;/statusCode&gt;
+&lt;reason&gt;&lt;/reason&gt;
+&lt;responseBody&gt;
+&lt;![CDATA[&lt;html&gt;
+    &lt;head&gt;
+        &lt;title&gt;CustomRenderer - Test Web&lt;/title&gt;
+        &lt;link rel="stylesheet" href="styles.css" type="text/css" /&gt;
+    &lt;/head&gt;
+    &lt;body style="border: 1px dotted;"&gt;
+        
+            &lt;form id="pageForm" name="pageForm" method="post" action="/jsfWeb/faces/facesSmoke/index.faces" enctype="application/x-www-form-urlencoded"&gt;
+            &lt;table border="0" width="600pt"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="titleBar"&gt;Custom Renderer Tests&lt;/td&gt;&lt;/tr&gt;
+&lt;/tbody&gt;&lt;/table&gt;
+            &lt;table border="0" width="600pt"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp3" name="pageForm:_idJsp3" href="goPanels.do" class="normal"&gt;Panel&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the PanelGrid and related controls&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp6" name="pageForm:_idJsp6" href="goImages.do" class="normal"&gt;Images&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the GraphicImage&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp9" name="pageForm:_idJsp9" href="goAnchors.do" class="normal"&gt;Anchors&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of Anchors and Buttons&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp12" name="pageForm:_idJsp12" href="goConvert.do" class="normal"&gt;Conversions&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of Converters&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp15" name="pageForm:_idJsp15" href="goFormOne.do" class="normal"&gt;Form One&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test the Form Fields&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp18" name="pageForm:_idJsp18" href="goFormTwo.do" class="normal"&gt;Form Two&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test the Select/Radio/Checkbox Form Fields&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp21" name="pageForm:_idJsp21" href="goBundle.do" class="normal"&gt;Bundle&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the Bundle&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp24" name="pageForm:_idJsp24" href="goDataTable.do" class="normal"&gt;Data Table&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the DataTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;/tbody&gt;&lt;/table&gt;
+            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="9" /&gt;&lt;/form&gt;
+        
+    &lt;/body&gt;
+&lt;/html&gt;]]&gt;
+&lt;/responseBody&gt;
+&lt;/response&gt;
+&lt;/test&gt;
+&lt;test&gt;
+&lt;testNumber&gt;2&lt;/testNumber&gt;
+&lt;request&gt;
+&lt;protocol&gt;HTTP&lt;/protocol&gt;
+&lt;protocolVersion&gt;1.1&lt;/protocolVersion&gt;
+&lt;host&gt;localhost&lt;/host&gt;
+&lt;port&gt;8080&lt;/port&gt;
+&lt;uri&gt;/jsfWeb/faces/facesSmoke/goConvert.do&lt;/uri&gt;
+&lt;method&gt;GET&lt;/method&gt;
+&lt;parameters&gt;
+&lt;/parameters&gt;
+&lt;cookies&gt;
+&lt;cookie&gt;
+&lt;name&gt;JSESSIONID&lt;/name&gt;
+&lt;value&gt;FC2B7033E18FF6A4D56856C9E3AEE0FB&lt;/value&gt;
+&lt;/cookie&gt;
+&lt;/cookies&gt;
+&lt;headers&gt;
+&lt;header&gt;
+&lt;name&gt;-------&lt;/name&gt;
+&lt;value&gt;----:-----------:-------------------------------------&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept&lt;/name&gt;
+&lt;value&gt;image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, */*&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-encoding&lt;/name&gt;
+&lt;value&gt;gzip, deflate&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-language&lt;/name&gt;
+&lt;value&gt;en-us&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;connection&lt;/name&gt;
+&lt;value&gt;Keep-Alive&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;cookie&lt;/name&gt;
+&lt;value&gt;JSESSIONID=FC2B7033E18FF6A4D56856C9E3AEE0FB&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;host&lt;/name&gt;
+&lt;value&gt;localhost:8080&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;user-agent&lt;/name&gt;
+&lt;value&gt;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)&lt;/value&gt;
+&lt;/header&gt;
+&lt;/headers&gt;
+&lt;/request&gt;
+&lt;response&gt;
+&lt;statusCode&gt;200&lt;/statusCode&gt;
+&lt;reason&gt;&lt;/reason&gt;
+&lt;responseBody&gt;
+&lt;![CDATA[&lt;html&gt;
+    &lt;head&gt;
+        &lt;title&gt;Image - Test Web&lt;/title&gt;
+        &lt;link rel="stylesheet" href="styles.css" type="text/css" /&gt;
+    &lt;/head&gt;
+    &lt;body&gt;
+        
+              &lt;form id="_idJsp0" name="_idJsp0" method="post" action="/jsfWeb/faces/facesSmoke/Convert.faces" enctype="application/x-www-form-urlencoded"&gt;
+                &lt;table border="0" cellpadding="0" cellspacing="0" width="600pt"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="titleBar"&gt;Image Tests&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td class="titleBar"&gt;&lt;hr width="600pt" /&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;/tbody&gt;&lt;/table&gt;
+                
+                    
+                &lt;a id="_idJsp0:_idJsp4" name="_idJsp0:_idJsp4" href="Controller.jpf"&gt;&lt;span class="normal"&gt;Navigate Home&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
+                &lt;span class="sectionTitle"&gt;Converter Tag&lt;/span&gt;
+                &lt;table border="0" class="normal"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Date:&lt;/td&gt;&lt;td&gt;&lt;span id="_idJsp0:date"&gt;12-Jan-2000&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;Number:&lt;/td&gt;&lt;td&gt;&lt;span id="_idJsp0:number"&gt;$123,456.00&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;No Formatting Date:&lt;/td&gt;&lt;td&gt;Wed Jan 12 16:05:00 MST 2000&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;No Formatting Number:&lt;/td&gt;&lt;td&gt;123456&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
+&lt;/tbody&gt;&lt;/table&gt;
+              &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="10" /&gt;&lt;/form&gt;
+        
+    &lt;/body&gt;
+&lt;/html&gt;]]&gt;
+&lt;/responseBody&gt;
+&lt;/response&gt;
+&lt;/test&gt;
+&lt;/tests&gt;
+&lt;endDate&gt;29 Jun 2007, 02:48:10.770 PM MDT&lt;/endDate&gt;
+&lt;testCount&gt;2&lt;/testCount&gt;
+&lt;/recorderSession&gt;

Propchange: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeConverters.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeDataTable.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeDataTable.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeDataTable.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeDataTable.xml Fri Jun 29 14:49:19 2007
@@ -82,7 +82,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp21" name="pageForm:_idJsp21" href="goBundle.do" class="normal"&gt;Bundle&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the Bundle&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp24" name="pageForm:_idJsp24" href="goDataTable.do" class="normal"&gt;Data Table&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the DataTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="9" /&gt;&lt;/form&gt;
+            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="11" /&gt;&lt;/form&gt;
         
     &lt;/body&gt;
 &lt;/html&gt;]]&gt;&lt;/ses:responseBody&gt;
@@ -178,7 +178,7 @@
 &lt;tr&gt;&lt;td class="dataColumnOne"&gt;Name 3&lt;/td&gt;&lt;td class="dataColumnTwo"&gt;Type 3&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td class="dataColumnOne"&gt;Name 4&lt;/td&gt;&lt;td class="dataColumnTwo"&gt;Type 4&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
 
-        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="10" /&gt;&lt;/form&gt;
+        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="12" /&gt;&lt;/form&gt;
     
     &lt;/body&gt;
 &lt;/html&gt;]]&gt;&lt;/ses:responseBody&gt;

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormOne.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormOne.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormOne.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormOne.xml Fri Jun 29 14:49:19 2007
@@ -82,7 +82,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp21" name="pageForm:_idJsp21" href="goBundle.do" class="normal"&gt;Bundle&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the Bundle&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp24" name="pageForm:_idJsp24" href="goDataTable.do" class="normal"&gt;Data Table&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the DataTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="11" /&gt;&lt;/form&gt;
+            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="13" /&gt;&lt;/form&gt;
         
     &lt;/body&gt;
 &lt;/html&gt;]]&gt;&lt;/ses:responseBody&gt;
@@ -176,7 +176,7 @@
                 &lt;input id="_idJsp0:_idJsp21" name="_idJsp0:_idJsp21" type="submit" value="Submit" onclick="clear__5FidJsp0();" /&gt;
                 &lt;hr&gt;
                 
-              &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="12" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+              &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="14" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormTwo.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormTwo.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormTwo.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeFormTwo.xml Fri Jun 29 14:49:19 2007
@@ -86,7 +86,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp21" name="pageForm:_idJsp21" href="goBundle.do" class="normal"&gt;Bundle&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the Bundle&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp24" name="pageForm:_idJsp24" href="goDataTable.do" class="normal"&gt;Data Table&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the DataTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="13" /&gt;&lt;/form&gt;
+            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="15" /&gt;&lt;/form&gt;
         
     &lt;/body&gt;
 &lt;/html&gt;]]&gt;&lt;/ses:responseBody&gt;
@@ -185,7 +185,7 @@
                 &lt;input id="_idJsp0:_idJsp41" name="_idJsp0:_idJsp41" type="submit" value="Submit" onclick="clear__5FidJsp0();" /&gt;
                 &lt;hr&gt;
                 
-              &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="14" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+              &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="16" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeImage.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeImage.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeImage.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokeImage.xml Fri Jun 29 14:49:19 2007
@@ -82,7 +82,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp21" name="pageForm:_idJsp21" href="goBundle.do" class="normal"&gt;Bundle&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the Bundle&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp24" name="pageForm:_idJsp24" href="goDataTable.do" class="normal"&gt;Data Table&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the DataTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="15" /&gt;&lt;/form&gt;
+            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="17" /&gt;&lt;/form&gt;
         
     &lt;/body&gt;
 &lt;/html&gt;]]&gt;&lt;/ses:responseBody&gt;
@@ -169,7 +169,7 @@
                 &lt;span class="normal"&gt;Image Tag&lt;/span&gt;
                 &lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;img src="godzilla.gif" height="96" width="96" class="imageBorder" /&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-               &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="16" /&gt;&lt;/form&gt;
+               &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="18" /&gt;&lt;/form&gt;
         
     &lt;/body&gt;
 &lt;/html&gt;]]&gt;&lt;/ses:responseBody&gt;

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokePanel.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokePanel.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokePanel.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/FacesSmokePanel.xml Fri Jun 29 14:49:19 2007
@@ -82,7 +82,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp21" name="pageForm:_idJsp21" href="goBundle.do" class="normal"&gt;Bundle&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the Bundle&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a id="pageForm:_idJsp24" name="pageForm:_idJsp24" href="goDataTable.do" class="normal"&gt;Data Table&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span class="normal"&gt;Test of the DataTable&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="17" /&gt;&lt;/form&gt;
+            &lt;input type="hidden" name="pageForm_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="19" /&gt;&lt;/form&gt;
         
     &lt;/body&gt;
 &lt;/html&gt;]]&gt;&lt;/ses:responseBody&gt;
@@ -193,7 +193,7 @@
                 &lt;span class="normal"&gt;panelGroup&lt;/span&gt;
                 &lt;table border="0" cellpadding="0" cellspacing="0" width="600pt"&gt;&lt;tbody&gt;&lt;tr class="rowOne"&gt;&lt;td class="normal"&gt;&lt;span style="color:#ff00ff;"&gt;Object One &lt;/span&gt;&lt;span style="color:#ff9900;"&gt;Object Two&lt;/span&gt;&lt;/td&gt;&lt;td&gt;Object Three&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-             &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="18" /&gt;&lt;/form&gt;
+             &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="20" /&gt;&lt;/form&gt;
         
     &lt;/body&gt;
 &lt;/html&gt;]]&gt;&lt;/ses:responseBody&gt;

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/HitFacesPageDirectly.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/HitFacesPageDirectly.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/HitFacesPageDirectly.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/HitFacesPageDirectly.xml Fri Jun 29 14:49:19 2007
@@ -77,7 +77,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (backing bean is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="19" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="21" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/InitMemberFields.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/InitMemberFields.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/InitMemberFields.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/InitMemberFields.xml Fri Jun 29 14:49:19 2007
@@ -75,7 +75,7 @@
                 &lt;br/&gt;
                 shared flow is of type: 
                 &lt;br/&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="20" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="22" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -184,7 +184,7 @@
                 &lt;br/&gt;
                 shared flow is of type: initMemberFields.InitMemberFieldsSharedFlow
                 &lt;br/&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="21" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="23" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/JpfFaces.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/JpfFaces.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/JpfFaces.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/JpfFaces.xml Fri Jun 29 14:49:19 2007
@@ -78,7 +78,7 @@
             &lt;a href="#" onclick="clear_go2form();document.forms['go2form'].elements['go2form:_link_hidden_'].value='go2form:go3button';if(document.forms['go2form'].onsubmit){var result=document.forms['go2form'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['go2form'].submit();}}else{document.forms['go2form'].submit();}return false;" id="go2form:go3button"&gt;go to page3 (no form)&lt;/a&gt;
             &lt;br/&gt;
             &lt;a href="#" onclick="clear_go2form();document.forms['go2form'].elements['go2form:_link_hidden_'].value='go2form:go4button';if(document.forms['go2form'].onsubmit){var result=document.forms['go2form'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['go2form'].submit();}}else{document.forms['go2form'].submit();}return false;" id="go2form:go4button"&gt;go to page4 (no CommandHandler)&lt;/a&gt;
-        &lt;input type="hidden" name="go2form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="22" /&gt;&lt;input type="hidden" name="go2form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="go2form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="24" /&gt;&lt;input type="hidden" name="go2form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear_go2form() {
   var f = document.forms['go2form'];
   f.elements['go2form:_link_hidden_'].value='';
@@ -188,7 +188,7 @@
             &lt;a href="#" onclick="clear_go2form();document.forms['go2form'].elements['go2form:_link_hidden_'].value='go2form:go3button';if(document.forms['go2form'].onsubmit){var result=document.forms['go2form'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['go2form'].submit();}}else{document.forms['go2form'].submit();}return false;" id="go2form:go3button"&gt;go to page3 (no form)&lt;/a&gt;
             &lt;br/&gt;
             &lt;a href="#" onclick="clear_go2form();document.forms['go2form'].elements['go2form:_link_hidden_'].value='go2form:go4button';if(document.forms['go2form'].onsubmit){var result=document.forms['go2form'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['go2form'].submit();}}else{document.forms['go2form'].submit();}return false;" id="go2form:go4button"&gt;go to page4 (no CommandHandler)&lt;/a&gt;
-        &lt;input type="hidden" name="go2form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="23" /&gt;&lt;input type="hidden" name="go2form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="go2form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="25" /&gt;&lt;input type="hidden" name="go2form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear_go2form() {
   var f = document.forms['go2form'];
   f.elements['go2form:_link_hidden_'].value='';
@@ -293,7 +293,7 @@
 
         &lt;form id="go1form" name="go1form" method="post" action="/jsfWeb/jpfFaces/page2.faces" enctype="application/x-www-form-urlencoded"&gt;
             &lt;input id="go1form:go1button" name="go1form:go1button" type="submit" value="back to page 1" onclick="clear_go1form();" /&gt;
-        &lt;input type="hidden" name="go1form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="24" /&gt;&lt;input type="hidden" name="go1form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="go1form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="26" /&gt;&lt;input type="hidden" name="go1form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear_go1form() {
   var f = document.forms['go1form'];
   f.elements['go1form:_link_hidden_'].value='';
@@ -403,7 +403,7 @@
             &lt;a href="#" onclick="clear_go2form();document.forms['go2form'].elements['go2form:_link_hidden_'].value='go2form:go3button';if(document.forms['go2form'].onsubmit){var result=document.forms['go2form'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['go2form'].submit();}}else{document.forms['go2form'].submit();}return false;" id="go2form:go3button"&gt;go to page3 (no form)&lt;/a&gt;
             &lt;br/&gt;
             &lt;a href="#" onclick="clear_go2form();document.forms['go2form'].elements['go2form:_link_hidden_'].value='go2form:go4button';if(document.forms['go2form'].onsubmit){var result=document.forms['go2form'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['go2form'].submit();}}else{document.forms['go2form'].submit();}return false;" id="go2form:go4button"&gt;go to page4 (no CommandHandler)&lt;/a&gt;
-        &lt;input type="hidden" name="go2form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="25" /&gt;&lt;input type="hidden" name="go2form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="go2form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="27" /&gt;&lt;input type="hidden" name="go2form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear_go2form() {
   var f = document.forms['go2form'];
   f.elements['go2form:_link_hidden_'].value='';
@@ -505,7 +505,7 @@
     
         &lt;form id="go1form" name="go1form" method="post" action="/jsfWeb/jpfFaces/page3.faces" enctype="application/x-www-form-urlencoded"&gt;
             &lt;input id="go1form:go1button" name="go1form:go1button" type="submit" value="back to page 1" onclick="clear_go1form();" /&gt;
-        &lt;input type="hidden" name="go1form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="26" /&gt;&lt;input type="hidden" name="go1form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="go1form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="28" /&gt;&lt;input type="hidden" name="go1form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear_go1form() {
   var f = document.forms['go1form'];
   f.elements['go1form:_link_hidden_'].value='';
@@ -615,7 +615,7 @@
             &lt;a href="#" onclick="clear_go2form();document.forms['go2form'].elements['go2form:_link_hidden_'].value='go2form:go3button';if(document.forms['go2form'].onsubmit){var result=document.forms['go2form'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['go2form'].submit();}}else{document.forms['go2form'].submit();}return false;" id="go2form:go3button"&gt;go to page3 (no form)&lt;/a&gt;
             &lt;br/&gt;
             &lt;a href="#" onclick="clear_go2form();document.forms['go2form'].elements['go2form:_link_hidden_'].value='go2form:go4button';if(document.forms['go2form'].onsubmit){var result=document.forms['go2form'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['go2form'].submit();}}else{document.forms['go2form'].submit();}return false;" id="go2form:go4button"&gt;go to page4 (no CommandHandler)&lt;/a&gt;
-        &lt;input type="hidden" name="go2form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="27" /&gt;&lt;input type="hidden" name="go2form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="go2form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="29" /&gt;&lt;input type="hidden" name="go2form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear_go2form() {
   var f = document.forms['go2form'];
   f.elements['go2form:_link_hidden_'].value='';
@@ -717,7 +717,7 @@
     
         &lt;form id="go1form" name="go1form" method="post" action="/jsfWeb/jpfFaces/page4.faces" enctype="application/x-www-form-urlencoded"&gt;
             &lt;input id="go1form:go1button" name="go1form:go1button" type="submit" value="back to page 1" onclick="clear_go1form();" /&gt;
-        &lt;input type="hidden" name="go1form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="28" /&gt;&lt;input type="hidden" name="go1form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="go1form_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="30" /&gt;&lt;input type="hidden" name="go1form:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear_go1form() {
   var f = document.forms['go1form'];
   f.elements['go1form:_link_hidden_'].value='';

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnCreate.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnCreate.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnCreate.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnCreate.xml Fri Jun 29 14:49:19 2007
@@ -79,7 +79,7 @@
 &lt;tr&gt;&lt;td&gt;This is a property in the backing bean.&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp6';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp6"&gt;go to page 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="29" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="31" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -187,7 +187,7 @@
 &lt;tr&gt;&lt;td&gt;This is a property in the backing bean.&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp6';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp6"&gt;start over&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="30" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="32" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -295,7 +295,7 @@
 &lt;tr&gt;&lt;td&gt;This is a property in the backing bean.&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp6';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp6"&gt;go to page 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="31" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="33" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -382,7 +382,7 @@
 &lt;tr&gt;&lt;td&gt;This is a property in the backing bean.&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp6';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp6"&gt;go to page 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="32" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="34" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnRestore.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnRestore.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnRestore.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/OnRestore.xml Fri Jun 29 14:49:19 2007
@@ -80,7 +80,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:goCurrent';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:goCurrent"&gt;stay on the current page, via navigateTo=Jpf.NavigateTo.currentPage&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:go2';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:go2"&gt;go to page 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="33" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="35" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -188,7 +188,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:goCurrent';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:goCurrent"&gt;stay on the current page, via navigateTo=Jpf.NavigateTo.currentPage&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:go2';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:go2"&gt;go to page 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="34" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="36" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -296,7 +296,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:goCurrent';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:goCurrent"&gt;stay on the current page, via navigateTo=Jpf.NavigateTo.currentPage&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:go2';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:go2"&gt;go to page 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="35" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="37" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -399,7 +399,7 @@
     
         &lt;form id="_idJsp0" name="_idJsp0" method="post" action="/jsfWeb/onRestore/page2.faces" enctype="application/x-www-form-urlencoded"&gt;
             &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:goPrev';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:goPrev"&gt;go to previous page via navigateTo=Jpf.NavigateTo.previousPage&lt;/a&gt;
-        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="36" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="38" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -507,7 +507,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:goCurrent';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:goCurrent"&gt;stay on the current page, via navigateTo=Jpf.NavigateTo.currentPage&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:go2';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:go2"&gt;go to page 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="37" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="39" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -615,7 +615,7 @@
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:goCurrent';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:goCurrent"&gt;stay on the current page, via navigateTo=Jpf.NavigateTo.currentPage&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;&lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:go2';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:go2"&gt;go to page 2&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
 &lt;/tbody&gt;&lt;/table&gt;
-        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="38" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+        &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="40" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousBackingBean.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousBackingBean.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousBackingBean.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousBackingBean.xml Fri Jun 29 14:49:19 2007
@@ -77,7 +77,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (backing bean is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="39" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="41" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -187,7 +187,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (backing bean is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="40" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="42" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -297,7 +297,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (backing bean is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="41" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="43" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -403,7 +403,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp1';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp1"&gt;go to page 1, using navigateTo (backing bean is restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp2';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp2"&gt;go to page 1, using a path (backing bean is not restored)&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="42" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="44" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -509,7 +509,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (backing bean is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="43" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="45" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -615,7 +615,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp1';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp1"&gt;go to page 1, using navigateTo (backing bean is restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp2';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp2"&gt;go to page 1, using a path (backing bean is not restored)&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="44" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="46" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -721,7 +721,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (backing bean is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="45" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="47" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';

Modified: beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousPage.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousPage.xml?view=diff&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousPage.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/RestorePreviousPage.xml Fri Jun 29 14:49:19 2007
@@ -77,7 +77,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (state is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="46" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="48" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -187,7 +187,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (state is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="47" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="49" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -297,7 +297,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (state is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="48" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="50" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -403,7 +403,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp1';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp1"&gt;go to page 1, using navigateTo (state is restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp2';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp2"&gt;go to page 1, using a path (state is not restored)&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="49" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="51" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -509,7 +509,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (state is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="50" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="52" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -615,7 +615,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp1';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp1"&gt;go to page 1, using navigateTo (state is restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp2';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp2"&gt;go to page 1, using a path (state is not restored)&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="51" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="53" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -721,7 +721,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp3';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp3"&gt;stay here, using a path (state is not restored)&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;go to page 2&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="52" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="54" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';

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&amp;rev=552041&amp;r1=552040&amp;r2=552041
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml (original)
+++ beehive/trunk/netui/test/webapps/jsf/testRecorder/tests-myfaces/SubmitFormBean.xml Fri Jun 29 14:49:19 2007
@@ -102,7 +102,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;send bean through attribute&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp5';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp5"&gt;send bean through command handler&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="53" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="55" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -334,7 +334,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;send bean through attribute&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp5';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp5"&gt;send bean through command handler&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="55" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="57" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -566,7 +566,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;send bean through attribute&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp5';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp5"&gt;send bean through command handler&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="57" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="59" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';
@@ -794,7 +794,7 @@
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp4';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp4"&gt;send bean through attribute&lt;/a&gt;
                 &lt;br/&gt;
                 &lt;a href="#" onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp5';if(document.forms['_idJsp0'].onsubmit){var result=document.forms['_idJsp0'].onsubmit();  if( (typeof result == 'undefined') || result ) {document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return false;" id="_idJsp0:_idJsp5"&gt;send bean through command handler&lt;/a&gt;
-            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="59" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
+            &lt;input type="hidden" name="_idJsp0_SUBMIT" value="1" /&gt;&lt;input type="hidden" name="jsf_sequence" value="61" /&gt;&lt;input type="hidden" name="_idJsp0:_link_hidden_" /&gt;&lt;script type="text/javascript"&gt;&lt;!--
 function clear__5FidJsp0() {
   var f = document.forms['_idJsp0'];
   f.elements['_idJsp0:_link_hidden_'].value='';




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r552018 - in /beehive/trunk/netui/test/webapps/jsf/web/WEB-INF: web.xml.jsf-ri web.xml.myfaces</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200706.mbox/%3c20070629200956.E2D8D1A981A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070629200956-E2D8D1A981A@eris-apache-org%3e</id>
<updated>2007-06-29T20:09:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Fri Jun 29 13:09:55 2007
New Revision: 552018

URL: http://svn.apache.org/viewvc?view=rev&amp;rev=552018
Log:
Cleaned up the web,xml files for the NetUI JSF test web app to fix the ordering/sequence of
elements in the &lt;context-param&gt; elements.

Tests: NetUI JSF test web app for both MyFaces and RI.


Modified:
    beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.jsf-ri
    beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.myfaces

Modified: beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.jsf-ri
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.jsf-ri?view=diff&amp;rev=552018&amp;r1=552017&amp;r2=552018
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.jsf-ri (original)
+++ beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.jsf-ri Fri Jun 29 13:09:55 2007
@@ -13,19 +13,17 @@
 --&gt;
 
     &lt;context-param&gt;
-        &lt;param-name&gt;com.sun.faces.validateXml&lt;/param-name&gt;
-        &lt;param-value&gt;true&lt;/param-value&gt;
         &lt;description&gt;
             Set this flag to true if you want the JavaServer Faces
             Reference Implementation to validate the XML in your
             faces-config.xml resources against the DTD.  Default
             value is false.
         &lt;/description&gt;
+        &lt;param-name&gt;com.sun.faces.validateXml&lt;/param-name&gt;
+        &lt;param-value&gt;true&lt;/param-value&gt;
     &lt;/context-param&gt;
 
     &lt;context-param&gt;
-        &lt;param-name&gt;com.sun.faces.verifyObjects&lt;/param-name&gt;
-        &lt;param-value&gt;true&lt;/param-value&gt;
         &lt;description&gt;
             Set this flag to true if you want the JavaServer Faces
             Reference Implementation to verify that all of the application
@@ -33,6 +31,8 @@
             renderers, and validators) can be successfully created.
             Default value is false.
         &lt;/description&gt;
+        &lt;param-name&gt;com.sun.faces.verifyObjects&lt;/param-name&gt;
+        &lt;param-value&gt;true&lt;/param-value&gt;
     &lt;/context-param&gt;
 
   &lt;!-- Test Recorder Filter --&gt;

Modified: beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.myfaces
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.myfaces?view=diff&amp;rev=552018&amp;r1=552017&amp;r2=552018
==============================================================================
--- beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.myfaces (original)
+++ beehive/trunk/netui/test/webapps/jsf/web/WEB-INF/web.xml.myfaces Fri Jun 29 13:09:55 2007
@@ -6,17 +6,15 @@
     version="2.4"&gt;
 
     &lt;context-param&gt;
-        &lt;param-name&gt;javax.faces.STATE_SAVING_METHOD&lt;/param-name&gt;
-        &lt;param-value&gt;server&lt;/param-value&gt;
         &lt;description&gt;
             State saving method: "client" or "server" (= default)
             See JSF Specification 2.5.2
         &lt;/description&gt;
+        &lt;param-name&gt;javax.faces.STATE_SAVING_METHOD&lt;/param-name&gt;
+        &lt;param-value&gt;server&lt;/param-value&gt;
     &lt;/context-param&gt;
 
     &lt;context-param&gt;
-        &lt;param-name&gt;org.apache.myfaces.ALLOW_JAVASCRIPT&lt;/param-name&gt;
-        &lt;param-value&gt;true&lt;/param-value&gt;
         &lt;description&gt;
             This parameter tells MyFaces if javascript code should be allowed in the
             rendered HTML output.
@@ -26,17 +24,19 @@
             will be added as url parameters.
             Default: "true"
         &lt;/description&gt;
+        &lt;param-name&gt;org.apache.myfaces.ALLOW_JAVASCRIPT&lt;/param-name&gt;
+        &lt;param-value&gt;true&lt;/param-value&gt;
     &lt;/context-param&gt;
     
     &lt;context-param&gt;
-        &lt;param-name&gt;org.apache.myfaces.PRETTY_HTML&lt;/param-name&gt;
-        &lt;param-value&gt;true&lt;/param-value&gt;
         &lt;description&gt;
             If true, rendered HTML code will be formatted, so that it is "human readable".
             i.e. additional line separators and whitespace will be written, that do not
             influence the HTML code.
             Default: "true"
         &lt;/description&gt;
+        &lt;param-name&gt;org.apache.myfaces.PRETTY_HTML&lt;/param-name&gt;
+        &lt;param-value&gt;true&lt;/param-value&gt;
     &lt;/context-param&gt;
     
     &lt;!-- Test Recorder Filter --&gt;




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r550619 - in /beehive/trunk/netui: src/core/org/apache/beehive/netui/core/urltemplates/schema/ src/pageflow/org/apache/beehive/netui/pageflow/internal/ test/webapps/urlTemplates/src/ignoreverify/ test/webapps/urlTemplates/testRecorder/confi...</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200706.mbox/%3c20070625215134.28EBD1A981A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070625215134-28EBD1A981A@eris-apache-org%3e</id>
<updated>2007-06-25T21:51:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Mon Jun 25 14:51:31 2007
New Revision: 550619

URL: http://svn.apache.org/viewvc?view=rev&amp;rev=550619
Log:
Update the url-template-config.xsd with an optional element that indicates the application
does not need to verify the required tokens (BEEHIVE-1200).

Added a new "ignore-verify" test in the urlTemplates web app.

Tests: NetUI BVT and urlTemplates (WinXP passed)



Added:
    beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/
    beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java   (with
props)
    beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java
  (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java
  (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml   (with
props)
    beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/
    beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/image.gif   (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp   (with props)
    beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/secureImage.gif   (with
props)
Modified:
    beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java
    beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml
    beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml
    beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml
    beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml

Modified: beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd?view=diff&amp;rev=550619&amp;r1=550618&amp;r2=550619
==============================================================================
--- beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd
(original)
+++ beehive/trunk/netui/src/core/org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd
Mon Jun 25 14:51:31 2007
@@ -43,6 +43,7 @@
             &lt;xs:sequence&gt;
                 &lt;xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/&gt;
                 &lt;xs:element name="value" type="xs:string" minOccurs="1" maxOccurs="1"/&gt;
+                &lt;xs:element name="ignore-verify" type="xs:boolean" minOccurs="0" maxOccurs="1"
default="false"/&gt;
             &lt;/xs:sequence&gt;
         &lt;/xs:complexType&gt;
     &lt;/xs:element&gt;

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java?view=diff&amp;rev=550619&amp;r1=550618&amp;r2=550619
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLTemplatesFactory.java
Mon Jun 25 14:51:31 2007
@@ -57,6 +57,7 @@
     private static final String URL_TEMPLATE_REF = "url-template-ref";
     private static final String URL_TEMPLATE_REF_GROUP = "url-template-ref-group";
     private static final String VALUE = "value";
+    private static final String IGNORE_VERIFY = "ignore-verify";
 
     private static final String CONFIG_SCHEMA = "org/apache/beehive/netui/core/urltemplates/schema/url-template-config.xsd";
 
@@ -270,10 +271,19 @@
             }
 
             URLTemplate urlTemplate = new URLTemplate( value, name );
-            if ( urlTemplate.verify( _knownTokens, _requiredTokens ) )
-            {
-                _urlTemplates.addTemplate( name, urlTemplate );
+
+            boolean ignoreVerify = false;
+            String tmp = getElementText(template, IGNORE_VERIFY);
+            if (tmp != null) {
+                ignoreVerify = Boolean.parseBoolean(tmp);
+            }
+
+            if (!ignoreVerify) {
+                if (!urlTemplate.verify(_knownTokens, _requiredTokens)) {
+                    continue;
+                }
             }
+            _urlTemplates.addTemplate(name, urlTemplate);
         }
     }
 

Added: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java?view=auto&amp;rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java (added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java Mon Jun
25 14:51:31 2007
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package ignoreverify;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+
+
+@Jpf.Controller(forwards = { @Jpf.Forward(name = "index", path = "index.jsp") })
+public class Controller extends PageFlowController
+{
+    @Jpf.Action()
+    public Forward begin()
+    {
+        return new Forward( "index" );
+    } 
+
+    @Jpf.Action()
+    public Forward secure()
+    {
+        return new Forward( "index" );
+    }
+
+    @Jpf.Action()
+    public Forward unsecure()
+    {
+        return new Forward( "index" );
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/Controller.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java?view=auto&amp;rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java
(added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java
Mon Jun 25 14:51:31 2007
@@ -0,0 +1,56 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package ignoreverify;
+
+import org.apache.beehive.netui.core.urls.TemplatedURLFormatter;
+import org.apache.beehive.netui.core.urls.URLRewriterService;
+
+import java.io.IOException;
+import javax.servlet.Filter;
+import javax.servlet.FilterChain;
+import javax.servlet.FilterConfig;
+import javax.servlet.ServletException;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+
+// Servlet Filter used with the ignore verify test
+public class TemplateAvailableFilter implements Filter {
+
+    public void doFilter(ServletRequest request,
+                         ServletResponse response,
+                         FilterChain chain)
+                         throws IOException, ServletException {
+
+        // create and register a custom TemplatedURLFormatter
+        TemplatedURLFormatter formatter = new TemplateAvailableFormatter();
+        URLRewriterService.registerTemplatedURLFormatter( request, formatter );
+
+        // pass the request/response on
+        chain.doFilter(request, response);
+
+        // unregister the custom TemplatedURLFormatter
+        URLRewriterService.unregisterTemplatedURLFormatter( request );
+    }
+
+    public void init(FilterConfig filterConfig) {
+    }
+
+    public void destroy() {
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFilter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java?view=auto&amp;rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java
(added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java
Mon Jun 25 14:51:31 2007
@@ -0,0 +1,95 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package ignoreverify;
+
+import org.apache.beehive.netui.core.urls.MutableURI;
+import org.apache.beehive.netui.core.urls.TemplatedURLFormatter;
+import org.apache.beehive.netui.core.urls.URIContext;
+import org.apache.beehive.netui.core.urltemplates.URLTemplate;
+import org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory;
+
+import javax.servlet.ServletContext;
+import javax.servlet.ServletRequest;
+
+
+/**
+ * Implementation of TemplatedURLFormatter to test that a template
+ * without required but marked as "ignore-verify" is still available. 
+ */
+public class TemplateAvailableFormatter extends TemplatedURLFormatter
+{
+    /**
+     * Format the given URL using a URL template that does not have
+     * the required tokens but was defined with "ignore-verify" in
+     * the URL template config file.
+     *
+     * @param servletContext the current ServletContext.
+     * @param request the current ServletRequest.
+     * @param uri the MutableURI to be formatted into a String.
+     * @param key key for the URL template type to use for formatting the URI
+     * @param uriContext data required to write out the string form.
+     * @return the URL as a &lt;code&gt;String&lt;/code&gt;
+     */
+    public String getTemplatedURL(ServletContext servletContext,
+                                  ServletRequest request, MutableURI uri,
+                                  String key, URIContext uriContext) {
+        String result = null;
+        URLTemplatesFactory factory = URLTemplatesFactory.getURLTemplatesFactory(servletContext);
+        String templateName = "path-only-ignore-verify";
+        URLTemplate template = factory.getURLTemplate(templateName);
+
+        if (template != null) {
+            result = format(request, uri, uriContext, template, key);
+        } else {
+            // expected test template not found, return an error message...
+            result = "*** Did not find expected test template, \"path-only-ignore-verify\"";
+        }
+
+        return result;
+    }
+
+    private String format(ServletRequest request, MutableURI uri,
+                          URIContext uriContext, URLTemplate template,
+                          String key) {
+        String scheme = uri.getScheme();
+        String host = uri.getHost();
+        int port = uri.getPort();
+        String path = uri.getPath();
+
+        if (scheme == null || scheme.length() == 0) { scheme = request.getScheme(); }
+
+        if (host == null || host.length() == 0) { host = request.getServerName(); }
+
+        if (port &lt; 0) { port = request.getServerPort(); }
+
+        String query = null;
+        query = uri.getQuery(uriContext);
+        if (query == null) {
+            query = "";
+        }
+
+        template.substitute(TemplatedURLFormatter.SCHEME_TOKEN, scheme);
+        template.substitute(TemplatedURLFormatter.DOMAIN_TOKEN, host);
+        template.substitute(TemplatedURLFormatter.PORT_TOKEN, port);
+        template.substitute(TemplatedURLFormatter.PATH_TOKEN, path);
+        template.substitute(TemplatedURLFormatter.QUERY_STRING_TOKEN, query);
+
+        return template.format();
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/src/ignoreverify/TemplateAvailableFormatter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml?view=diff&amp;rev=550619&amp;r1=550618&amp;r2=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml
(original)
+++ beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/config/testRecorder-tests.xml
Mon Jun 25 14:51:31 2007
@@ -28,6 +28,14 @@
             &lt;/categories&gt;
         &lt;/test&gt;
         &lt;test&gt;
+            &lt;name&gt;IgnoreVerify&lt;/name&gt;
+            &lt;description&gt;Format URLs using a template that does not have the required
tokens but was defined with "ignore-verify" in the URL template config file.&lt;/description&gt;
+            &lt;webapp&gt;urlTemplates&lt;/webapp&gt;
+            &lt;categories&gt;
+                &lt;category&gt;bvt&lt;/category&gt;
+            &lt;/categories&gt;
+        &lt;/test&gt;
+        &lt;test&gt;
             &lt;name&gt;UrlTemplates&lt;/name&gt;
             &lt;description&gt;Test URL templates using /WEB-INF/url-template-config.xml&lt;/description&gt;
             &lt;webapp&gt;urlTemplates&lt;/webapp&gt;

Modified: beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml?view=diff&amp;rev=550619&amp;r1=550618&amp;r2=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml (original)
+++ beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/GetURLTemplates.xml Mon
Jun 25 14:51:31 2007
@@ -76,6 +76,7 @@
 jpf-resource = http://{url:domain}:{url:port}/{url:path}?URLTEMPLATE=resource&amp;{url:queryString}
 jpf-secure-action = https://{url:domain}:8443/{url:path}?URLTEMPLATE=secure-action&amp;{url:queryString}
 jpf-secure-resource = https://{url:domain}:8443/{url:path}?URLTEMPLATE=secure-resource&amp;{url:queryString}
+path-only-ignore-verify = {url:path}?URLTEMPLATE=path-only-ignore-verify
 &lt;/pre&gt;
   &lt;/body&gt;
 

Added: beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml?view=auto&amp;rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml (added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml Mon
Jun 25 14:51:31 2007
@@ -0,0 +1,89 @@
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session"&gt;
+&lt;sessionName&gt;IgnoreVerify&lt;/sessionName&gt;
+&lt;tester&gt;crogers&lt;/tester&gt;
+&lt;startDate&gt;25 Jun 2007, 03:03:04.020 PM MDT&lt;/startDate&gt;
+&lt;description&gt;Format URLs using a URL template that does not have the required tokens
but was defined with "ignore-verify" in the URL template config file.&lt;/description&gt;
+&lt;tests&gt;
+&lt;test&gt;
+&lt;testNumber&gt;1&lt;/testNumber&gt;
+&lt;request&gt;
+&lt;protocol&gt;HTTP&lt;/protocol&gt;
+&lt;protocolVersion&gt;1.1&lt;/protocolVersion&gt;
+&lt;host&gt;localhost&lt;/host&gt;
+&lt;port&gt;8080&lt;/port&gt;
+&lt;uri&gt;/urlTemplates/ignoreverify/index.jsp&lt;/uri&gt;
+&lt;method&gt;GET&lt;/method&gt;
+&lt;parameters&gt;
+&lt;/parameters&gt;
+&lt;cookies&gt;
+&lt;cookie&gt;
+&lt;name&gt;JSESSIONID&lt;/name&gt;
+&lt;value&gt;4C8CA2AEF178248E17A1365E5EC95D43&lt;/value&gt;
+&lt;/cookie&gt;
+&lt;/cookies&gt;
+&lt;headers&gt;
+&lt;header&gt;
+&lt;name&gt;accept&lt;/name&gt;
+&lt;value&gt;*/*&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-encoding&lt;/name&gt;
+&lt;value&gt;gzip, deflate&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-language&lt;/name&gt;
+&lt;value&gt;en-us&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;connection&lt;/name&gt;
+&lt;value&gt;Keep-Alive&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;cookie&lt;/name&gt;
+&lt;value&gt;JSESSIONID=4C8CA2AEF178248E17A1365E5EC95D43&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;host&lt;/name&gt;
+&lt;value&gt;localhost:8080&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;user-agent&lt;/name&gt;
+&lt;value&gt;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1;
.NET CLR 2.0.50727; .NET CLR 3.0.04506.30)&lt;/value&gt;
+&lt;/header&gt;
+&lt;/headers&gt;
+&lt;/request&gt;
+&lt;response&gt;
+&lt;statusCode&gt;200&lt;/statusCode&gt;
+&lt;reason&gt;&lt;/reason&gt;
+&lt;responseBody&gt;
+&lt;![CDATA[&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+&gt;
+&lt;html lang="en"&gt;
+
+  &lt;head&gt;
+    &lt;title&gt;URL Template - ignore-verify Test&lt;/title&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;h3&gt;URL Template - ignore-verify Test&lt;/h3&gt;
+    &lt;a href="/urlTemplates/ignoreverify/begin.do?URLTEMPLATE=path-only-ignore-verify"&gt;&lt;i&gt;begin
action&lt;/i&gt;&lt;/a&gt;&lt;br&gt;
+    &lt;a href="/urlTemplates/ignoreverify/secure.do?URLTEMPLATE=path-only-ignore-verify"&gt;&lt;i&gt;secure
action&lt;/i&gt;&lt;/a&gt;&lt;br&gt;
+    &lt;a href="/urlTemplates/ignoreverify/unsecure.do?URLTEMPLATE=path-only-ignore-verify"&gt;&lt;i&gt;unsecure
action&lt;/i&gt;&lt;/a&gt;&lt;br&gt;
+    &lt;a href="/urlTemplates/ignoreverify/index.jsp?URLTEMPLATE=path-only-ignore-verify"&gt;index.jsp&lt;/a&gt;&lt;br&gt;
+    &lt;a href="/urlTemplates/ignoreverify/secure.jsp?URLTEMPLATE=path-only-ignore-verify"&gt;secure.jsp&lt;/a&gt;&lt;br&gt;
+    &lt;a href="/urlTemplates/ignoreverify/index.jsp?URLTEMPLATE=path-only-ignore-verify"&gt;/urlTemplates/ignoreverify/index.jsp?foo=bar&lt;/a&gt;&lt;br&gt;
+    &lt;a href="/urlTemplates/ignoreverify/secure.jsp?URLTEMPLATE=path-only-ignore-verify"&gt;/urlTemplates/ignoreverify/secure.jsp?foo=bar&lt;/a&gt;&lt;br&gt;
+    image.gif: &lt;img src="/urlTemplates/ignoreverify/image.gif?URLTEMPLATE=path-only-ignore-verify"&gt;&lt;br&gt;
+    /urlTemplates/ignoreverify/image.gif: &lt;img src="/urlTemplates/ignoreverify/image.gif?URLTEMPLATE=path-only-ignore-verify"&gt;&lt;br&gt;
+    secureImage.gif: &lt;img src="/urlTemplates/ignoreverify/secureImage.gif?URLTEMPLATE=path-only-ignore-verify"&gt;&lt;br&gt;
+    /urlTemplates/ignoreverify/secureImage.gif: &lt;img src="/urlTemplates/ignoreverify/secureImage.gif?URLTEMPLATE=path-only-ignore-verify"&gt;&lt;br&gt;
+  &lt;/body&gt;
+
+&lt;/html&gt;]]&gt;
+&lt;/responseBody&gt;
+&lt;/response&gt;
+&lt;/test&gt;
+&lt;/tests&gt;
+&lt;endDate&gt;25 Jun 2007, 03:03:47.304 PM MDT&lt;/endDate&gt;
+&lt;testCount&gt;1&lt;/testCount&gt;
+&lt;/recorderSession&gt;

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/testRecorder/tests/IgnoreVerify.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml?view=diff&amp;rev=550619&amp;r1=550618&amp;r2=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml
(original)
+++ beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/beehive-url-template-config.xml
Mon Jun 25 14:51:31 2007
@@ -31,6 +31,13 @@
             https://{url:domain}:8443/{url:path}?URLTEMPLATE=secure-resource&amp;amp;{url:queryString}
         &lt;/value&gt;
     &lt;/url-template&gt;
+    &lt;url-template&gt;
+        &lt;name&gt;path-only-ignore-verify&lt;/name&gt;
+        &lt;value&gt;
+            {url:path}?URLTEMPLATE=path-only-ignore-verify
+        &lt;/value&gt;
+        &lt;ignore-verify&gt;true&lt;/ignore-verify&gt;
+    &lt;/url-template&gt;
     &lt;url-template-ref-group&gt;
         &lt;name&gt;default-url-templates&lt;/name&gt;
         &lt;url-template-ref&gt;

Modified: beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml?view=diff&amp;rev=550619&amp;r1=550618&amp;r2=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml (original)
+++ beehive/trunk/netui/test/webapps/urlTemplates/web/WEB-INF/web.xml Mon Jun 25 14:51:31
2007
@@ -22,6 +22,12 @@
         &lt;filter-class&gt;formatter.FormatterFilter&lt;/filter-class&gt;
     &lt;/filter&gt;
 
+    &lt;!-- Filter for the "ignore-verify" URL Template test --&gt;
+    &lt;filter&gt;
+        &lt;filter-name&gt;TemplateAvailableFilter&lt;/filter-name&gt;
+        &lt;filter-class&gt;ignoreverify.TemplateAvailableFilter&lt;/filter-class&gt;
+    &lt;/filter&gt;
+
     &lt;filter&gt;
         &lt;filter-name&gt;PageFlowJspFilter&lt;/filter-name&gt;
         &lt;filter-class&gt;org.apache.beehive.netui.pageflow.PageFlowJspFilter&lt;/filter-class&gt;
@@ -40,6 +46,11 @@
     &lt;filter-mapping&gt;
         &lt;filter-name&gt;FormatterFilter&lt;/filter-name&gt;
         &lt;url-pattern&gt;/formatter/index.jsp&lt;/url-pattern&gt;
+    &lt;/filter-mapping&gt;
+
+    &lt;filter-mapping&gt;
+        &lt;filter-name&gt;TemplateAvailableFilter&lt;/filter-name&gt;
+        &lt;url-pattern&gt;/ignoreverify/index.jsp&lt;/url-pattern&gt;
     &lt;/filter-mapping&gt;
 
     &lt;filter-mapping&gt;

Added: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/image.gif
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/image.gif?view=auto&amp;rev=550619
==============================================================================
Binary file - no diff available.

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/image.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp?view=auto&amp;rev=550619
==============================================================================
--- beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp (added)
+++ beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp Mon Jun 25 14:51:31
2007
@@ -0,0 +1,21 @@
+&lt;%@ page language="java" contentType="text/html;charset=UTF-8"%&gt;
+&lt;%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%&gt;
+&lt;netui:html&gt;
+  &lt;head&gt;
+    &lt;title&gt;URL Template - ignore-verify Test&lt;/title&gt;
+  &lt;/head&gt;
+  &lt;body&gt;
+    &lt;h3&gt;URL Template - ignore-verify Test&lt;/h3&gt;
+    &lt;netui:anchor action="begin"&gt;&lt;i&gt;begin action&lt;/i&gt;&lt;/netui:anchor&gt;&lt;br&gt;
+    &lt;netui:anchor action="secure"&gt;&lt;i&gt;secure action&lt;/i&gt;&lt;/netui:anchor&gt;&lt;br&gt;
+    &lt;netui:anchor action="unsecure"&gt;&lt;i&gt;unsecure action&lt;/i&gt;&lt;/netui:anchor&gt;&lt;br&gt;
+    &lt;netui:anchor href="index.jsp"&gt;index.jsp&lt;/netui:anchor&gt;&lt;br&gt;
+    &lt;netui:anchor href="secure.jsp"&gt;secure.jsp&lt;/netui:anchor&gt;&lt;br&gt;
+    &lt;netui:anchor href="/urlTemplates/ignoreverify/index.jsp?foo=bar"&gt;/urlTemplates/ignoreverify/index.jsp?foo=bar&lt;/netui:anchor&gt;&lt;br&gt;
+    &lt;netui:anchor href="/urlTemplates/ignoreverify/secure.jsp?foo=bar"&gt;/urlTemplates/ignoreverify/secure.jsp?foo=bar&lt;/netui:anchor&gt;&lt;br&gt;
+    image.gif: &lt;netui:image src="image.gif"/&gt;&lt;br&gt;
+    /urlTemplates/ignoreverify/image.gif: &lt;netui:image src="/urlTemplates/ignoreverify/image.gif"/&gt;&lt;br&gt;
+    secureImage.gif: &lt;netui:image src="secureImage.gif"/&gt;&lt;br&gt;
+    /urlTemplates/ignoreverify/secureImage.gif: &lt;netui:image src="/urlTemplates/ignoreverify/secureImage.gif"/&gt;&lt;br&gt;
+  &lt;/body&gt;
+&lt;/netui:html&gt;

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/secureImage.gif
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/secureImage.gif?view=auto&amp;rev=550619
==============================================================================
Binary file - no diff available.

Propchange: beehive/trunk/netui/test/webapps/urlTemplates/web/ignoreverify/secureImage.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r550618 - in /beehive/trunk/netui/src: pageflow/org/apache/beehive/netui/script/el/util/ParseUtils.java tags-html/org/apache/beehive/netui/tags/html/RewriteName.java</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200706.mbox/%3c20070625214403.04DFB1A981A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070625214403-04DFB1A981A@eris-apache-org%3e</id>
<updated>2007-06-25T21:44:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Mon Jun 25 14:44:02 2007
New Revision: 550618

URL: http://svn.apache.org/viewvc?view=rev&amp;rev=550618
Log:
Fix up some javadoc.


Modified:
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/util/ParseUtils.java
    beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteName.java

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/util/ParseUtils.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/util/ParseUtils.java?view=diff&amp;rev=550618&amp;r1=550617&amp;r2=550618
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/util/ParseUtils.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/script/el/util/ParseUtils.java
Mon Jun 25 14:44:02 2007
@@ -47,7 +47,7 @@
     }
 
     /**
-     * Parse the givne String into a {@link ParsedExpression}.
+     * Parse the given String into a {@link ParsedExpression}.
      * @param expression the expression
      * @return the parsed expression
      */

Modified: beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteName.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteName.java?view=diff&amp;rev=550618&amp;r1=550617&amp;r2=550618
==============================================================================
--- beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteName.java
(original)
+++ beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteName.java
Mon Jun 25 14:44:02 2007
@@ -62,15 +62,16 @@
  * id attribute on the page).
  * &lt;/p&gt;
  *
- * @example In this sample, we are setting the id attribute of the span tag to
- * 'foo'.  The actual value (the real id) that will be rendered in the HTML
+ * @example In this sample, we are setting the id attribute of the div tag to
+ * 'foo' so that it has a way to participate in the NetUI JavaScript scoping
+ * features.  The actual value (the real id) that will be rendered in the HTML
  * may change depending on the container where the web application resides.
- * For example, a Portal container may render &amp;lt;span id="scope1.foo"&gt;
- * instead of &amp;lt;span name="foo"&gt;. But the value 'foo' can be passed to
+ * For example, a Portal container may render &amp;lt;div id="scope1.foo"&gt;
+ * instead of &amp;lt;div name="foo"&gt;. But the value 'foo' can be passed to
  * &lt;code&gt;lookupIdByTagId( "foo", tag )&lt;/code&gt; to find the rendered
  * value of the id attribute.
  *
- * &lt;pre&gt;    &amp;lt;span id="&amp;lt;netui:rewriteName name="foo"  forTagId="true"/&amp;gt;"&amp;gt;&lt;/pre&gt;
+ * &lt;pre&gt;    &amp;lt;div id="&amp;lt;netui:rewriteName name="foo"  forTagId="true"/&amp;gt;"&amp;gt;&lt;/pre&gt;
  * @netui:tag name="rewriteName" description="Allows a URL parameter name or tag id attribute
to participate in rewriting before it is output into the HTML stream."
  */
 public class RewriteName




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r545494 - in /beehive/trunk/netui: src/pageflow/org/apache/beehive/netui/pageflow/ src/pageflow/org/apache/beehive/netui/pageflow/internal/ src/scoping/org/apache/beehive/netui/pageflow/scoping/ src/tags-html/org/apache/beehive/netui/tags/h...</title>
<author><name>crogers@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200706.mbox/%3c20070608124231.9CB441A981A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070608124231-9CB441A981A@eris-apache-org%3e</id>
<updated>2007-06-08T12:42:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: crogers
Date: Fri Jun  8 05:42:28 2007
New Revision: 545494

URL: http://svn.apache.org/viewvc?view=rev&amp;rev=545494
Log:
This is a contribution from Scott L'Hommedieu for BEEHIVE-1197. I modified the changes so
that we escape characters for use as a param in the URL rather than use HTML entities. Also
added junit and TestRecorder tests. Thanks for the help Scott!

Tests: NetUI BVT (WinXP passed)


Added:
    beehive/trunk/netui/test/webapps/drt/src/bugs/j1197/
    beehive/trunk/netui/test/webapps/drt/src/bugs/j1197/Controller.java   (with props)
    beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1197.xml   (with props)
    beehive/trunk/netui/test/webapps/drt/web/bugs/j1197/
    beehive/trunk/netui/test/webapps/drt/web/bugs/j1197/index.jsp   (with props)
Modified:
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLRewriter.java
    beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java
    beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java
    beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java
    beehive/trunk/netui/test/src/junitTests/org/apache/beehive/netui/test/pageflow/scoping/ScopedServletUtilsTest.java
    beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java?view=diff&amp;rev=545494&amp;r1=545493&amp;r2=545494
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowRequestProcessor.java
Fri Jun  8 05:42:28 2007
@@ -1548,7 +1548,7 @@
         //
         // If the current request is scoped, add the right request parameter to the URL.
         //
-        String scopeID = request.getParameter( ScopedServletUtils.SCOPE_ID_PARAM );
+        String scopeID = ScopedServletUtils.getScopeIdParamValue(request);
         if ( scopeID != null )
         {
             return InternalUtils.addParam( url, ScopedServletUtils.SCOPE_ID_PARAM, scopeID
);

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLRewriter.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLRewriter.java?view=diff&amp;rev=545494&amp;r1=545493&amp;r2=545494
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLRewriter.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/DefaultURLRewriter.java
Fri Jun  8 05:42:28 2007
@@ -120,7 +120,7 @@
         // If the current request has a special parameter that addresses a named 'scope',
         // add the parameter to the URL.
         //
-        String scopeID = request.getParameter( ScopedServletUtils.SCOPE_ID_PARAM );
+        String scopeID = ScopedServletUtils.getScopeIdParamValue(request);
         if ( scopeID != null )
         {
             // check to see if the param is already there.

Modified: beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java?view=diff&amp;rev=545494&amp;r1=545493&amp;r2=545494
==============================================================================
--- beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java
(original)
+++ beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/internal/InternalUtils.java
Fri Jun  8 05:42:28 2007
@@ -18,26 +18,43 @@
  */
 package org.apache.beehive.netui.pageflow.internal;
 
-import org.apache.beehive.netui.util.internal.InternalStringBuilder;
+import java.io.IOException;
+import java.lang.reflect.Field;
+import java.lang.reflect.Method;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.LinkedHashMap;
+import java.util.Locale;
+import java.util.Map;
+
+import javax.servlet.ServletContext;
+import javax.servlet.ServletException;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+import javax.servlet.jsp.JspContext;
+import javax.servlet.jsp.PageContext;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.servlet.http.HttpSession;
 
 import org.apache.beehive.netui.pageflow.*;
-import org.apache.beehive.netui.pageflow.config.PageFlowActionMapping;
-import org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig;
-import org.apache.beehive.netui.pageflow.config.PageFlowActionFormBean;
 import org.apache.beehive.netui.pageflow.config.DelegatingActionMapping;
 import org.apache.beehive.netui.pageflow.config.DelegatingExceptionConfig;
+import org.apache.beehive.netui.pageflow.config.PageFlowActionFormBean;
+import org.apache.beehive.netui.pageflow.config.PageFlowActionMapping;
+import org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig;
 import org.apache.beehive.netui.pageflow.handler.Handlers;
 import org.apache.beehive.netui.pageflow.handler.ReloadableClassHandler;
 import org.apache.beehive.netui.pageflow.handler.StorageHandler;
 import org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils;
 import org.apache.beehive.netui.util.Bundle;
-import org.apache.beehive.netui.util.internal.ServletUtils;
 import org.apache.beehive.netui.util.config.ConfigUtil;
 import org.apache.beehive.netui.util.config.bean.MultipartHandler;
 import org.apache.beehive.netui.util.config.bean.PageFlowConfig;
+import org.apache.beehive.netui.util.internal.InternalStringBuilder;
+import org.apache.beehive.netui.util.internal.ServletUtils;
 import org.apache.beehive.netui.util.logging.Logger;
 import org.apache.struts.Globals;
-import org.apache.struts.util.MessageResources;
 import org.apache.struts.action.*;
 import org.apache.struts.config.ActionConfig;
 import org.apache.struts.config.ControllerConfig;
@@ -46,24 +63,7 @@
 import org.apache.struts.config.MessageResourcesConfig;
 import org.apache.struts.config.ExceptionConfig;
 import org.apache.struts.upload.MultipartRequestWrapper;
-
-import javax.servlet.ServletContext;
-import javax.servlet.ServletException;
-import javax.servlet.ServletRequest;
-import javax.servlet.ServletResponse;
-import javax.servlet.jsp.JspContext;
-import javax.servlet.jsp.PageContext;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import javax.servlet.http.HttpSession;
-import java.io.IOException;
-import java.lang.reflect.Field;
-import java.lang.reflect.Method;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.LinkedHashMap;
-import java.util.Map;
-import java.util.Locale;
+import org.apache.struts.util.MessageResources;
 
 public class InternalUtils
         implements PageFlowConstants, InternalConstants
@@ -171,7 +171,7 @@
      * Filter output to prevent cross-site scripting (XSS) attacks.
      */
     private static String filterValue(String value) 
-            throws IOException {
+    {
         InternalStringBuilder result = new InternalStringBuilder(value.length());
         
         for (int i = 0; i &lt; value.length(); ++i) {

Modified: beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java?view=diff&amp;rev=545494&amp;r1=545493&amp;r2=545494
==============================================================================
--- beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java
(original)
+++ beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java
Fri Jun  8 05:42:28 2007
@@ -18,10 +18,9 @@
  */
 package org.apache.beehive.netui.pageflow.scoping;
 
-import org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestImpl;
-import org.apache.beehive.netui.pageflow.scoping.internal.ScopedResponseImpl;
-import org.apache.beehive.netui.util.logging.Logger;
-import org.apache.struts.upload.MultipartRequestWrapper;
+import java.io.IOException;
+import java.net.URI;
+import java.net.URISyntaxException;
 
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
@@ -32,8 +31,13 @@
 import javax.servlet.ServletResponse;
 import javax.servlet.ServletResponseWrapper;
 
-import java.net.URI;
-import java.net.URISyntaxException;
+import org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestImpl;
+import org.apache.beehive.netui.pageflow.scoping.internal.ScopedResponseImpl;
+import org.apache.beehive.netui.util.Bundle;
+import org.apache.beehive.netui.util.ParamHelper;
+import org.apache.beehive.netui.util.internal.InternalStringBuilder;
+import org.apache.beehive.netui.util.logging.Logger;
+import org.apache.struts.upload.MultipartRequestWrapper;
 
 
 /**
@@ -317,7 +321,7 @@
      */ 
     public static String getScopedSessionAttrName( String attrName, HttpServletRequest request
)
     {
-        String requestScopeParam = request.getParameter( SCOPE_ID_PARAM );
+        String requestScopeParam = getScopeIdParamValue(request);
         
         if ( requestScopeParam != null )
         {
@@ -455,13 +459,62 @@
         
         return uri;
     }
-    
-    
+
     /**
      * @exclude
      */ 
     public static String decodeURI( HttpServletRequest request )
     {
         return request.getContextPath() + request.getServletPath();     // TODO: always decoded?
+    }
+
+    /**
+     * This method is for use by the framework. It is a utility
+     * method to get the scope Id parameter from the request.
+     *
+     * @param request the request
+     * @return the value of the scope Id parameter from the request.
+     * @exclude
+     */
+    public static String getScopeIdParamValue(ServletRequest request)
+    {
+        String jpfScopeID = request.getParameter(SCOPE_ID_PARAM);
+
+        // make sure any scripting characters get escaped.
+        jpfScopeID = filterParamValue(jpfScopeID);
+
+        return jpfScopeID;
+    }
+
+    /*
+     * Filter a parameter value to prevent cross-site scripting attacks.
+     * Just escapes some of the characters in the value with their
+     * associated entities;
+     */
+    private static String filterParamValue(String value)
+    {
+        if (value == null) {
+            return null;
+        }
+
+        InternalStringBuilder result = new InternalStringBuilder(value.length());
+        for (int i = 0; i &lt; value.length(); ++i) {
+            char c = value.charAt(i);
+            switch (c) {
+                case '&lt;':
+                    result.append("%3C");
+                    break;
+                case '&gt;':
+                    result.append("%3E");
+                    break;
+                case '"':
+                    result.append("%22");
+                    break;
+                default:
+                    result.append(c);
+            }
+        }
+
+        return result.toString();
     }
 }

Modified: beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java?view=diff&amp;rev=545494&amp;r1=545493&amp;r2=545494
==============================================================================
--- beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java (original)
+++ beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Form.java Fri Jun
 8 05:42:28 2007
@@ -902,7 +902,7 @@
         URLRewriterService.rewriteURL(servletContext, request, response, uri, URLType.ACTION,
needsToBeSecure);
 
         // Add a scope-ID hidden input, if there's one on this tag, or one in the request.
-        String targetScope = (_targetScope != null) ? _targetScope : request.getParameter(ScopedServletUtils.SCOPE_ID_PARAM);
+        String targetScope = (_targetScope != null) ? _targetScope : ScopedServletUtils.getScopeIdParamValue(request);
         if (targetScope != null) {
             if (_params == null) {
                 _params = new HashMap();

Modified: beehive/trunk/netui/test/src/junitTests/org/apache/beehive/netui/test/pageflow/scoping/ScopedServletUtilsTest.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/src/junitTests/org/apache/beehive/netui/test/pageflow/scoping/ScopedServletUtilsTest.java?view=diff&amp;rev=545494&amp;r1=545493&amp;r2=545494
==============================================================================
--- beehive/trunk/netui/test/src/junitTests/org/apache/beehive/netui/test/pageflow/scoping/ScopedServletUtilsTest.java
(original)
+++ beehive/trunk/netui/test/src/junitTests/org/apache/beehive/netui/test/pageflow/scoping/ScopedServletUtilsTest.java
Fri Jun  8 05:42:28 2007
@@ -167,6 +167,15 @@
         assertEquals(relativeURI, ScopedServletUtils.getRelativeURI(contextPath, uri));
     }
 
+    public void testGetHTMLEncodedScopeIDParam() {
+        String name = "jpfScopeID";
+        String value = "\"&gt;&lt;script&gt;alert('gotcha')&lt;/script&gt;";
+        String query = name + "=" + value;
+        HttpServletRequest request = ServletFactory.getServletRequest(query);
+        String escapedName = ScopedServletUtils.getScopeIdParamValue(request);
+        assertEquals(escapedName, "%22%3E%3Cscript%3Ealert('gotcha')%3C/script%3E");
+    }
+
     public final class TestRequestWrapper extends HttpServletRequestWrapper
     {
         public TestRequestWrapper(HttpServletRequest delegate) {

Added: beehive/trunk/netui/test/webapps/drt/src/bugs/j1197/Controller.java
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/src/bugs/j1197/Controller.java?view=auto&amp;rev=545494
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/src/bugs/j1197/Controller.java (added)
+++ beehive/trunk/netui/test/webapps/drt/src/bugs/j1197/Controller.java Fri Jun  8 05:42:28
2007
@@ -0,0 +1,69 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * $Header:$
+ */
+package bugs.j1197;
+
+import org.apache.beehive.netui.pageflow.Forward;
+import org.apache.beehive.netui.pageflow.PageFlowController;
+import org.apache.beehive.netui.pageflow.annotations.Jpf;
+import org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils;
+
+@Jpf.Controller()
+public class Controller extends PageFlowController
+{
+    private String _scopeId;
+    public String getScopeId() {
+        return _scopeId;
+    }
+    public void setScopeId(String id) {
+        _scopeId = id;
+    }
+
+    @Jpf.Action(
+        forwards={
+            @Jpf.Forward(name = "success", path = "index.jsp")
+        }
+    )
+    protected Forward begin() throws Throwable {
+        Forward forward = new Forward("success");
+        setScopeId(ScopedServletUtils.getScopeIdParamValue(getRequest()));
+        return forward;
+    }
+
+    @Jpf.Action(
+        forwards={
+            @Jpf.Forward(name = "success", path = "index.jsp")
+        }
+    )
+    protected Forward submit(MyBean bean) throws Throwable {
+        Forward forward = new Forward("success");
+        setScopeId(ScopedServletUtils.getScopeIdParamValue(getRequest()));
+        return forward;
+    }
+
+    @Jpf.FormBean
+    public static class MyBean implements java.io.Serializable {
+        private String _name;
+        public String getName() {
+            return _name;
+        }
+        public void setName(String name) {
+            _name = name;
+        }
+    }
+}

Propchange: beehive/trunk/netui/test/webapps/drt/src/bugs/j1197/Controller.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml?view=diff&amp;rev=545494&amp;r1=545493&amp;r2=545494
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml (original)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml Fri Jun
 8 05:42:28 2007
@@ -5293,6 +5293,16 @@
          &lt;/features&gt;
       &lt;/test&gt;
       &lt;test&gt;
+         &lt;name&gt;J1197&lt;/name&gt;
+         &lt;description&gt;Filter script from jpfScopeID request param (BEEHIVE-1197).&lt;/description&gt;
+         &lt;webapp&gt;coreWeb&lt;/webapp&gt;
+         &lt;categories&gt;
+            &lt;category&gt;bvt&lt;/category&gt;
+            &lt;category&gt;bvt.struts11&lt;/category&gt;
+            &lt;category&gt;jiraBugs&lt;/category&gt;
+         &lt;/categories&gt;
+      &lt;/test&gt;
+      &lt;test&gt;
          &lt;name&gt;JpfScopedFormsTest49&lt;/name&gt;
          &lt;description&gt;JpfScopedFormsTest49&lt;/description&gt;
          &lt;webapp&gt;coreWeb&lt;/webapp&gt;

Added: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1197.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1197.xml?view=auto&amp;rev=545494
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1197.xml (added)
+++ beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1197.xml Fri Jun  8 05:42:28
2007
@@ -0,0 +1,343 @@
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;recorderSession xmlns="http://beehive.apache.org/netui/tools/testrecorder/2004/session"&gt;
+&lt;sessionName&gt;J1197&lt;/sessionName&gt;
+&lt;tester&gt;crogers&lt;/tester&gt;
+&lt;startDate&gt;07 Jun 2007, 04:51:25.991 PM MDT&lt;/startDate&gt;
+&lt;description&gt;Filter script from jpfScopeID request param (BEEHIVE-1197).&lt;/description&gt;
+&lt;tests&gt;
+&lt;test&gt;
+&lt;testNumber&gt;1&lt;/testNumber&gt;
+&lt;request&gt;
+&lt;protocol&gt;HTTP&lt;/protocol&gt;
+&lt;protocolVersion&gt;1.1&lt;/protocolVersion&gt;
+&lt;host&gt;localhost&lt;/host&gt;
+&lt;port&gt;8080&lt;/port&gt;
+&lt;uri&gt;/coreWeb/bugs/j1197/begin.do&lt;/uri&gt;
+&lt;method&gt;GET&lt;/method&gt;
+&lt;parameters&gt;
+&lt;/parameters&gt;
+&lt;cookies&gt;
+&lt;cookie&gt;
+&lt;name&gt;JSESSIONID&lt;/name&gt;
+&lt;value&gt;420651557751ADFDCF80A37B291B09EF&lt;/value&gt;
+&lt;/cookie&gt;
+&lt;/cookies&gt;
+&lt;headers&gt;
+&lt;header&gt;
+&lt;name&gt;---------------&lt;/name&gt;
+&lt;value&gt;------------&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept&lt;/name&gt;
+&lt;value&gt;text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-charset&lt;/name&gt;
+&lt;value&gt;UTF-8,*&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-encoding&lt;/name&gt;
+&lt;value&gt;gzip, deflate&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-language&lt;/name&gt;
+&lt;value&gt;en-us,en;q=0.5&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;connection&lt;/name&gt;
+&lt;value&gt;keep-alive&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;cookie&lt;/name&gt;
+&lt;value&gt;JSESSIONID=420651557751ADFDCF80A37B291B09EF&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;host&lt;/name&gt;
+&lt;value&gt;localhost:8080&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;keep-alive&lt;/name&gt;
+&lt;value&gt;300&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;user-agent&lt;/name&gt;
+&lt;value&gt;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4&lt;/value&gt;
+&lt;/header&gt;
+&lt;/headers&gt;
+&lt;/request&gt;
+&lt;response&gt;
+&lt;statusCode&gt;200&lt;/statusCode&gt;
+&lt;reason&gt;&lt;/reason&gt;
+&lt;responseBody&gt;
+&lt;![CDATA[&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+	"http://www.w3.org/TR/html4/loose.dtd"&gt;
+&lt;html lang="en"&gt;
+
+&lt;head&gt;
+    &lt;title&gt;Test for BEEHIVE-1197&lt;/title&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;p&gt;Beehive NetUI JavaServer Page - /coreWeb/bugs/j1197/index.jsp&lt;/p&gt;
+
+    &lt;p&gt;Test for BEEHIVE-1197&lt;/p&gt;
+    &lt;p&gt;
+        Add the following to either the Controller.jpf, begin.do,
+        or submit.do URLs
+    &lt;/p&gt;
+    &lt;code&gt;?jpfScopeID=&amp;#037;22&amp;#037;3E&amp;#037;3Cscript&amp;#037;3Ealert('gotcha')&amp;#037;3C/script&amp;#037;3E&lt;/code&gt;
+
+    &lt;form action="/coreWeb/bugs/j1197/submit.do" method="post"&gt;
+        &lt;table&gt;
+            &lt;tr valign="top"&gt;
+                &lt;td&gt;&lt;label for="name"&gt; Name: &lt;/label&gt;&lt;/td&gt;
+                &lt;td&gt;&lt;input type="text" name="{actionForm.name}"&gt;&lt;/td&gt;
+            &lt;/tr&gt;
+        &lt;/table&gt;
+        &lt;input type="submit" value="Submit"&gt;
+    &lt;/form&gt;
+
+    &lt;a href="/coreWeb/bugs/j1197/begin.do"&gt;Begin&lt;/a&gt;
+
+    &lt;br&gt;
+    Results: filtered jpfScopeID param =
+    &lt;span&gt;&lt;/span&gt;
+&lt;/body&gt;
+
+&lt;/html&gt;]]&gt;
+&lt;/responseBody&gt;
+&lt;/response&gt;
+&lt;/test&gt;
+&lt;test&gt;
+&lt;testNumber&gt;2&lt;/testNumber&gt;
+&lt;request&gt;
+&lt;protocol&gt;HTTP&lt;/protocol&gt;
+&lt;protocolVersion&gt;1.1&lt;/protocolVersion&gt;
+&lt;host&gt;localhost&lt;/host&gt;
+&lt;port&gt;8080&lt;/port&gt;
+&lt;uri&gt;/coreWeb/bugs/j1197/begin.do&lt;/uri&gt;
+&lt;method&gt;GET&lt;/method&gt;
+&lt;parameters&gt;
+&lt;parameter&gt;
+&lt;name&gt;jpfScopeID&lt;/name&gt;
+&lt;value&gt;%22%3E%3Cscript%3Ealert(&amp;#39;gotcha&amp;#39;)%3C/script%3E&lt;/value&gt;
+&lt;/parameter&gt;
+&lt;/parameters&gt;
+&lt;cookies&gt;
+&lt;cookie&gt;
+&lt;name&gt;JSESSIONID&lt;/name&gt;
+&lt;value&gt;420651557751ADFDCF80A37B291B09EF&lt;/value&gt;
+&lt;/cookie&gt;
+&lt;/cookies&gt;
+&lt;headers&gt;
+&lt;header&gt;
+&lt;name&gt;---------------&lt;/name&gt;
+&lt;value&gt;------------&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept&lt;/name&gt;
+&lt;value&gt;text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-charset&lt;/name&gt;
+&lt;value&gt;UTF-8,*&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-encoding&lt;/name&gt;
+&lt;value&gt;gzip, deflate&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-language&lt;/name&gt;
+&lt;value&gt;en-us,en;q=0.5&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;connection&lt;/name&gt;
+&lt;value&gt;keep-alive&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;cookie&lt;/name&gt;
+&lt;value&gt;JSESSIONID=420651557751ADFDCF80A37B291B09EF&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;host&lt;/name&gt;
+&lt;value&gt;localhost:8080&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;keep-alive&lt;/name&gt;
+&lt;value&gt;300&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;user-agent&lt;/name&gt;
+&lt;value&gt;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4&lt;/value&gt;
+&lt;/header&gt;
+&lt;/headers&gt;
+&lt;/request&gt;
+&lt;response&gt;
+&lt;statusCode&gt;200&lt;/statusCode&gt;
+&lt;reason&gt;&lt;/reason&gt;
+&lt;responseBody&gt;
+&lt;![CDATA[&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+	"http://www.w3.org/TR/html4/loose.dtd"&gt;
+&lt;html lang="en"&gt;
+
+&lt;head&gt;
+    &lt;title&gt;Test for BEEHIVE-1197&lt;/title&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;p&gt;Beehive NetUI JavaServer Page - /coreWeb/bugs/j1197/index.jsp&lt;/p&gt;
+
+    &lt;p&gt;Test for BEEHIVE-1197&lt;/p&gt;
+    &lt;p&gt;
+        Add the following to either the Controller.jpf, begin.do,
+        or submit.do URLs
+    &lt;/p&gt;
+    &lt;code&gt;?jpfScopeID=&amp;#037;22&amp;#037;3E&amp;#037;3Cscript&amp;#037;3Ealert('gotcha')&amp;#037;3C/script&amp;#037;3E&lt;/code&gt;
+
+    &lt;form action="/coreWeb/bugs/j1197/submit.do" method="post"&gt;
+&lt;input type="hidden" name="jpfScopeID" value="%22%3E%3Cscript%3Ealert('gotcha')%3C/script%3E"&gt;
+        &lt;table&gt;
+            &lt;tr valign="top"&gt;
+                &lt;td&gt;&lt;label for="name"&gt; Name: &lt;/label&gt;&lt;/td&gt;
+                &lt;td&gt;&lt;input type="text" name="{actionForm.name}"&gt;&lt;/td&gt;
+            &lt;/tr&gt;
+        &lt;/table&gt;
+        &lt;input type="submit" value="Submit"&gt;
+    &lt;/form&gt;
+
+    &lt;a href="/coreWeb/bugs/j1197/begin.do?jpfScopeID=%22%3E%3Cscript%3Ealert('gotcha')%3C/script%3E"&gt;Begin&lt;/a&gt;
+
+    &lt;br&gt;
+    Results: filtered jpfScopeID param =
+    &lt;span&gt;%22%3E%3Cscript%3Ealert(&amp;#39;gotcha&amp;#39;)%3C/script%3E&lt;/span&gt;
+&lt;/body&gt;
+
+&lt;/html&gt;]]&gt;
+&lt;/responseBody&gt;
+&lt;/response&gt;
+&lt;/test&gt;
+&lt;test&gt;
+&lt;testNumber&gt;3&lt;/testNumber&gt;
+&lt;request&gt;
+&lt;protocol&gt;HTTP&lt;/protocol&gt;
+&lt;protocolVersion&gt;1.1&lt;/protocolVersion&gt;
+&lt;host&gt;localhost&lt;/host&gt;
+&lt;port&gt;8080&lt;/port&gt;
+&lt;uri&gt;/coreWeb/bugs/j1197/submit.do&lt;/uri&gt;
+&lt;method&gt;POST&lt;/method&gt;
+&lt;parameters&gt;
+&lt;parameter&gt;
+&lt;name&gt;jpfScopeID&lt;/name&gt;
+&lt;value&gt;%22%3E%3Cscript%3Ealert('gotcha')%3C/script%3E&lt;/value&gt;
+&lt;/parameter&gt;
+&lt;parameter&gt;
+&lt;name&gt;{actionForm.name}&lt;/name&gt;
+&lt;value&gt;test&lt;/value&gt;
+&lt;/parameter&gt;
+&lt;/parameters&gt;
+&lt;cookies&gt;
+&lt;cookie&gt;
+&lt;name&gt;JSESSIONID&lt;/name&gt;
+&lt;value&gt;420651557751ADFDCF80A37B291B09EF&lt;/value&gt;
+&lt;/cookie&gt;
+&lt;/cookies&gt;
+&lt;headers&gt;
+&lt;header&gt;
+&lt;name&gt;-------&lt;/name&gt;
+&lt;value&gt;----:-----------:------------------------------------------------------------------------------------------&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;---------------&lt;/name&gt;
+&lt;value&gt;------------&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept&lt;/name&gt;
+&lt;value&gt;text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-charset&lt;/name&gt;
+&lt;value&gt;UTF-8,*&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-encoding&lt;/name&gt;
+&lt;value&gt;gzip, deflate&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;accept-language&lt;/name&gt;
+&lt;value&gt;en-us,en;q=0.5&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;connection&lt;/name&gt;
+&lt;value&gt;keep-alive&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;content-length&lt;/name&gt;
+&lt;value&gt;106&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;content-type&lt;/name&gt;
+&lt;value&gt;application/x-www-form-urlencoded&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;cookie&lt;/name&gt;
+&lt;value&gt;JSESSIONID=420651557751ADFDCF80A37B291B09EF&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;host&lt;/name&gt;
+&lt;value&gt;localhost:8080&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;keep-alive&lt;/name&gt;
+&lt;value&gt;300&lt;/value&gt;
+&lt;/header&gt;
+&lt;header&gt;
+&lt;name&gt;user-agent&lt;/name&gt;
+&lt;value&gt;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4&lt;/value&gt;
+&lt;/header&gt;
+&lt;/headers&gt;
+&lt;/request&gt;
+&lt;response&gt;
+&lt;statusCode&gt;200&lt;/statusCode&gt;
+&lt;reason&gt;&lt;/reason&gt;
+&lt;responseBody&gt;
+&lt;![CDATA[&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+	"http://www.w3.org/TR/html4/loose.dtd"&gt;
+&lt;html lang="en"&gt;
+
+&lt;head&gt;
+    &lt;title&gt;Test for BEEHIVE-1197&lt;/title&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;p&gt;Beehive NetUI JavaServer Page - /coreWeb/bugs/j1197/index.jsp&lt;/p&gt;
+
+    &lt;p&gt;Test for BEEHIVE-1197&lt;/p&gt;
+    &lt;p&gt;
+        Add the following to either the Controller.jpf, begin.do,
+        or submit.do URLs
+    &lt;/p&gt;
+    &lt;code&gt;?jpfScopeID=&amp;#037;22&amp;#037;3E&amp;#037;3Cscript&amp;#037;3Ealert('gotcha')&amp;#037;3C/script&amp;#037;3E&lt;/code&gt;
+
+    &lt;form action="/coreWeb/bugs/j1197/submit.do" method="post"&gt;
+&lt;input type="hidden" name="jpfScopeID" value="%22%3E%3Cscript%3Ealert('gotcha')%3C/script%3E"&gt;
+        &lt;table&gt;
+            &lt;tr valign="top"&gt;
+                &lt;td&gt;&lt;label for="name"&gt; Name: &lt;/label&gt;&lt;/td&gt;
+                &lt;td&gt;&lt;input type="text" name="{actionForm.name}" value="test"&gt;&lt;/td&gt;
+            &lt;/tr&gt;
+        &lt;/table&gt;
+        &lt;input type="submit" value="Submit"&gt;
+    &lt;/form&gt;
+
+    &lt;a href="/coreWeb/bugs/j1197/begin.do?jpfScopeID=%22%3E%3Cscript%3Ealert('gotcha')%3C/script%3E"&gt;Begin&lt;/a&gt;
+
+    &lt;br&gt;
+    Results: filtered jpfScopeID param =
+    &lt;span&gt;%22%3E%3Cscript%3Ealert(&amp;#39;gotcha&amp;#39;)%3C/script%3E&lt;/span&gt;
+&lt;/body&gt;
+
+&lt;/html&gt;]]&gt;
+&lt;/responseBody&gt;
+&lt;/response&gt;
+&lt;/test&gt;
+&lt;/tests&gt;
+&lt;endDate&gt;07 Jun 2007, 04:52:20.370 PM MDT&lt;/endDate&gt;
+&lt;testCount&gt;3&lt;/testCount&gt;
+&lt;/recorderSession&gt;

Propchange: beehive/trunk/netui/test/webapps/drt/testRecorder/tests/J1197.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/netui/test/webapps/drt/web/bugs/j1197/index.jsp
URL: http://svn.apache.org/viewvc/beehive/trunk/netui/test/webapps/drt/web/bugs/j1197/index.jsp?view=auto&amp;rev=545494
==============================================================================
--- beehive/trunk/netui/test/webapps/drt/web/bugs/j1197/index.jsp (added)
+++ beehive/trunk/netui/test/webapps/drt/web/bugs/j1197/index.jsp Fri Jun  8 05:42:28 2007
@@ -0,0 +1,51 @@
+&lt;%--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+   $Header:$
+--%&gt;
+&lt;%@ page language="java" contentType="text/html;charset=UTF-8"%&gt;
+&lt;%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%&gt;
+&lt;netui:html&gt;
+&lt;head&gt;
+    &lt;title&gt;Test for BEEHIVE-1197&lt;/title&gt;
+&lt;/head&gt;
+&lt;netui:body&gt;
+    &lt;p&gt;Beehive NetUI JavaServer Page - ${pageContext.request.requestURI}&lt;/p&gt;
+
+    &lt;p&gt;Test for BEEHIVE-1197&lt;/p&gt;
+    &lt;p&gt;
+        Add the following to either the Controller.jpf, begin.do,
+        or submit.do URLs
+    &lt;/p&gt;
+    &lt;code&gt;?jpfScopeID=&amp;#037;22&amp;#037;3E&amp;#037;3Cscript&amp;#037;3Ealert('gotcha')&amp;#037;3C/script&amp;#037;3E&lt;/code&gt;
+
+    &lt;netui:form action="submit"&gt;
+        &lt;table&gt;
+            &lt;tr valign="top"&gt;
+                &lt;td&gt;&lt;label for="name"&gt; Name: &lt;/label&gt;&lt;/td&gt;
+                &lt;td&gt;&lt;netui:textBox dataSource="actionForm.name"&gt;&lt;/netui:textBox&gt;&lt;/td&gt;
+            &lt;/tr&gt;
+        &lt;/table&gt;
+        &lt;netui:button value="Submit" type="submit" /&gt;
+    &lt;/netui:form&gt;
+
+    &lt;netui:anchor action="begin"&gt;Begin&lt;/netui:anchor&gt;
+
+    &lt;br&gt;
+    Results: filtered jpfScopeID param =
+    &lt;netui:span value="${pageFlow.scopeId}"/&gt;
+&lt;/netui:body&gt;
+&lt;/netui:html&gt;

Propchange: beehive/trunk/netui/test/webapps/drt/web/bugs/j1197/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native




</pre>
</div>
</content>
</entry>
<entry>
<title>svn commit: r544871 - in /beehive/trunk/controls/test: ./ src/junit-controls/org/apache/beehive/controls/test/controls/bindings/</title>
<author><name>cschoett@apache.org</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-commits/200706.mbox/%3c20070606155648.31C2A1A981A@eris.apache.org%3e"/>
<id>urn:uuid:%3c20070606155648-31C2A1A981A@eris-apache-org%3e</id>
<updated>2007-06-06T15:56:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Author: cschoett
Date: Wed Jun  6 08:56:46 2007
New Revision: 544871

URL: http://svn.apache.org/viewvc?view=rev&amp;rev=544871
Log:
Added new controls drt to test the use of the controlbindings.properties to override an control
implemenation at runtime.

Added:
    beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/
    beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrl.java
  (with props)
    beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl.java
  (with props)
    beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl2.java
  (with props)
    beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/controlbindings.properties
  (with props)
Modified:
    beehive/trunk/controls/test/build.xml

Modified: beehive/trunk/controls/test/build.xml
URL: http://svn.apache.org/viewvc/beehive/trunk/controls/test/build.xml?view=diff&amp;rev=544871&amp;r1=544870&amp;r2=544871
==============================================================================
--- beehive/trunk/controls/test/build.xml (original)
+++ beehive/trunk/controls/test/build.xml Wed Jun  6 08:56:46 2007
@@ -155,6 +155,9 @@
             &lt;/fileset&gt;
         &lt;/copy&gt;
 
+        &lt;copy file="${controls.src.dir}/org/apache/beehive/controls/test/controls/bindings/controlbindings.properties"
+              todir = "${controls.classes.dir}"&gt;&lt;/copy&gt;
+
         &lt;assemble moduleDir="${controls.classes.dir}"
                   srcOutputDir="${controls.beansrc.dir}"
                   contextFactoryClassname="org.apache.beehive.controls.runtime.assembly.EJBAssemblyContext$Factory"&gt;

Added: beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrl.java
URL: http://svn.apache.org/viewvc/beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrl.java?view=auto&amp;rev=544871
==============================================================================
--- beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrl.java
(added)
+++ beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrl.java
Wed Jun  6 08:56:46 2007
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beehive.controls.test.controls.bindings;
+
+import org.apache.beehive.controls.api.bean.ControlInterface;
+
+/**
+ * Control interface used for testing the controlbindings.properties file
+ * use for changing a control implementation at runtime.
+ */
+@ControlInterface
+public interface HelloCtrl {
+
+    public String echo(String message);
+}

Propchange: beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl.java
URL: http://svn.apache.org/viewvc/beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl.java?view=auto&amp;rev=544871
==============================================================================
--- beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl.java
(added)
+++ beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl.java
Wed Jun  6 08:56:46 2007
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beehive.controls.test.controls.bindings;
+
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+
+/**
+ * Default control impl used if not changed in controlbingings.properties
+ */
+@ControlImplementation(isTransient = true)
+public class HelloCtrlImpl implements HelloCtrl {
+
+    public String echo(String message) {
+        return "HelloCtrlImpl: " + message;
+    }
+}

Propchange: beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl2.java
URL: http://svn.apache.org/viewvc/beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl2.java?view=auto&amp;rev=544871
==============================================================================
--- beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl2.java
(added)
+++ beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl2.java
Wed Jun  6 08:56:46 2007
@@ -0,0 +1,31 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beehive.controls.test.controls.bindings;
+
+import org.apache.beehive.controls.api.bean.ControlImplementation;
+
+/**
+ * This is the control implementation which should be used at runtime
+ * since it is the one specified in controlbindings.properties
+ */
+@ControlImplementation(isTransient = true)
+public class HelloCtrlImpl2 implements HelloCtrl {
+
+    public String echo(String message) {
+        return "HelloCtrlImpl2: " + message;
+    }
+}

Propchange: beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/HelloCtrlImpl2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/controlbindings.properties
URL: http://svn.apache.org/viewvc/beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/controlbindings.properties?view=auto&amp;rev=544871
==============================================================================
--- beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/controlbindings.properties
(added)
+++ beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/controlbindings.properties
Wed Jun  6 08:56:46 2007
@@ -0,0 +1 @@
+org.apache.beehive.controls.test.controls.bindings.HelloCtrlBean=org.apache.beehive.controls.test.controls.bindings.HelloCtrlImpl2
\ No newline at end of file

Propchange: beehive/trunk/controls/test/src/junit-controls/org/apache/beehive/controls/test/controls/bindings/controlbindings.properties
------------------------------------------------------------------------------
    svn:eol-style = native




</pre>
</div>
</content>
</entry>
</feed>
