Advertisement
Guest User

attachedObjectForm

a guest
Nov 12th, 2014
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.78 KB | None | 0 0
  1. <s:form>
  2.     <s:actionerror />
  3.     <table class="table">
  4.         <tr>
  5.             <td>
  6.                 <table>
  7.                     <tr>
  8.                         <td>
  9.                             <%-- Form fields for the attachedObject's attributes --%>
  10.                             <s:hidden name="attachedObject.id" />
  11.                             <s:hidden name="attachedObject.exam" />
  12.                             <s:select name="attachedObject.type" list="objectTypes"
  13.                                 key="lbl.objectType" requiredLabel="true" />
  14.                             <s:textarea name="attachedObject.text" key="lbl.text" cols="100"                                rows="5" requiredLabel="true" />
  15.                         </td>
  16.                     </tr>
  17.                     <tr>
  18.                         <td>
  19.                             <%-- The buttons --%>
  20.                             <s:submit key="btn.save" action="SaveAttachedObject" />
  21.                             <s:submit key="btn.cancel" action="CancelAttachedObject" />
  22.                         </td>
  23.                     </tr>
  24.                 </table>
  25.             </td>
  26.             </tr>
  27.     </table>
  28. </s:form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement