Your formations must be combined into Formation Sets and then the Formation Sets need to be placed on the map with the Map Editor.
The HOWTO has more detail in the chapter on Battles
My battles don't work! What is wrong?