Added ComponentUtil method for resolving widgetVars