8 Mar
2000
8 Mar
'00
6:56 p.m.
Greg Ward wrote:
Hi all --
A common idiom around here is to use an external method to process a form and, if an error that the user can't fix occurs -- eg. you can't view such-and-such an object because it doesn't exist, or you don't have privileges -- use "return" to show them the contents of a DTML method that explains the problem.
<snip>
* set some magical attribute of 'self' or 'RESPONSE' in the external method; I tried "RESPONSE.setHeader ('Title', 'My Title')", but that didn't work
Try just REQUEST.set('title', 'Foo') -Michel