wmfairuz
6/3/2014 - 4:41 AM

HTML form skeleton

HTML form skeleton

<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>