[albatross-users] Wiki example and related extension: iterate over ctx/session

Sheila King sheila at thinkspot.net
Tue Jul 8 13:53:58 EST 2003


--On Monday, July 07, 2003 8:20 PM +1000 Dave Cole 
<djc at object-craft.com.au> wrote:

> It might have slipped through the documentation updates (*ahem*) but I
> did remember to put it here
>
> http://www.object-craft.com.au/projects/albatross/albatross/rel-1.10-ctx.
> html
>
> This means that you could do something very kludgey like this:
>
>         <ul><al-for iter="k" expr="__ctx__._SessionBase__vars.keys()">
>            <li><al-value expr="k.value()"/></li>
>         </al-for></ul>
>

It should be pointed out, that this will not work in the previous "official 
release" (1.01)

I have not upgraded to 1.10 yet, as I am waiting for the official release, 
rather than the "pre-releases".

-- 
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org




More information about the Albatross-users mailing list