I don't know what you have been expecting,
but the way you have used <f:selectItem ...> it returns String (not Long)
and a note about JSF standards components:
they are very simple minimal components just to show how JSF should be.
for real world projects you have to choose a 3'rd party component set either open source or commercial.