Chapter 8. Building a case study application 311
ICMMgr.connect();
DKDatastoreICM dsICM = ICMMgr.getDatastore();
// Get ItemType to be imported/created in order to
// list atributes required dynamically
String strEntity = request.getParameter("ItemType");
// Create a DKDatastoreDefICM object (dsDefICM) so we can get info about the
// chosen item type (strEntity) to create the ddo in.
DKDatastoreDefICM dsDefICM = new DKDatastoreDefICM(dsICM);
DKItemTypeDefICM entityDef =
(DKItemTypeDefICM) dsDefICM.retrieveEntity(strEntity);
%>
<h1>Import a document to the folder application</h1>
<hr>
<P><BR>
</P>
<P>Enter attribute values to the specified document type </P>
<FORM name="uploadForm" action="RBFileUpload" method="POST"
enctype="multipart/for ...