Change 20101208-lou-y by [email protected] on 2010-12-08 06:09:31 AST
    in /Users/lou/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: dguide: Chapter 22. Rich Text : add code examples from LPP-9307

Bugs Fixed: LPP-9555 (partial)

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

Details:
See LPP-9307.

This is preliminary because I can't get the html wrapper example (Example
22.5)
to work in the build (
http://localhost:8080/trunk/docs/developers/richtext.html),
although it works in OpenLaszlo Editor, and it works if I point the browser
to the
lzx file:

http://localhost:8080/trunk/docs/src/developers/programs/rtecustomwrapper.lzx

In the build, I get a 404 error:

    The requested resource (/trunk/docs/developers/wrapper-5.html) is not
available.

I don't know what's going on here, since that's not the URL I specified.
Here's the program:

<canvas width="100%" height="450">
    <include href="extensions/rte.lzx"/>
    <rte width="600" height="400" wrapperfile="wrapper-5.html">Initial
contents of the component.
    </rte>
</canvas>

I would have thought the URL should have been

/trunk/docs/developers/programs/wrapper-5.html

not

/trunk/docs/developers/wrapper-5.html

The reference page for the wrapperfile attribute says:

If a custom wrapper file is used, the path is relative to where the
application runs from.

Any help? This should be in tomorrow's build at:

http://labs.openlaszlo.org/trunk-nightly/docs/developers/richtext.html

Tests: visual verify

Files:
M       docs/src/developers/richtext.dbk
A       docs/src/developers/programs/rtedefaults.lzx
A       docs/src/developers/programs/rtelimitplugins.lzx
A       docs/src/developers/programs/resources/logo.png
A       docs/src/developers/programs/rtecustombuttons.lzx
A       docs/src/developers/programs/wrapper-5.html
A       docs/src/developers/programs/rteemulatepluggins.lzx
A       docs/src/developers/programs/rteaddimage.lzx
A       docs/src/developers/programs/rtecustomwrapper.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20101208-lou-y.tar

Reply via email to