I have a situation where I have written a component that references a few database tables for a set of products. The customer wants, primarily for SEO purposes, to have the name of the product reflected in the page title tag. I am pretty sure that the component builds after the head section is written, so how can I get that title tag set? I was thinking that if I could query my db based on the url string and figure out the title then set the title tag, that would probably work. Not quite sure where the title tag is built in the code though...