Hi Max,

This changeset still has problems. When text is typed into the rte control, an on_text event is sent to the component so the rte component is in sync with the editor. The problem is, with this changeset, the event contains null and not the actual text.

I posted another test case in LPP-9535. It is:

<canvas debug="true">
    <include href="extensions/rte.lzx"/>
    <rte width="400" height="300" text="">
      <handler name="on_text" args="txt">
        Debug.write('on_text', txt);
      </handler>
    </rte>
</canvas>




On Thu, Nov 18, 2010 at 3:45 PM, Max Carlson wrote:

Change maxcarlson-20101117-RPQ by maxcarl...@friendly on 2010-11-17 09:10:13 PST
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: UPDATED: Fix lz.sendEvent()/lz.embed.iframemanager.asyncCallback() string encoding

Bugs Fixed: LPP-9535 - HTML/SWF10: lz.sendEvent is not escaping text.,
Technical Reviewer: promanik
QA Reviewer: hminsky

Overview: Explicitly URI encode/decode iframecallback values for Flash. Otherwise the same:

Since we're using JSON encoding, we don't need to explicitly quote values anymore.

Details: Remove extra quotes around value arg for asyncCallback().

Tests: See LPP-9535

Files:
M       lps/components/extensions/html.lzx
M       lps/includes/source/iframemanager.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/maxcarlson-20101117-RPQ.tar

Reply via email to