Summer S Wilson wrote:
Ah, the joys of Groupwise...it was changing my reply to email. Hopefully fixed 
now.

Wow, GroupWise still exists? ;-)

I may be overthinking this, but I figured I needed to pull that info from the factsheet bean, which I made, which has the thumbnail and PDF in it, along with the specific details of each
fact sheet. But I can't figure out how to call it from the looping output. I tried this in my view:

<cfoutput query="factsheetList">
        <cfset thisFactSheet = createObject("component", 
"model.factsheets.factsheetsListener").getFactSheetDetailFromArg( WhichFactSheet = factsheetid 
) />

You shouldn't ever be instantiating a listener yourself. And by that I mean ever, not just in your views. You declare your listeners in your XML config file but then Mach-II loads them for you, and you just leverage them in your application.

By the time you *get* to your view, you should have the data you want in your event object. In the event-handler that eventually shows this view, you'll want to notify a listener to return the data you want to display in your view.

--
Matthew Woodward
[email protected]
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to