[CONF] Confluence Changes in the last 24 hours
- This is a daily summary of all recent changes in Confluence. - Updated Spaces: - Infrastructure - Web Applications (INFRA) http://cwiki.apache.org/confluence/display/INFRA | |-Pages Added or Edited in This Space |-- Index was last edited by husted (04:43 PM). | http://cwiki.apache.org/confluence/display/INFRA/Index VMBuild (vmbuild) http://cwiki.apache.org/confluence/display/vmbuild | |-Pages Added or Edited in This Space |-- Current volunteers and administrators was last edited by wsmoak (01:29 PM). | http://cwiki.apache.org/confluence/display/vmbuild/Current+volunteers+and+administrators Apache Directory SandBox (DIRxSBOX) http://cwiki.apache.org/confluence/display/DIRxSBOX | |-Pages Added or Edited in This Space |-- Installing NSIS - All platforms was created by ccustine (01:12 PM). | http://cwiki.apache.org/confluence/display/DIRxSBOX/Installing+NSIS+-+All+platforms Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW | |-New Comments in This Space |-- http://cwiki.apache.org/confluence/display/WW/Form+Tags (2) Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET | |-Pages Added or Edited in This Space |-- My First Application was last edited by [EMAIL PROTECTED] (10:15 AM). | http://cwiki.apache.org/confluence/display/WICKET/My+First+Application - CONFLUENCE INFORMATION This message is automatically generated by Confluence Unsubscribe or edit your notifications preferences http://cwiki.apache.org/confluence/users/viewnotifications.action If you think it was sent incorrectly contact one of the administrators http://cwiki.apache.org/confluence/administrators.action If you want more information on Confluence, or have a bug to report see http://www.atlassian.com/software/confluence
svn commit: r570056 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
Author: mrdon Date: Mon Aug 27 02:42:54 2007 New Revision: 570056 URL: http://svn.apache.org/viewvc?rev=570056&view=rev Log: Fixing bad javadoc comment Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java?rev=570056&r1=570055&r2=570056&view=diff == --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java Mon Aug 27 02:42:54 2007 @@ -310,7 +310,7 @@ * * * - * tooltipConfig is deprecated, use individual tooltip configuration attributes instead + * tooltipConfig is deprecated, use individual tooltip configuration attributes instead * * Every Form UI component (in xhtml / css_xhtml or any other that extends them) can * have tooltips assigned to them. The Form component's tooltip related attribute, once
Issues Opened: week of 2007-08-27
Struts2 - Monday, August 27, 2007 12 opened in last 7 days [WW-2127] Repeat bug of issue 1813 - Tree Tag's treeSelectedTopic attribute doesn't works Yinghao LI - Bug - [] http://issues.apache.org/struts/browse/WW-2127 [WW-2125] setApplication should come before setSession Kris Coolsaet - Bug - [] http://issues.apache.org/struts/browse/WW-2125 [WW-2131] Add custom Dojo profile compilation to build scripts Musachy Barroso - Task - [] http://issues.apache.org/struts/browse/WW-2131 [WW-2126] Autocompleter keyName do not get posted in a form Alvaro Sanchez-Mariscal - Bug - [] http://issues.apache.org/struts/browse/WW-2126 [WW-2124] ClassCastException at at com.opensymphony.xwork2.util.LocalizedTextUtil.findText Robert Veigel - Bug - [] http://issues.apache.org/struts/browse/WW-2124 [WW-2135] The FreeMarker tag name for the DateTimePicker doesn't match TLD Brian Pontarelli - Bug - [] http://issues.apache.org/struts/browse/WW-2135 [WW-2132] Add support for JSP tag library dynamic attributes James Holmes - Improvement - [] http://issues.apache.org/struts/browse/WW-2132 [WW-2134] Upgrade Dojo from 0.4.2 to 0.4.3 to address possible XSS Issues Ian Roughley - Bug - [] http://issues.apache.org/struts/browse/WW-2134 [WW-2136] Missing tag TextArea on dojo plugin Musachy Barroso - Bug - [] http://issues.apache.org/struts/browse/WW-2136 [WW-2138] NullPointerException when use struts tag in sitemesh decorator page and decorating static html page zhouyanming - Bug - [] http://issues.apache.org/struts/browse/WW-2138 [WW-2123] Default tab in tabbedPanel loaded twice Alvaro Sanchez-Mariscal - Bug - [] http://issues.apache.org/struts/browse/WW-2123 [WW-2129] HelloWorld (tutorial) example from Maven repository not working correctly Kursat Tuncel - Bug - [] http://issues.apache.org/struts/browse/WW-2129
svn commit: r570187 - /struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/java/IndexAction.java
Author: jholmes Date: Mon Aug 27 10:23:53 2007 New Revision: 570187 URL: http://svn.apache.org/viewvc?rev=570187&view=rev Log: WW-2129 Struts 2 Starter archetype from Maven repository not working correctly Modified: struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/java/IndexAction.java Modified: struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/java/IndexAction.java URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/java/IndexAction.java?rev=570187&r1=570186&r2=570187&view=diff == --- struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/java/IndexAction.java (original) +++ struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/java/IndexAction.java Mon Aug 27 10:23:53 2007 @@ -30,7 +30,7 @@ private Date now = new Date(System.currentTimeMillis()); -@TypeConversion(converter = "com.fdar.apress.s2.DateConverter") +@TypeConversion(converter = "${package}.DateConverter") public Date getDateNow() { return now; } public String execute() throws Exception {
svn commit: r570287 - in /struts/struts1/trunk/core/src: main/java/org/apache/struts/action/ActionServlet.java main/java/org/apache/struts/action/ExceptionHandler.java test/java/org/apache/struts/acti
Author: pbenedict Date: Mon Aug 27 18:03:59 2007 New Revision: 570287 URL: http://svn.apache.org/viewvc?rev=570287&view=rev Log: STR-2924: Allow Exception key to be optional Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ExceptionHandler.java struts/struts1/trunk/core/src/test/java/org/apache/struts/action/TestActionServlet.java Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java URL: http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java?rev=570287&r1=570286&r2=570287&view=diff == --- struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java (original) +++ struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ActionServlet.java Mon Aug 27 18:03:59 2007 @@ -1217,15 +1217,16 @@ postProcessConfig(exception, config, false); } -for (int i = 0; i < exceptions.length; i++) { -ExceptionConfig exception = exceptions[i]; - -// Verify that required fields are all present for the config -if (exception.getKey() == null) { -handleValueRequiredException("key", exception.getType(), -"global exception config"); -} -} +// STR-2924 +//for (int i = 0; i < exceptions.length; i++) { +//ExceptionConfig exception = exceptions[i]; +// +//// Verify that required fields are all present for the config +//if (exception.getKey() == null) { +//handleValueRequiredException("key", exception.getType(), +//"global exception config"); +//} +//} } /** @@ -1394,17 +1395,18 @@ } } -// ... and the exception configs -ExceptionConfig[] exceptions = actionConfig.findExceptionConfigs(); - -for (int j = 0; j < exceptions.length; j++) { -ExceptionConfig exception = exceptions[j]; - -if (exception.getKey() == null) { -handleValueRequiredException("key", exception.getType(), -"action exception config"); -} -} +// STR-2924 +//// ... and the exception configs +//ExceptionConfig[] exceptions = actionConfig.findExceptionConfigs(); +// +//for (int j = 0; j < exceptions.length; j++) { +//ExceptionConfig exception = exceptions[j]; +// +//if (exception.getKey() == null) { +//handleValueRequiredException("key", exception.getType(), +//"action exception config"); +//} +//} } } Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ExceptionHandler.java URL: http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ExceptionHandler.java?rev=570287&r1=570286&r2=570287&view=diff == --- struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ExceptionHandler.java (original) +++ struts/struts1/trunk/core/src/main/java/org/apache/struts/action/ExceptionHandler.java Mon Aug 27 18:03:59 2007 @@ -144,8 +144,14 @@ error = ((ModuleException) ex).getActionMessage(); property = ((ModuleException) ex).getProperty(); } else { -error = new ActionMessage(ae.getKey(), ex.getMessage()); -property = error.getKey(); +// STR-2924 +if (ae.getKey() != null) { +error = new ActionMessage(ae.getKey(), ex.getMessage()); +property = error.getKey(); +} else { +error = null; +property = null; +} } this.logException(ex); @@ -274,8 +280,9 @@ * generated from an Exception during Action * delegation. The default implementation is to set an attribute of the * request or session, as defined by the scope provided (the scope from - * the exception mapping). An ActionMessages instance is - * created, the error is added to the collection and the collection is set + * the exception mapping), if error is not null. + * Otherwise, an ActionMessages instance is created, the error + * is added to the collection and the collection is set * under the Globals.ERROR_KEY. * * @param request The request we are handling @@ -288,14 +295,16 @@ */ protected void storeException(HttpServletRequest request, String property, ActionMessage error, ActionForward forward, String scope) { -ActionMessages errors =