Forum OpenACS Development: Re: HTMLarea and ad_form/form builder

Posted by C. R. Oldham on
Sounds like a good idea.  I attempted to implement this, but I think I am stuck in upvar hell. :-)
Posted by Randy O'Meara on
CR, [something like] this should work:

in your.tcl:
    set js {
        ...put your javascript code here...

in your.adp:
    <property name="header_stuff">
        <if @header_stuff@ defined>

Or, you could put your javascript directly in your.adp where @js@ appears. BTW, this is how you would add css <link...> references also.