You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by aj...@apache.org on 2008/02/23 07:48:13 UTC

svn commit: r630398 [1/3] - in /incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc: StripesResources.properties commons-logging.properties jspwiki.properties.tmpl jstl-fmt.tld stripes.tld web.xml

Author: ajaquith
Date: Fri Feb 22 22:48:11 2008
New Revision: 630398

URL: http://svn.apache.org/viewvc?rev=630398&view=rev
Log: (empty)

Added:
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/StripesResources.properties
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/commons-logging.properties
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/stripes.tld
Removed:
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/jstl-fmt.tld
Modified:
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/jspwiki.properties.tmpl
    incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/web.xml

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/StripesResources.properties
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/StripesResources.properties?rev=630398&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/StripesResources.properties (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/StripesResources.properties Fri Feb 22 22:48:11 2008
@@ -0,0 +1,85 @@
+###############################################################################
+## Default Resource Bundle file for the Stripes Framework. Values should be
+## placed in here for the following:
+##   - Form Field Labels, unless you want users to see a non-localized, non-
+##     pretty name from the form field declaration (prettied up a little).
+##   - Error messages for:
+##       - Standard validation error messages
+##       - Converter error messages
+##       - Error messages used in your custom ActionBean classes
+###############################################################################
+
+# Resource strings used by the stripes:errors tag when there are no nested tags
+stripes.errors.header=<div style="color:#b72222; font-weight: bold">Please fix the following errors:</div><ol>
+stripes.errors.beforeError=<li style="color: #b72222;">
+stripes.errors.afterError=</li>
+stripes.errors.footer=</ol>
+
+stripes.fieldErrors.header=
+stripes.fieldErrors.beforeError=<span style="color: #b72222;">
+stripes.fieldErrors.afterError=</span><br />
+stripes.fieldErrors.footer=
+
+# Resource strings used by the stripes:messages tag
+stripes.messages.header=<ul class="messages">
+stripes.messages.beforeMessage=<li>
+stripes.messages.afterMessage=</li>
+stripes.messages.footer=</ul>
+
+# Validation error messages produced by converter classes
+converter.number.invalidNumber=The value ({1}) entered in field {0} must be a valid number
+converter.byte.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
+converter.short.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
+converter.integer.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
+converter.float.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
+converter.enum.notAnEnumeratedValue=The value "{1}" is not a valid value for field {0}
+converter.date.invalidDate=The value ({1}) entered in field {0} must be a valid date
+converter.email.invalidEmail=The value ({1}) entered is not a valid email address
+
+# Validation error messages produced by the annotation based validations
+validation.required.valueNotPresent={0} is a required field
+validation.minlength.valueTooShort={0} must be at least {2} characters long
+validation.maxlength.valueTooLong={0} must be no more than {2} characters long
+validation.minvalue.valueBelowMinimum=The minimum allowed value for {0} is {2}
+validation.maxvalue.valueAboveMaximum=The maximum allowed value for {0} is {2}
+validation.mask.valueDoesNotMatch=<em>{1}</em> is not a valid {0}
+validation.expression.valueFailedExpression=The value supplied ({1}) for field {0} is invalid
+
+###############################################################################
+## Bugzooky Example properties
+###############################################################################
+bug.component.id=Component
+bug.owner.id=Assigned To
+bug.priority=Priority
+bug.status=Status
+bug.dueDate=Due Date
+bug.percentComplete=Percent Complete
+bug.shortDescription=Short Description
+bug.longDescription=Long Description
+
+/examples/bugzooky/SingleBug.action.bug.percentComplete.valueBelowMinimum={0} must be a number between 0 and 100
+/examples/bugzooky/SingleBug.action.bug.percentComplete.valueAboveMaximum={0} must be a number between 0 and 100
+
+bugs.component.id=Component
+bugs.owner.id=Assigned To
+bugs.priority=Priority
+bugs.status=Status
+bugs.shortDescription=Short Description
+bugs.longDescription=Long Description
+
+
+# Login action error messages and fields
+username=Username
+password=Password
+/examples/bugzooky/Login.action.usernameDoesNotExist=The {0} ''{1}'' does not exist. Please check your {0} and try again.
+/examples/bugzooky/Login.action.incorrectPassword=The {0} entered does not match the {0} on file.
+
+# Registration action error messages and fields
+user.username=Username
+user.password=Password
+user.firstName=First Name
+user.lastName=Last Name
+confirmPassword=Confirm Password
+/examples/bugzooky/Register.action.confirmPassword.valueFailedExpression=The Passwords entered did not match.
+/examples/bugzooky/Register.action.usernameTaken=The {0} ''{1}'' is already taken.
+/examples/bugzooky/Register.action.successMessage=Thank you for registering {0}, your account has been created with username ''{1}''
\ No newline at end of file

Added: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/commons-logging.properties
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/commons-logging.properties?rev=630398&view=auto
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/commons-logging.properties (added)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/commons-logging.properties Fri Feb 22 22:48:11 2008
@@ -0,0 +1 @@
+org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
\ No newline at end of file

Modified: incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/jspwiki.properties.tmpl
URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/jspwiki.properties.tmpl?rev=630398&r1=630397&r2=630398&view=diff
==============================================================================
--- incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/jspwiki.properties.tmpl (original)
+++ incubator/jspwiki/branches/JSPWIKI_2_9_STRIPES_BRANCH/etc/jspwiki.properties.tmpl Fri Feb 22 22:48:11 2008
@@ -805,6 +805,14 @@
 #log4j.appender.SecurityAppender.layout = org.apache.log4j.PatternLayout
 #log4j.appender.SecurityAppender.layout.ConversionPattern=%d %p - %m%n
 
+# Enable this if you want to debug the Stripes framework
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
+log4j.rootLogger=INFO, stdout
+log4j.logger.net.sourceforge.stripes=DEBUG
+
 #
 #  Uncomment these lines if you wish to receive detailed spam
 #  filter logging.