Created
June 3, 2014 04:41
-
-
Save wmfairuz/a3b34c83f5d912058e0f to your computer and use it in GitHub Desktop.
HTML form skeleton
This file contains hidden or 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
<c:set var="action" value="${url.base}"/> | |
<template:tokenizedForm> | |
<form action="<c:url value='${action}'/>" method="post"> | |
<input type="hidden" name="originUrl" value="${pageContext.request.requestURL}"/> | |
<input type="hidden" name="jcrNodeType" value="jnt:company"/> | |
<input type="hidden" name="jcrRedirectTo" value="<c:url value='${url.base}${renderContext.mainResource.node.path}'/>"/> | |
<input type="hidden" name="jcrNewNodeOutputFormat" value="html"/> | |
</form> | |
</template:tokenizedForm> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment