示例#1
0
 public object PostExampleForm(ZooModel model)
 {
     return("" + MasterPage("Hey", new[]
     {
         H.p("You posted the following values: "), H.p(model.Giraffe), H.p(model.Elephant),
         H.A("/", "Back Home")
     }));
 }
示例#2
0
 public object PostExampleForm(ZooModel model)
 {
     return "" + MasterPage("Hey", new[]
         {
             H.p("You posted the following values: "), H.p(model.Giraffe), H.p(model.Elephant),
             H.A("/", "Back Home")
         });
 }
示例#3
0
 object ExampleForm(ZooModel model)
 {
     return("" +
            MasterPage("Form Example",
                       new[] {
         H.p("Form entry: "),
         StandardForm(() => PostExampleForm(null), null, new[]
         {
             new TextInput(() => model.Giraffe),
             new TextInput(() => model.Elephant)
         }
                      )
     }
                       ));
 }
示例#4
0
 object ExampleForm(ZooModel model)
 {
     return "" +
         MasterPage ("Form Example",
             new[] {
                 H.p("Form entry: "),
                 StandardForm(() => PostExampleForm(null), null, new[]
                     {
                         new TextInput (() => model.Giraffe),
                         new TextInput (() => model.Elephant)
                     }
                 )
             }
         );
 }