Author: pbenedict
Date: Thu Aug 2 22:30:28 2007
New Revision: 562337
URL: http://svn.apache.org/viewvc?view=rev&rev=562337
Log:
STR-3082: Added form name to message
Modified:
struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java
struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties
Modified:
struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java
URL:
http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java?view=diff&rev=562337&r1=562336&r2=562337
==============================================================================
---
struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java
(original)
+++
struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/FormTag.java
Thu Aug 2 22:30:28 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/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties
URL:
http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties?view=diff&rev=562337&r1=562336&r2=562337
==============================================================================
---
struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties
(original)
+++
struts/struts1/branches/STRUTS_1_3_BRANCH/taglib/src/main/java/org/apache/struts/taglib/html/LocalStrings.properties
Thu Aug 2 22:30:28 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