Trunk Gasket Question

I bought a new gasket for the trunk. The old one came out 6 mo. ago when it went to the paint shop so I don't even remember what it looked like. The new one appears that it has to be glued on. Am I missing something?