Ismet Dere writes:
is it possible to change the behaviour of an object with another object that comes after it, when you call it from a browser? In principle, it is possible. Whether it is feasible, depends on what you want to do.
If you want for example provide a different "standard_html_header", you could do: URL: _path_to_myobject/special_view with "special_view" containing the following code: <dtml-var special_html_header> <dtml-var "PARENTS[0](PARENTS[1],REQUEST,standard_html_header='')"> This will usually work if "myobject" is a DTML object. It renders a special header (which may be necessary for a print view) and then renders "myobject" in a way very similar to how ZPublisher would have done it. Of course, you can add further parameters to the call.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> Could you avoid HTML posting?
I have to manually delete it when you reply to your message... Dieter