[Laszlo-dev] LZX challenges for a first-timer

Benjamin Shine ben at laszlosystems.com
Wed Nov 29 11:04:49 PST 2006


I use LzBrowser.urlEscape(mystring);
cf http://svn.openlaszlo.org/openlaszlo/branches/legals/test/lfc/perf/ 
reporter.lzx

which, come to think of it, does what Chris P was trying to do to  
begin with.

On Nov 29, 2006, at 4:56 AM, Sarah Allen wrote:

>
>> + The last problem you report is actually correct behavior; the text
>> field is an HTML field, so if you don't escape the data, it looks  
>> like
>> bogus HTML tags, and won't display properly. There's a escapeXML
>> utility function in the LFC someplace for this.
>
> So, <text> accepts HTML text by default, but edittext is text?  I  
> could never find an escapeXML utility... only Javascript escape.   
> Where would one find these nuances in the documentation?
>
> Thanks for looking into this stuff.  It's great to see that the  
> extra effort I took to write up the experience and the bugs will  
> translate into a improved experience for newbies and experienced  
> programmers both in a future release.
>
> Sarah
>



More information about the Laszlo-dev mailing list