Hi Sven,
im using this in regards to the picture element's and the values then are going
through JS :/
I coded now around this for the JS part, but it would be nice to have a
.setNoEscape(boolean ) option on the AttributeModifiert
Browsers get the ampersand in URLs but JS is a nightmare with
Hi Korbinian,
AttributeModifier always escapes its value, there's no way around that.
Why aren't you starting with an escaped url in the first place?
image.add(AttributeModifier.replace("src", imgUrl + "?a=1&b=2"));
Have fun
Sven
On 18.08.19 13:13, Korbinian Bachl wrote:
Hi,
I try
Hi,
I try to manipulate some tags on an WebMarkupContainer called image. If I do:
image.add(AttributeModifier.replace("src", imgUrl + "?a=1&b=2"));
the src is not as expected: "...?a=1&b=2"
but its escaped as "...?a=1&b=2"
I tried setEscapeModelStrings false on the image itself, wont work