Author: dazarov
Date: 2008-01-11 12:50:23 -0500 (Fri, 11 Jan 2008)
New Revision: 5636
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/cookie.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/define.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/header.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/include.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/message.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/parameter.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/resource.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/size.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/struts.jsp
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/write.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/bean/cookie.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/cookie.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/cookie.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,10 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <bean:cookie id="variableName" name="cookieName"
value="default"/>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/define.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/define.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/define.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <% request.setAttribute("session",session); %>
+ <bean:define id="context" name="session" />
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/header.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/header.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/header.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,10 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <bean:header id="variableName" name="cookieName"
value="default"/>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/include.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/include.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/include.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,10 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <bean:include id="test" page="message.jsp" />
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/message.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/message.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/message.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,11 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <bean:message bundle="demo.pythonquotes" key="ni"/>
+ <bean:message bundle="demo.pythonquotes" name="rq"
property="randomQuoteName"/>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/parameter.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/parameter.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/parameter.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,10 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <bean:parameter id="variableName" name="parameterName"
value="default"/>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/resource.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/resource.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/resource.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,10 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <bean:resource id="resource" name="message.jsp" />
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/size.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/size.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/size.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,19 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<%@ page import="java.util.HashMap" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <%
+ HashMap<String,String> lines = new HashMap<String,String>();
+ lines.put("1", "Line 1");
+ lines.put("2", "Line 2");
+ lines.put("3", "Line 3");
+ request.setAttribute("lines", lines);
+ %>
+ <bean:size id="length" name="lines" />
+ Line Count: <bean:write name="lenght"/>
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/struts.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/struts.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/struts.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,10 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <bean:struts id="map" mapping="/HtmlFile" />
+</body>
+</html:html>
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/write.jsp
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/write.jsp
(rev 0)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/resources/StrutsTest/WebContent/pages/components/bean/write.jsp 2008-01-11
17:50:23 UTC (rev 5636)
@@ -0,0 +1,10 @@
+<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
+<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
+<html:html>
+<head>
+ <title></title>
+</head>
+<body>
+ <bean:write name="map" property="type" />
+</body>
+</html:html>