private void doGetComponent() throws PageException {
Struct sct=new StructImpl();
pageContext.setVariable(getString("admin",action,"returnVariable"),sct);
// Base Component
try {
PageSource ps = ((PageContextImpl)pageContext).getPageSourceExisting(config.getBaseComponentTemplate());
if(ps!=null) sct.set("baseComponentTemplate",ps.getDisplayPath());
else sct.set("baseComponentTemplate","");
} catch (PageException e) {
sct.set("baseComponentTemplate","");
}
sct.set("strBaseComponentTemplate",config.getBaseComponentTemplate());
// dump template
try {
PageSource ps = ((PageContextImpl)pageContext).getPageSourceExisting(config.getComponentDumpTemplate());
if(ps!=null) sct.set("componentDumpTemplate",ps.getDisplayPath());
else sct.set("componentDumpTemplate","");
} catch (PageException e) {
sct.set("componentDumpTemplate","");
}
sct.set("strComponentDumpTemplate",config.getComponentDumpTemplate());