162163164165166167168169170171172
Navigation navigation = new Navigation(this, uri, path, 0); navigation.setChild(child); try { config.configure(navigation, toc); navList.add(navigation); } catch (Exception e) { log.log(Level.FINE, e.toString(), e);
237238239240241242243244245246247
Navigation navigation = new Navigation(this, uri, pwd, 0); navigation.setChild(navItem); config.configure(navigation, toc); if (navigation.getRootItem() != null) navItem.addChildren(navigation.getRootItem().getChildren()); } }
278279280281282283284285286287288
try { _referenceDocument = new ReferenceDocument(_webApp, ref, _contextPath, uri + "reference.xtp", _encoding); config.configure(_referenceDocument, ref); } catch (Exception e) { log.log(Level.FINE, e.toString(), e); _referenceDocument = null;
16181619162016211622162316241625162616271628
Config config = new Config(); // server/10hc // config.setResinInclude(true); config.configure(this, resinConf, getSchema()); ClusterServer clusterServer = findClusterServer(_serverId); start(); }
161162163164165166167168169170171
if (linkPath.exists() && linkPath.getPath().endsWith(".xtp")) { Config config = new Config(); config.setEL(false); try { config.configure(_document, linkPath); if (_document.getHeader() != null) _fullDescription = _document.getHeader().getDescription(); else _fullDescription = new Description(_document);
188189190191192193194195196197198
_uri, linkRoot, _depth + 1); try { config.configure(_child, subToc); } catch (Exception e) { log.info("Failed to configure " + subToc + ": " + e); } } else { log.info(subToc + " does not exist!");
109110111112113114115116117118119
try { Path path = Vfs.lookup(systemConf); Config config = new Config(); config.configure(this, path, getSchema()); } catch (Exception ex) { ex.printStackTrace(); throw new RuntimeException(ex.toString());
111112113114115116117118119120121
198199200201202203204205206207208
private void configureXmlOverridePath(Path beansPath) throws IOException { ContextConfig context = new ContextConfig(_cdiManager, beansPath); Config config = new Config(); config.configure(context, beansPath, SCHEMA); } public void addConfiguredBean(String className) { _configuredBeans.add(className);