Document myExternal(RequestContext context){ InputStream myInputStream = context.getFileDal().... // get file you need here // Read properties file. Properties properties = new Properties(); try { properties.load(myInputStream); } catch (IOException e) { throw new RuntimeException("Unable to read file", e); } Document mydoc = DocumentHelper.newDocument(); mydoc.addElement("myroot"); // Build you doc here that will be part of component XML return mydoc;
com.interwoven.livesite.component.developer.util.PropertyConfiguration
developer.spar