public ViewResource createViewResource(FacesContext context,
                                       String resourceName)
    {
        return context.getApplication().getResourceHandler().createResource(resourceName);
    }
public ViewResource createViewResource ( FacesContext context , String resourceName ) { return context . getApplication ( ) . getResourceHandler ( ) . createResource ( resourceName ) ; }
@since 2.2
@param context
@param resourceName
@return