// but of the real outlet
// TODO: is this a good idea ? make configurable ?
controllerState.setOutletNamespace(
output.getContentOutlet().getNamespace());
filenameOutlet.beforeExecute(controllerState);
OutletResult filenameResult
= filenameOutlet.execute(controllerState);
if (!filenameResult.isStringResult())
{
throw new GeneratorException(
"The result of a filename generation must be a String,"
+ " not a byte array");
}
String filename = filenameResult.getStringResult();
filenameOutlet.afterExecute(controllerState);
if (log.isDebugEnabled())
{
log.debug("End generation of Output File path, result is "
+ filename);