old_as_a_fossil
14 Sep 2010, 11:19 AM
Textarea content doesn't get submitted to the Controller during form submission. It seems like the textarea's contents is not its "value", that's why this problem. Below is how I tried.
<spring:bind path="emailTemplateDesign.bodyText">
<textarea id="bodyText" styleClass="text" style="font-size:10pt;width: 390px;height:275px;" ONCHANGE="setCursorPos()" ONCLICK="setCursorPos()"><c:out value="${emailTemplateDesign.bodyText}"/></textarea>
</spring:bind>
Please help how to do this. This is highly urgent.
<spring:bind path="emailTemplateDesign.bodyText">
<textarea id="bodyText" styleClass="text" style="font-size:10pt;width: 390px;height:275px;" ONCHANGE="setCursorPos()" ONCLICK="setCursorPos()"><c:out value="${emailTemplateDesign.bodyText}"/></textarea>
</spring:bind>
Please help how to do this. This is highly urgent.