Created
May 6, 2012 17:49
-
-
Save krimple/2623491 to your computer and use it in GitHub Desktop.
Incorrect form Configuration for using tags (embeds 'tag' as field)
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<div xmlns:c="http://java.sun.com/jsp/jstl/core" | |
xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" | |
xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" | |
xmlns:jsp="http://java.sun.com/JSP/Page" | |
xmlns:spring="http://www.springframework.org/tags" version="2.0"> | |
<jsp:directive.page contentType="text/html;charset=UTF-8"/> | |
<jsp:output omit-xml-declaration="yes"/> | |
<form:create id="fc_com_t_coursemanager_model_Tag" modelAttribute="tag" | |
path="/tags" render="${empty dependencies}" z="iEN6IpcwJNLAdWyV0NryBgtaoCA="> | |
<field:textarea | |
field="description" id="c_com_t_coursemanager_model_Tag_description" | |
required="true" z="VfNxpepXRMSqsZWFm1V3Dv56/HY="/> | |
<field:select field="courses" | |
id="c_com_t_coursemanager_model_Tag_courses" itemValue="id" | |
items="${courses}" multiple="true" path="/courses" z="8tZwfpWu9u0Ue8afB3hj8Rt5BFA="/> | |
<field:input field="tag" id="c_com_t_coursemanager_model_Tag_tag" | |
max="25" min="1" required="true" z="S879krSFxEB+VoidxCCA+51q7Co="/> | |
</form:create> | |
<form:dependency dependencies="${dependencies}" | |
id="d_com_t_coursemanager_model_Tag" render="${not empty dependencies}" | |
z="1+IvaryYav1iXp7q9gIPlhmFp5c="/> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment