Re: custom manipulator and setting a default in select element (drop down) (SOLVED)

2006-12-19 Thread Benedict Verheyen
Benedict Verheyen schreef: > 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? > Appar

custom manipulator and setting a default in select element (drop down)

2006-12-19 Thread Benedict Verheyen
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