Re: Wicket 7 : Image markup inside label problem

2017-10-26 Thread kyc
In real case, the htmlWithImgTag is shared to use in both pages (locating in properties files). Moreover, the encrytped path is not guarantee the slashes generated. If I have hundreds of this kind of code to upgrade, it is difficult to convert all to css (not guarantee it works) and the code is

Re: Wicket 7 : Image markup inside label problem

2017-10-26 Thread Maxim Solodovnik
Actually CSS solution is more maintainable because 1) your label is created once for ex. as 2) later on you can change size, image, border etc. without updating your label 3) your label in this case can be on any level of your application i.e. same label can be used on /home, /home/my/,

Re: Wicket 7 : Image markup inside label problem

2017-10-26 Thread Maxim Solodovnik
Hello, just have checked everything one more time. After following changes are made: https://github.com/solomax/label-with-image/commit/578cf393e46d7f51f6fc7754c2e27a943096850e everything works as expected with relative URLs The reason is: image location is invalid for DetailPage, as soon as it

IndicatingAjaxButton locks other buttons

2017-10-26 Thread Entropy
We have an IndicatingAjaxButton that launches an AjaxDownload of a PDF that we generate on the fly from Crystal Reports. It's spawns the PDF in a separate window. It does the job, but after, every button on the screen of the main form is nonresponsive. Is there some step I am supposed to take

Re: IndicatingAjaxButton locks other buttons

2017-10-26 Thread Martin Makundi
If you dig with firebug, what can you find that causes the buttons to be non-responsive? 2017-10-26 20:12 GMT+03:00 Entropy : > We have an IndicatingAjaxButton that launches an AjaxDownload of a PDF that > we generate on the fly from Crystal Reports. It's spawns the PDF