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
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
>
>
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
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
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