On Nov 1, 2:33 am, "Matt Williams" <[EMAIL PROTECTED]> wrote:
> > On Oct 28, 3:29 pm, modius <[EMAIL PROTECTED]> wrote:
> > > I suspect the biggest offender is yourself ;)  You cannot put custom
> > > tags inside of <cfoutput> statements without generating whitespace.
>
> Geoff, you're right that I am the offender. Does a custom tag need to
> be inside a cfoutput if it references a variable? In other words, does
> the following have to be inside <cfoutput>?
> <con:container label="#stobj.objectID#_Right-A">

Variables in tag attributes do not need CFOUTPUT.

> I just did a test without the cfoutputs and the layout got wacked. But
> maybe (most likely) I have something else wrong.

There's really no right or wrong answer here.  We've started trying to
suppress whitespace output in some custom tags using CFSILENT because
its a very common mistake to include custom tags in CFOUTPUT
statements.  So we agree its a pain to have to keep opening and
closing CFOUTPUTs just to suppress whitespace -- we should be making
life easier for people where possible.

You need to be strict with your use of CFOUTPUT.  If you are getting
unexpected output its likely you're missing some markup.

-- geoff
http://www.daemon.com.au/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to