Skip to content

Instantly share code, notes, and snippets.

@seemike
Created January 16, 2014 09:45
Show Gist options
  • Save seemike/8452297 to your computer and use it in GitHub Desktop.
Save seemike/8452297 to your computer and use it in GitHub Desktop.
JSF if
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:fn="http://java.sun.com/jsp/jstl/functions"
xmlns:c="http://java.sun.com/jsp/jstl/core"
>
<ui:fragment rendered="#{null != journey}">
only shown if journey not null.
for fragments see: http://www.jsftoolbox.com/documentation/facelets/10-TagReference/facelets-ui-fragment.html
</ui:fragment>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment