None of the ingredients need to actually 'cook.' The reason for putting flapjacks in the oven is simply so that the heat turns the syrup runny and allows it to spread evenly and coat all the ingredients. When you take your tray out of the oven, the mixture will be quite runny. As the mixture cools, it will become firmer.