public FubuHtmlDocument <IgnoredModel> get_ignored_model(IgnoredModel model) { _page.Add(new HtmlTag("h1").Text("Ignored Validation Rules")); _page.Add(createForm()); _page.Add(_page.WriteScriptTags()); return(_page); }
public FubuHtmlDocument <InlineModel> get_inline_model(InlineModel request) { _page.Add(new HtmlTag("h1").Text("Inline Errors")); _page.Add(createForm()); _page.Add(_page.WriteScriptTags()); return(_page); }
public FubuContinuation CreateCombinations() { var doc = new FubuHtmlDocument(_serviceLocator); doc.WriteCssTags("site-styles"); doc.WriteScriptTags("site-scripts"); return FubuContinuation.RedirectTo<HomeAction>(x => x.Home()); }
public FubuHtmlDocument <AccessorOverridesModel> get_accessor_validation(AccessorOverridesModel request) { _page.Add(new HtmlTag("h1").Text("Accessor Overrides Validation Rules")); _page.Add(createForm()); _page.Add(_page.WriteScriptTags()); return(_page); }
public FubuHtmlDocument <ClassValidationModel> get_class_validation(ClassValidationModel request) { _page.Add(new HtmlTag("h1").Text("Class Validation Rules")); _page.Add(createForm()); _page.Add(_page.WriteScriptTags()); return(_page); }
public FubuHtmlDocument <IntegrationModel> get_integration(IntegrationModel request) { _page.Add(new HtmlTag("h1").Text("All The Rules")); _page.Add(createForm()); _page.Add(_page.WriteScriptTags()); return(_page); }
public FubuHtmlDocument <User> get_users_create(User request) { _page.Add(new HtmlTag("h1").Text("Create User")); _page.Add(createForm()); _page.Add(_page.WriteScriptTags()); return(_page); }
public FubuHtmlDocument <SelectTagModel> get_select(SelectTagModel model) { _page.Add(new HtmlTag("h1").Text("All The Rules")); _page.Add(createForm()); _page.Add(_page.WriteScriptTags()); return(_page); }
public FubuHtmlDocument <ServerSideModel> get_server_side(ServerSideModel model) { _page.Add(new HtmlTag("h1").Text("Server Side Rules")); _page.Add(createForm()); _page.Add(_page.WriteScriptTags()); return(_page); }
public FubuHtmlDocument <ElementHandler> get_elementHandlers_create(ElementHandler request) { _page.Add(new HtmlTag("h1").Text("ValidationElementHandler test cases")); _page.Add(CreateForm()); _page.Add(new TextboxTag().Attr("name", "NoValidation")); _page.Add(_page.WriteScriptTags()); return(_page); }
public FubuHtmlDocument <IgnoredModel> get_ignored(IgnoredModel input) { _ignoredPage.Add(new HtmlTag("h1").Text("Ignored Form")); _ignoredPage.Add(createIgnoredForm()); _ignoredPage.Asset("recorder.js"); _ignoredPage.Add(_ignoredPage.WriteScriptTags()); return(_ignoredPage); }
public FubuHtmlDocument <AjaxIn> get_ajax(AjaxIn input) { _ajaxPage.Add(new HtmlTag("h1").Text("Ajax Form")); _ajaxPage.Add(createAjaxForm()); _ajaxPage.Asset("recorder.js"); _ajaxPage.Add(_ajaxPage.WriteScriptTags()); return(_ajaxPage); }
public FubuHtmlDocument <StandardIn> get_standard(StandardIn input) { _standardPage.Add(new HtmlTag("h1").Text("Standard Form")); _standardPage.Add(createStandardForm()); _standardPage.Asset("recorder.js"); _standardPage.Add(_standardPage.WriteScriptTags()); return(_standardPage); }
public FubuHtmlDocument <AjaxModel> get_ajax(AjaxModel request) { _page.Add(new HtmlTag("h1").Text("Ajax Form")); _page.Asset("ajaxTester.js"); _page.Add(createForm()); _page.Add(new LiteralTag(_page.EndForm().ToString())); _page.Add(_page.WriteScriptTags()); return(_page); }
public static void WriteScriptsToBody(this FubuHtmlDocument document) { document.Body.Append(document.WriteScriptTags()); }