Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/app1/index.html URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/app1/index.html?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/app1/index.html (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/app1/index.html Sat Dec 30 15:06:09 2006 @@ -33,33 +33,37 @@ <li> <a href="BadTemplate.html">BadTemplate Page</a> -- More exception reporting </li> <li> - <a href="ActionPage.html">Action Page</a> -- tests fixture for ActionLink component </li> + <a href="ActionPage.html">Action Page</a> -- tests fixture for ActionLink + component </li> <li> - <a href="InstanceMixin.html">InstanceMixin</a> -- Mixin added to particular component instance </li> + <a href="InstanceMixin.html">InstanceMixin</a> -- Mixin added to particular + component instance </li> <li> - <a href="RenderPhaseOrder.html">RenderPhaseOrder</a> -- Order of operations when invoking render - phase methods </li> + <a href="RenderPhaseOrder.html">RenderPhaseOrder</a> -- Order of operations when + invoking render phase methods </li> <li> - <a href="SimpleForm.html">SimpleForm</a> -- first pass at writing Form and TextField components - </li> - <li> - <a href="NumberSelect.html">NumberSelect</a> -- passivate/activate page context demo - </li> - <li> - <a href="Localization.html">Localization</a> -- accessing localized messages from the component catalog - </li> - <li> - <a href="AssetDemo.html">AssetDemo</a> -- declaring an using Assets - </li> - <li> - <a href="ExpansionSubclass.html">ExpansionSubclass</a> -- components can inherit templates from base classes - </li> - <li> - <a href="InjectComponentMismatch.html">InjectComponentMismatch</a> -- check error reporting when @InjectComponent doesn't match the actual field type - </li> - <li> - <a href="ParameterDefault.html">ParameterDefault</a> -- defaulter methods for component parameters - </li> + <a href="SimpleForm.html">SimpleForm</a> -- first pass at writing Form and + TextField components </li> + <li> + <a href="NumberSelect.html">NumberSelect</a> -- passivate/activate page context + demo </li> + <li> + <a href="Localization.html">Localization</a> -- accessing localized messages + from the component catalog </li> + <li> + <a href="AssetDemo.html">AssetDemo</a> -- declaring an using Assets </li> + <li> + <a href="ExpansionSubclass.html">ExpansionSubclass</a> -- components can inherit + templates from base classes </li> + <li> + <a href="InjectComponentMismatch.html">InjectComponentMismatch</a> -- check + error reporting when @InjectComponent doesn't match the actual field type </li> + <li> + <a href="ParameterDefault.html">ParameterDefault</a> -- defaulter methods for + component parameters </li> + <li> + <a href="ValidForm.html">ValidForm</a> -- server-side input validation</li> + </ul> </p> </body>
Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/conf/testng.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/conf/testng.xml?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/conf/testng.xml (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/conf/testng.xml Sat Dec 30 15:06:09 2006 @@ -1,20 +1,20 @@ <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<!-- - Copyright 2006 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. ---> - +<!-- + Copyright 2006 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. +--> + <suite name="Tapestry Core" parallel="false" thread-count="10" annotations="1.5" verbose="2"> <test name="Tapestry Core"> <packages> Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/conf/webdefault.xml URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/conf/webdefault.xml?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/conf/webdefault.xml (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/conf/webdefault.xml Sat Dec 30 15:06:09 2006 @@ -1,20 +1,20 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!-- - Copyright 2006 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. ---> - +<!-- + Copyright 2006 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. +--> + <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java Sat Dec 30 15:06:09 2006 @@ -86,7 +86,7 @@ } @Test - public void app1_basic_output() throws Exception + public void basic_output() throws Exception { _selenium.open(BASE_URL); @@ -112,7 +112,7 @@ } @Test - public void app1_basic_parameters() throws Exception + public void basic_parameters() throws Exception { // OK ... this could be a separate test, but for efficiency, we'll mix it in here. @@ -126,7 +126,7 @@ } @Test - public void app1_injection() throws Exception + public void injection() throws Exception { _selenium.open(BASE_URL); @@ -143,7 +143,7 @@ } @Test - public void app1_page_injection() throws Exception + public void page_injection() throws Exception { _selenium.open(BASE_URL); @@ -164,7 +164,7 @@ } @Test - public void app1_embedded_components() + public void embedded_components() { _selenium.open(BASE_URL); @@ -176,7 +176,7 @@ } @Test - public void app1_template_overridden() + public void template_overridden() { _selenium.open(BASE_URL); @@ -186,7 +186,7 @@ } @Test - public void app1_environmental() + public void environmental() { _selenium.open(BASE_URL); @@ -199,7 +199,7 @@ } @Test - public void app1_expansion() + public void expansion() { _selenium.open(BASE_URL); @@ -209,7 +209,7 @@ } @Test - public void app1_subclass_inherits_parent_template() + public void subclass_inherits_parent_template() { _selenium.open(BASE_URL); @@ -219,7 +219,7 @@ } @Test - public void app1_exception_report() + public void exception_report() { _selenium.open(BASE_URL); @@ -232,7 +232,7 @@ } @Test - public void app1_simple_component_event() + public void simple_component_event() { final String YOU_CHOSE = "You chose: "; @@ -251,7 +251,7 @@ } @Test - public void app1_instance_mixin() + public void instance_mixin() { _selenium.open(BASE_URL); @@ -280,7 +280,7 @@ } @Test - public void app1_render_phase_order() + public void render_phase_order() { _selenium.open(BASE_URL); @@ -291,7 +291,7 @@ /** Tests for forms and form submissions and basic form control components. */ @Test - public void app1_simple_form() + public void simple_form() { _selenium.open(BASE_URL); @@ -326,7 +326,7 @@ } @Test - public void app1_passivate_activate() throws Exception + public void passivate_activate() throws Exception { _selenium.open(BASE_URL); clickAndWait("link=NumberSelect"); @@ -335,7 +335,7 @@ } @Test - public void app1_localization() + public void localization() { _selenium.open(BASE_URL); clickAndWait("link=Localization"); @@ -346,7 +346,7 @@ } @Test - public void app1_assets() throws Exception + public void assets() throws Exception { _selenium.open(BASE_URL); clickAndWait("link=AssetDemo"); @@ -397,6 +397,24 @@ // And exception message: assertTextPresent("Component org.apache.tapestry.integration.app1.pages.InjectComponentMismatch is not assignable to field org.apache.tapestry.corelib.mixins.RenderDisabled._field (of type org.apache.tapestry.Field)."); + } + + @Test + public void server_side_validation_for_textfield_and_textarea() throws Exception + { + _selenium.open(BASE_URL); + clickAndWait("link=ValidForm"); + clickAndWait("//[EMAIL PROTECTED]'submit']"); + assertTextPresent("You must provide a value for Email."); + assertTextPresent("You must provide a value for Incident Message."); + + _selenium.type("email", "[EMAIL PROTECTED]"); + _selenium.type("message", "Show me the money!"); + + clickAndWait("//[EMAIL PROTECTED]'submit']"); + + assertTextPresent("[EMAIL PROTECTED]"); + assertTextPresent("[Show me the money!]"); } private byte[] readContent(URL url) throws Exception Added: tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/app1/pages/ValidForm.java URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/app1/pages/ValidForm.java?view=auto&rev=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/app1/pages/ValidForm.java (added) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/app1/pages/ValidForm.java Sat Dec 30 15:06:09 2006 @@ -0,0 +1,37 @@ +// Copyright 2006 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. + +package org.apache.tapestry.integration.app1.pages; + +import org.apache.tapestry.annotations.ComponentClass; +import org.apache.tapestry.annotations.Persist; +import org.apache.tapestry.integration.app1.data.IncidentData; + [EMAIL PROTECTED] +public class ValidForm +{ + @Persist + private IncidentData _incident; + + public IncidentData getIncident() + { + return _incident; + } + + void onPrepare() + { + if (_incident == null) + _incident = new IncidentData(); + } +} Copied: tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/bindings/ValidateBindingFactoryTest.java (from r491071, tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/bindings/ValidatorBindingFactoryTest.java) URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/bindings/ValidateBindingFactoryTest.java?view=diff&rev=491342&p1=tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/bindings/ValidatorBindingFactoryTest.java&r1=491071&p2=tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/bindings/ValidateBindingFactoryTest.java&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/bindings/ValidatorBindingFactoryTest.java (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/bindings/ValidateBindingFactoryTest.java Sat Dec 30 15:06:09 2006 @@ -26,7 +26,7 @@ import org.apache.tapestry.test.TapestryTestCase; import org.testng.annotations.Test; -public class ValidatorBindingFactoryTest extends TapestryTestCase +public class ValidateBindingFactoryTest extends TapestryTestCase { private interface FieldComponent extends Field, Component { @@ -46,7 +46,7 @@ replay(); - BindingFactory factory = new ValidatorBindingFactory(source); + BindingFactory factory = new ValidateBindingFactory(source); try { @@ -56,7 +56,7 @@ { assertEquals( ex.getMessage(), - "Component 'foo.Bar:baz' is not a field (it does not implement the Field interface) and may not be used with the validator: binding prefix."); + "Component 'foo.Bar:baz' is not a field (it does not implement the Field interface) and may not be used with the validate: binding prefix."); assertSame(ex.getLocation(), l); } @@ -82,7 +82,7 @@ replay(); - BindingFactory factory = new ValidatorBindingFactory(source); + BindingFactory factory = new ValidateBindingFactory(source); Binding binding = factory.newBinding("descrip", container, component, expression, l); Copied: tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/InjectAssetWorkerTest.java (from r491071, tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/AssetInjectWorkerTest.java) URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/InjectAssetWorkerTest.java?view=diff&rev=491342&p1=tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/AssetInjectWorkerTest.java&r1=491071&p2=tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/InjectAssetWorkerTest.java&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/AssetInjectWorkerTest.java (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/internal/services/InjectAssetWorkerTest.java Sat Dec 30 15:06:09 2006 @@ -25,7 +25,7 @@ import org.apache.tapestry.services.TransformConstants; import org.testng.annotations.Test; -public class AssetInjectWorkerTest extends InternalBaseTestCase +public class InjectAssetWorkerTest extends InternalBaseTestCase { @Test public void asset_field_without_annotation() @@ -33,13 +33,13 @@ ClassTransformation ct = newClassTransformation(); MutableComponentModel model = newMutableComponentModel(); - train_findFieldsOfType(ct, AssetInjectWorker.ASSET_TYPE_NAME, "_fred"); + train_findFieldsOfType(ct, InjectAssetWorker.ASSET_TYPE_NAME, "_fred"); train_getFieldAnnotation(ct, "_fred", Inject.class, null); replay(); - new AssetInjectWorker(null).transform(ct, model); + new InjectAssetWorker(null).transform(ct, model); verify(); } @@ -51,7 +51,7 @@ MutableComponentModel model = newMutableComponentModel(); Inject annotation = newMock(Inject.class); - train_findFieldsOfType(ct, AssetInjectWorker.ASSET_TYPE_NAME, "_fred"); + train_findFieldsOfType(ct, InjectAssetWorker.ASSET_TYPE_NAME, "_fred"); train_getFieldAnnotation(ct, "_fred", Inject.class, annotation); @@ -59,7 +59,7 @@ replay(); - new AssetInjectWorker(null).transform(ct, model); + new InjectAssetWorker(null).transform(ct, model); verify(); } @@ -73,7 +73,7 @@ AssetSource source = newMock(AssetSource.class); Resource r = newResource(); - train_findFieldsOfType(ct, AssetInjectWorker.ASSET_TYPE_NAME, "_fred"); + train_findFieldsOfType(ct, InjectAssetWorker.ASSET_TYPE_NAME, "_fred"); train_getFieldAnnotation(ct, "_fred", Inject.class, annotation); @@ -98,7 +98,7 @@ replay(); - new AssetInjectWorker(source).transform(ct, model); + new InjectAssetWorker(source).transform(ct, model); verify(); } Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/resources/log4j.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/resources/log4j.properties?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/resources/log4j.properties (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/resources/log4j.properties Sat Dec 30 15:06:09 2006 @@ -1,17 +1,17 @@ -# Copyright 2005, 2006 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. - +# Copyright 2005, 2006 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. + log4j.rootCategory=WARN, A1 # A1 is set to be a ConsoleAppender. Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/integration/app1/pages/Localization.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/integration/app1/pages/Localization.properties?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/integration/app1/pages/Localization.properties (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/integration/app1/pages/Localization.properties Sat Dec 30 15:06:09 2006 @@ -1,2 +1,16 @@ +# Copyright 2006 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. + via-inject=Accessed via injected Messages via-prefix=Accessed via message: binding prefix Added: tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/integration/app1/pages/ValidForm.html URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/integration/app1/pages/ValidForm.html?view=auto&rev=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/integration/app1/pages/ValidForm.html (added) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/integration/app1/pages/ValidForm.html Sat Dec 30 15:06:09 2006 @@ -0,0 +1,35 @@ +<t:comp type="Border" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> + <h1>Valid Form</h1> + + <p> Tapestry 5 form support with server-side validation. </p> + + <t:comp type="Form"> + + <t:comp type="Errors"/> + + <t:comp type="Label" field="component:email">This isn't used</t:comp>: <t:comp + type="TextField" id="email" value="incident.email" size="50" validate="validate:required"/> + <br/> + <t:comp type="Label" field="component:message"/>: <t:comp type="TextArea" id="message" label="literal:Incident Message" + value="incident.message" cols="50" rows="10" validate="validate:required"> You can put text here, but it isn't used. </t:comp> + <br/> + <t:comp type="Checkbox" id="urgent" value="incident.urgent"/> + <t:comp type="Label" field="component:urgent"/> + <br/> + <input type="submit"/> + </t:comp> + + + <hr/> + + <p> Entered data: </p> + + <ul> + <li>email: [${incident.email}]</li> + <li>message: [${incident.message}]</li> + <li>urgent: [${incident.urgent}]</li> + </ul> + + + +</t:comp> Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/ValidationTestMessages.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/ValidationTestMessages.properties?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/ValidationTestMessages.properties (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/ValidationTestMessages.properties Sat Dec 30 15:06:09 2006 @@ -1 +1,15 @@ +# Copyright 2006 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. + contributed=This message was contributed inside ValidationTestMessages. Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/ValidationTestMessages_fr.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/ValidationTestMessages_fr.properties?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/ValidationTestMessages_fr.properties (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/ValidationTestMessages_fr.properties Sat Dec 30 15:06:09 2006 @@ -1 +1,15 @@ +# Copyright 2006 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. + contributed=Zees eez Cohntributahd. Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SimpleComponent.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SimpleComponent.properties?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SimpleComponent.properties (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SimpleComponent.properties Sat Dec 30 15:06:09 2006 @@ -1,4 +1,17 @@ -# Default, American English spelling +# Copyright 2006 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. + color=color framework=Tapestry source=SimpleComponent Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SimpleComponent_en_GB.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SimpleComponent_en_GB.properties?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SimpleComponent_en_GB.properties (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SimpleComponent_en_GB.properties Sat Dec 30 15:06:09 2006 @@ -1,3 +1,15 @@ -# British spelling +# Copyright 2006 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. color=colour Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SubclassComponent.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SubclassComponent.properties?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SubclassComponent.properties (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SubclassComponent.properties Sat Dec 30 15:06:09 2006 @@ -1,2 +1,16 @@ +# Copyright 2006 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. + metal=steel source=SubclassComponent Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SubclassComponent_en_GB.properties URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SubclassComponent_en_GB.properties?view=diff&rev=491342&r1=491341&r2=491342 ============================================================================== --- tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SubclassComponent_en_GB.properties (original) +++ tapestry/tapestry5/tapestry-core/trunk/src/test/resources/org/apache/tapestry/internal/services/SubclassComponent_en_GB.properties Sat Dec 30 15:06:09 2006 @@ -1 +1,15 @@ +# Copyright 2006 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. + metal=aluminium
