Skip to content

Instantly share code, notes, and snippets.

@UberNick

UberNick/myComponent.jsp

Last active Dec 22, 2015
Embed
What would you like to do?
<%@include file="/libs/foundation/global.jsp"%>
<%
String title = properties.get("jcr:title", "default title");
String text = properties.get("jcr:text", "default text");
//String title = properties.get("jcr:title", String.class); //defaults to null
%>
Title: <%= title %> <br/>
Text: <%= text %> <br/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment