Hello, world

Home


<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_4.xsd">
<body style="margin: 10px;">
    <h3>Hello, ${username}</h3> 
    
    <t:pagelink page="Index">Home</t:pagelink><br/><br/>
    
    <t:tabgroup>
        <t:sourcecodetab src="/web/src/main/java/jumpstart/web/pages/HelloWorld.tml"/>
        <t:sourcecodetab src="/web/src/main/java/jumpstart/web/pages/HelloWorld.java"/>
    </t:tabgroup>
</body>
</html>


package jumpstart.web.pages;

/** A page class (automatically associated with the template file of the same name). */
public class HelloWorld { 
    
    /** An ordinary getter. */ 
    public String getUsername() {
        return "world";
    }
    
}