ConcurrentModificationException with Fancybox

2012-11-15 Thread Karl-Heinz Golz
hello, I'm using wicket 1.5.9. My application shows some dynamic pictures via fancybox (native without e.g. visural wicket). That works almost well, i.e. you click the small picture and you get the big picture via fancybox. And you can click through the show (up to 3 pictures) properly. But

Re: ConcurrentModificationException with Fancybox

2012-11-15 Thread Karl-Heinz Golz
. It should be changed only at application startup. On Thu, Nov 15, 2012 at 5:52 PM, Karl-Heinz Golz karl-heinz.g...@t-online.de wrote: hello, I'm using wicket 1.5.9. My application shows some dynamic pictures via fancybox (native without e.g. visural wicket). That works almost well, i.e. you

Re: ConcurrentModificationException with Fancybox

2012-11-15 Thread Karl-Heinz Golz
Now it works :)) Thank you very much for your prompt support. Am 15.11.2012 17:15, schrieb Martin Grigorov: Yes. There is no need to add it again and again for each request. On Thu, Nov 15, 2012 at 6:11 PM, Karl-Heinz Golz karl-heinz.g...@t-online.de wrote: Yes, I do

how to log an External Link

2013-03-28 Thread Karl-Heinz Golz
hello, I need a link to outside of my wicket application and I'am using an ExternalLink for that. That works well. Now I would like to write a log message when a user clicks on that link. Their is no onClick() and I can't figure out, how to achieve that. Suggestions are very welcome. Thanks in

Re: how to log an External Link

2013-03-28 Thread Karl-Heinz Golz
. On Thu, Mar 28, 2013 at 9:44 AM, Karl-Heinz Golz karl-heinz.g...@t-online.de wrote: hello, I need a link to outside of my wicket application and I'am using an ExternalLink for that. That works well. Now I would like to write a log message when a user clicks on that link

wicket form and browser back

2013-10-01 Thread Karl-Heinz Golz
hello, I know that is an ongoing discussion point for years but nevertheless I would like to ask you whether there are good solutions in the meantime. In my web application (WICKET 6.5) there is a quite big form and I want to detect and react when a user goes back to an older version of this

Re: wicket form and browser back

2013-10-01 Thread Karl-Heinz Golz
the user uses browser back button she will go to the previous page, not to the previous version of the current page. On Tue, Oct 1, 2013 at 9:35 AM, Karl-Heinz Golz karl-heinz.g...@t-online.de wrote: hello, I know that is an ongoing discussion point for years but nevertheless I would like

Re: wicket form and browser back

2013-10-01 Thread Karl-Heinz Golz
is changed at the client side. Am 01.10.13 10:53, schrieb Karl-Heinz Golz: Thank you, Martin, that works well. But next question: when a user goes back and forward via browser back and forward buttons, then already filled in fields will be empty (using Firefox). Is it possible to handle browser

problem with old jQuery version in wicket 6.16.0

2014-07-13 Thread Karl-Heinz Golz
hello, I'm upgrading wicket from version 6.5.0 to version 6.16.0 (including jQuery 1.11.1 now). But I have to use jQuery 1.8.3, instead. I tried to achieve that with following code in StartAplication#init.: IJavaScriptLibrarySettings settings = getJavaScriptLibrarySettings();

Re: problem with old jQuery version in wicket 6.16.0

2014-07-13 Thread Karl-Heinz Golz
on JQueryResourceReference, that's why you get a circular dependency exception.. Best regards, Sebastien. On Sun, Jul 13, 2014 at 2:24 PM, Karl-Heinz Golz karl-heinz.g...@t-online.de wrote: hello, I'm upgrading wicket from version 6.5.0 to version 6.16.0 (including jQuery 1.11.1 now). But I have

java.lang.IllegalArgumentException: Argument 'name' may not be null or empty.

2014-08-08 Thread Karl-Heinz Golz
Hello, sometimes following exception is thrown (wicket 6.5.0): org.apache.wicket.DefaultExceptionMapper: Unexpected error occurred java.lang.IllegalArgumentException: Argument 'name' may not be null or empty. at org.apache.wicket.util.lang.Args.notEmpty(Args.java:64) at

Re: java.lang.IllegalArgumentException: Argument 'name' may not be null or empty.

2014-08-11 Thread Karl-Heinz Golz
https://twitter.com/mtgrigorov On Fri, Aug 8, 2014 at 1:26 PM, Karl-Heinz Golz karl-heinz.g...@t-online.de wrote: Hello, sometimes following exception is thrown (wicket 6.5.0): org.apache.wicket.DefaultExceptionMapper: Unexpected error occurred java.lang.IllegalArgumentException: Argument

access to url at http 404

2014-09-23 Thread Karl-Heinz Golz
Hello, is it possible to get the incorrect url when error 404 occurs? I would like to inspect this url and react differently for - users who want access but did a mistake in the url or bookmarked an url which is no longer valid - show StartPage (with some more functionality) - others who

Re: MarkupException after session time out

2015-02-17 Thread Karl-Heinz Golz
Hi Martin, throw RestartResponseException() solves my problem. Thank you. Am 17.02.2015 um 14:50 schrieb Martin Grigorov: Hi, On Tue, Feb 17, 2015 at 2:07 PM, Karl-Heinz Golz karl-heinz.g...@t-online.de wrote: hello, I'm faced with an error in following situation: User opens

MarkupException after session time out

2015-02-17 Thread Karl-Heinz Golz
hello, I'm faced with an error in following situation: User opens a webpage (e.g. Page1), do some other things, comes back after session time out and click some link (onClick-event) on the page. Then following exception is thrown: at

Re: MarkupException after session time out

2015-02-17 Thread Karl-Heinz Golz
I forgot to mention: I'm using Wicket 6.17 Am 17.02.2015 um 13:07 schrieb Karl-Heinz Golz: hello, I'm faced with an error in following situation: User opens a webpage (e.g. Page1), do some other things, comes back after session time out and click some link (onClick-event) on the page

write files to relative path

2016-02-03 Thread Karl-Heinz Golz
Hi, sorry for my simple question. I have already wasted some time but it seems I have a blackout and therefore I want to ask you. I need to write files to a folder XXX relative to the application classes: XXX StartApplication.java HomePage.java HomePage.html ... The question is ??? in:

Re: write files to relative path

2016-02-03 Thread Karl-Heinz Golz
path. Am 03.02.2016 um 13:29 schrieb Ernesto Reinaldo Barreiro: > Maybe I'm mistaken but I doubt in some application servers you might be > able to do that > > On Wed, Feb 3, 2016 at 1:27 PM, Karl-Heinz Golz <karl-heinz.g...@t-online.de >> wrote: >> Hi, >> sorry fo

Re: write files to relative path

2016-02-03 Thread Karl-Heinz Golz
l").getUrl.getFile? Or > something similar? Mind that this might be inside a temp folder that will > be blown up next time you restart > > On Wed, Feb 3, 2016 at 2:08 PM, Karl-Heinz Golz <karl-heinz.g...@t-online.de >> wrote: >> I'm using Tomcat 8. >> Writing to an

Re: write files to relative path

2016-02-03 Thread Karl-Heinz Golz
loyed web > application? The file is going to be erased after redeployment of your webapp. > > I would consider a temp folder or a "working folder" for those files. > > kind regards > > Tobias > >> Am 03.02.2016 um 14:48 schrieb Karl-Heinz Golz <karl-heinz.g...@t-onli