this would execute "comments.main" and stick it in the status
contentvariable, and then the primary fuseaction i'm executing (say
blog.main for example), would load said contentvariable in its view..
This doesn't seem to be possible in coldbox, am i right? renderView
comes close, but then i'm not executing the controller code associated
with that view, just the view itself..
in this particular case, "content" is equivalent to my view, so essentially i'm trying to render multiple views.. am i correct in thinking i'd have to call one handler method to render / return BOTH views? or is there an easier way?
I would watch out with doing cv appending. Especially on large strings. Strings in java are immutable that means once created they don't change. Therefore too much string manip or appending will considerably slow down your app. Alternatives would be to use a string buffer or builder.
However the paradigm of cv appending in fusebox does not translate well to coldbox because you have layouts which are much more flexible. Also viewlets and on demand rendering.
I can honestly tell you that I do not use content variables