Author: dazarov
Date: 2008-01-14 11:14:44 -0500 (Mon, 14 Jan 2008)
New Revision: 5665
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/cancel.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/checkbox.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/file.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/form.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/hidden.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/multibox.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/option.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/options.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/radio.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/reset.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/select.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/submit.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/text.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/nest.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/root.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/select.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/text.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/writeNesting.jsp
Log:
http://jira.jboss.com/jira/browse/JBIDE-1565
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/cancel.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/cancel.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/cancel.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:cancel />
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/checkbox.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/checkbox.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/checkbox.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,13 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:checkbox
property="prop1">Option1</html:checkbox><BR>
+ <html:checkbox
property="prop2">Option2</html:checkbox><BR>
+ <html:checkbox
property="prop3">Option3</html:checkbox><BR>
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/file.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/file.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/file.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:file property="file" />
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/form.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/form.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/form.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,10 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/hidden.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/hidden.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/hidden.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:hidden property="hiddenValue" write="true"/>
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/multibox.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/multibox.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/multibox.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,12 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:multibox property="strArray" value="Value1"/>
+ <html:multibox property="strArray">Value2</html:multibox>
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/option.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/option.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/option.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,18 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:select property="colors" size="6"
multiple="true">
+ <html:option value="ch12.orange">Orange</html:option>
+ <html:option value="ch12.purple">Purple</html:option>
+ <html:option value="ch12.red">Red</html:option>
+ <html:option value="ch12.blue">Blue</html:option>
+ <html:option value="ch12.green">Green</html:option>
+ <html:option value="ch12.yellow">Yellow</html:option>
+ </html:select>
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/options.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/options.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/options.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,13 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:select property="colors" size="6"
multiple="true">
+ <html:options collection="ColorCollection" property="value"
labelProperty="label"/>
+ </html:select>
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/radio.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/radio.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/radio.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,12 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:radio property="radioVal" value="Value1"/>Radio
Button 1<BR>
+ <html:radio property="radioVal" value="Value2"/>Radio
Button 2
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/reset.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/reset.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/reset.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:reset />
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/select.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/select.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/select.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,13 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:select property="custId">
+ <html:optionsCollection property="customers" label="name"
value="custId"/>
+ </html:select>
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/submit.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/submit.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/submit.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:submit></html:submit>
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/text.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/text.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/form/text.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,12 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <html:form action="">
+ <html:text property="status" disabled="true"/><BR>
+ <html:text property="text">Text</html:text>
+ </html:form>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/nest.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/nest.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/nest.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib
uri="http://jakarta.apache.org/struts/tags-nested"
prefix="nested" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <nested:nest property="person">
+ </nested:nest>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/root.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/root.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/root.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib
uri="http://jakarta.apache.org/struts/tags-nested"
prefix="nested" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <nested:root name="Root">
+ </nested:root>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/select.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/select.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/select.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,15 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib
uri="http://jakarta.apache.org/struts/tags-nested"
prefix="nested" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <nested:nest>
+ Gender: <nested:select property="gender">
+ <html:option value="MALE">Male</html:option>
+ <html:option value="FEMALE">Female</html:option>
+ </nested:select>
+ </nested:nest>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/text.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/text.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/text.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,14 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib
uri="http://jakarta.apache.org/struts/tags-nested"
prefix="nested" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <nested:nest property="address">
+ Street 1: <nested:text property="street1"/><BR>
+ Street 2: <nested:text property="street2"/><BR>
+ City: <nested:text property="city"/>
+ </nested:nest>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/writeNesting.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/writeNesting.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/nested/writeNesting.jsp 2008-01-14
16:14:44 UTC (rev 5665)
@@ -0,0 +1,12 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib
uri="http://jakarta.apache.org/struts/tags-nested"
prefix="nested" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <nested:nest property="address">
+ Current nesting is: <nested:writeNesting/><BR>
+ </nested:nest>
+</body>
+</html:html>