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

Collapse
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:
    <master>
    <property name="header_stuff">
        <if @header_stuff@ defined>
            @header_stuff;noquote@
        </if>
        @js;noquote@
    </property>

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

Randy