Browse Source

HUE-229. Request instances are not reusable.

Reproducible test case for bug managing the interaction of JFrame and Form.Request handling.
Philip Zeyliger 15 years ago
parent
commit
007a21893f

+ 23 - 0
apps/jframegallery/src/jframegallery/templates/form_popup_interaction.html

@@ -0,0 +1,23 @@
+{% comment %}
+Licensed to Cloudera, Inc. under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  Cloudera, Inc. 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.
+{% endcomment %}
+A bug with the interaction of Form.Request and Hue's handling
+of Requests caused the following button to only work once
+in this jframe gallery.
+<form action="/jframegallery/post-load.alert.popup">
+<input type="submit">button</input>
+</form>