Author: ptw
Date: 2008-02-20 14:25:25 -0800 (Wed, 20 Feb 2008)
New Revision: 8078

Modified:
   openlaszlo/trunk/laszlo-explorer/explore-nav.lzx
Log:
Change 20080220-ptw-N by [EMAIL PROTECTED] on 2008-02-20 15:14:43 EST
    in /Users/ptw/OpenLaszlo/ringding
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Correct syntax errors in navbar

Bugs Fixed:
LPP-5454 'The nav bar loads, but has no text'

Technical Reviewer: max (message://<[EMAIL PROTECTED]>)
QA Reviewer: mamye (pending)

Details:
    The attribute `name` of a class is final so can't be databound.

Tests:
    laszlo-explorer/explore-nav.lzx has content now



Modified: openlaszlo/trunk/laszlo-explorer/explore-nav.lzx
===================================================================
--- openlaszlo/trunk/laszlo-explorer/explore-nav.lzx    2008-02-20 21:22:07 UTC 
(rev 8077)
+++ openlaszlo/trunk/laszlo-explorer/explore-nav.lzx    2008-02-20 22:25:25 UTC 
(rev 8078)
@@ -148,7 +148,7 @@
     </method>
 
     <method name="openSequence" args="seq">
-        if (seq[0] == this.name) {
+        if (seq[0] == this.title) {
             // first, open self
             this.header.open();
             if (seq.length > 1) {
@@ -181,7 +181,7 @@
         </simplelayout>
     </view>
     <itembutton name="header" level="$once{classroot.level}"
-       text="$once{classroot.name}" width="${classroot.width}"/>
+       text="$once{classroot.title}" width="${classroot.width}"/>
   </class>
 
   <!-- ItemButton class the visible portion of navButtons -->
@@ -265,7 +265,7 @@
                 
               } else {
                 if (title ==null){
-                   title = classroot.name;
+                   title = classroot.title;
                 }
                 LzBrowser.loadURL('content.jsp?src=' + src + '&tag=' + tagline 
+
                                   '&title=' + title + '&action=' + action + 
'&lzr=' + runtime, 
@@ -312,7 +312,7 @@
   </class>
 
   <class name="navbutton" extends="menubutton" 
width="${immediateparent.width}">
-      <attribute name="name" value="$path{'@name'}"/>
+      <attribute name="title" value="$path{'@name'}"/>
   </class>
 
   <!-- APPLICATION -->
@@ -357,7 +357,7 @@
 
 </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <!-- @LZX_VERSION@                                                         -->


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

Reply via email to