I am trying to assign more than one property from a form selection list.

I have a ZClass "Course Description" that holds ..a course description 
(title, learning objectives, agenda, prerequisites,link to docs,etc.) 
and another ZClass "Course session" that holds the course time and 
space related data(start date, end date, summary,location, etc.)

Trainers create courses and course managers (CM) decide when and where 
to have these courses. 

Once the CM wants to set up a session, he adds a Course session, 
selects the course title from a selection list and decides when and 
where to have this course.

The selection list is generated by a catalog search. What I would like 
to do, is the following: 

Since the title is not unique, what the CM really chooses is the Course 
Based on the selected id I would like to :

copy the title property of the Course Description to the title property 
of Course Session.

update the "link to Agenda" property of the Course Session with the 
path to the selected Course Description.

I know how to do this singularly, but not all at hte same time.

Any Idea?

Here follows some code I am using for the selection list

<th>Title of event</th>
     <td><select name="id1:int">
          <dtml-in "Catalog(meta_type='Course Description')">
          <OPTION value='<dtml-var data_record_id_>'><dtml-var 
          </select> </td>

Thank you very much,



Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to