Autofilling containers and <content>

In the List example: Kodi_Skinning_Manual#List_Container (wiki) – where is the example supposed to take list contents from? Is there some way to set contents for a window being activated?

And related – is it possible for <content> in list to accept variable value – like Window(home).Property(some_prop)? I want list contents to be dependent on a control selected in calling window – on selection I set some_prop to the value that defines list contents.