I used apex:param but it doesn't pass objects