<%
   String[] hiddenField1 = ["jcrPath=/node/metadata:dc_elementSet", "nodetype=metadata:dc_elementSet", "visible=false"] ; 
   uicomponent.addHiddenField("hiddenInput1", hiddenField1) ;
%>
<div class="UIForm FormLayout">  
	<% uiform.begin() %>
  <div class="HorizontalLayout">
  	<table class="UIFormGrid">
  		<tr>
	      <td class="FieldLabel">Title</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldTitle = ["jcrPath=/node/metadata:dc_elementSet/dc:title"] ;
		        uicomponent.addTextField("title", fieldTitle) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Creator</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldCreator = ["jcrPath=/node/metadata:dc_elementSet/dc:creator"] ;
		        uicomponent.addTextField("creator", fieldCreator) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Subject</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldSubject = ["jcrPath=/node/metadata:dc_elementSet/dc:subject"] ;
		        uicomponent.addTextField("subject", fieldSubject) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Source</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldSource = ["jcrPath=/node/metadata:dc_elementSet/dc:source"] ;
		        uicomponent.addTextField("source", fieldSource) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Contributor</td>
	      <td class="FielComponent">
		      <%
		        String[] fieldContributor = ["jcrPath=/node/metadata:dc_elementSet/dc:contributor"] ;
		        uicomponent.addTextField("contributor", fieldContributor) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">ResourceType </td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldResourceType = ["jcrPath=/node/metadata:dc_elementSet/dc:resourceType"] ;
		        uicomponent.addTextField("resourcetype", fieldResourceType) ;
		      %>
				</td>    
			</tr>
			<tr>
	      <td class="FieldLabel">Date</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldDate = ["jcrPath=/node/metadata:dc_elementSet/dc:date", "options=displaytime", "visible=true"]; 
		        uicomponent.addCalendarField("date", fieldDate) ;
		      %>
		    </td>
			</tr>    
			<tr>
	      <td class="FieldLabel">Publisher</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldPublisher = ["jcrPath=/node/metadata:dc_elementSet/dc:publisher"] ;
		        uicomponent.addTextField("publicsher", fieldPublisher) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Description</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldDescription = ["jcrPath=/node/metadata:dc_elementSet/dc:description"] ;
		        uicomponent.addTextField("description", fieldDescription) ; ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Rights </td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldRights = ["jcrPath=/node/metadata:dc_elementSet/dc:rights"] ;
		        uicomponent.addTextField("right", fieldRights) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Relation</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldRelation = ["jcrPath=/node/metadata:dc_elementSet/dc:relation"] ;
		        uicomponent.addTextField("relation", fieldRelation) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Format</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldFormat = ["jcrPath=/node/metadata:dc_elementSet/dc:format"] ;
		        uicomponent.addTextField("format", fieldFormat) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Coverage </td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldCoverage = ["jcrPath=/node/metadata:dc_elementSet/dc:coverage"] ;
		        uicomponent.addTextField("coverage", fieldCoverage) ;
		      %>
		    </td>
		  </tr>
		  <tr>
	      <td class="FieldLabel">Identifier</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldIdentifier = ["jcrPath=/node/metadata:dc_elementSet/dc:identifier"] ;
		        uicomponent.addTextField("identifier", fieldIdentifier) ;
		      %>
		    </td>
		  </tr>
    	<tr>
	      <td class="FieldLabel">Language</td>
	      <td class="FieldComponent">
		      <%
		        String[] fieldLanguage= ["jcrPath=/node/metadata:dc_elementSet/dc:language"] ;
		        uicomponent.addTextField("language", fieldLanguage) ;
		      %>
		    </td>
		  </tr>
    </table>    
		<%/* start render action*/%>
		<%uiform.processRenderAction()%>
		<%/* end render action*/%>
  </div>
  <%uiform.end()%>
</div>