There seems to be a bug in the Ajax Counter sample code [1]. add(new AjaxFallbackLink("link") { public void onClick(AjaxRequestTarget target) { target.addComponent(label); } });
This works fine for me when Javascript is turned on, but when it is off, I get a NPE on the target object. As it is a "FallbackLink", I would expect it to work regardless of whether I have JS on. It's easy enough to wrap a check for null around that line, but I'm wondering if there's something else I'm not doing properly. -- Scott [1] http://wicket.sourceforge.net/ExampleAjaxCounter.html ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user