// we cannot use this.getVDL() directly (see getViewHandler())
//ViewDeclarationLanguage vdl = getViewHandler(context).
// getViewDeclarationLanguage(context, calculatedViewId);
// -= Leonardo Uribe =- Temporally reverted by TCK issues.
ViewDeclarationLanguage vdl = getViewDeclarationLanguage(context,calculatedViewId);
ViewMetadata viewMetadata = vdl.getViewMetadata(context, viewId);
// getViewMetadata() returns null on JSP
if (viewMetadata != null)
{
UIViewRoot viewFromMetaData = viewMetadata.createMetadataView(context);
toViewParams = ViewMetadata.getViewParameters(viewFromMetaData);
}
}
if (toViewParams == null || toViewParams.isEmpty())