[albatross-users] Newbie question

dougal.scott at member.sage-au.org.au dougal.scott at member.sage-au.org.au
Fri Jul 4 16:50:11 EST 2003


In order to better learn Albatross I'm converting an existing cgi. This
is a fairly simple cgi which gets some info from the user and then
calls itself a few times with different options to generate some
embedded images.

I'm having problems converting this to Albatross. How do I repeatedly
pass a different context to another module.

I can do it the bad way by generating an expression that is an img tag
such as  "<img src=.../genimg?imgtype=1&var1=foo&var2-bar>". This
involves going through the locals and generating the arguments from
that - and adding some other ones, in this case imgtype.

However this is a hack and I would prefer to do it neatly. Also it
means that the context is accepted from the URL, where I would prefer
it not to be, so people can't play with the options.

This is where either Albatross or my limited understanding of Albatross
breaks down. Albatross seems to be based around the concept of a page -
and one invocation of a module per page. What I need is multiple
modules being invoked to generate a single page.

Can anyone point me in the right direction?

--
Dougal Scott                    Connect Internet Solutions
dwagon at connect.com.au           180-188 Burnley Street
Senior Systems Administrator    Richmond, Australia, 3121



More information about the Albatross-users mailing list