Created
August 9, 2011 22:03
-
-
Save KevM/1135317 to your computer and use it in GitHub Desktop.
FubuMVC Issue 97
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h3>I am a go request result tag goodness.</h3><html> | |
| <head> | |
| <title>Default Title</title> | |
| </head> | |
| <body> | |
| <div id="header"> | |
| <div>no header by default</div> | |
| </div> | |
| <div id="main"> | |
| <h2>Exhale!</h2> | |
| <p> | |
| This paragraphy should be before the go request partial | |
| </p> | |
| </div> | |
| <div id="footer"> | |
| <div>no footer by default</div> | |
| </div> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <viewdata model="FubuMVC.HelloSpark.Controllers.Air.BreatheViewModel" /> | |
| <h2>${Model.Text}</h2> | |
| <p> | |
| This paragraphy should be before the go request partial | |
| </p> | |
| #this.Partial<FubuMVC.HelloSpark.Controllers.HtmlTager.GoRequest>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using FubuMVC.Core; | |
| using HtmlTags; | |
| namespace FubuMVC.HelloSpark.Controllers.HtmlTager | |
| { | |
| public class TagController | |
| { | |
| [FubuPartial] | |
| public HtmlTag Go(GoRequest request) | |
| { | |
| return new HtmlTag("h3").Text("I am a go request result tag goodness."); | |
| } | |
| } | |
| public class GoRequest | |
| { | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment