Craig Barratt wrote:
...
> > how come I can't access stuff (and mystuff) from within the content?
> > (or can I but I've done it wrong...)
> 
> WRAPPER doesn't do what you are trying to do.  WRAPPER first
> processes the enclosed block to generate some output, which is
> available as "content" inside the wrapper.   So once you get
> inside your atemplate block, content is just flat text.  It
> doesn't get reprocessed.

Ah thanks - my misunderstanding of WRAPPER.  Pity... ;-)

> One solution is to put your content into a block, eg, foo, and then use
> PROCESS inside atemplate to process it.  Rather than use WRAPPER you can
> just use PROCESS; foo can be passed in as as variable or hardcoded as
> necessary:

Icky but working - thanks!  (I should have thought of that myself)

Thanks again,
Robert
-- 
Robert McArthur         CRC for Enterprise Distributed System Technology
  BSc(Hons)               Ph. +61 7 3365 4310        Brisbane, Australia
  MInfTech                Fax +61 7 3365 4311   
  Grad.Cert.Ed.           [EMAIL PROTECTED]


Reply via email to