You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by aa...@apache.org on 2013/11/02 23:15:34 UTC

svn commit: r1538295 [8/8] - in /click/branches/click-3.0.0/click: ./ build/ documentation/docs/ examples/ examples/src/org/apache/click/examples/control/ examples/src/org/apache/click/examples/page/ examples/src/org/apache/click/examples/page/ajax/for...

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_en.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_en.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_en.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_en.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+# Will inherit properties from DateField.properties
\ No newline at end of file

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_en.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fi.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fi.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fi.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fi.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+calendar-weekdays-heading=Su,Ma,Ti,Ke,To,Pe,La
+calendar-ok=OK
+calendar-now=Nyt
+calendar-today=T\u00E4n\u00E4\u00E4n
+calendar-clear=Tyhjenn\u00E4

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fi.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fr.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fr.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fr.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fr.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,24 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+calendar-image-title=Calendrier
+date-format-error={0} n''est pas valide. Le format de date est {1}
+calendar-weekdays-heading=D,L,Ma,Me,J,V,S
+calendar-ok=OK
+calendar-now=Maintenant
+calendar-today=Aujourd'hui
+calendar-clear=D\u00E9gag\u00E9

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_fr.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_it_IT.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_it_IT.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_it_IT.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_it_IT.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+calendar-image-title=Calendario
+date-format-error={0} non \u00E8 valido. Il formato data \u00E8 {1}
\ No newline at end of file

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_it_IT.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ja.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ja.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ja.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ja.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,25 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+date-format-error={0} \u306f\u4e0d\u6b63\u3067\u3059\u3002\u65e5\u4ed8\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306f {1} \u3067\u3059\u3002
+date-title=\u65e5\u4ed8\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8: {0}
+calendar-image-title=\u30ab\u30ec\u30f3\u30c0\u30fc
+calendar-weekdays-heading=\u65e5,\u6708,\u706b,\u6c34,\u6728,\u91d1,\u571f
+calendar-ok=OK
+calendar-now=\u4eca\u65e5
+calendar-today=\u4eca\u65e5
+calendar-clear=\u30af\u30ea\u30a2

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ja.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_nl.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_nl.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_nl.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_nl.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,24 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+calendar-image-title=Calendar
+date-format-error={0} is ongeldig. Datum formaat is {1}
+calendar-weekdays-heading=Z,M,D,W,D,V,Z
+calendar-ok=OK
+calendar-now=Nu
+calendar-today=Vandaag
+calendar-clear=Wissen

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_nl.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pl.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pl.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pl.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pl.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+calendar-weekdays-heading=N,P,W,\u015a,C,P,S
+calendar-ok=OK
+calendar-now=Teraz
+calendar-today=Dzi\u015b
+calendar-clear=Jasny

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pl.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pt_BR.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pt_BR.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pt_BR.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pt_BR.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+calendar-image-title=Calendrier
+date-format-error={0} \u00E9 inv\u00E1lido. O formato da data \u00E9 {1}
\ No newline at end of file

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_pt_BR.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ro.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ro.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ro.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ro.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+calendar-image-title=Calendar
+date-format-error={0} nu este un format valabil. Formatul pentru dat\u0103 este {1}
\ No newline at end of file

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ro.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ru.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ru.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ru.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ru.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,26 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+date-format-error={0}: \u043e\u0448\u0438\u0431\u043a\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0434\u0430\u0442\u044b. \u041f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0432\u0432\u043e\u0434\u0430 \u0434\u0430\u0442\u044b: {1}
+date-title=\u0424\u043e\u0440\u043c\u0430\u0442 \u0432\u0432\u043e\u0434\u0430 \u0434\u0430\u0442\u044b: {0}
+calendar-image-title=\u041a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c
+date-format-pattern=dd.MM.yyyy
+calendar-weekdays-heading=\u0412\u0441,\u041f\u043d,\u0412\u0442,\u0421\u0440,\u0427\u0442,\u041f\u0442,\u0421\u0431
+calendar-ok=OK
+calendar-now=\u0421\u0435\u0439\u0447\u0430\u0441
+calendar-today=\u0421\u0435\u0433\u043e\u0434\u043d\u044f
+calendar-clear=\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_ru.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_tr.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_tr.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_tr.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_tr.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+calendar-image-title=Takvim
+date-format-error={0} ge\u00E7ersiz tarih. Tarih, {1} bi\u00E7iminde olmal\u0131d\u0131r.
\ No newline at end of file

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_tr.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_zh_CN.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_zh_CN.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_zh_CN.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_zh_CN.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+
+calendar-image-title=\u65E5\u5386
+date-format-error={0} \u683C\u5F0F\u65E0\u6548. \u65E5\u671F\u683C\u5F0F\u662F {1}
\ No newline at end of file

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/DateField_zh_CN.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/package.html
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/package.html?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/package.html (added)
+++ click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/package.html Sat Nov  2 22:15:31 2013
@@ -0,0 +1,22 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you 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.
+-->
+
+<body>
+Provides the extra-prototypejs controls.
+</body>
\ No newline at end of file

