- Rule options (i.e. what the user selected when creating the rule) - Number of results from the rule (e.g. number of news articles) - ...
It allows you do things such as display "No articles were found", or to format intro text, or whatever
The biggest hurdle I ran into initially when creating rules was that no custom data could passed along to objects being placed into aInvocations. Like the rule's execute() might determine some other data that would be useful in displaying the rule but there's no easy way to generate this data otherwise
Perhaps we need to add an stParams structure to the values in aInvocations. This would be blank by default, but could pass across additional information to the object display handler.
This is something I've been mulling over for a while, because its really something that should be applied to all display handler invocations. That is, the ability to pass in an optional set of parameters in addition to the object instance properties.
I think the best way forward is for folks to outline scenarios where they would require such an option. That way we can be sure to come up with a solution that is generic and not specific.
-- 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]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
