Render Modules Views

I can easily call my modules-object by property-injection from
a root-applications Handler.

Is there a possibility to render a modules view/viewlet?

Something like ... :
event.setView(name="mod1:manager.index",noLayout="true");
event.renderView("mod1:manager.index");

Btw. runEvent(mod1:manager.index') looks for the Modules Template in the root-Apps
layout-Folder.

My aim is to render Module-views/viewlets dynamicly from the root-App.

Oh wait! I just found the solution in one of Luis replies:
http://groups.google.com/group/coldbox/msg/983dcb25132f7a46

//Anywhere
#runEvent(mod1:handler.dspView")#

Then the event:
function dspView(event){

  // any logic here

  // render it out
  return renderView("mod1/manager/index");
}

But this still requires a separate Module-View in my root-apps view-folder,
what mixes & separates my modules content.

Regards,
Daniel

Daniel, the renderView() has a module argument, use it. It is for this use case of directed rendering.

Luis F. Majano
President
Ortus Solutions, Corp

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

Thanks allot for the hint and your other replies Luis!

Daniel