from my view form I will set there the parentModel->priority and parentModel->request_type values and request_number which is auto-generated
then I created a url to access the create action of childModel controller along with the parentModel->request_number
I wanted to pass parentModel->priority and parentModel->request_type values also to childModel controller because it will be needed when saving the parentModel
if there is no corresponding parentModel created yet (parentModel HAS_MANY relationship to childModel, request_number is foreign_key to childModel) when creating a childModel, it will create first a parentModel then create a childModel
I am using this code to find if there is an existing parentModel using the request_number
Edit: Yeah well that means you run first… a controller action anyway. So it’s not really a solution to your concern. You only want to pass a value (that is not in a form) to a given controller?