For the rear screen you fit the trim to the rubber before you put the complete assembly into the tailgate.
That's how I did mine anyway, after finding out you can't fit it after the screen and rubber is in the car!
Not sure on the front one though as mine is a bonded screen even though its an early model.
__________________
|