[interchange-cvs] interchange - kwalsh modified code/UI_Tag/tabbed_display.coretag

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Wed Aug 20 19:38:00 EDT 2003


User:      kwalsh
Date:      2003-08-20 22:38:34 GMT
Modified:  code/UI_Tag tabbed_display.coretag
Log:
	* Updated the documentation text after Paul Vinciguerra pointed
	  out (in IRC) that he couldn't get the example code to work.

Revision  Changes    Path
1.3       +5 -3      interchange/code/UI_Tag/tabbed_display.coretag


rev 1.3, prev_rev 1.2
Index: tabbed_display.coretag
===================================================================
RCS file: /var/cvs/interchange/code/UI_Tag/tabbed_display.coretag,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tabbed_display.coretag	30 Oct 2002 20:43:05 -0000	1.2
+++ tabbed_display.coretag	20 Aug 2003 22:38:33 -0000	1.3
@@ -137,12 +137,14 @@
 
     my @titles = ( 'Title 1', 'Title 2' );
     my @contents = ( 'Content of panel 1: foo', 'Content of 2' );
-    my %options = (
+
+    return $Tag->tabbed_display({
+        titles => \@titles,
+        contents => \@contents,
         panel_width => 600,
         panel_height => 400,
         tab_bgcolor_template => '#ffffxx',
-    );
-    return $Tag->tabbed_display(\@titles, \@contents, \%options);
+    });
 
 =cut
 







More information about the interchange-cvs mailing list