cvs commit: jakarta-struts/src/share/org/apache/struts/actions LocaleAction.java
husted 2004/01/01 05:45:49 Added: src/share/org/apache/struts/actions LocaleAction.java Log: Move LocaleAction from Validator example webapp to standard Actions package, so that it can be used in other examples and tests. Revision ChangesPath 1.1 jakarta-struts/src/share/org/apache/struts/actions/LocaleAction.java Index: LocaleAction.java === /* * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/actions/LocaleAction.java,v 1.1 2004/01/01 13:45:49 husted Exp $ * $Revision: 1.1 $ * $Date: 2004/01/01 13:45:49 $ * * * * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in *the documentation and/or other materials provided with the *distribution. * * 3. The end-user documentation included with the redistribution, if *any, must include the following acknowledgement: * This product includes software developed by the *Apache Software Foundation (http://www.apache.org/). *Alternately, this acknowlegement may appear in the software itself, *if and wherever such third-party acknowlegements normally appear. * * 4. The names The Jakarta Project, Struts, and Apache Software *Foundation must not be used to endorse or promote products derived *from this software without prior written permission. For written *permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called Apache *nor may Apache appear in their name, without prior written *permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * http://www.apache.org/. */ package org.apache.struts.actions; import java.util.Locale; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.commons.beanutils.PropertyUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.struts.Globals; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; /** * Implementation of strongAction/strong that changes the user's * @link(java.util.Locale and forwards to a page, based on request level * parameters that are set (language, country, amp; page). * * @author David Wintefeldt */ public final class LocaleAction extends Action { /** * Commons Logging instance. */ private Log log = LogFactory.getFactory().getInstance(this.getClass().getName()); /** * p * Change the user's @link(java.util.Locale) based on @link(ActionForm) * properties. * /p * p * This codeAction/code looks for codelanguage/code and * codecountry/code properties on the given form, constructs an * appropriate Locale object, and sets it as the Struts Locale for this * user's session. * Any codeActionForm, including a @link(DynaActionForm), may be used. * /p * p * If a codepage/code property is also provided, then
cvs commit: jakarta-struts/web/validator/WEB-INF struts-config.xml
husted 2004/01/01 05:46:29 Modified:web/validator/WEB-INF struts-config.xml Log: Move LocaleAction from Validator example webapp to standard Actions package, so that it can be used in other examples and tests. Revision ChangesPath 1.6 +1 -1 jakarta-struts/web/validator/WEB-INF/struts-config.xml Index: struts-config.xml === RCS file: /home/cvs/jakarta-struts/web/validator/WEB-INF/struts-config.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- struts-config.xml 24 Sep 2003 03:43:17 - 1.5 +++ struts-config.xml 1 Jan 2004 13:46:29 - 1.6 @@ -104,7 +104,7 @@ !-- Locale Action -- actionpath=/locale - type=org.apache.struts.webapp.validator.LocaleAction + type=org.apache.struts.actions.LocaleAction name=localeForm scope=request forward name=success path=/index.jsp/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/src/exercise-taglib/org/apache/struts/webapp/exercise ApplicationResources_fr.properties ApplicationResources_de.properties ApplicationResources.properties
husted 2004/01/01 05:47:03 Modified:src/exercise-taglib/org/apache/struts/webapp/exercise ApplicationResources.properties Added: src/exercise-taglib/org/apache/struts/webapp/exercise ApplicationResources_fr.properties ApplicationResources_de.properties Log: Add bean:write test #7 - localized numbers. Revision ChangesPath 1.4 +10 -0 jakarta-struts/src/exercise-taglib/org/apache/struts/webapp/exercise/ApplicationResources.properties Index: ApplicationResources.properties === RCS file: /home/cvs/jakarta-struts/src/exercise-taglib/org/apache/struts/webapp/exercise/ApplicationResources.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ApplicationResources.properties 9 Oct 2002 05:09:35 - 1.3 +++ ApplicationResources.properties 1 Jan 2004 13:47:02 - 1.4 @@ -37,3 +37,13 @@ resources0=Resources 0 resources1=Resources 1 resources2=Resources 2 + + +# +# Resources for testing bean:write tag. +# + +format.pattern=#,000.00 +locale.de= +locale.en=(*) +locale.fr= 1.1 jakarta-struts/src/exercise-taglib/org/apache/struts/webapp/exercise/ApplicationResources_fr.properties Index: ApplicationResources_fr.properties === # # Resources for testing bean:write tag. # # :FIXME: Where are the localized notations documented? -- period is not right format.pattern=#.000,00 locale.en= locale.fr=(*) 1.1 jakarta-struts/src/exercise-taglib/org/apache/struts/webapp/exercise/ApplicationResources_de.properties Index: ApplicationResources_de.properties === # # Resources for testing bean:write tag. # format.pattern=#.000,00 locale.en= locale.de=(*) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/web/exercise-taglib bean-write.jsp
husted 2004/01/01 05:47:26 Modified:web/exercise-taglib bean-write.jsp Log: Add bean:write test #7 - localized numbers. Revision ChangesPath 1.4 +53 -0 jakarta-struts/web/exercise-taglib/bean-write.jsp Index: bean-write.jsp === RCS file: /home/cvs/jakarta-struts/web/exercise-taglib/bean-write.jsp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- bean-write.jsp11 Apr 2001 01:56:12 - 1.3 +++ bean-write.jsp1 Jan 2004 13:47:26 - 1.4 @@ -1,5 +1,6 @@ %@ page language=java % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % +%@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html head titleTest struts-bean:write Tag/title @@ -218,6 +219,58 @@ % } % /table +h3Test 7 - Localized number display/h3 + +% + pageContext.setAttribute(test7.value, new Double(1234567.89)); +% + +table border=0 +tr +td + +table border=1 + tr + thLanguage/th + thExpected format/th + /tr + tr +tdde bean:message key=locale.de//td +td1.234.567,89/td + /tr + tr +tden bean:message key=locale.en//td +td1,234,567.89/td + /tr + tr +tdfr bean:message key=locale.fr//td +td1 234 567,89/td + /tr +/table +/td +td +table border=1 +tr + thDefault format/td + thUsing Format Attribute/th + thUsing Format Key/th +/tr + tr + td%= pageContext.getAttribute(test7.value) %/td +td[#,000.00] bean:write name=test7.value format=#,000.00//td +td[bean:message key=format.pattern /] bean:write name=test7.value formatKey=format.pattern//td + /tr +/table +/td +/tr +/table + +h3Sprache | Language | Langage/h3 +ul + lihtml:link action=/locale?page=/bean-write.jspamp;language=deGerman | Deutsch/html:link bean:message key=locale.de//li + lihtml:link action=/locale?page=/bean-write.jspamp;language=enEnglish | Anglais/html:link bean:message key=locale.en//li + lihtml:link action=/locale?page=/bean-write.jspamp;language=frFrench | Francais/html:link bean:message key=locale.fr//li +/ul /body /html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/web/exercise-taglib/WEB-INF struts-config.xml
husted 2004/01/01 05:47:40 Modified:web/exercise-taglib/WEB-INF struts-config.xml Log: Add bean:write test #7 - localized numbers. Revision ChangesPath 1.8 +19 -0 jakarta-struts/web/exercise-taglib/WEB-INF/struts-config.xml Index: struts-config.xml === RCS file: /home/cvs/jakarta-struts/web/exercise-taglib/WEB-INF/struts-config.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- struts-config.xml 21 Jul 2002 19:57:26 - 1.7 +++ struts-config.xml 1 Jan 2004 13:47:40 - 1.8 @@ -7,8 +7,18 @@ struts-config form-beans + form-bean name=testbean type=org.apache.struts.webapp.exercise.TestBean/ + + !-- Locale form bean -- + form-bean name=localeForm + type=org.apache.struts.action.DynaActionForm +form-property name=language type=java.lang.String/ +form-property name=country type=java.lang.String/ +form-property name=page type=java.lang.String/ + /form-bean + /form-beans global-forwards @@ -52,6 +62,15 @@ validate=false forward name=inputpath=/html-setters.jsp/ /action + + !-- Locale Action -- + actionpath=/locale + type=org.apache.struts.actions.LocaleAction + name=localeForm + scope=request + forward name=success path=/index.jsp/ + /action + /action-mappings message-resources - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21992] - Localized number formatting inconsistency
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21992. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21992 Localized number formatting inconsistency --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 15:46 --- Really I can't see the benefits of using the localized symbols in the resource file, especially when Sun didn't even care to document them since its introduction in the JDK 1.1. The most important thing is to provide a localized format in the resource file, but localizing the localized format doesn't matter, it brings more confusion and complexity for no functional benefit. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/userGuide dev_validator.xml
husted 2004/01/01 08:46:29 Modified:doc/userGuide dev_validator.xml Log: Fix name value, per #25850 (Dasa Paddock) Revision ChangesPath 1.39 +4 -4 jakarta-struts/doc/userGuide/dev_validator.xml Index: dev_validator.xml === RCS file: /home/cvs/jakarta-struts/doc/userGuide/dev_validator.xml,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- dev_validator.xml 11 Dec 2003 20:37:47 - 1.38 +++ dev_validator.xml 1 Jan 2004 16:46:28 - 1.39 @@ -134,11 +134,11 @@ depends=required,integer,intRange arg0 key=typeForm.integer.displayname/ arg1 -name=range +name=intRange key=${var:min} resource=false/ arg2 -name=range +name=intRange key=${var:max} resource=false/ var @@ -201,11 +201,11 @@ depends=required,integer,intRange arg0 key=typeForm.integer.displayname/ arg1 -name=range +name=intRange key=${var:min} resource=false/ arg2 -name=range +name=intRange key=${var:max} resource=false/ var - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25850] - Error in examples
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25850. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25850 Error in examples [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 16:46 --- Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25855] New: - ContextRelative/PagePattern issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855 ContextRelative/PagePattern issues Summary: ContextRelative/PagePattern issues Product: Struts Version: Nightly Build Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This is an umbrella ticket to link together other tickets involving completing support for ContextRelative and PagePattern within the framework. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 13544] - [exception] support contextRelative paths
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13544. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13544 [exception] support contextRelative paths [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 17:06 --- *** This bug has been marked as a duplicate of 25855 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25855] - ContextRelative/PagePattern issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855 ContextRelative/PagePattern issues [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 17:06 --- *** Bug 13544 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25855] - ContextRelative/PagePattern issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855 ContextRelative/PagePattern issues [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 17:07 --- *** Bug 18107 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25855] - ContextRelative/PagePattern issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855 ContextRelative/PagePattern issues --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 17:07 --- *** Bug 18111 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25855] - ContextRelative/PagePattern issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855 ContextRelative/PagePattern issues [EMAIL PROTECTED] changed: What|Removed |Added CC||struts- ||[EMAIL PROTECTED] AssignedTo|struts- |[EMAIL PROTECTED] |[EMAIL PROTECTED] | - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23127] - Page attribute of img and image tags doesn't use pagePattern setting
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23127. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23127 Page attribute of img and image tags doesn't use pagePattern setting [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 17:10 --- *** This bug has been marked as a duplicate of 25855 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25855] - ContextRelative/PagePattern issues
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25855 ContextRelative/PagePattern issues [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 17:10 --- *** Bug 23127 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 20178] - html:img doesn't respect module pagePattern settings
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20178. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20178 html:img doesn't respect module pagePattern settings This bug depends on bug 23127, which changed state: What|Old Value |New Value Status|NEW |RESOLVED Resolution||DUPLICATE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23255] - FormFile.getFileName() problem in multibyte character file name
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23255. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23255 FormFile.getFileName() problem in multibyte character file name --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 17:25 --- A patch to the upload example, that extends it for, say, Japanese file names, and that could demonstrate the problem would be helpful. Of course, a clear patch that resolved the problem would also be helpful. But we do need a baseline upload example so that we can tell both that it is broken and that it is fixed. -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 24631] - Struts tags use bytes of UTF-8 for urlencoding unconditionally
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24631. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24631 Struts tags use bytes of UTF-8 for urlencoding unconditionally [EMAIL PROTECTED] changed: What|Removed |Added CC||struts- ||[EMAIL PROTECTED] AssignedTo|struts- |[EMAIL PROTECTED] |[EMAIL PROTECTED] | --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 17:54 --- OK, let's do it. If you are around today, Yasuhiko, and can run a patch against the TLD, they are kept as XML documents hidden in the userGuide directory. We use stylesheets to generate both the TLD and the API docs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25134] - bean:write date format should use the locale
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25134. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25134 bean:write date format should use the locale [EMAIL PROTECTED] changed: What|Removed |Added CC||struts- ||[EMAIL PROTECTED] AssignedTo|struts- |[EMAIL PROTECTED] |[EMAIL PROTECTED] | - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25824] - Error in parsing french accent in html:link
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25824. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25824 Error in parsing french accent in html:link --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 17:59 --- Are you saying that when you pass the property along to your business classes, it comes across as something other than bédardg. If this is just about how it's being encoded in the page, please close the report, since this looks like the expected behavior to me. %C3%A9 looks like é encoded for use in a URI. -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 24631] - Struts tags use bytes of UTF-8 for urlencoding unconditionally
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24631. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24631 Struts tags use bytes of UTF-8 for urlencoding unconditionally [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 19:20 --- OK, I patched the TLDs too. Without a test targeted for this use case, I can't tell if this is doing any good, but it at least doesn't seem to do any harm. :) Would it be possible to provide a simple demonstration of this feature so that we can see that it is working? The Validator example includes a Japanese translation, in case we can do something there. I added the useLocalEncoding to the Japanese link there, just to prove the attribute would be accepted. A related issue is http://issues.apache.org/bugzilla/show_bug.cgi?id=23255, where we need to cope with multibyte characters in uploaded filenames, which I mention in case we can combine the use case in a single example. -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java
husted 2004/01/01 11:27:20 Modified:src/share/org/apache/struts/taglib TagUtils.java src/share/org/apache/struts/taglib/bean IncludeTag.java WriteTag.java src/share/org/apache/struts/taglib/html ImgTag.java LinkTag.java RewriteTag.java src/share/org/apache/struts/taglib/logic RedirectTag.java src/share/org/apache/struts/util RequestUtils.java Log: In link-related tags, allow LocalCharacterEncoding to be specified conditionally, per # 24631 (Yasuhiko Sakakibara). Revision ChangesPath 1.27 +94 -21jakarta-struts/src/share/org/apache/struts/taglib/TagUtils.java Index: TagUtils.java === RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/TagUtils.java,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- TagUtils.java 9 Sep 2003 03:44:42 - 1.26 +++ TagUtils.java 1 Jan 2004 19:27:19 - 1.27 @@ -310,6 +310,28 @@ } + public String computeURL( + PageContext pageContext, + String forward, + String href, + String page, + String action, + Map params, + String anchor, + boolean redirect) + throws MalformedURLException { + return this.computeURLWithCharEncoding( + pageContext, + forward, + href, + page, + action, + params, + anchor, + redirect, + false); + } + /** * Compute a hyperlink URL based on the codeforward/code, * codehref/code, codeaction/code or codepage/code parameter @@ -335,7 +357,7 @@ * @exception java.net.MalformedURLException if a URL cannot be created * for the specified parameters */ -public String computeURL( +public String computeURLWithCharEncoding( PageContext pageContext, String forward, String href, @@ -343,10 +365,11 @@ String action, Map params, String anchor, -boolean redirect) +boolean redirect, + boolean useLocalEncoding) throws MalformedURLException { -return computeURL( +return computeURLWithCharEncoding( pageContext, forward, href, @@ -355,9 +378,35 @@ params, anchor, redirect, -true); +true, +useLocalEncoding); } + public String computeURL( + PageContext pageContext, + String forward, + String href, + String page, + String action, + Map params, + String anchor, + boolean redirect, + boolean encodeSeparator) + throws MalformedURLException { + return computeURLWithCharEncoding( + pageContext, + forward, + href, + page, + action, + params, + anchor, + redirect, + encodeSeparator, + false + ); + } + /** * Compute a hyperlink URL based on the codeforward/code, * codehref/code, codeaction/code or codepage/code parameter @@ -382,11 +431,14 @@ * @param encodeSeparator This is only checked if redirect is set to false (never * encoded for a redirect). If true, query string parameter separators are encoded * as gt;amp;, else amp; is used. + * @param useLocalEncoding If set to true, urlencoding is done on the bytes of + * character encoding from ServletResponse#getCharacterEncoding. Use UTF-8 + * otherwise. * @return URL with session
cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/nested/html NestedErrorsTag.java
husted 2004/01/01 12:16:53 Modified:src/share/org/apache/struts/taglib/nested/html NestedErrorsTag.java Log: In NestedMessage* tags, change to implement NestedPropertySupport rather than NestedNameSupport, per #21613, #21254 (dulonz, Alex Cruikshank) Revision ChangesPath 1.6 +6 -6 jakarta-struts/src/share/org/apache/struts/taglib/nested/html/NestedErrorsTag.java Index: NestedErrorsTag.java === RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/nested/html/NestedErrorsTag.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- NestedErrorsTag.java 28 Feb 2003 05:15:06 - 1.5 +++ NestedErrorsTag.java 1 Jan 2004 20:16:52 - 1.6 @@ -63,7 +63,7 @@ import javax.servlet.jsp.JspException; import org.apache.struts.taglib.html.ErrorsTag; -import org.apache.struts.taglib.nested.NestedNameSupport; +import org.apache.struts.taglib.nested.NestedPropertySupport; import org.apache.struts.taglib.nested.NestedPropertyHelper; /** @@ -73,7 +73,7 @@ * @since Struts 1.1 * @version $Revision$ $Date$ */ -public class NestedErrorsTag extends ErrorsTag implements NestedNameSupport { +public class NestedErrorsTag extends ErrorsTag implements NestedPropertySupport { /** * Overriding method of the heart of the matter. Gets the relative property - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21613] - nested:error tag stopped displaying error messages (of certain scenario) when upgraded from Struts1.1 R1 to Final version
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21613. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21613 nested:error tag stopped displaying error messages (of certain scenario) when upgraded from Struts1.1 R1 to Final version [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 20:17 --- In furtherance of #21254, NestedErrors now implements NestedPropertySupport rather than NestedNameSupport. I ran a casual test that indicates it works now. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25488] - Nesting tags are incorrectly clearing parent nesting context.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25488. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25488 Nesting tags are incorrectly clearing parent nesting context. [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 20:33 --- I made the change requested for the NestedPropertyTag. But I'm not comfortable making changes to doEndTag methods of 'nested' tags (probably excluding 'root' tag). If someone makes these changes, and can confirm that all is well, we'll consider the patch. But, I just don't have enough nested taglib tests here to make the changes on my own. It would be particularly helpful if someone created a suite of tests for the nested taglib that we could add to the taglib-exercise application. -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-struts/src/share/org/apache/struts/actions LocaleAction.java
I don't think the reason for this change is valid. If you only want to use this action in examples and tests it doesn't belong in the standard actions package which allows it to be used in applications and requires support. The action is an ok example but it's not generally seful enough to warrant promotion to the main Struts distro. More importantly, the code isn't ready for the main distro as it catches Exception and hardcodes the success forward name. David --- [EMAIL PROTECTED] wrote: husted 2004/01/01 05:45:49 Added: src/share/org/apache/struts/actions LocaleAction.java Log: Move LocaleAction from Validator example webapp to standard Actions package, so that it can be used in other examples and tests. Revision ChangesPath 1.1 jakarta-struts/src/share/org/apache/struts/actions/LocaleAction.java Index: LocaleAction.java === /* * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/actions/LocaleAction.java,v 1.1 2004/01/01 13:45:49 husted Exp $ * $Revision: 1.1 $ * $Date: 2004/01/01 13:45:49 $ * * * * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in *the documentation and/or other materials provided with the *distribution. * * 3. The end-user documentation included with the redistribution, if *any, must include the following acknowledgement: * This product includes software developed by the *Apache Software Foundation (http://www.apache.org/). *Alternately, this acknowlegement may appear in the software itself, *if and wherever such third-party acknowlegements normally appear. * * 4. The names The Jakarta Project, Struts, and Apache Software *Foundation must not be used to endorse or promote products derived *from this software without prior written permission. For written *permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called Apache *nor may Apache appear in their name, without prior written *permission of the Apache Software Foundation. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * http://www.apache.org/. */ package org.apache.struts.actions; import java.util.Locale; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.commons.beanutils.PropertyUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.struts.Globals; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; /** * Implementation of strongAction/strong that changes the user's * @link(java.util.Locale and forwards to a page, based on request level * parameters that are set (language, country, amp; page). * * @author David Wintefeldt */ public final class LocaleAction extends Action { /** * Commons Logging instance. */ private Log
cvs commit: jakarta-struts/src/exercise-taglib/org/apache/struts/webapp/exercise ApplicationResources_fr.properties
husted 2004/01/01 14:37:43 Modified:src/exercise-taglib/org/apache/struts/webapp/exercise ApplicationResources_fr.properties Log: Add correct Group (thousands) Separator for fr, per research by Jason Lea. Revision ChangesPath 1.3 +1 -2 jakarta-struts/src/exercise-taglib/org/apache/struts/webapp/exercise/ApplicationResources_fr.properties Index: ApplicationResources_fr.properties === RCS file: /home/cvs/jakarta-struts/src/exercise-taglib/org/apache/struts/webapp/exercise/ApplicationResources_fr.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ApplicationResources_fr.properties1 Jan 2004 19:24:20 - 1.2 +++ ApplicationResources_fr.properties1 Jan 2004 22:37:43 - 1.3 @@ -1,7 +1,6 @@ # # Resources for testing bean:write tag. # -# :FIXME: Where are the localized notations documented? -- period is not right -double.pattern=#.000,00 +double.pattern=#\u00a,00 locale.en= locale.fr=(*) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/bean WriteTag.java
husted 2004/01/01 14:39:59 Modified:src/share/org/apache/struts/taglib/bean WriteTag.java Log: Add notes regarding discovering localized notations, per research by Jason Lea. Revision ChangesPath 1.31 +12 -5 jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java Index: WriteTag.java === RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- WriteTag.java 1 Jan 2004 19:27:19 - 1.30 +++ WriteTag.java 1 Jan 2004 22:39:59 - 1.31 @@ -316,7 +316,14 @@ /** * Format value according to specified format string (as tag attribute or * as string from message resources) or to current user locale. - * + * + * When a format string is retrieved from the message resources, + * codeapplyLocalizedPattern/code is used. For more about localized + * patterns, see http://tinyurl.com/33y54. (To obtain the correct + * value for some characters, you may need to view the file in a + * hex editor and then use the Unicode escape form in the + * property resources file.) + * * @param valueToFormat value to process and convert to String * @exception JspException if a JSP exception has occurred */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25536] - formatKey works incorrectly in nested:write
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25536. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25536 formatKey works incorrectly in nested:write [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 22:42 --- Yes, if you put a pattern in a resource bundle, you must use the localized notation. See the latest Javadoc for o.a.s.taglib.bean.WriteTag for more. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25735] - Tiles doesn't complain if two definitions have the same name
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25735. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25735 Tiles doesn't complain if two definitions have the same name [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 22:43 --- *** This bug has been marked as a duplicate of 5739 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 5739] - Struts fails silently in too many places
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5739. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5739 Struts fails silently in too many places [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 22:43 --- *** Bug 25735 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 25155] - provide meaningful error message for UnavailableException: Parsing error processing resource path
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25155. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25155 provide meaningful error message for UnavailableException: Parsing error processing resource path [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 22:48 --- I guess what we would probably need to here is pre-validate the file before handing it to the digester, so it would be part of the pre-flight checks comtemplated by #5739. Of course, this could not be handled by a PlugIn, since the config is needed to load a PlugIn :) *** This bug has been marked as a duplicate of 5739 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 5739] - Struts fails silently in too many places
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5739. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5739 Struts fails silently in too many places --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 22:48 --- *** Bug 25155 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 24926] - i18n changes for form input
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24926. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24926 i18n changes for form input --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 22:50 --- See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24631 and let us know what else we can do (specifically). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 13809] - Struts configuration is not validated after use
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13809. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13809 Struts configuration is not validated after use [EMAIL PROTECTED] changed: What|Removed |Added BugsThisDependsOn|5739| Status|REOPENED|RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 22:54 --- *** This bug has been marked as a duplicate of 5739 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 5739] - Struts fails silently in too many places
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5739. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5739 Struts fails silently in too many places [EMAIL PROTECTED] changed: What|Removed |Added OtherBugsDependingO|13809 | nThis|| CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 22:54 --- *** Bug 13809 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 23943] - HOWTO for DispatchAction and Validator
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23943. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23943 HOWTO for DispatchAction and Validator [EMAIL PROTECTED] changed: What|Removed |Added Keywords||PatchAvailable - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 24512] - Product Announcement for Struts web site Recent News page
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24512. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24512 Product Announcement for Struts web site Recent News page [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2004-01-01 23:02 --- We don't publish the resource pages anymore. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tinyurl.com [was: Re: cvs commit: jakarta-stru...]
Maybe its just me or I'm missing something here, but do we have to use tinyurl.com? I'm not sure I like the idea of relying on a 3rd party for web resource address translation. If continue using this service and something happened and tinyurl.com was not available, we would lose many valuable references such as the one below. Perhaps we could utilize some other means of shortening long URLs, or at least something we have more control over. Your thoughts? On Thu, 1 Jan 2004 [EMAIL PROTECTED] wrote: husted 2004/01/01 14:39:59 Modified:src/share/org/apache/struts/taglib/bean WriteTag.java Log: Add notes regarding discovering localized notations, per research by Jason Lea. Revision ChangesPath 1.31 +12 -5 jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java Index: WriteTag.java === RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- WriteTag.java 1 Jan 2004 19:27:19 - 1.30 +++ WriteTag.java 1 Jan 2004 22:39:59 - 1.31 @@ -316,7 +316,14 @@ /** * Format value according to specified format string (as tag attribute or * as string from message resources) or to current user locale. - * + * + * When a format string is retrieved from the message resources, + * codeapplyLocalizedPattern/code is used. For more about localized + * patterns, see http://tinyurl.com/33y54. (To obtain the correct + * value for some characters, you may need to view the file in a + * hex editor and then use the Unicode escape form in the + * property resources file.) + * * @param valueToFormat value to process and convert to String * @exception JspException if a JSP exception has occurred */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- James Mitchell Software Developer / Struts Evangelist http://www.struts-atlanta.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tinyurl.com [was: Re: cvs commit: jakarta-stru...]
--- James Mitchell [EMAIL PROTECTED] wrote: Maybe its just me or I'm missing something here, but do we have to use tinyurl.com? I'm not sure I like the idea of relying on a 3rd party for web resource address translation. If continue using this service and something happened and tinyurl.com was not available, we would lose many valuable references such as the one below. Perhaps we could utilize some other means of shortening long URLs, or at least something we have more control over. Your thoughts? -1 on using tinyurl in Struts javadocs and documentation. I can't think of any valid reason not to specify the real url in our docs. David On Thu, 1 Jan 2004 [EMAIL PROTECTED] wrote: husted 2004/01/01 14:39:59 Modified:src/share/org/apache/struts/taglib/bean WriteTag.java Log: Add notes regarding discovering localized notations, per research by Jason Lea. Revision ChangesPath 1.31 +12 -5 jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java Index: WriteTag.java === RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- WriteTag.java 1 Jan 2004 19:27:19 - 1.30 +++ WriteTag.java 1 Jan 2004 22:39:59 - 1.31 @@ -316,7 +316,14 @@ /** * Format value according to specified format string (as tag attribute or * as string from message resources) or to current user locale. - * + * + * When a format string is retrieved from the message resources, + * codeapplyLocalizedPattern/code is used. For more about localized + * patterns, see http://tinyurl.com/33y54. (To obtain the correct + * value for some characters, you may need to view the file in a + * hex editor and then use the Unicode escape form in the + * property resources file.) + * * @param valueToFormat value to process and convert to String * @exception JspException if a JSP exception has occurred */ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- James Mitchell Software Developer / Struts Evangelist http://www.struts-atlanta.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]