buildbot success in on wicket-master

2019-05-30 Thread buildbot
The Buildbot has detected a restored build on builder wicket-master while 
building wicket. Full details are available at:
https://ci.apache.org/builders/wicket-master/builds/1124

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb_slave1_ubuntu

Build Reason: The SingleBranchScheduler scheduler named 
'on-wicket-master-commit' triggered this build
Build Source Stamp: [branch master] e5a5d16814778332ee265109ba7971610611f341
Blamelist: Maxim Solodovnik 

Build succeeded!

Sincerely,
 -The Buildbot





[jira] [Commented] (WICKET-6075) Error page redirection for Autocomplete field response

2019-05-30 Thread Andrew Kondratev (JIRA)


[ 
https://issues.apache.org/jira/browse/WICKET-6075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16852626#comment-16852626
 ] 

Andrew Kondratev commented on WICKET-6075:
--

Is the Firefox 3 fix still needed in the code? This browser is not present in 
any stats at all.

> Error page redirection for Autocomplete field response
> --
>
> Key: WICKET-6075
> URL: https://issues.apache.org/jira/browse/WICKET-6075
> Project: Wicket
>  Issue Type: Bug
>  Components: wicket
>Affects Versions: 6.21.0, 7.1.0
>Reporter: Rakesh A
>Assignee: Andrea Del Bene
>Priority: Major
> Attachments: WICKET-WICKET-6075.patch, autocomplete.7z
>
>
> If ExceptionSettings#errorHandlingStrategyDuringAjaxRequests,
> is set to ExceptionSettings.AjaxErrorStrategy.REDIRECT_TO_ERROR_PAGE, and 
> AutoCompleteTextField.getChoices(String) results an exception, 
> 'Ajax-Location' header is ignored.
> In wicket-ajax-jquery.js, 'Ajax-Location' header is processed in 
> 'Wicket.Ajax.Call.processAjaxResponse()' method. But for autocomplete field, 
> 'wr' ajax attribute is set to false and below given block (success callback 
> in doAjax() method) in 'wicket-ajax-jquery.js', doesn't go into 
> processAjaxResponse() method.
>   success: function(data, textStatus, jqXHR) {
>   if (attrs.wr) {
>   self.processAjaxResponse(data, textStatus, jqXHR, 
> context);
>   } else {
>   self._executeHandlers(attrs.sh, attrs, jqXHR, data, 
> textStatus);
>   we.publish(topic.AJAX_CALL_SUCCESS, attrs, 
> jqXHR, data, textStatus);
>   }
>   }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


buildbot success in on wicket-master-java13

2019-05-30 Thread buildbot
The Buildbot has detected a restored build on builder wicket-master-java13 
while building wicket. Full details are available at:
https://ci.apache.org/builders/wicket-master-java13/builds/77

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb_slave1_ubuntu

Build Reason: The SingleBranchScheduler scheduler named 
'on-wicket-master-java13-commit' triggered this build
Build Source Stamp: [branch master] e5a5d16814778332ee265109ba7971610611f341
Blamelist: Maxim Solodovnik 

Build succeeded!

Sincerely,
 -The Buildbot





buildbot failure in on wicket-master

2019-05-30 Thread buildbot
The Buildbot has detected a new failure on builder wicket-master while building 
wicket. Full details are available at:
https://ci.apache.org/builders/wicket-master/builds/1123

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb_slave1_ubuntu

Build Reason: The SingleBranchScheduler scheduler named 
'on-wicket-master-commit' triggered this build
Build Source Stamp: [branch master] e3d1becd64b0b242a729c7855d4d3914bf275abf
Blamelist: Andrew Kondratev 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





buildbot success in on wicket-master-java12

2019-05-30 Thread buildbot
The Buildbot has detected a restored build on builder wicket-master-java12 
while building wicket. Full details are available at:
https://ci.apache.org/builders/wicket-master-java12/builds/79

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb_slave1_ubuntu

Build Reason: The SingleBranchScheduler scheduler named 
'on-wicket-master-java12-commit' triggered this build
Build Source Stamp: [branch master] e5a5d16814778332ee265109ba7971610611f341
Blamelist: Maxim Solodovnik 

Build succeeded!

Sincerely,
 -The Buildbot





[wicket] branch master updated: License header is added

2019-05-30 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
 new e5a5d16  License header is added
e5a5d16 is described below

commit e5a5d16814778332ee265109ba7971610611f341
Author: Maxim Solodovnik 
AuthorDate: Fri May 31 10:17:25 2019 +0700

License header is added
---
 .../ajax/builtin/OnChangeAjaxBehaviorPage.properties| 17 -
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.properties
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.properties
index 84909a6..6d8719c 100644
--- 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.properties
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.properties
@@ -1,4 +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.
 onChange.help = Start typing a country name into a Country field below.
 onChange.input = You typed
 onChange.country = Country name
-onChange.countriesFound = Matching countries
\ No newline at end of file
+onChange.countriesFound = Matching countries
+



buildbot failure in on wicket-master-java13

2019-05-30 Thread buildbot
The Buildbot has detected a new failure on builder wicket-master-java13 while 
building wicket. Full details are available at:
https://ci.apache.org/builders/wicket-master-java13/builds/76

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb_slave1_ubuntu

