[Bese-devel] How to use tal-templates

Marco Baringer mb at bese.it
Mon Aug 15 09:36:40 UTC 2005


astor at pvv.ntnu.no writes:

> On Mon, Aug 15, 2005 at 10:34:09AM +0200, Marco Baringer wrote:
>> 
>> grab a very recent ucw and parenscript (see other email to
>> bese-devel):
>> 
>> (<ucw:script
>>   (alert "Hello World"))
>> 
>> that is sooooo much better.
>> 
>
> (<ucw:header-script ...) or something similart would also be nice.
> Pages are supposed to be faster when scripts are put in the HEADER
> section since this section can be processed before/while the page is
> being laid out.

sorry, i don't follow, why not just put it in the header then?

it's not available quite yet the :inline-javascript
simple-window-component initarg will soon take a list of parenscript
code and not a string as it does now.

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen



More information about the bese-devel mailing list