thanks all for your input and suggestions. unfortunately, i dont think any of this is likely to help for my situation. all these methods assume that each component knows the external elements it needs. however this is not the case for me. each component is checked into a repository and in that is defined what js and css files go with each component. (not my choice, this is how is was designed, so i have to deal). up until know the accepted method has been to call the header comp with a list of the comps to be called on the page. however i work with people who dont follow directions very well, thus i am trying to do this dynamically. what i have now is a regex that gets the matches i need from $m->file($m->request_comp->source_file) (thx Jonathan) and caches the results. its a painful regex but it does the job for now and can be tweaked in the future.
-- William Cox email: [EMAIL PROTECTED] blog: http://my-dimension.com/ music: http://www.last.fm/user/mydimension/ photos: http://flickr.com/photos/mydimension/ On 4/5/07, Pascal Fleury <[EMAIL PROTECTED]> wrote: > On Thursday 05 April 2007 18:24:51 Michael Reece wrote: > > what i do is capture the request_comp ($m->fetch_next, actually) > > output during the %init section of autohandler. that allows the page > > components to influence global state (or set $m->notes) that can then > > be used by the autohandler. > > aha! yes, that sounds like a good idea. You are using the notes part of the > mason request to store these topical things. That would be what I imagined as > buffers. I think I will tinker with this in the future. > > thanks for the suggestion! > --paf > -- > --paf > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users