Re: [Zope] Acquisition question

2006-08-29 Thread Ferhat Ayaz
wow. Thanks. This is exactly that what I need. :) --- Dieter Maurer <[EMAIL PROTECTED]> wrote: > Ferhat Ayaz wrote at 2006-8-28 11:06 -0700: > >Here my question: > > > >You can do acquisition on URL like > > > >http://localhost:8080/employee_by_id/emp_id/2/viewEmployee > > > >here the result of e

Re: [Zope] Acquisition question

2006-08-29 Thread Dieter Maurer
Ferhat Ayaz wrote at 2006-8-28 11:06 -0700: >Here my question: > >You can do acquisition on URL like > >http://localhost:8080/employee_by_id/emp_id/2/viewEmployee > >here the result of employee_by_id (param is emp_id=2) >is used by viewEmployee. > >But I want to use it in a page template like > >

Re: [Zope] Acquisition question

2006-08-29 Thread Ferhat Ayaz
Thanks for the answers. The example was from the Zope Book. employee_by_id -> Z SQL Method emp_id -> Parameter key for employee_by_id 2 -> Parameter value for emp_id The result of employee_by_id(emp_id=2) is a SQL result. viewEmployee -> DTML Method viewEmployee will use the result of the abov

Re: [Zope] Acquisition question

2006-08-29 Thread Garito
Ferhat Ayaz escribió: Hi list, I'm a newby to zope. Sorry if the question is to dummy. Here my question: You can do acquisition on URL like http://localhost:8080/employee_by_id/emp_id/2/viewEmployee here the result of employee_by_id (param is emp_id=2) is used by viewEmployee. But I want to

Re: [Zope] Acquisition question

2006-08-29 Thread Chris Withers
Ferhat Ayaz wrote: http://localhost:8080/employee_by_id/emp_id/2/viewEmployee here the result of employee_by_id (param is emp_id=2) is used by viewEmployee. But I want to use it in a page template like Unfortunatly this will not work like the above example. You need to provide us with the