I want to render a list of files that have been uploaded using RenderView and Viewlets

In the view

#renderView(‘viewlets/fileAttachmentList’)#

In the Viewlet
<cfset runEvent(event=‘viewlets.fileAttachmentList’,private=true)>

How do I pass the RC values I want to be able to make sure I only get the files uploaded by this person?

or is this not possible this way?

Thanks,
Nathan

YOu mean pass variables into a view or into an event?

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

I have

rc.uploadedFileList with the list of file ID’s in it. I just want the view to call the handler and call the database object so display a list of the files that have been updated.

I hope that makes sense. I am getting a headache it might be something simple I am just overlooking.

Well remember that the rc is a request based collection. Meaning anything that happens in ther request has accessed to it.

Meanin if in your view you call a handler then the rc is the same. So just use it

Thanks that did work. I guess I should have just tried it instead of worrying that would not work like that. LOL.