[CONF] Confluence Changes in the last 24 hours
- This is a daily summary of all recent changes in Confluence. - Updated Spaces: - Apache Geronimo Development (GMOxDEV) http://cwiki.apache.org/confluence/display/GMOxDEV | |-Pages Added or Edited in This Space |-- Tomcat v6 game plan was last edited by pmcmahan (12:48 PM). | http://cwiki.apache.org/confluence/display/GMOxDEV/Tomcat+v6+game+plan |-- JACC Guide was created by [EMAIL PROTECTED] (11:38 AM). | http://cwiki.apache.org/confluence/display/GMOxDEV/JACC+Guide Apache Geronimo v1.2 (GMOxDOC12) http://cwiki.apache.org/confluence/display/GMOxDOC12 | |-Pages Added or Edited in This Space |-- LDAP Realm was last edited by hcunico (04:01 PM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/LDAP+Realm |-- Certificate Properties File Realm was last edited by hcunico (11:58 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Certificate+Properties+File+Realm |-- Geronimo Administration Console was last edited by hcunico (11:55 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Geronimo+Administration+Console |-- Administering security realms was last edited by hcunico (11:50 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Administering+security+realms |-- Summary of changes was created by hcunico (11:14 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Summary+of+changes |-- Administering users and groups was last edited by hcunico (11:09 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Administering+users+and+groups |-- Starting and stopping the server was last edited by hcunico (09:48 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Starting+and+stopping+the+server |-- Performance monitoring was last edited by hcunico (09:07 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Performance+monitoring |-- Monitor Server status was last edited by hcunico (08:59 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Monitor+Server+status |-- Display JVM information was last edited by hcunico (08:53 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Display+JVM+information |-- Documentation was last edited by hcunico (06:40 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Documentation |-- Tools and commands was last edited by hcunico (06:30 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Tools+and+commands |-- Starting and stopping application modules was last edited by hcunico (06:25 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Starting+and+stopping+application+modules |-- Installing and removing applications was last edited by hcunico (05:03 AM). | http://cwiki.apache.org/confluence/display/GMOxDOC12/Installing+and+removing+applications Apache Geronimo Documentation (geronimo) http://cwiki.apache.org/confluence/display/geronimo | |-Pages Added or Edited in This Space |-- Index was last edited by hcunico (08:18 AM). | http://cwiki.apache.org/confluence/display/geronimo/Index Apache CXF 2.0 Documentation (CXF20DOC) http://cwiki.apache.org/confluence/display/CXF20DOC | |-Pages Added or Edited in This Space |-- RESTful Services was created by dandiep (11:11 AM). | http://cwiki.apache.org/confluence/display/CXF20DOC/RESTful+Services |-- Index was last edited by dandiep (06:49 PM). | http://cwiki.apache.org/confluence/display/CXF20DOC/Index |-- Navigation was last edited by dandiep (06:49 PM). | http://cwiki.apache.org/confluence/display/CXF20DOC/Navigation |-- HTTP Binding was created by dandiep (06:36 PM). | http://cwiki.apache.org/confluence/display/CXF20DOC/HTTP+Binding |-- REST with JAX-WS Provider and Dispatch was created by dandiep (06:40 PM). | http://cwiki.apache.org/confluence/display/CXF20DOC/REST+with+JAX-WS+Provider+and+Dispatch Apache Qpid (qpid) http://cwiki.apache.org/confluence/display/qpid | |-Pages Added or Edited in This Space |-- Qpid Management Console was last edited by bhupendrab (08:22 AM). | http://cwiki.apache.org/confluence/display/qpid/Qpid+Management+Console Apache Directory Server v1.1 Documentation (DIRxSRVx11) http://cwiki.apache.org/confluence/display/DIRxSRVx11 | |-Pages Added or Edited in This Space |-- MetaSchema schema was last edited by elecharny (04:28 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/MetaSchema+schema |-- MetaSchema was last edited by elecharny (04:19 PM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/MetaSchema |-- Schema Subsystem Redesign was last edited by ersiner (02:53 AM). | http://cwiki.apache.org/confluence/display/DIRxSRVx11/Schema+Subsystem+Redesign Apache Struts 2 Documentation (WW) http://cwiki.apache.org/confluence/display/WW | |-Pages Added or Edited in This Space |-- G
svn commit: r482630 - in /struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles: definition/ReloadableDefinitionsFactory.java filter/TilesFilter.java
Author: apetrelli Date: Tue Dec 5 04:59:13 2006 New Revision: 482630 URL: http://svn.apache.org/viewvc?view=rev&rev=482630 Log: Fixed DefinitionsFactory refresh. Modified: struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/filter/TilesFilter.java Modified: struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java?view=diff&rev=482630&r1=482629&r2=482630 == --- struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java (original) +++ struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java Tue Dec 5 04:59:13 2006 @@ -35,4 +35,12 @@ * reloaded. */ public boolean refreshRequired(); + +/** + * Refreshes the stored definitions, reloading them. + * + * @throws DefinitionsFactoryException If something goes wrong during + * refresh. + */ +public void refresh() throws DefinitionsFactoryException; } Modified: struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/filter/TilesFilter.java URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/filter/TilesFilter.java?view=diff&rev=482630&r1=482629&r2=482630 == --- struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/filter/TilesFilter.java (original) +++ struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/filter/TilesFilter.java Tue Dec 5 04:59:13 2006 @@ -74,11 +74,11 @@ if (factory instanceof ReloadableDefinitionsFactory) { ReloadableDefinitionsFactory rFactory = (ReloadableDefinitionsFactory) factory; if (rFactory.refreshRequired()) { -rFactory.refreshRequired(); +rFactory.refresh(); } } -chain.doFilter(request, response); } +chain.doFilter(request, response); } catch (Exception e) { throw new ServletException("Error processing request.", e); }
[Struts Wiki] Update of "TilesTlpResolution" by DavidDeWolf
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by DavidDeWolf: http://wiki.apache.org/struts/TilesTlpResolution -- * Wendy Smoak ([MAILTO] [EMAIL PROTECTED]) - NOW, THEREFORE, BE IT FURTHER RESOLVED, that '''NAME HERE''' be appointed to the office of Vice President, Apache Tiles, to serve in accordance with and subject to the direction of the Board of Directors and the Bylaws of the Foundation until death, resignation, retirement, removal or disqualification, or until a successor is appointed; and be it further + NOW, THEREFORE, BE IT FURTHER RESOLVED, that '''Greg Reddin''' be appointed to the office of Vice President, Apache Tiles, to serve in accordance with and subject to the direction of the Board of Directors and the Bylaws of the Foundation until death, resignation, retirement, removal or disqualification, or until a successor is appointed; and be it further RESOLVED, that the initial Apache Tiles PMC be and hereby is tasked with the migration and rationalization of the Apache Struts Tiles sub-project; and be it further
svn commit: r482860 - /struts/struts1/trunk/src/site/xdoc/userGuide/building_model.xml
Author: martinc Date: Tue Dec 5 17:17:21 2006 New Revision: 482860 URL: http://svn.apache.org/viewvc?view=rev&rev=482860 Log: STR-2984 Typo: kernal -> kernel Modified: struts/struts1/trunk/src/site/xdoc/userGuide/building_model.xml Modified: struts/struts1/trunk/src/site/xdoc/userGuide/building_model.xml URL: http://svn.apache.org/viewvc/struts/struts1/trunk/src/site/xdoc/userGuide/building_model.xml?view=diff&rev=482860&r1=482859&r2=482860 == --- struts/struts1/trunk/src/site/xdoc/userGuide/building_model.xml (original) +++ struts/struts1/trunk/src/site/xdoc/userGuide/building_model.xml Tue Dec 5 17:17:21 2006 @@ -497,7 +497,7 @@ how callers invoke the Chain. As of version 1.3, the default Request Processor, -which acts as the framework's "kernal", +which acts as the framework's "kernel", is a Chain of Responsiblity.
svn commit: r482895 - in /struts/struts1/trunk/taglib/src: main/java/org/apache/struts/taglib/html/HtmlTag.java test/java/org/apache/struts/taglib/html/ test/java/org/apache/struts/taglib/html/TestHtm
Author: niallp Date: Tue Dec 5 21:12:27 2006 New Revision: 482895 URL: http://svn.apache.org/viewvc?view=rev&rev=482895 Log: STR-2985 - Validate language and country according to RFC2616 in HtmlTag Added: struts/struts1/trunk/taglib/src/test/java/org/apache/struts/taglib/html/ struts/struts1/trunk/taglib/src/test/java/org/apache/struts/taglib/html/TestHtmlTag.java (with props) Modified: struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/HtmlTag.java Modified: struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/HtmlTag.java URL: http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/HtmlTag.java?view=diff&rev=482895&r1=482894&r2=482895 == --- struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/HtmlTag.java (original) +++ struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/HtmlTag.java Tue Dec 5 21:12:27 2006 @@ -114,8 +114,8 @@ language = currentLocale.getLanguage(); country = currentLocale.getCountry(); -boolean validLanguage = ((language != null) && (language.length() > 0)); -boolean validCountry = country.length() > 0; +boolean validLanguage = isValidRfc2616(language); +boolean validCountry = isValidRfc2616(country); if (this.xhtml) { this.pageContext.setAttribute(Globals.XHTML_KEY, "true", @@ -171,5 +171,26 @@ public void release() { this.xhtml = false; this.lang = false; +} + +/** + * Check whether the value contains valid characters for the + * "Accept-Language" header according to RFC 2616 (section 14.4). + * + * @param value The value to check + * @return true if valid, otherwise false + */ +private boolean isValidRfc2616(String value) { +if (value == null || value.length() == 0) { +return false; +} +for (int i = 0; i < value.length(); i++) { +char c = value.charAt(i); + +if (!(Character.isLetter(c) || c == '-')) { +return false; +} +} +return true; } } Added: struts/struts1/trunk/taglib/src/test/java/org/apache/struts/taglib/html/TestHtmlTag.java URL: http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/test/java/org/apache/struts/taglib/html/TestHtmlTag.java?view=auto&rev=482895 == --- struts/struts1/trunk/taglib/src/test/java/org/apache/struts/taglib/html/TestHtmlTag.java (added) +++ struts/struts1/trunk/taglib/src/test/java/org/apache/struts/taglib/html/TestHtmlTag.java Tue Dec 5 21:12:27 2006 @@ -0,0 +1,189 @@ +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF 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. + */ +package org.apache.struts.taglib.html; + +import java.util.Locale; +import junit.framework.Test; +import junit.framework.TestSuite; +import junit.framework.TestCase; +import org.apache.struts.mock.MockHttpServletRequest; +import org.apache.struts.mock.MockHttpServletResponse; +import org.apache.struts.mock.MockPageContext; +import org.apache.struts.mock.MockServletConfig; + +/** + * Unit tests for the HtmlTag. + */ +public class TestHtmlTag extends TestCase { + +private MockServletConfig config; +private MockHttpServletRequest request; +private MockHttpServletResponse response; +private MockPageContext pageContext; +private HtmlTag htmlTag; + +/** + * Defines the testcase name for JUnit. + * + * @param theName the testcase's name. + */ +public TestHtmlTag(String theName) { +super(theName); +} + +/** + * Start the tests. + * + * @param theArgs the arguments. Not used + */ +public static void main(String[] theArgs) { +junit.awtui.TestRunner.main(new String[] { TestHtmlTag.class.getName() }); +} + +/** + * @return a test suite (TestSuite) that includes all methods + * starting with "test" + */ +public static Test suite() { +// All methods st
svn commit: r482910 - in /struts/struts1/trunk: apps/el-example/src/main/webapp/html-link.jsp el/src/main/resources/META-INF/tld/struts-html-el.tld taglib/src/main/resources/META-INF/tld/struts-nested
Author: pbenedict Date: Tue Dec 5 21:43:57 2006 New Revision: 482910 URL: http://svn.apache.org/viewvc?view=rev&rev=482910 Log: STR-746: EL+Nested versions of ParamTag and example Modified: struts/struts1/trunk/apps/el-example/src/main/webapp/html-link.jsp struts/struts1/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld struts/struts1/trunk/taglib/src/main/resources/META-INF/tld/struts-nested.tld Modified: struts/struts1/trunk/apps/el-example/src/main/webapp/html-link.jsp URL: http://svn.apache.org/viewvc/struts/struts1/trunk/apps/el-example/src/main/webapp/html-link.jsp?view=diff&rev=482910&r1=482909&r2=482910 == --- struts/struts1/trunk/apps/el-example/src/main/webapp/html-link.jsp (original) +++ struts/struts1/trunk/apps/el-example/src/main/webapp/html-link.jsp Tue Dec 5 21:43:57 2006 @@ -147,6 +147,16 @@ + +String via nested param tag + + + + + + + http://svn.apache.org/viewvc/struts/struts1/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld?view=diff&rev=482910&r1=482909&r2=482910 == --- struts/struts1/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld (original) +++ struts/struts1/trunk/el/src/main/resources/META-INF/tld/struts-html-el.tld Tue Dec 5 21:43:57 2006 @@ -1972,6 +1972,7 @@ frame org.apache.strutsel.taglib.html.ELFrameTag +JSP + + +name +true +true + + + + + +value +false +true + + + + + + password org.apache.strutsel.taglib.html.ELPasswordTag @@ -6697,7 +6740,7 @@ rewrite org.apache.strutsel.taglib.html.ELRewriteTag -empty +JSP
svn commit: r482911 - in /struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html: ELParamTag.java ELParamTagBeanInfo.java
Author: pbenedict Date: Tue Dec 5 21:44:33 2006 New Revision: 482911 URL: http://svn.apache.org/viewvc?view=rev&rev=482911 Log: STR-746: EL+Nested versions of ParamTag and example Added: struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELParamTag.java (with props) struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELParamTagBeanInfo.java (with props) Added: struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELParamTag.java URL: http://svn.apache.org/viewvc/struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELParamTag.java?view=auto&rev=482911 == --- struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELParamTag.java (added) +++ struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELParamTag.java Tue Dec 5 21:44:33 2006 @@ -0,0 +1,121 @@ +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF 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. + */ +package org.apache.strutsel.taglib.html; + +import org.apache.struts.taglib.html.ParamTag; +import org.apache.strutsel.taglib.utils.EvalHelper; + +import javax.servlet.jsp.JspException; + +/** + * Adds a new request parameter to its parent [EMAIL PROTECTED] ELLinkTag}. This subclass + * allows all attribute values to be specified as expressions utilizing the + * JavaServer Pages Standard Library expression language. + * + * @version $Rev$ $Date$ + * @since Struts 1.3.6 + */ +public class ELParamTag extends ParamTag { + +/** + * Instance variable mapped to "name" tag attribute. (Mapping set in + * associated BeanInfo class.) + */ +private String nameExpr; + +/** + * Instance variable mapped to "value" tag attribute. (Mapping set in + * associated BeanInfo class.) + */ +private String valueExpr; + +/** + * Getter method for "name" tag attribute. (Mapping set in associated + * BeanInfo class.) + */ +public String getNameExpr() { +return (nameExpr); +} + +/** + * Getter method for "value" tag attribute. (Mapping set in associated + * BeanInfo class.) + */ +public String getValueExpr() { +return (valueExpr); +} + +/** + * Setter method for "name" tag attribute. (Mapping set in associated + * BeanInfo class.) + */ +public void setNameExpr(String nameExpr) { +this.nameExpr = nameExpr; +} + +/** + * Setter method for "value" tag attribute. (Mapping set in associated + * BeanInfo class.) + */ +public void setValueExpr(String valueExpr) { +this.valueExpr = valueExpr; +} + +/** + * Resets attribute values for tag reuse. + */ +public void release() { +super.release(); +setNameExpr(null); +setValueExpr(null); +} + +/** + * Process the start tag. + * + * @throws JspException if a JSP exception has occurred + */ +public int doStartTag() throws JspException { +evaluateExpressions(); + +return (super.doStartTag()); +} + +/** + * Processes all attribute values which use the JSTL expression evaluation + * engine to determine their values. + * + * @throws JspException if a JSP exception has occurred + */ +private void evaluateExpressions() throws JspException { +String string = null; + +if ((string = EvalHelper.evalString("name", getNameExpr(), this, +pageContext)) != null) { +setName(string); +} + +if ((string = EvalHelper.evalString("value", getValueExpr(), this, +pageContext)) != null) { +setValue(string); +} +} +} Propchange: struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELParamTag.java -- svn:eol-style = native Propchange: struts/struts1/trunk/el/src/main/java/org/apache/strutsel/taglib/html/ELParamTag.java -- svn:keywords = Date Author Id Revision HeadURL Added: struts/struts1/trunk/el/
svn commit: r482912 - /struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/ParamTag.java
Author: pbenedict Date: Tue Dec 5 21:48:32 2006 New Revision: 482912 URL: http://svn.apache.org/viewvc?view=rev&rev=482912 Log: STR-746: Add SVN properties Modified: struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/ParamTag.java (contents, props changed) Modified: struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/ParamTag.java URL: http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/ParamTag.java?view=diff&rev=482912&r1=482911&r2=482912 == --- struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/ParamTag.java (original) +++ struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/ParamTag.java Tue Dec 5 21:48:32 2006 @@ -1,5 +1,5 @@ /* - * $Id: $ + * $Id$ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file @@ -29,8 +29,7 @@ /** * Adds a new request parameter to its parent [EMAIL PROTECTED] LinkTag}. * - * @version $Rev: 376841 $ $Date: 2005-04-06 02:37:00 -0400 (Wed, 06 Apr 2005) - * $ + * @version $Rev$ $Date$ * @since Struts 1.3.6 */ public class ParamTag extends BodyTagSupport { Propchange: struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/ParamTag.java -- svn:keywords = HeadURL Id LastChangedBy LastChangedDate LastChangedRevision