Build Reason: The SingleBranchScheduler scheduler named 
'on-wicket-master-java13-commit' triggered this build
Build Source Stamp: [branch master] e3d1becd64b0b242a729c7855d4d3914bf275abf
Blamelist: Andrew Kondratev 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





buildbot failure in on wicket-master-java12

2019-05-30 Thread buildbot
The Buildbot has detected a new failure on builder wicket-master-java12 while 
building wicket. Full details are available at:
https://ci.apache.org/builders/wicket-master-java12/builds/78

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb_slave1_ubuntu

Build Reason: The SingleBranchScheduler scheduler named 
'on-wicket-master-java12-commit' triggered this build
Build Source Stamp: [branch master] e3d1becd64b0b242a729c7855d4d3914bf275abf
Blamelist: Andrew Kondratev 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





[wicket] branch master updated: Improve OnChangeAjaxBehavior demo (#364)

2019-05-30 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
 new e3d1bec  Improve OnChangeAjaxBehavior demo (#364)
e3d1bec is described below

commit e3d1becd64b0b242a729c7855d4d3914bf275abf
Author: Andrew Kondratev 
AuthorDate: Fri May 31 15:02:17 2019 +1200

Improve OnChangeAjaxBehavior demo (#364)

* improve OnChangeAjaxBehavior demo

* improve OnChangeAjaxBehavior demo: add html and properties

* improve OnChangeAjaxBehavior demo: detach models
---
 .../apache/wicket/examples/ajax/builtin/BasePage.java   |  8 +++-
 .../org/apache/wicket/examples/ajax/builtin/Index.java  |  9 +
 .../examples/ajax/builtin/OnChangeAjaxBehaviorPage.html |  6 --
 .../examples/ajax/builtin/OnChangeAjaxBehaviorPage.java | 17 +++--
 .../ajax/builtin/OnChangeAjaxBehaviorPage.properties|  4 
 5 files changed, 39 insertions(+), 5 deletions(-)

diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/BasePage.java
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/BasePage.java
index bac53a3..f962b99 100644
--- 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/BasePage.java
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/BasePage.java
@@ -17,6 +17,7 @@
 package org.apache.wicket.examples.ajax.builtin;
 
 import org.apache.wicket.examples.WicketExamplePage;
+import org.apache.wicket.examples.homepage.HomePage;
 import org.apache.wicket.markup.html.link.BookmarkablePageLink;
 
 
@@ -30,6 +31,11 @@ public class BasePage extends WicketExamplePage
 */
public BasePage()
{
-   add(new BookmarkablePageLink<>("back", 
Index.class).setAutoEnable(true));
+   add(new BookmarkablePageLink<>("back", getBackPage()));
}
+
+   protected Class getBackPage() {
+   return Index.class;
+   }
+
 }
diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.java
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.java
index 24320ce..dae445a 100644
--- 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.java
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.java
@@ -16,6 +16,9 @@
  */
 package org.apache.wicket.examples.ajax.builtin;
 
+import org.apache.wicket.examples.WicketExamplePage;
+import org.apache.wicket.examples.homepage.HomePage;
+
 /**
  * Wicket ajax example index page
  * 
@@ -29,4 +32,10 @@ public class Index extends BasePage
public Index()
{
}
+
+   @Override
+   protected Class getBackPage() {
+   return HomePage.class;
+   }
+
 }
\ No newline at end of file
diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.html
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.html
index 1c218cc..1dd3b33 100644
--- 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.html
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.html
@@ -4,8 +4,10 @@

 

-   Field: 
-   Values:
+   
+   : 
+   : 
+   : 

 

diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.java
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.java
index aa89bf4..b6a2cb9 100644
--- 
a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.java
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/OnChangeAjaxBehaviorPage.java
@@ -23,6 +23,7 @@ import org.apache.wicket.ajax.form.OnChangeAjaxBehavior;
 import org.apache.wicket.markup.html.basic.Label;
 import org.apache.wicket.markup.html.form.Form;
 import org.apache.wicket.markup.html.form.TextField;
+import org.apache.wicket.model.IModel;
 import org.apache.wicket.model.Model;
 import org.apache.wicket.util.string.Strings;
 
@@ -32,6 +33,8 @@ import org.apache.wicket.util.string.Strings;
 public class OnChangeAjaxBehaviorPage extends BasePage
 {
 
+   private final IModel inputModel = Model.of("");
+
private String getValue(String input)
{
if (Strings.isEmpty(input))
@@ -65,9 +68,13 @@ public class OnChangeAjaxBehaviorPage extends BasePage
Form form = new Form<>("form");
add(form);
 
-   final TextField field = new TextField<>("fie

[jira] [Created] (WICKET-6672) Duration has been removed from 9.x branch

2019-05-30 Thread Ernesto Reinaldo Barreiro (JIRA)
Ernesto Reinaldo Barreiro created WICKET-6672:
-

 Summary: Duration has been removed from 9.x branch
 Key: WICKET-6672
 URL: https://issues.apache.org/jira/browse/WICKET-6672
 Project: Wicket
  Issue Type: Improvement
Affects Versions: 9.0.0-M2
Reporter: Ernesto Reinaldo Barreiro


Duration has been removed from 9.x branch. It would be nice to re-introduce it 
back + deprecate it + adapt all classes to work either with java,time.Duration 
or wicket Duration.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)