wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Solodovnik <solomax...@gmail.com>
Subject Re: Wicket 7 : Image markup inside label problem
Date Thu, 26 Oct 2017 11:36:54 GMT
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 <img src="./images/icon/add.png"> is invalid
for DetailPage, as soon as it is changed to be valid:
../../images/icon/add.png everything works flawlesly

Maybe you can unify your code as follows:
1) change all <img src="..."/> inside labels with <span class="add"></span>
2) create CSS .add with background image of your choice
3) get working app :)))

On Thu, Oct 26, 2017 at 10:25 AM, kyc <brenda10@hku.hk> wrote:

> Do you know the exact coding?   I can’t find the solution in the existing
> resources.
>
> --
> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
> f1842947.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
WBR
Maxim aka solomax

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message