All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.tapestry5.corelib.components.If.xdoc Maven / Gradle / Ivy

Go to download

Central module for Tapestry, containing interfaces to the Java Servlet API and all core services and components.

There is a newer version: 5.8.6
Show newest version

    
        

Welcome!

Welcome back, ${user.firstName} Login / Register . . . ]]>

Here, the main text is rendered if the user is logged in (the user property will be non-null after the user logs in). Otherwise, links to a login and register page are rendered.

Note the use of the p: namespace (new in Tapestry 5.1). In 5.0, this would be <t:parameter name="else">.

Tapestry has many built in coercions to boolean:

String
True if non-blank and not the literal string "false" (case insensitive)
Number
True if non-zero
Collection
True if non-empty
Object
True (as long as its not null)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy