Change 20100727-philip-rHC by phi...@philip-i7 on 2010-07-27 16:49:38 EDT
    in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: RTE: Add getServerRoot method to embednew.js

New Features:

Bugs Fixed: LPP-9244 (partial)

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:


Details:
Non-solo apps need a way to determine the server root. The RTE needs to know this information to locate the rtewrapper.html file that is loaded.

The code comes from Max and I added it to embednew.js

Tests:

This test will display the serverroot in a text field.

<canvas height="600">
  <text name="message"/>
  <handler name="oninit">
lz.Browser.callJS('lz.embed.getServerRoot', function(root) { canvas.message.setAttribute('text', root);});
  </handler>
</canvas>


Files:
M       lps/includes/source/embednew.js


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100727-philip-rHC.tar

Reply via email to