/sitebricks-acceptance-tests/src/main/resources/Embed.html
http://github.com/dhanji/sitebricks · HTML · 48 lines · 33 code · 7 blank · 8 comment · 0 complexity · 876273cc2da6fc095b027729dedab22f MD5 · raw file
- <html>
- <!--
- Design by Free CSS Templates
- http://www.freecsstemplates.org
- Released for free under a Creative Commons Attribution 2.5 License
- -->
- <head>
- <!-- embedded @Require headers go here -->
- </head>
- <body>
- The following is a custom widget created from the <a href="hello">HelloWorld</a> example.
- Notice that the stylesheet is available in the enclosing page via use of the @Require widget
- (this page is not styled by default, whereas HelloWorld is).
- <br/><br/>
- We can even pass arguments to the embedded page (let's use the list "${arg}" instead of its
- <a href="/hello">default message</a>).
- <br/><br/><br/><br/>
- @Repeat(var="item", items=arg)
- <div>
- @Hello(message=item)
- <span>
- This text is replaced by the embed.
- </span>
- </div>
- <br/><br/><br/><br/>
- <br/><br/><br/><br/>
- <p>
- <h1>Let's try that again!!</h1>
- </p>
- <br/><br/><br/><br/>
- @Repeat(var="item", items=arg)
- <div>
- @Hello(message=item)
- <span>
- This text is replaced by the embed.
- </span>
- </div>
- </body>
- </html>