// 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");