pull the selection out of the workspace directly then we know what the parameter is going to be for sure :)
isValid() and isActive() need to take the current Workspace to deal with the case when a view is embedded into a dashboard