Sets attributes and priority for the category.
category
a View.
the category.
mark attributes.
priority of the category.