Created
December 10, 2015 09:48
-
-
Save Rokko11/5f9f033c9c846c60a1e2 to your computer and use it in GitHub Desktop.
Not typesafe ui:param
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:ui="http://java.sun.com/jsf/facelets" | |
xmlns:f="http://java.sun.com/jsf/core" | |
xmlns:h="http://java.sun.com/jsf/html" | |
xmlns:p="http://primefaces.org/ui"> | |
<ui:define name="columns"> | |
<!-- At this like, the IDE does not know the type of "key". So autocompletion and refactorings of "property" will fail. --> | |
<h:outputText value="#{key.property}"/> | |
</ui:define> | |
</ui:composition> |
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:include src="test.xhtml"> | |
<ui:param name="key" value="#{value}"/> | |
</ui:include> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment