Is it possible to access the 'name' of a view and use it as a parameter ?
Maybe this will help
And very good information here: