Hi,

i have a table that displays patients and risks. Now the users want to
be able to
add a risk for a patient by clicking on the cells that intersect both.
I do this by building the appropriate link to build a new object based
on the patient
id.
What i want to do is use my custom AddManipulator from a view that
displays the form but already select the correct patient from the
dropdown list.
How can i do that?
I tried like this but it didn't work
(Fim is a type of risk)

FimAddManipulator.default["patient"] = patientid
or
FimAddManipulator.default["patient"] = Patient.objects.get(id=patientid)

But no patient is selected when the form shows.
How can i set the selection of a dropdown box from a view or manipulator?

Thanks,
Benedict

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to