I remember a thread about editing .tml files in IntelliJ 7. Just thought maybe I'd throw this out there as I've found it useful so far (I'm new to Tapestry tho). I actually set .tml files to be viewed as a JSP. The following allows auto-completion and suggestions on tapestry attributes and also expressions (for example t:source, $ {user.name}, etc. below). Is this crazy? Sacrilege?

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
<!--
<jsp:useBean id="user" scope="page" type="t5first.entities.User"/>
-->
<head>
    <title>Hibernate Example</title>
</head>
<body>
    <h1>User List</h1>
    <table>
        <tr t:type="loop" t:source="users" t:value="user">
            <td> ${user.name} </td>
        </tr>
    </table>
</body>
</html>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to