Maybe a better way of going would be to extent the container in the application and add the mods to that instead of the core..
On Fri, 28 Jan 2005 09:47:44 +1100, Bryce Hoffmann <[EMAIL PROTECTED]> wrote: > Thanks Geoff and Andrew > > Used your mods Andrew, and they work perfectly for my app :-) > Passing a structure in that way seems to cause minimum fuss with the > core (a couple of changes) but also offer a great deal of flexibility. > Rather than modifying a core rule I created a custom one. > I am happy, more important my boss is happy - great work guys! > > Bryce :-) > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Geoff > Bowers > Sent: Thursday, 27 January 2005 1:41 PM > To: FarCry Developers > Subject: [Maybe Spam] [farcry-dev] Re: Dynamic catagory container > > Bryce Hoffmann wrote: > > I would like to force a rule to use a category dynamically set by the > > page it is on. > > I can find the code that sets the category set in the plp for the > > container, but cannot send a variable to the cfc from the page. > > > > e.g. I can grab the category of page that send to a dynamic news page > > (that displays news based on the category of the sending page). I can > > get the category of the previous page to appear on that page. But I > > can't get that category into the CFC from the <con: > tag. > > Though there has been some discussion about passing params to rules from > > the calling page, containers are not designed to work like that. > > You need to re-write the rule to pick up on page specific variables. > For example, on any object invocation you get the object properties > copied to the reserved request.stobj scope. Use this to determine the > categories to filter by. > > We're looking at modifying containers to take parameters but this won;t > happen until the 2.4 milestone timeframe. > > -- geoff > http://www.daemon.com.au/ > > --- > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > *********** Confidentiality and Disclaimer Statement ***************** > The information in this e-mail and any attachments are confidential > and may be subject to legal professional privilege. It is intended > solely for the attention and use of the named addressee(s). If you are > not the intended recipient, or person responsible for delivering this > information to the intended recipient, please notify the sender > immediately. Unless you are the intended recipient or his/her > representative you are not authorised to, and must not read, copy, > distribute, use or retain this message or any part of it. > > Opinions, conclusions and other information expressed in this message > are not given or endorsed by NCC unless otherwise indicated by an > authorised officer independent of this message. > > NCC has implemented anti-virus software, and whilst all care is taken, > it is the recipient's responsibility to ensure that the message and > any attachments are scanned for viruses prior to use. > > This footnote also confirms this e-mail message has been read > electronically by an e-mail content breakdown system. > > Newcastle City Council > Home Page: http://www.newcastle.nsw.gov.au > E-mail: mailto:[EMAIL PROTECTED] > ********************************************************************** > > --- > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
