The way around it could be to populate the aInvocations array with the HTML output from your rule -- rather than writing the HTML direct.
Hope that helps,
-- geoff http://www.daemon.com.au/
Daniel Niklasson wrote:
Found it myself. The rules/container.cfc works a bit strange. If you got a
rule that have display methods, it first display the rules that dosn�t and
after that it displays all methods. Maybe all rules are supposed to have
display methods?
Original code:
http://www.nomorepasting.com/paste.php?pasteID=34550
My modified code:
http://www.nomorepasting.com/paste.php?pasteID=34551
I�ve just moved the <cfloop> and added an <cfset request.aInvocations = arrayNew(1)> after it. Haven�t done some serious testing thou.
Regards, Daniel
-----Original Message----- From: [EMAIL PROTECTED] [mailto:bounce-farcry- [EMAIL PROTECTED] On Behalf Of Daniel Niklasson Sent: den 16 mars 2005 01:06 To: FarCry Developers Subject: [farcry-dev] Container problem
I�ve got an container on a page.. it contains three rules. One that displays a poll, one that displays latest news and one that displays an custom "include" rule that includes an cfm-file from the includedObjects folder.
My problem is that even if I got the news-rule on the top of the list, it displays on the bottom. If I click to edit the rule they are in the order that I want them to be. Also, if I do a cfdump on the container the array is ordered in the way I want it but the objects are not displayed in that order.
Regards, Daniel
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to leave-farcry-dev- [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/
