diff --git a/tutorial/Skylark07/index.witz b/tutorial/Skylark07/index.witz index 4b464d341..5a7e58347 100644 --- a/tutorial/Skylark07/index.witz +++ b/tutorial/Skylark07/index.witz @@ -7,8 +7,8 @@

-List ($count(LIST)):
-$for(i in LIST) +List ($count(.LIST)):
+$for(i in .LIST) "$i" $endfor diff --git a/tutorial/Skylark07/main.cpp b/tutorial/Skylark07/main.cpp index ae50d7158..163348d0a 100644 --- a/tutorial/Skylark07/main.cpp +++ b/tutorial/Skylark07/main.cpp @@ -9,12 +9,12 @@ SKYLARK(HomePage, "") SKYLARK(Submit, "submit:POST") { - Value h = http["LIST"]; + Value h = http[".LIST"]; ValueArray va; if(IsValueArray(h)) va = h; va.Add(http["id"]); - http.SessionSet("LIST", va); + http.SessionSet(".LIST", va); http.Redirect(HomePage); }