Propchange: click/branches/click-3.0.0/click/prototypejs/src/org/apache/click/extras/prototypejs/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/CheckListTest.java
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/CheckListTest.java?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/CheckListTest.java (added)
+++ click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/CheckListTest.java Sat Nov  2 22:15:31 2013
@@ -0,0 +1,173 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.click.extras.prototypejs;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import org.apache.click.control.Option;
+
+import junit.framework.TestCase;
+import org.apache.click.MockContext;
+import org.apache.click.control.Form;
+
+public class CheckListTest extends TestCase {
+
+    public CheckListTest() {
+        super();
+    }
+    
+    public void testSortOptions() {
+        CheckList cL = new CheckList();
+        int[] in = {1,2,3,4,5,6};
+        List<Option> oL = createOptionsList(in);
+
+        cL.setOptionList(oL);
+        int[] sort = {6,4,2,1,3,5};
+        cL.sortOptions(createValues(sort));
+        compareOptions(sort,cL.getOptionList());
+        
+        cL.setOptionList(oL);
+        cL.sortOptions(createValues(in));
+        compareOptions(in,cL.getOptionList());
+        
+        cL.setOptionList(oL);
+        sort = new int[]{5,4,6,10};
+        cL.sortOptions(createValues(sort));
+        compareOptions(new int[]{5,4,6,1,2,3},cL.getOptionList());
+        
+        cL.setOptionList(oL);
+        sort = new int[]{7,10,5,9,4,6,1,2,3,8};
+        cL.sortOptions(createValues(sort));
+        compareOptions(new int[]{5,4,6,1,2,3},cL.getOptionList());
+        
+    }
+    
+    private String[] createValues(int[] is) {
+        String[] ret = new String[is.length];
+        for (int i = 0; i < is.length; i++) {
+            ret[i] = Integer.toString(is[i]);
+        }
+        return ret;
+    }
+    
+    private List<Option> createOptionsList(int[] values) {
+        List<Option> ret = new ArrayList<Option>();
+        for(int i=0; i<values.length; i++) {
+            String value = Integer.toString(values[i]);
+            String label = "Label: "+i;
+            ret.add(new Option(value,label));
+        }
+        return ret;
+    }
+    
+    private void compareOptions(int[] values, List<Option> options) {
+        assertNotNull(options);
+        String demanded ="";
+        String given = "";
+        for(int i=0;i<values.length;i++) {
+            demanded += values[i]+",";
+        }
+        for (Option opt : options) {
+            assertNotNull(opt);
+            given += opt.getValue()+",";
+        }
+        
+        assertEquals(demanded,given);
+    }
+
+    /**
+     * Check that FileField value is escaped. This protects against
+     * cross-site scripting attacks (XSS).
+     */
+    public void testEscapeValue() {
+        MockContext.initContext();
+
+        Form form = new Form("form");
+        CheckList checkList = new CheckList("check");
+        form.add(checkList);
+
+        String value = "<script>";
+        String expected = "&lt;script&gt;";
+
+        checkList.add(value);
+
+        assertTrue(checkList.toString().indexOf(expected) > 1);
+        
+        // Check that the value <script> is not rendered
+        assertTrue(checkList.toString().indexOf(value) < 0);
+    }
+
+    /**
+     * Check that required CheckList is invalid if not filled in.
+     *
+     * CLK-722
+     */
+    public void testRequiredInvalid() {
+        MockContext.initContext();
+        CheckList cl = new CheckList("cl");
+        cl.setRequired(true);
+        int[] in = {1,2,3,4,5,6};
+        List<Option> ol = createOptionsList(in);
+        cl.setOptionList(ol);
+        cl.onProcess();
+
+        // Perform test
+        assertFalse(cl.isValid());
+    }
+
+    /**
+     * Check that required CheckList is valid if at least one checkbox is checked.
+     *
+     * CLK-722
+     */
+    public void testRequiredValid() {
+        MockContext context = MockContext.initContext();
+        context.getMockRequest().setParameter("cl", "1");
+        CheckList cl = new CheckList("cl");
+        cl.setRequired(true);
+        int[] in = {1,2,3,4,5,6};
+        List<Option> ol = createOptionsList(in);
+        cl.setOptionList(ol);
+        cl.onProcess();
+
+        // Perform test
+        assertTrue(cl.isValid());
+    }
+
+    /**
+     * Check that a readonly CheckList uses disabled attribute instead of
+     * readonly attribute.
+     *
+     * CLK-751
+     */
+    public void testReadonly() {
+        MockContext context = MockContext.initContext();
+        CheckList cl = new CheckList("cl");
+        cl.setReadonly(true);
+        int[] in = {1,2,3,4,5,6};
+        List<Option> ol = createOptionsList(in);
+        cl.setOptionList(ol);
+        cl.setSelectedValues(Arrays.asList("1", "2"));
+        assertFalse(cl.toString().contains("readonly=\"readonly\""));
+        assertTrue(cl.toString().contains("disabled=\"disabled\""));
+        assertTrue(cl.toString().contains("<input type=\"hidden\" name=\"cl\" value=\"1\"/>"));
+    }
+}

