Issues Opened: week of 2009-11-02

2009-11-02 Thread dblevins

Struts2 - Monday, November 2, 2009

  11 opened in last 7 days

[WW-3310] s:select tag to support key as tupple (Number, Number)
  Zarko Lozanoski - Improvement - []
  http://issues.apache.org/struts/browse/WW-3310

[WW-3302] Erorr message being received by DefaultObjectTypeDeterminer 
  Pamela A Teerink - Bug - []
  http://issues.apache.org/struts/browse/WW-3302

[WW-3300] combo box style in simple theme doesnt work
  chandra - Bug - []
  http://issues.apache.org/struts/browse/WW-3300

[WW-3305] FreemarkerResult tamper Content-Type
  zhouyanming - Bug - []
  http://issues.apache.org/struts/browse/WW-3305

[WW-3306] Null value accepted from action property, but not model property 
when throwExceptionOnFailure=true
  Andreas Krüger - Bug - []
  http://issues.apache.org/struts/browse/WW-3306

[WW-3303] allow POST, PUT or DELETE to return content
  Luca Marrocco - Improvement - []
  http://issues.apache.org/struts/browse/WW-3303

[WW-3304] Depoyment error in Weblogic 10.3.0.0
  André Duarte - Bug - []
  http://issues.apache.org/struts/browse/WW-3304

[WW-3309] XWork FileManager does not adequately decode URLs
  Ryan Fields - Bug - []
  http://issues.apache.org/struts/browse/WW-3309

[WW-3298] version issue in struts-2.1.dtd, 2.0 still there
  olivier dupuy - Improvement - []
  http://issues.apache.org/struts/browse/WW-3298

[WW-3307] Classfinder searching every sub-directory in the Glassfish 
directory for classes to be used for the action finder
  James Cook - Improvement - []
  http://issues.apache.org/struts/browse/WW-3307

[WW-3308] javassist trouble on JBoss 5.1
  Mykyta Kostovskyy - Bug - []
  http://issues.apache.org/struts/browse/WW-3308



