Upgrade to 6.13.0 Alert popup appears through page navigation after modal window closing

2014-01-15 Thread Marco Di Sabatino Di Diodoro
Hi all, Upgrade to 6.13.0: after the closing of a modal window if I click on another page, appear a alert popup that asks whether to leave or stay into the modal window. It seems that something is still hanging after the modal window has been closed. Can you help me? Thanks M -- Dott.

Re: Upgrade to 6.13.0 Alert popup appears through page navigation after modal window closing

2014-01-15 Thread Martin Grigorov
There is a ticket about this with a workaround. Unfortunately Apache Jira doesn't work again. Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 10:54 AM, Marco Di Sabatino Di Diodoro marco.disabat...@tirasa.net wrote: Hi all, Upgrade to 6.13.0: after the closing of a

Re: Upgrade to 6.13.0 Alert popup appears through page navigation after modal window closing

2014-01-15 Thread Marco Di Sabatino Di Diodoro
Thanks Martin, is 5469 the ticket number? M Il giorno 15/gen/2014, alle ore 09:57, Martin Grigorov mgrigo...@apache.org ha scritto: There is a ticket about this with a workaround. Unfortunately Apache Jira doesn't work again. Martin Grigorov Wicket Training and Consulting On Wed,

Re: Upgrade to 6.13.0 Alert popup appears through page navigation after modal window closing

2014-01-15 Thread Martin Grigorov
Yes, and it is fixed now. Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 11:17 AM, Marco Di Sabatino Di Diodoro marco.disabat...@tirasa.net wrote: Thanks Martin, is 5469 the ticket number? M Il giorno 15/gen/2014, alle ore 09:57, Martin Grigorov

Re: Upgrade to 6.13.0 Alert popup appears through page navigation after modal window closing

2014-01-15 Thread Marco Di Sabatino Di Diodoro
Hi Martin, Il giorno 15/gen/2014, alle ore 10:30, Martin Grigorov mgrigo...@apache.org ha scritto: Yes, and it is fixed now. Thank you very much. Regards M Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 11:17 AM, Marco Di Sabatino Di Diodoro

Wicket war file deployment to Heroku

2014-01-15 Thread gerritqf
Hello Forum members, I am trying to deploy a java webapplication with Wicket to Heroku site. The war file is build with maven and can run with Jetty-runner on localhost:8080. Now after deploying to Heroku the site comes up with a Application error. Maybe you can help me with how and what i must

Re: Wicket war file deployment to Heroku

2014-01-15 Thread Martin Grigorov
What is the error ? Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 3:57 PM, gerritqf gerrit.wass...@qfactors.nlwrote: Hello Forum members, I am trying to deploy a java webapplication with Wicket to Heroku site. The war file is build with maven and can run with

Re: Wicket war file deployment to Heroku

2014-01-15 Thread Gerrit Wassink
Martin, This is the error on the Heroku site: ==Application ErrorAn error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application owner, check your logs for

StartExamples of wicket-examples not running

2014-01-15 Thread Martin Funk
Hi, looking into the current experimental wicket-cdi-1.1 of the wicket-6.x branch, I noticed that the wicket-examples.war runs fine in an Container, here Apache Tomcat/7.0.50, but the StartExamples of the wicket-examples doesn't run. Weld throws an Deployment Exception WARN - Interceptor

Re: CssBehaviour can't find css files

2014-01-15 Thread Anna Simbirtsev
htmlheadmeta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/titleError 404 NOT_FOUND/title/headbodyh2HTTP ERROR 404/h2pProblem accessing /wat-application/wicket/resource/CSSLinksInjector/info/css/styles-ver-1389797413000.css. Reason:preNOT_FOUND/pre/phr /ismallPowered by

Re: CssBehaviour can't find css files

2014-01-15 Thread Martin Grigorov
Please create a quickstart application showing the problem. Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 5:13 PM, Anna Simbirtsev asimbirt...@gmail.comwrote: htmlheadmeta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/titleError 404

