Conditional Statement Within renderView Produces Unwanted Results

In my layout, I have a use a conditional statement to determine which
menu to render (display).

If they are logged in, the menu would have additional links.

Background:
    The Layout has two "renderView". One for the conditional menu
       #renderView("_sideBar/index")#
    and one for the main view
       #renderView()#
    The views work perfect.

Problem:
  Whenever I use conditional statements
    (<cfif > or <cfswitch> <cfcase>)
  I always get the following additional chars.
   0>
These chars. ALWAYS and ONLY show up when the second condition is
met.
They ALWAYS show up BEFORE the menu links. They do not show up as
a link ... just text.

Tired:
  No matter where I put the conditional statement(s), these chars.
always show up,
  When the second condition is met.
  I have put the conditional statements:
         a.) within the view
         b.) within the cfc of the view
         c.) within a model, called by the view's cfc
         d.) within a model, called by the view

There might be something that is not closed in your source. Try maybe line debugging for this.

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

Problem solved.

In my testing, I had the called function “output” set to true.

It would not output what I wanted, instead it would output the “0>”.

After setting the function output to false, everything worked great.

Thread closed.

Thx.