Trying to get parameters from view, failing miserably