[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 997 has FAILED (1 tests failed, no failures were new)

2009-11-02 Thread Atlassian Open Source Bamboo
---
STRUTS-MAINJ6-997 failed.
---
This build occured because it is a dependant of XWORK-MAIN-426.
1/1130 tests failed.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-997/


--
Tests
--
Failed Tests (1)
   - EmbeddedJSPResultTest: Key in context (Existing)


--
Error Summary
--
   [INFO] 

   [ERROR] BUILD FAILURE
   [INFO] 

   [INFO] There are test failures.
   
   Please refer to 
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/embeddedjsp/target/surefire-reports
 for the individual test results.
   [INFO] 

   [INFO] For more information, run Maven with the -e switch


--
This message is automatically generated by Atlassian Bamboo



svn commit: r832087 - in /struts/struts2/trunk/core/src: main/java/org/apache/struts2/components/ main/java/org/apache/struts2/views/jsp/ui/ site/resources/tags/ test/java/org/apache/struts2/views/jsp

2009-11-02 Thread musachy
Author: musachy
Date: Mon Nov  2 20:24:12 2009
New Revision: 832087

URL: http://svn.apache.org/viewvc?rev=832087&view=rev
Log:
WW-3312 Add "includeContext" to Form tag, like the Url tag does (default to 
true)

Added:

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-13.txt

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/jsp/ui/Formtag-14.txt
Modified:

struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java

struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java

struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
struts/struts2/trunk/core/src/site/resources/tags/form.html

struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/ui/FormTagTest.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java?rev=832087&r1=832086&r2=832087&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java 
(original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Form.java 
Mon Nov  2 20:24:12 2009
@@ -104,8 +104,9 @@
 protected String portletMode;
 protected String windowState;
 protected String acceptcharset;
-protected String focusElement;
+protected boolean includeContext = true;
 
+protected String focusElement;
 protected Configuration configuration;
 protected ObjectFactory objectFactory;
 protected UrlRenderer urlRenderer;
@@ -346,4 +347,9 @@
 public void setFocusElement(String focusElement) {
 this.focusElement = focusElement;
 }
+
+@StrutsTagAttribute(description="Whether actual context should be included 
in URL", type="Boolean", defaultValue="true")
+public void setIncludeContext(boolean includeContext) {
+this.includeContext = includeContext;
+}
 }

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java?rev=832087&r1=832086&r2=832087&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ServletUrlRenderer.java
 Mon Nov  2 20:24:12 2009
@@ -151,7 +151,7 @@
 
ActionMapping mapping = new ActionMapping(actionName, 
namespace, actionMethod, formComponent.parameters);
String result = 
UrlHelper.buildUrl(formComponent.actionMapper.getUriFromActionMapping(mapping),
-   formComponent.request, 
formComponent.response, null);
+   formComponent.request, 
formComponent.response, null, null, formComponent.includeContext, true);
formComponent.addParameter("action", result);
 
// let's try to get the actual action class and name
@@ -186,7 +186,7 @@
   LOG.warn("No configuration found for the specified action: '" + 
actionName + "' in namespace: '" + namespace + "'. Form action defaulting to 
'action' attribute's literal value.");
 }
 
-   String result = UrlHelper.buildUrl(action, 
formComponent.request, formComponent.response, null);
+   String result = UrlHelper.buildUrl(action, 
formComponent.request, formComponent.response, null, null, 
formComponent.includeContext, true);
formComponent.addParameter("action", result);
 
// namespace: cut out anything between the start and 
the last /

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java?rev=832087&r1=832086&r2=832087&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/ui/FormTag.java
 Mon Nov  2 20:24:12 2009
@@ -49,6 +49,7 @@
 protected String windowState;
 protected String acceptcharset;
 protected String focusElement;
+protected boolean includeContext = true;
 
 public Component getBean(ValueStack stack, HttpServletRequest req, 
HttpServletResponse res) {
 return new Form(stack, req, res);
@@ -68,6 +69,7 @@
 form.setWindowState(windowStat

[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 998 has FAILED (1 tests failed, no failures were new). Change made by Musachy Barroso

2009-11-02 Thread Atlassian Open Source Bamboo
---
STRUTS-MAINJ6-998 failed.
---
Code has been updated by Musachy Barroso.
1/1132 tests failed.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-998/


--
Code Changes
--
Musachy Barroso (832087):

>WW-3312 Add "includeContext" to Form tag, like the Url tag does (default to 
>true)


--
Tests
--
Failed Tests (1)
   - EmbeddedJSPResultTest: Key in context (Existing)


--
Error Summary
--
   [INFO] 

   [ERROR] BUILD FAILURE
   [INFO] 

   [INFO] There are test failures.
   
   Please refer to 
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/embeddedjsp/target/surefire-reports
 for the individual test results.
   [INFO] 

   [INFO] For more information, run Maven with the -e switch


--
This message is automatically generated by Atlassian Bamboo



[OSS Bamboo] Struts 2 SVN - Main Build build 1243 has FAILED (1 tests failed, no failures were new). Change made by Musachy Barroso

2009-11-02 Thread Atlassian Open Source Bamboo
---
STRUTS-MAIN-1243 failed.
---
Code has been updated by Musachy Barroso.
1/1132 tests failed.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1243/


--
Code Changes
--
Musachy Barroso (832087):

>WW-3312 Add "includeContext" to Form tag, like the Url tag does (default to 
>true)


--
Tests
--
Failed Tests (1)
   - EmbeddedJSPResultTest: Key in context (Existing)


--
Error Summary
--
   [INFO] 

   [ERROR] BUILD FAILURE
   [INFO] 

   [INFO] There are test failures.
   
   Please refer to 
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/plugins/embeddedjsp/target/surefire-reports
 for the individual test results.
   [INFO] 

   [INFO] For more information, run Maven with the -e switch


--
This message is automatically generated by Atlassian Bamboo



svn commit: r832148 - in /struts/struts2/trunk/core/src: main/java/org/apache/struts2/views/freemarker/ test/java/org/apache/struts2/views/freemarker/ test/resources/org/apache/struts2/views/freemarke

2009-11-02 Thread musachy
Author: musachy
Date: Mon Nov  2 22:23:28 2009
New Revision: 832148

URL: http://svn.apache.org/viewvc?rev=832148&view=rev
Log:
WW-3305 FreemarkerResult tamper Content-Type

patch provided by zhouyanming

Added:

struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/freemarker/something.ftl
Modified:

struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/FreemarkerResult.java

struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/FreemarkerResult.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/FreemarkerResult.java?rev=832148&r1=832147&r2=832148&view=diff
==
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/FreemarkerResult.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/freemarker/FreemarkerResult.java
 Mon Nov  2 22:23:28 2009
@@ -311,22 +311,25 @@
 protected boolean preTemplateProcess(Template template, TemplateModel 
model) throws IOException {
 Object attrContentType = template.getCustomAttribute("content_type");
 
-if (attrContentType != null) {
-
ServletActionContext.getResponse().setContentType(attrContentType.toString());
-} else {
-String contentType = getContentType();
+HttpServletResponse response = ServletActionContext.getResponse();
+if (response.getContentType() == null) {
+if (attrContentType != null) {
+response.setContentType(attrContentType.toString());
+} else {
+String contentType = getContentType();
+
+if (contentType == null) {
+contentType = "text/html";
+}
+
+String encoding = template.getEncoding();
+
+if (encoding != null) {
+contentType = contentType + "; charset=" + encoding;
+}
 
-if (contentType == null) {
-contentType = "text/html";
+response.setContentType(contentType);
 }
-
-String encoding = template.getEncoding();
-
-if (encoding != null) {
-contentType = contentType + "; charset=" + encoding;
-}
-
-ServletActionContext.getResponse().setContentType(contentType);
 }
 
 return true;

Modified: 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java?rev=832148&r1=832147&r2=832148&view=diff
==
--- 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
 (original)
+++ 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
 Mon Nov  2 22:23:28 2009
@@ -145,6 +145,45 @@
 }
 }
 
+public void testContentTypeIsNotOverwritten() throws Exception {
+ servletContext.setRealPath(new 
File(FreeMarkerResultTest.class.getResource(
+   
"nested.ftl").toURI()).toURL().getFile());
+
+FreemarkerResult result = new FreemarkerResult();
+result.setLocation("nested.ftl");
+result.setFreemarkerManager(mgr);
+   
+response.setContentType("contenttype"); 
+result.execute(invocation);
+assertEquals("contenttype", response.getContentType());
+}
+
+public void testDefaultContentType() throws Exception {
+ servletContext.setRealPath(new 
File(FreeMarkerResultTest.class.getResource(
+   
"nested.ftl").toURI()).toURL().getFile());
+
+FreemarkerResult result = new FreemarkerResult();
+result.setLocation("nested.ftl");
+result.setFreemarkerManager(mgr);
+
+assertNull(response.getContentType());
+result.execute(invocation);
+assertEquals("text/html; charset=UTF-8", response.getContentType());
+}
+
+public void testContentTypeFromTemplate() throws Exception {
+ servletContext.setRealPath(new 
File(FreeMarkerResultTest.class.getResource(
+   
"something.ftl").toURI()).toURL().getFile());
+
+FreemarkerResult result = new FreemarkerResult();
+result.setLocation("something.ftl");
+result.setFreemarkerManager(mgr);
+
+assertNull(response.getContentType());
+result.execute(invocation);
+assertEquals("text/xml", response.getContentType());
+}
+
 protected void 

[OSS Bamboo] Struts 2 SVN - Main Build build 1244 has FAILED (1 tests failed, no failures were new). Change made by Musachy Barroso

2009-11-02 Thread Atlassian Open Source Bamboo
---
STRUTS-MAIN-1244 failed.
---
Code has been updated by Musachy Barroso.
1/1135 tests failed.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-1244/


--
Code Changes
--
Musachy Barroso (832148):

>WW-3305 FreemarkerResult tamper Content-Type
>
>patch provided by zhouyanming


--
Tests
--
Failed Tests (1)
   - EmbeddedJSPResultTest: Key in context (Existing)


--
Error Summary
--
   [INFO] 

   [ERROR] BUILD FAILURE
   [INFO] 

   [INFO] There are test failures.
   
   Please refer to 
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAIN/plugins/embeddedjsp/target/surefire-reports
 for the individual test results.
   [INFO] 

   [INFO] For more information, run Maven with the -e switch


--
This message is automatically generated by Atlassian Bamboo



[OSS Bamboo] Struts 2 SVN - Main Build (Java 6) build 999 has FAILED (1 tests failed, no failures were new). Change made by Musachy Barroso

2009-11-02 Thread Atlassian Open Source Bamboo
---
STRUTS-MAINJ6-999 failed.
---
Code has been updated by Musachy Barroso.
1/1135 tests failed.

http://opensource.bamboo.atlassian.com/browse/STRUTS-MAINJ6-999/


--
Code Changes
--
Musachy Barroso (832148):

>WW-3305 FreemarkerResult tamper Content-Type
>
>patch provided by zhouyanming


--
Tests
--
Failed Tests (1)
   - EmbeddedJSPResultTest: Key in context (Existing)


--
Error Summary
--
   [INFO] 

   [ERROR] BUILD FAILURE
   [INFO] 

   [INFO] There are test failures.
   
   Please refer to 
/opt/j2ee/domains/bamboo.atlassian.com/opensource/home/xml-data/build-dir/STRUTS-MAINJ6/plugins/embeddedjsp/target/surefire-reports
 for the individual test results.
   [INFO] 

   [INFO] For more information, run Maven with the -e switch


--
This message is automatically generated by Atlassian Bamboo



[CONF] Confluence Changes in the last 24 hours

2009-11-02 Thread confluence
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-


Apache ActiveMQ (http://cwiki.apache.org/confluence/display/ACTIVEMQ)

Pages
-
MasterSlave edited by  rajdavies  (09:03 AM)
http://cwiki.apache.org/confluence/display/ACTIVEMQ/MasterSlave



Apache Camel (http://cwiki.apache.org/confluence/display/CAMEL)

Pages
-
Team edited by  bsnyder  (03:56 PM)
http://cwiki.apache.org/confluence/display/CAMEL/Team

RoutePolicy created by davsclaus (08:21 AM)
http://cwiki.apache.org/confluence/display/CAMEL/RoutePolicy

Camel 2.1.0 Release edited by  davsclaus  (12:52 PM)
http://cwiki.apache.org/confluence/display/CAMEL/Camel+2.1.0+Release

Route Throttling Example created by davsclaus (12:37 PM)
http://cwiki.apache.org/confluence/display/CAMEL/Route+Throttling+Example

Examples edited by  davsclaus  (12:42 PM)
http://cwiki.apache.org/confluence/display/CAMEL/Examples



Apache CXF (http://cwiki.apache.org/confluence/display/CXF)

Pages
-
FAQ edited by  bimargul...@gmail.com  (11:36 AM)
http://cwiki.apache.org/confluence/display/CXF/FAQ



Apache Geronimo (http://cwiki.apache.org/confluence/display/GMOxSITE)

Pages
-
Committers edited by  bsnyder  (03:54 PM)
http://cwiki.apache.org/confluence/display/GMOxSITE/Committers



OpenJPA (http://cwiki.apache.org/confluence/display/openjpa)

Pages
-
Index edited by  michael.d.d...@gmail.com  (04:11 PM)
http://cwiki.apache.org/confluence/display/openjpa/Index



Apache Qpid (http://cwiki.apache.org/confluence/display/qpid)

Pages
-
Cheat Sheet for configuring Queue Options edited by  cctrieloff  (01:12 PM)
http://cwiki.apache.org/confluence/display/qpid/Cheat+Sheet+for+configuring+Queue+Options



Apache ServiceMix (http://cwiki.apache.org/confluence/display/SM)

Pages
-
Team edited by  bsnyder  (03:59 PM)
http://cwiki.apache.org/confluence/display/SM/Team

Related Projects edited by  ffang  (08:21 AM)
http://cwiki.apache.org/confluence/display/SM/Related+Projects



Traffic Server (http://cwiki.apache.org/confluence/display/TS)

Pages
-
FedoraCore created by zwoop (05:15 AM)
http://cwiki.apache.org/confluence/display/TS/FedoraCore

Ubuntu created by zwoop (04:50 AM)
http://cwiki.apache.org/confluence/display/TS/Ubuntu

Building created by zwoop (04:47 AM)
http://cwiki.apache.org/confluence/display/TS/Building

Git created by zwoop (03:44 AM)
http://cwiki.apache.org/confluence/display/TS/Git

VersionControl created by zwoop (03:39 AM)
http://cwiki.apache.org/confluence/display/TS/VersionControl



Apache Tuscany (http://cwiki.apache.org/confluence/display/TUSCANY)

Pages
-
DAS RDB Menu edited by  lrese...@apache.org  (10:37 PM)
http://cwiki.apache.org/confluence/display/TUSCANY/DAS+RDB+Menu



Apache Wicket (http://cwiki.apache.org/confluence/display/WICKET)

Pages
-
Migration to Wicket 1.5 edited by  ivaynberg  (07:06 PM)
http://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5

Wicket Examples as portlets created by ralfeichinger (02:03 PM)
http://cwiki.apache.org/confluence/display/WICKET/Wicket+Examples+as+portlets

Index edited by  ralfeichinger  (01:58 PM)
http://cwiki.apache.org/confluence/display/WICKET/Index

Setup Liferay created by ralfeichinger (08:47 AM)
http://cwiki.apache.org/confluence/display/WICKET/Setup+Liferay

Setup PostgreSQL created by ralfeichinger (11:44 AM)
http://cwiki.apache.org/confluence/display/WICKET/Setup+PostgreSQL

Setup HSQLDB created by ralfeichinger (11:45 AM)
http://cwiki.apache.org/confluence/display/WICKET/Setup+HSQLDB

Setup Tomcat edited by  ralfeichinger  (08:33 AM)
http://cwiki.apache.org/confluence/display/WICKET/Setup+Tomcat



Apache Wookie (http://cwiki.apache.org/confluence/display/WOOKIE)

Pages
-
Downloading and Installing Wookie created by scottbw (07:34 PM)
http://cwiki.apache.org/confluence/display/WOOKIE/Downloading+and+Installing+Wookie

Wookie Server Administrators Guide edited by  scottbw  (07:34 PM)
http://cwiki.apache.org/confluence/display/WOOKIE/Wookie+Server+Administrators+Guide

Index edited by  scottbw  (07:33 PM)
http://cwiki.apache.org/confluence/display/WOOKIE/Index




Change your notification 

svn commit: r832320 - in /struts/sandbox/trunk/struts2-uel-plugin-example: pom.xml src/main/java/example/SurveyAction.java src/main/resources/struts.xml src/main/webapp/example/survey.jsp

2009-11-02 Thread musachy
Author: musachy
Date: Tue Nov  3 07:24:12 2009
New Revision: 832320

URL: http://svn.apache.org/viewvc?rev=832320&view=rev
Log:
picking up

Modified:
struts/sandbox/trunk/struts2-uel-plugin-example/pom.xml

struts/sandbox/trunk/struts2-uel-plugin-example/src/main/java/example/SurveyAction.java

struts/sandbox/trunk/struts2-uel-plugin-example/src/main/resources/struts.xml

struts/sandbox/trunk/struts2-uel-plugin-example/src/main/webapp/example/survey.jsp

Modified: struts/sandbox/trunk/struts2-uel-plugin-example/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-uel-plugin-example/pom.xml?rev=832320&r1=832319&r2=832320&view=diff
==
--- struts/sandbox/trunk/struts2-uel-plugin-example/pom.xml (original)
+++ struts/sandbox/trunk/struts2-uel-plugin-example/pom.xml Tue Nov  3 07:24:12 
2009
@@ -1,23 +1,35 @@
 http://maven.apache.org/POM/4.0.0";
-   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-   4.0.0
-   org.apache.struts2.uelplugin
-   struts2-uel-plugin-example
-   1.0.0-SNAPSHOT
-   war
-   Struts 2 Unified EL Plugin Example
-   
-   
-   org.apache.struts2.uelplugin
-   struts2-uel-plugin
-   1.0.0-SNAPSHOT
-   
-   
-
-   
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+4.0.0
+org.apache.struts2.uelplugin
+struts2-uel-plugin-example
+1.0.0-SNAPSHOT
+war
+Struts 2 Unified EL Plugin Example
+
+
+org.apache.struts2.uelplugin
+struts2-uel-plugin
+1.0.0-SNAPSHOT
+
+
+
+
+
+
+
+
+
+
+org.mortbay.jetty
+jetty-maven-plugin
+7.0.0pre3
+
+
+
 

Modified: 
struts/sandbox/trunk/struts2-uel-plugin-example/src/main/java/example/SurveyAction.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-uel-plugin-example/src/main/java/example/SurveyAction.java?rev=832320&r1=832319&r2=832320&view=diff
==
--- 
struts/sandbox/trunk/struts2-uel-plugin-example/src/main/java/example/SurveyAction.java
 (original)
+++ 
struts/sandbox/trunk/struts2-uel-plugin-example/src/main/java/example/SurveyAction.java
 Tue Nov  3 07:24:12 2009
@@ -11,7 +11,7 @@
 
public String edit() {
surveyBean.setAge(22);
-   surveyBean.setFirstName("Musachy");
+   surveyBean.setFirstName("Lex");
surveyBean.setBirthdate(new Date());
return SUCCESS;
}

Modified: 
struts/sandbox/trunk/struts2-uel-plugin-example/src/main/resources/struts.xml
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-uel-plugin-example/src/main/resources/struts.xml?rev=832320&r1=832319&r2=832320&view=diff
==
--- 
struts/sandbox/trunk/struts2-uel-plugin-example/src/main/resources/struts.xml 
(original)
+++ 
struts/sandbox/trunk/struts2-uel-plugin-example/src/main/resources/struts.xml 
Tue Nov  3 07:24:12 2009
@@ -1,21 +1,17 @@
-
-http://struts.apache.org/dtds/struts-2.0.dtd";>
+http://struts.apache.org/dtds/struts-2.0.dtd";>
 
 
-   
+
 
-   
-   /example/survey.jsp
-   
+
+/example/survey.jsp
+
 
-   
-   /example/surveyResults.jsp
-   
+
+/example/surveyResults.jsp
+
 
-   
+
 

Modified: 
struts/sandbox/trunk/struts2-uel-plugin-example/src/main/webapp/example/survey.jsp
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-uel-plugin-example/src/main/webapp/example/survey.jsp?rev=832320&r1=832319&r2=832320&view=diff
==
--- 
struts/sandbox/trunk/struts2-uel-plugin-example/src/main/webapp/example/survey.jsp
 (original)
+++ 
struts/sandbox/trunk/struts2-uel-plugin-example/src/main/webapp/example/survey.jsp
 Tue Nov  3 07:24:12 2009
@@ -1,6 +1,6 @@
 <%@ page contentType="text/html; charset=UTF-8" %>
-<%@ taglib prefix="s" uri="/struts-tags" %>
-
+<%@ taglib prefix="s" uri="/struts-tags" %>
+
 
 
 Survey
@@ -8,14 +8,15 @@
 
 
 Please fill out Survey
-
-  
-   
-   
-   
-   
-   
-  
+
+
+
+
+
+
+
+
+