Propchange: click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/CheckListTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/ColorPickerTest.java
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/ColorPickerTest.java?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/ColorPickerTest.java (added)
+++ click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/ColorPickerTest.java Sat Nov  2 22:15:31 2013
@@ -0,0 +1,83 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.click.extras.prototypejs;
+
+import java.util.Map;
+import java.util.regex.Pattern;
+
+import junit.framework.TestCase;
+import org.apache.click.MockContext;
+import org.apache.click.servlet.MockRequest;
+
+public class ColorPickerTest extends TestCase {
+
+
+    public void testHexPattern() {
+        Pattern pat = ColorPicker.HEX_PATTERN;
+        assertTrue(pat.matcher("#ffffff").matches());
+        assertTrue(pat.matcher("#1a9bf2").matches());
+        assertTrue(pat.matcher("#1A9BC2").matches());
+        assertTrue(pat.matcher("#fff").matches());
+        assertTrue(pat.matcher("#E3F").matches());
+        assertTrue(pat.matcher("#123").matches());
+        assertTrue(pat.matcher("#a4b").matches());
+    
+        assertFalse(pat.matcher("#123456789").matches());
+        assertFalse(pat.matcher("").matches());
+        assertFalse(pat.matcher("FFFFFF").matches());
+        assertFalse(pat.matcher("GF").matches());
+        assertFalse(pat.matcher("#G12").matches());
+        assertFalse(pat.matcher("#A2").matches());
+        assertFalse(pat.matcher("#A2A2A").matches());
+        assertFalse(pat.matcher("#1234").matches());
+    }
+    
+    public void testValidate() {
+        MockContext mockContext = MockContext.initContext();
+        MockRequest mr = mockContext.getMockRequest();
+        Map<String, Object> params = mr.getParameterMap();
+        
+        ColorPicker cp = new ColorPicker("color");
+        
+        params.put("color","#fff");
+        assertTrue(cp.onProcess());
+        assertTrue(cp.isValid());
+        assertEquals("#fff",cp.getValue());
+
+        cp = new ColorPicker("color");
+        params.remove("color");
+        assertTrue(cp.onProcess());
+        assertTrue(cp.isValid());
+        assertEquals("",cp.getValue());
+
+        params.put("color", "");
+        cp.setRequired(true);
+        assertTrue(cp.onProcess());
+        assertFalse(cp.isValid());
+        
+        cp = new ColorPicker("color");
+        
+        params.put("color", "invalid");
+        assertTrue(cp.onProcess());
+        assertFalse(cp.isValid());
+        assertEquals("invalid",cp.getValue());
+    }
+    
+    
+}

Propchange: click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/ColorPickerTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest$MyDateField.properties
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest%24MyDateField.properties?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest$MyDateField.properties (added)
+++ click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest$MyDateField.properties Sat Nov  2 22:15:31 2013
@@ -0,0 +1,3 @@
+date.help=Help Me!
+date.title=The title
+date.label=Enter the date
\ No newline at end of file

