You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by pb...@apache.org on 2007/08/03 07:40:17 UTC
svn commit: r562341 - in
/struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html:
FormTag.java LocalStrings.properties
Author: pbenedict
Date: Thu Aug 2 22:40:17 2007
New Revision: 562341
URL: http://svn.apache.org/viewvc?view=rev&rev=562341
Log:
STR-3082: Added form name to message
Modified:
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java
struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties
Modified: struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java
URL: http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java?view=diff&rev=562341&r1=562340&r2=562341
==============================================================================
--- struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java (original)
+++ struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java Thu Aug 2 22:40:17 2007
@@ -513,7 +513,7 @@
if (bean == null) {
throw new JspException(messages.getMessage("formTag.create",
- beanType));
+ beanType, beanName));
}
pageContext.setAttribute(beanName, bean, scope);
Modified: struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties
URL: http://svn.apache.org/viewvc/struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties?view=diff&rev=562341&r1=562340&r2=562341
==============================================================================
--- struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties (original)
+++ struts/struts1/trunk/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties Thu Aug 2 22:40:17 2007
@@ -17,7 +17,7 @@
common.io=Encountered input/output error: {0}
enumerateTag.enumeration=Cannot create enumeration for {0}
formTag.collections=Cannot find ActionMappings or ActionFormBeans collection
-formTag.create=Exception creating bean of class {0}: {1}
+formTag.create=Exception creating bean of class {0} under form name {1}
formTag.formBean=Cannot retrieve definition for form bean: "{0}" on action: "{1}"
formTag.ignoredId=Cannot specify "styleId" when in XHTML mode as the HTML "id" \
attribute is already used to store the bean name