When posting code, select it and press the </> button to format it. It will preserve indentation and do some syntax highlighting for you.
It looks like you're working on a Vision application. If you edit your question title and add in the Vision tag it may help attract the Vision experts.
Pretty sure this isn't possible to do. You can't reference tags from tag property bindings, you can only reference the specific props in the list. You'll just have to live with using named queries instead