Author: ben
Date: 2007-09-07 16:03:19 -0700 (Fri, 07 Sep 2007)
New Revision: 6406

Modified:
   openlaszlo/branches/wafflecone/docs/src/xsl/common-html.xsl
Log:
Change 20070907-ben-5 by [EMAIL PROTECTED] on 2007-09-07 15:13:12 PDT
    in /Users/ben/src/svn/openlaszlo/branches/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Make links to editor for code examples work

New Features:

Bugs Fixed: LPP-4400 Editor for live code examples in dguide isn't working

Technical Reviewer: lou (pending)
QA Reviewer: frisco (pending)
Doc Reviewer: (pending)

Documentation:

The editor for the live code examples in the developer's guide had
slight errors in the paths to the editor jsp and to the source file
to edit. This fix corrects them. Note that there are (at least) 
two separate ways in which the "edit" button is created by common-html.xsl.
This change fixes two of those places. If there are more, they will have
to be found and revealed in later changes. 

Release Notes:

Details:
    

Tests:



Modified: openlaszlo/branches/wafflecone/docs/src/xsl/common-html.xsl
===================================================================
--- openlaszlo/branches/wafflecone/docs/src/xsl/common-html.xsl 2007-09-07 
23:01:49 UTC (rev 6405)
+++ openlaszlo/branches/wafflecone/docs/src/xsl/common-html.xsl 2007-09-07 
23:03:19 UTC (rev 6406)
@@ -198,8 +198,12 @@
     <!-- throw in the edit button -->
     <xsl:if test="$live">
       <xsl:variable name="edit-href">
-        <xsl:text>../../laszlo-explorer/editor.jsp?src=</xsl:text>
+        <xsl:text>../../../laszlo-explorer/editor.jsp?src=</xsl:text>
         <xsl:value-of select="$localdir"/>
+        <xsl:text>developers/</xsl:text> <!-- TODO: BUG LPP-4683 
+                                          This should not be hardcoded to 
developers. What about 
+                                          programs that are in contributors or 
deployers? This needs to 
+                                          be parameterized per-book [bshine 
2007.09.07] -->
         <xsl:value-of select="$fname"/>
       </xsl:variable>
       <xsl:text>&#x0a;</xsl:text>
@@ -291,6 +295,10 @@
     <xsl:param name="href">
       <xsl:text>../../laszlo-explorer/editor.jsp?src=</xsl:text>
       <xsl:value-of select="$localdir"/>
+      <xsl:text>developers/</xsl:text> <!-- TODO: BUG LPP-4683 
+                                          This should not be hardcoded to 
developers. What about 
+                                          programs that are in contributors or 
deployers? This needs to 
+                                          be parameterized per-book [bshine 
2007.09.07] -->
       <xsl:value-of select="."/>
     </xsl:param>
     <xsl:text>&#x0a;</xsl:text>


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to