On Mon, 06 Aug 2007 13:39:42 -0300, Daniel Jue <[EMAIL PROTECTED]> wrote:

There are some exceptions, such as the parameter component that you
can use along with the If component:

<t:if test="userExists">
                You are currently logged in
        <t:parameter name="else"> You are not logged in. Please log in first.
</t:parameter>
</t:if>

I really prefer the invisible instrumentation (take a look at the first line):

<span t:type="If" t:test="userExists">
        You are currently logged in
        <t:parameter name="else">
                You are not logged in. Please log in first.
        </t:parameter>
</t:if>

Tapestry's components blend with the HTML code in a way that you can preview your template directly in the browser, without the need of running the webserver. ;)

Thiago

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

Reply via email to