fixed issue with selectPrimary and selectController 	name = "${attrs.name}" was 	name = "name = '${attrs.name}'".

Changed the controller/action calls in selectPrimary to dynamic call