Hi guys,

is there a way to change the template (piece of the template) which gets
generated, depending on state? Here is what I mean:
Given a component C, its C.tml looks like the following:

<html>blabla...

//if (loggedIn)
Logged in
//else
Not Logged in

</html>

Of course I know this concrete problem can be solved using expansion. But
I'm now after replacing large chunks of the template depending on state. It
is easy to do so in a JSP page for example.

Thanks in advance,
janos

Reply via email to