Hi all,
I am new be in zend frameworl, so I need your help.

In my application I display a student list on a list.phtml form.
If user selects radio button in front of student name and presses 'Detail'
button, the request is forwarded(_forward) to detailAction().
While forwarding I pass student_id as a parameter.
In detailAction detail.phtml displays student details and stores student_id
is as a hidden parameter. In detail action I also set action as
updateAction().
Now in detail.phtml form student Birthdate is editable text box. So if user
presses update button birthdate should be updated. On update button update
action gets called but as I do getform, new form is created and I can not
retrieve the hidden field student_id field. So I cant do the update.
can anybody suggest how to solve this problem.

In updateAction() how can I get the form values which were stored in
detailAction().



In short I am trying to do two things in same action.
If control is reached by _forward() use parameter in request to acquire
database data  and display .
Else if control is reached by pressing update button update birthday value
and display form.
Is it possible to do this?

-- 
View this message in context: 
http://www.nabble.com/Multiple-operations-in-single-action-tp21156604p21156604.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to