Author: jkuhnert
Date: Fri Mar 17 07:45:36 2006
New Revision: 386661
URL: http://svn.apache.org/viewcvs?rev=386661&view=rev
Log:
Bugfixes/patches
Added:
jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/valid/ValidationStrings_en.properties
Modified:
jakarta/tapestry/trunk/src/documentation/content/xdocs/UsersGuide/state.xml
jakarta/tapestry/trunk/status.xml
Added:
jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/valid/ValidationStrings_en.properties
URL:
http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/valid/ValidationStrings_en.properties?rev=386661&view=auto
==============================================================================
---
jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/valid/ValidationStrings_en.properties
(added)
+++
jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/valid/ValidationStrings_en.properties
Fri Mar 17 07:45:36 2006
@@ -0,0 +1,44 @@
+# Copyright 2005 The Apache Software Foundation
+#
+# Licensed 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.
+
+field-is-required=You must enter a value for {0}.
+field-too-short=You must enter at least {0} characters for {1}.
+
+invalid-date-format=Invalid date format for {0}. Format is {1}.
+invalid-int-format={0} must be an integer value.
+invalid-format={0} is not in a recognized format.
+invalid-numeric-format={0} must be a numeric value.
+
+date-too-early={0} must be on or after {1}.
+date-too-late={0} must be on or before {1}.
+
+number-too-small={0} must not be smaller than {1}.
+number-too-large={0} must not be larger than {1}.
+
+number-range={0} must be between {1} and {2}.
+
+invalid-email-format=Invalid email format for {0}. Format is [EMAIL PROTECTED]
+
+pattern-not-matched={0} does not fulfill the required pattern {1}.
+
+invalid-url-format = Invalid URL.
+disallowed-protocol = Disallowed protocol - protocol must be {0}.
+
+### 4.0 ###
+
+field-too-long=You must enter no more than {0} characters for {1}.
+
+regex-mismatch={0} is invalid.
+
+invalid-field-equality={0} must be {1,choice,0#different from|1#the same as}
{2}.
Modified:
jakarta/tapestry/trunk/src/documentation/content/xdocs/UsersGuide/state.xml
URL:
http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/src/documentation/content/xdocs/UsersGuide/state.xml?rev=386661&r1=386660&r2=386661&view=diff
==============================================================================
--- jakarta/tapestry/trunk/src/documentation/content/xdocs/UsersGuide/state.xml
(original)
+++ jakarta/tapestry/trunk/src/documentation/content/xdocs/UsersGuide/state.xml
Fri Mar 17 07:45:36 2006
@@ -433,7 +433,7 @@
</p>
<source><![CDATA[
-<inject name="registration" type="state" object="registration-data"/>
+<inject property="registration" type="state" object="registration-data"/>
]]></source>
<p>
Modified: jakarta/tapestry/trunk/status.xml
URL:
http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/status.xml?rev=386661&r1=386660&r2=386661&view=diff
==============================================================================
--- jakarta/tapestry/trunk/status.xml (original)
+++ jakarta/tapestry/trunk/status.xml Fri Mar 17 07:45:36 2006
@@ -150,6 +150,13 @@
<action type="fix" dev="JK" fixes-bug="TAPESTRY-221" due-to="Brian K.
Wallace" >
Added informal-parameters to jwc and html for TableFormPages
</action>
+ <action type="fix" dev="JK" fixes-bug="TAPESTRY-884" due-to="Jarek
Woloszyn">
+ ValidationStrings wasn't being resolved correctly in non en
environments, added
+ a ValidationStrings_en.properties file to help.
+ </action>
+ <action type="fix" dev="JK" fixes-bug="TAPESTRY-885" due-to="Diogenes
Alberto Moreira" >
+ Incorrect usage of inject documentation on state page. Updated.
+ </action>
</release>
<release version="4.0" date="Jan 6 2006">
<action type="update" dev="HLS">Add link to DeveloperWorks Tapestry
article</action>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]