Re: StartExamples of wicket-examples not running

2014-01-15 Thread Martin Grigorov
I am able to run StartExamples.java from Intellij IDEA without problems both with wicket-6.x and master branches. Do you have any local changes ? Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 4:47 PM, Martin Funk mafulaf...@gmail.com wrote: Hi, looking into the

Re: Wicket war file deployment to Heroku

2014-01-15 Thread Martijn Dashorst
Change the case of your procfile to Procfile. That is what the error says. Martijn On Wed, Jan 15, 2014 at 3:36 PM, Gerrit Wassink gerrit.wass...@qfactors.nl wrote: Martin, This is the error on the Heroku site: ==Application ErrorAn error occurred in the

Re: Models and page serialization

2014-01-15 Thread gmparker2000
Thanks for the tip. I'm a little unclear on what this is telling me though. Wouldn't this just tell me if the detach method of all my LDMs was called? What I'm interested in determining is where my LDMs are directly referencing objects that will inadvertantly get serialized with the LDM. For

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-15 Thread Paul Bors
I think this release broke the quick start at: http://wicket.apache.org/start/quickstart.html When the page loads at first the Command Line is empty at first. Null initial model object? Selecting a different version from the drop down and then back to 6.13.0 will fill in the form field. On Mon,

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-15 Thread Paul Bors
Also, the quick start has this in its HTML: Please mention the correct Wicket version: wicket:container wicket:id=version1.5-SNAPSHOT/wicket:container. Maybe we should change it with: Please mention the correct Wicket version: wicket:container wicket:id=version[version will be inserted

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-15 Thread Duane Searsmith
This guide is a FANTASTIC addition to the project. Many, many thanks to everyone that helped to create this resource. On Wed, Jan 15, 2014 at 11:27 AM, Paul Bors p...@bors.ws wrote: Also, the quick start has this in its HTML: Please mention the correct Wicket version: wicket:container

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-15 Thread Andrea Del Bene
Thank you Paul, I've fixed the quickstart I think this release broke the quick start at: http://wicket.apache.org/start/quickstart.html When the page loads at first the Command Line is empty at first. Null initial model object? Selecting a different version from the drop down and then back to

Re: CssBehaviour can't find css files

2014-01-15 Thread Anna Simbirtsev
http://www.freeuploadsite.com/do.php?id=31499 Here is a link to sample application. I t may not run. On Wed, Jan 15, 2014 at 10:23 AM, Martin Grigorov mgrigo...@apache.orgwrote: Please create a quickstart application showing the problem. Martin Grigorov Wicket Training and Consulting On

Should we expect empty PageParameters for pages that have such a constructor yet no parameters are available?

2014-01-15 Thread Paul Bors
Suppose I have a page with the default constructor and with the page parameter constructor. Should my page parameter constructor be called with an empty not null PageParameter instance when no parameters are provided? Shouldn't the default constructor be used instead? What about in unit tests?

Re: Should we expect empty PageParameters for pages that have such a constructor yet no parameters are available?

2014-01-15 Thread Paul Bors
Btw, I just noticed that adding this constructor eliminates the problem: public MyPage() { this(null); } So I take it Wicket tries to build the page via the Page(PageParameters) but instead of using a null reference to the PageParameters it builds an object without any parameters in it. If

Re: Wicket war file deployment to Heroku

2014-01-15 Thread Gerrit Wassink
Hello Martijn, Thank you for your reply, but that is what i already did.I even deleted this file and made a new one with capital P but after deploying again the same error came back. Is it possible that the solution is in this link:

Re: Wicket war file deployment to Heroku

2014-01-15 Thread Martin Grigorov
Without the error it will be hard to find out what is wrong. Try harder to find the error logs. Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 9:16 PM, Gerrit Wassink gerrit.wass...@qfactors.nlwrote: Hello Martijn, Thank you for your reply, but that is what i already

Re: Should we expect empty PageParameters for pages that have such a constructor yet no parameters are available?

2014-01-15 Thread Martin Grigorov
AFAIR if there are no request parameters then Wicket first uses the Java default constructor (no parameters) if available. If there is no such constructor then Wicket constructs an empty PageParameters and uses it for the constructor with PageParameters. If none are available then an error is

Re: Models and page serialization

2014-01-15 Thread Martin Grigorov
See for example SerializableChecker. It does the same - checks that a serialized object implements java.io.Serializable. If it doesn't then it prints a nice message explaining where this object is used. Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 6:29 PM, gmparker2000

Re: Models and page serialization

2014-01-15 Thread gmparker2000
The problem is that my business objects do implement serializable for another reason. However, I don't want Wicket to serialize them. So I could remove Serializable and see what happens but I was hoping for a way to just look at what is getting serialized. -- View this message in context:

Re: Models and page serialization

2014-01-15 Thread Martin Grigorov
Do your business objects have common property ? base class/interface, annotation, ... ? If YES then you can check for it and write the nice error message when you see such. Martin Grigorov Wicket Training and Consulting On Wed, Jan 15, 2014 at 10:29 PM, gmparker2000

Re: Should we expect empty PageParameters for pages that have such a constructor yet no parameters are available?

2014-01-15 Thread Paul Bors
Awsome, thanks! One last question, in my tests I keep a collection of page parameters for my pages. I've noticed at some point wicket tester (or deeper in the framework, prob. in the page factory) that the PageParameter instance used had the parameters combined from different instances. That

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-15 Thread Paul Bors
Thanks Andres, and also as per the rest of the community... Thank you for the guide :) On Wed, Jan 15, 2014 at 1:17 PM, Andrea Del Bene an.delb...@gmail.comwrote: Thank you Paul, I've fixed the quickstart I think this release broke the quick start at:

Re: Should we expect empty PageParameters for pages that have such a constructor yet no parameters are available?

2014-01-15 Thread Martin Grigorov
On Thu, Jan 16, 2014 at 12:07 AM, Paul Bors p...@bors.ws wrote: Awsome, thanks! One last question, in my tests I keep a collection of page parameters for my pages. I've noticed at some point wicket tester (or deeper in the framework, prob. in the page factory) that the PageParameter

Best way to do authentication in external system

2014-01-15 Thread Илья Нарыжный
Guys, Please advice me. What's the best way to implement authentication in external system(support of Single Sign On)? I know 3 variants, but all of them have different pros and cons. 1) Implement your own IRequestCycleListener. You are intercepting all requests, finding out those that should be

Wicket browser autocomplete

2014-01-15 Thread MikeDundee
Hello, I'm trying to figure out how to make html autocomplete work (browser offers values previously entered). The problem is that I have dynamically generated complex form hierarchy with variant number of fields. Wicket uses html attribute name and fills it with path of the component in

Re: CssBehaviour can't find css files

2014-01-15 Thread Martin Grigorov
Yes. It doesn't (build): mvn clean [INFO] Scanning for projects... [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project sampleApp:sampleApp:1.1 (/home/martin/tmp/debug/sampleApp/pom.xml) has 11 errors [ERROR] 'dependencies.dependency.version' for

Re: Wicket browser autocomplete

2014-01-15 Thread Martin Grigorov
Hi, Try by overriding FormComponent#getInputName(). Martin Grigorov Wicket Training and Consulting On Thu, Jan 16, 2014 at 9:40 AM, MikeDundee mikedun...@centrum.cz wrote: Hello, I'm trying to figure out how to make html autocomplete work (browser offers values previously entered). The

Re: Best way to do authentication in external system

2014-01-15 Thread Martin Grigorov
Hi, 4) Add a Servlet Filter *before* WicketFilter in web.xml The new filter will check whether there is an authenticated user or not and do whatever is needed Martin Grigorov Wicket Training and Consulting On Thu, Jan 16, 2014 at 9:29 AM, Илья Нарыжный phan...@ydn.ru wrote: Guys, Please