Propchange: click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest$MyDateField.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest.java
URL: http://svn.apache.org/viewvc/click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest.java?rev=1538295&view=auto
==============================================================================
--- click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest.java (added)
+++ click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest.java Sat Nov  2 22:15:31 2013
@@ -0,0 +1,155 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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.click.extras.prototypejs;
+
+import java.util.Date;
+import java.util.Locale;
+import junit.framework.TestCase;
+import org.apache.click.MockContext;
+import org.apache.click.servlet.MockRequest;
+import org.apache.commons.lang.StringUtils;
+
+/**
+ * Provides DateField JUnit TestCase.
+ */
+public class DateFieldTest extends TestCase {
+
+    public void testNullParameter() {
+        MockContext mockContext = MockContext.initContext();
+        MockRequest request = mockContext.getMockRequest();
+
+        DateField dateField = new DateField("dateField");
+        assertEquals("dateField", dateField.getName());
+        
+        request.getParameterMap().put("dateField", "");        
+        dateField.onProcess();        
+        Date date = dateField.getDate();
+        assertNull(date);
+        
+        request.getParameterMap().put("dateField", " ");        
+        dateField.onProcess();        
+        date = dateField.getDate();
+        assertNull(date);
+
+        request.getParameterMap().put("dateField", null);        
+        dateField.onProcess();        
+        date = dateField.getDate();
+        assertNull(date);
+        
+        dateField.setValue(null);
+        date = dateField.getDate();
+        assertNull(date);
+    }
+
+    /**
+     * DateField should cache Date value instead of reparsing the string
+     * value each time.
+     * 
+     * CLK-316
+     */
+    public void testIntegerCacheValue() {
+        MockContext mockContext = MockContext.initContext();
+        MockRequest request = mockContext.getMockRequest();
+        mockContext.setLocale(Locale.US);
+        
+        DateField dateField = new DateField("dateField");
+        dateField.setFormatPattern("dd MMM yyyy H m s S");
+        String requestParam = "06 Oct 2008 2 30 59 999";
+        request.getParameterMap().put("dateField", requestParam);
+
+        assertTrue(dateField.onProcess());
+
+        // Check that the value equals the request parameter
+        assertEquals(requestParam, dateField.getValue());
+        
+        // Retrieve the date from field: this should cache the Date
+        Date date  = dateField.getDate();
+        // Check that upon second retrieval the cached value is returned
+        assertSame(date, dateField.getDate());
+
+        // Check that getValueObject also returns the cached value
+        assertSame(date, dateField.getValueObject());
+        
+        // Set date on the dateField and check that time value is not lost
+        dateField.setDate(date);
+        
+        assertEquals(requestParam, dateField.getValue());
+    }
+
+    /**
+     * Test Calendar format pattern.
+     *
+     * @throws java.lang.Exception
+     */
+    public void testFormatPattern() {
+        MockContext.initContext();
+
+        DateField calendarField = new DateField("Delivery date");
+        assertEquals("dd MMM yyyy", calendarField.getFormatPattern());
+        assertEquals("dd NNN yyyy", calendarField.getCalendarPattern());
+
+        calendarField = new DateField("Delivery date");
+        calendarField.setFormatPattern(" dd MMM yyyy ");
+        assertEquals(" dd MMM yyyy ", calendarField.getFormatPattern());
+        assertEquals(" dd NNN yyyy ", calendarField.getCalendarPattern());
+
+        calendarField = new DateField("Delivery date");
+        calendarField.setFormatPattern("dd/MMM/yyyy");
+        assertEquals("dd/MMM/yyyy", calendarField.getFormatPattern());
+        assertEquals("dd/NNN/yyyy", calendarField.getCalendarPattern());
+
+        calendarField = new DateField("Delivery date");
+        calendarField.setFormatPattern("dd.MMM.yyyy");
+        assertEquals("dd.MMM.yyyy", calendarField.getFormatPattern());
+        assertEquals("dd.NNN.yyyy", calendarField.getCalendarPattern());
+
+        calendarField = new DateField("Delivery date");
+        calendarField.setFormatPattern("dd.MM.yy");
+        assertEquals("dd.MM.yy", calendarField.getFormatPattern());
+        assertEquals("dd.MM.yy", calendarField.getCalendarPattern());
+
+        calendarField = new DateField("Delivery date");
+        calendarField.setFormatPattern("d/M/yy");
+        assertEquals("d/M/yy", calendarField.getFormatPattern());
+        assertEquals("d/M/yy", calendarField.getCalendarPattern());
+    }
+
+    /**
+     * Check that help text is not rendered twice.
+     *
+     * CLK-574
+     */
+    public void testRenderHelp() {
+        MockContext.initContext();
+
+        DateField dateField = new MyDateField("date");
+
+        int matches = StringUtils.countMatches(dateField.toString(), "Help Me!");
+
+        assertEquals(1, matches);
+    }
+
+    public class MyDateField extends DateField {
+        private static final long serialVersionUID = 1L;
+
+        public MyDateField(String name) {
+            super(name);
+        }
+    }
+}

Propchange: click/branches/click-3.0.0/click/prototypejs/test/org/apache/click/extras/prototypejs/DateFieldTest.java
------------------------------------------------------------------------------
    svn:eol-style = native