Last active
August 29, 2015 14:17
-
-
Save joaocarloscabral/d9f26c2a27a77b8a72f1 to your computer and use it in GitHub Desktop.
tripfaces xhtml example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ui:composition xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:h="http://java.sun.com/jsf/html" | |
xmlns:f="http://java.sun.com/jsf/core" | |
xmlns:ui="http://java.sun.com/jsf/facelets" | |
xmlns:trip="http://tripfaces.org/components" | |
template="../templates/template.xhtml"> | |
... | |
<trip:tour widgetVar="trip" > | |
<trip:message value="#{messages.hi_my_name_tripfaces}" target="title" /> | |
</trip:tour> | |
... | |
<h:outputText id="title" value="#{messages.hello_tripfaces}"/> | |
<h:commandButton value="#{messages.start_trip}" type="button" onclick="trip.start()"/> | |
</ui:composition |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment