Wicket application - no ajax without internet connection

2015-02-16 Thread Chris
Hi all, When running a Wicket application, that is deployed locally on Tomcat, and Internet being turned off, Ajax is not working and I am getting null pointer exception when calling the target methods. With Internet being enabled, it works without problems. What is the cause for this

Re: Wicket application - no ajax without internet connection

2015-02-16 Thread Chris
Hi Tobias, I am not sure if this helps a lot ;) Some links (clickable div containers, etc.) even do not work at all without internet connection and do not throw an exception. Root cause: java.lang.NullPointerException at

Re: Wicket application - no ajax without internet connection

2015-02-16 Thread Chris
It has to do something with the settings of Safari, with Firefox it works even without Internet connection. Am 16.02.2015 um 21:55 schrieb Tobias Soloschenko tobiassolosche...@googlemail.com: Hi, please provide a StackTrace, so that we can see whats going on. :-) Thank you.

Re: Wicket application - no ajax without internet connection

2015-02-16 Thread Tobias Soloschenko
Hi, please provide a StackTrace, so that we can see whats going on. :-) Thank you. kind regards Tobias Am 16.02.15 um 21:27 schrieb Chris: Hi all, When running a Wicket application, that is deployed locally on Tomcat, and Internet being turned off, Ajax is not working and I am getting

Re: [ANNOUNCE] WicketStuff 7.0.0-M5 is released

2015-02-16 Thread Wicket und Cocoon
When i deploy wicketstuff-jwicket-examples-7.0.0-M5.war to tomcat7 i get the error ava.lang.NullPointerException at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.getAttributes(AbstractDefaultAjaxBehavior.java:137) at

Re: All inside a Panel

2015-02-16 Thread Martin Grigorov
Hi, This is not possible. You can load the page until 'somestuff' with empty placeholders for the rest stuff, then on domready show the first prompt, depending on the provided value replace some of the placeholders, etc. Martin Grigorov Wicket Training and Consulting

AW: All inside a Panel

2015-02-16 Thread Massimo Redaelli
Martin, thanks for the answer! However, as I said, I *did* manage to open it on pageload. The problem is to open it programmatically at any point of a member function of the Panel instance. Ideally, I'd like to do something like: public MyPanel() { // panel creation

Re: All inside a Panel

2015-02-16 Thread Martin Grigorov
Hi, See http://stackoverflow.com/questions/4765790/how-to-open-modaldialog-on-pageload I think the second approach/answer is better. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Feb 16, 2015 at 1:37 PM, Massimo Redaelli massimo.redae...@aia.ch wrote:

Re: Wicket application - no ajax without internet connection

2015-02-16 Thread Tobias Soloschenko
Hi, I had a look at AjaxFallBackButton L135 - nothing there what could explain your exception - what is going on in your VotingPanel L51? kind regards Tobias Am 16.02.2015 um 22:07 schrieb Chris chris...@gmx.at: Hi Tobias, I am not sure if this helps a lot ;) Some links (clickable div

Re: New committer - Sebastien Briquet

2015-02-16 Thread Patrick Davids
Yeah, congratulations Sebastien! :-) Am 13.02.2015 um 22:02 schrieb Martin Grigorov: The Project Management Committee (PMC) for Apache Wicket has asked Sebastien Briquet to become a committer and we are pleased to announce that he has accepted. Sebastien has been involved with Wicket for

Re: Question regarding index handling with RefreshingView and OddEvenItem

2015-02-16 Thread Martijn Dashorst
Why not use pure css for zebra striping? adding classes for odd/even is rather oldschool... tbody tr:nth-child(odd) { background-color: #ccc; } Martijn On Sun, Feb 15, 2015 at 3:56 PM, Thorsten Schöning tschoen...@am-soft.de wrote: Hi all, I'm using DataView to publish some search results in

All inside a Panel

2015-02-16 Thread Massimo Redaelli
Hello everybody. First question from a newbie, sorry if it's stupid. I'm customizing a software that uses wickets, version 1.5.7. I have to add some behavior, and the only way the framework gives me is making me implement two callbacks, one that is supposed to contain the business logic, and