James ML Christensen wrote:

> Hi, this might be a dumb question, but here goes ...

Nope, good question, but...

> Is there some midgard-esque way to pass arguments to child elements?
> I know that active pages have access to $argc and $argv. What I would
> like to do is pass some value that I've computed to a child element.
> 
> For example, let's say that I define a list-recent-news element in my
> style and that in it's parent I always calculate the current topic.
> Rather than relying on a global variable what I'd like to do is say
> something like <[list-recent-news?topic=$topic_id]> or
> <[list-recent-news/topic/$topic_id]> and get that value inside
> list-recent-news via some kind of argv-type array.

... sorry, there isn't. I see where this could be very neat, but
within 1.4.1 it is not possible.

Emile

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to