...
Code Block | ||||
---|---|---|---|---|
| ||||
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_04.xsd"> <body> <h1>Switch</h1> <t:delegate to="case"/> <t:block t:id="case1"> Here is the content for case1. </t:block> <t:block t:id="case2"> Here is the content for case2. </t:block> <t:block t:id="case3"> Here is the content for case3. </t:block> <t:block t:id="case4"> Here is the content for case4. </t:block> </body> </html> |
...