There is two Item in the test.

One is a LzText with the text “a<b<c<d”, in normal mode this string could not be input, so I add <![CDATA[ ]]> tag with it.

I get the LzText.text is “a&lt;b&lt;c&ltd&lt;” there. And in the UI the LzText shown the “a<b<c<d”.

When then button click, the LzText.text will fill the inputtext.

The input text could get the “<” normally, without change it to “&lt;”. But this is the what I’m wondering.

So I have change this method when the inputtext get text. If the input text get “&lt;”, it’ll be change to “<”.

But it’s happened in all input text and text.

Like gridtext, it’s have two at one moment. In the dateset, I have change the all “<” to “&lt;” in edit = false, if the edit = true, I need to change the lztext or inputtext handle “onttext” to change the “<” to “&lt;” for lztext, or change the “&lt;” to “<” for edit text.

So, if this is the bug, please remove it.

Or I need to check the item I use could show the “&lt;” or “<”, or like the gridtext I need to change the ontext event, to insure the right item shown the right symbol.

Attachment: lz-edittext-$1.lzx
Description: lz-edittext-$1.lzx

_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev

Reply via email to