You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2013/02/22 10:47:01 UTC

svn commit: r1448968 [6/6] - in /tcl/site/rivet: ./ manual2.1/ static/

Modified: tcl/site/rivet/static/var_access.html
URL: http://svn.apache.org/viewvc/tcl/site/rivet/static/var_access.html?rev=1448968&r1=1448967&r2=1448968&view=diff
==============================================================================
--- tcl/site/rivet/static/var_access.html (original)
+++ tcl/site/rivet/static/var_access.html Fri Feb 22 09:46:59 2013
@@ -1,9 +1,10 @@
+<pre>\$Id: var_access.xml 2373 2013\-01\-31 23:13:11Z massimo.manghi \$</pre>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>Variable Access</title>
-    <link rel="stylesheet" href="../css/wondrous/styles.css" type="text/css" />
+    <link rel="stylesheet" href="../templates/wondrous/styles.css" type="text/css" />
 </head>
 
 <body>
@@ -15,14 +16,13 @@
         </div>
         <div id="body">
             <div id="content">
-                <h2><headline>Variable Access</headline>
-</h2>
+                <h2>Variable Access</h2>
                 <div class="example">
- <!-- p class="title"><b>Example 3. Variable Access</b></p-->
- <div class="example-contents">
-  <p>Here, we demonstrate how to access variables set by GET or POST operations.</p>
-  <p>Given an HTML form like the following:</p>
-  <pre class="programlisting">
+    <!-- p class="title"><b>Example 3. Variable Access</b></p-->
+    <div class="example-contents">
+        <p>Here, we demonstrate how to access variables set by GET or POST operations.</p>
+        <p>Given an HTML form like the following:</p>
+        <pre class="programlisting">
 &lt;form action="vars.rvt"&gt;
       &lt;table&gt;
         &lt;tbody&gt;
@@ -56,8 +56,8 @@
 &lt;/form&gt;
 
 </pre>
-  <p>We can use this Rivet script to get the variable values:</p>
-  <pre class="programlisting">&lt;?
+        <p>We can use this Rivet script to get the variable values:</p>
+        <pre class="programlisting">&lt;?
 set errlist {}
 if { [var exists title] } {
     set title [var get title]
@@ -117,89 +117,83 @@ if { [llength $errlist] != 0 } {
 }
 ?&gt;
 </pre>
-  <p>The first statement checks to make sure that the boss variable has been passed to the script, 
+        <p>The first statement checks to make sure that the boss variable has been passed to the script, 
                 and then does something with that information. If it's not present, an error is added to the list of errors.</p>
-  <p>In the second block of code, the variable salary is fetched, with one more error check - because it's a 
+        <p>In the second block of code, the variable salary is fetched, with one more error check - because it's a 
                 number, it needs to be composed of digits.</p>
-  <p>The boss variable isn't required to have been sent - we set it to "Mr. Burns" if it isn't among the 
+        <p>The boss variable isn't required to have been sent - we set it to "Mr. Burns" if it isn't among the 
                 information we received.</p>
-  <p>The last bit of variable handing code is a bit trickier. Because skills is a listbox, and can 
+        <p>The last bit of variable handing code is a bit trickier. Because skills is a listbox, and can 
                 potentially have multiple values, we opt to receive them as a list, so that at some point, 
                 we could iterate over them.</p>
-  <p>The script then checks to make sure that errlist is empty and outputting a thankyou message. 
+        <p>The script then checks to make sure that errlist is empty and outputting a thankyou message. 
                 If errlist is not empty, the list of errors it contains is printed.</p>
- </div>
+    </div>
 </div>
 
 
 
                 <div class="contentbottom">
-                    <div id="last_modified">Last Modified: 06-11-2011 11:47:35 UTC</div>
+                    
                 </div>
             </div>
 
             <div class="sidebar">
                 <ul>
-                    <li id="rivetexamples">
-    <h4 class="">Examples</h4>
+                     
+                </ul> 
+                <ul>
+                    <li id="home">
+    <h4>Rivet</h4>
     <ul class="blocklist">
         <li class="navitem">
-            <a href="hello_world.html" class="">Hello world!</a>
-        </li>
-        <li class="navitem">
-            <a href="shaded_table.html" class="">A shaded table</a>
-        </li>
-        <li class="navitem">
-            <a href="var_access.html" class="">Variable Access</a>
+            <a title="A home for Rivet" href="../index.html">Rivet Homepage</a>
         </li>
         <li class="navitem">
-            <a href="file_upload.html" class="">File Upload</a>
+            <a title="Home of Apache Tcl related stuff" target="asf" href="http://tcl.apache.org/">Apache Tcl Home</a>
         </li>
         <li class="navitem">
-            <a href="file_download.html" class="">File Download</a>
+            <a title="Getting Rivet" href="download.html">Getting Rivet</a>
         </li>
         <li class="navitem">
-            <a href="ajax.html" class="">XML and Ajax</a>
+            <a title="Hello World!" href="hello_world.html">Examples</a>
         </li>
         <li class="navitem">
-            <a href="calendar.html" class="">Calendar</a>
+            <a title="The Rivet development team" href="about.html">About Us - Contact</a>
         </li>
     </ul>
 </li>
-<li id="main">
-    <h4 class="">Rivet</h4>
+<li id="rivetexamples">
+    <h4>Examples</h4>
     <ul class="blocklist">
         <li class="navitem">
-            <a href="../index.html" class="">Rivet Homepage</a>
+            <a href="hello_world.html">Hello world!</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/" target="asf">Apache Tcl Home</a>
+            <a href="shaded_table.html">A shaded table</a>
         </li>
         <li class="navitem">
-            <a href="download.html" class="">Getting Rivet</a>
+            <a href="var_access.html">Variable Access</a>
         </li>
         <li class="navitem">
-            <a href="hello_world.html" class="">Examples</a>
+            <a href="file_upload.html">File Upload</a>
         </li>
         <li class="navitem">
-            <a href="about.html" class="">About Us - Contact</a>
+            <a href="file_download.html">File Download</a>
         </li>
-    </ul>
-</li>
-<li id="manual">
-    <h4 class="">Manuals</h4>
-    <ul class="blocklist">
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual2.0/" target="rivetman2.0">Rivet 2.0 Manual</a>
+            <a href="ajax.html">XML and Ajax</a>
         </li>
         <li class="navitem">
-            <a href="http://tcl.apache.org/rivet/manual2.1/" target="rivetman2.1">Rivet 2.1 Manual</a>
+            <a href="calendar.html">Calendar</a>
         </li>
     </ul>
 </li>
-
  
                 </ul> 
+                <ul>
+                     
+                </ul> 
             </div>
             <div class="clear"></div>
         </div>



---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org