Author: ben
Date: 2007-11-13 18:56:36 -0800 (Tue, 13 Nov 2007)
New Revision: 7249
Modified:
openlaszlo/trunk/docs/src/xsl/common-html.xsl
Log:
Change 20071113-ben-G by [EMAIL PROTECTED] on 2007-11-13 18:47:14 PST
in /Users/ben/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Correct link to live example/editor in developer's preface
Bugs Fixed: (partial) LPP-5099 devguide: embedded examples are broken
Technical Reviewer: none
QA Reviewer: none
Doc Reviewer: lou
Documentation:
In developers.preface.html, the edit button opened the laszlo editor
but couldn't find the source file to load into it. With this change,
the preface is correctly identified as part of the developer's guide,
so the link to the live examples works correctly.
Release Notes:
Details:
Tests:
http://localhost:8080/trunk/docs/developers/developers.preface.html
click on the "edit" button following the "Hello World" example.
Notice that it brings up a nice editor loaded with nice Hello World
sample code.
Modified: openlaszlo/trunk/docs/src/xsl/common-html.xsl
===================================================================
--- openlaszlo/trunk/docs/src/xsl/common-html.xsl 2007-11-14 02:51:03 UTC
(rev 7248)
+++ openlaszlo/trunk/docs/src/xsl/common-html.xsl 2007-11-14 02:56:36 UTC
(rev 7249)
@@ -55,8 +55,9 @@
<xsl:when test="contains(ancestor::part/@id,
'contributors')">contributors</xsl:when>
<xsl:when test="contains(ancestor::part/@id,
'contribref')">contribref</xsl:when>
<xsl:when test="contains(ancestor::part/@id, 'users')">users</xsl:when>
- <xsl:when test="contains(ancestor::part/@id,
'developers')">developers</xsl:when>
- <xsl:otherwise>unknownbook <!-- This is an error -->
+ <xsl:when test="contains(ancestor::part/@id,
'developers')">developers</xsl:when>
+ <xsl:when test="contains(ancestor::preface/@id,
'developers')">developers</xsl:when>
+ <xsl:otherwise>unknownbook<!-- This is an error -->
<xsl:message>ERROR: could not identify book from part/@id, for
<xsl:value-of select="ancestor::part/@id"/></xsl:message>
</xsl:otherwise>
</xsl:choose>
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins