>From the docs. "You cannot nest CFOUTPUT tags."
http://127.0.0.1/CFDOCS/CFML_Language_Reference/2_ColdFusion_Tags/lr2_060.ht
m
You cannot have a query driven output tag inside another output tag. What
you can do though is instead of having <CFOUTPUT>#label.title#</CFOUTPUT>
you can just close your non query driven tag before you open a query driven
tag.
--K
-----Original Message-----
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 04, 2000 12:59 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Nested CFOUTPUTs
--=====================_21467562==_.ALT
Content-Type: text/plain; charset="us-ascii"
Can I nest a <CFOUTPUT QUERY="xxx"> inside a <CFOUTPUT> ?
I need to substitute literally hundreds of small text elements on each of my
pages (the site is displaying itself in English, French, German, Italian, or
Spanish). All the elements are in a structure: label.xxx that is pre-loaded
with the appropriate language values.
The pages are littered with #label.title# ... #label.address# ...
#label.category# ... etc.
Instead of surrounding each one with <CFOUTPUT>#label.title#</CFOUTPUT> I
want to just put <CFOUPUT> at the top of the page and </CFOUTPUT> and the
bottom of the page.
I will double any HTML #-signs to escape them,
The problem is that I have query outputs in the pages: <CFOUTPUT
QUERY="queryname"> and I understand that I can't nest CFOUTPUTs...
ideas?
P.S. if anyone wants to hear more details on how I am handling translating
every word of every page efficiently I'd be happy to expand on that.
---------------------------------------------------------------------------
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032
--=====================_21467562==_.ALT
Content-Type: text/html; charset="us-ascii"
<html>
<font size=3>Can I nest a <CFOUTPUT QUERY="xxx"> inside a
<CFOUTPUT> ?<br>
<br>
I need to substitute literally hundreds of small text elements on each of
my pages (the site is displaying itself in English, French, German,
Italian, or Spanish). All the elements are in a structure: label.xxx that
is pre-loaded with the appropriate language values.<br>
<br>
The pages are littered with #label.title# ... #label.address# ...
#label.category# ... etc.<br>
<br>
Instead of surrounding each one with
<CFOUTPUT>#label.title#</CFOUTPUT> I want to just put
<CFOUPUT> at the top of the page and </CFOUTPUT> and the
bottom of the page.<br>
<br>
I will double any HTML #-signs to escape them,<br>
The problem is that I have query outputs in the pages: <CFOUTPUT
QUERY="queryname"> and I understand that I can't nest
CFOUTPUTs...<br>
<br>
ideas?<br>
<br>
<br>
P.S. if anyone wants to hear more details on how I am handling
translating every word of every page efficiently I'd be happy to expand
on that.<br>
<br>
<br>
<br>
</font><br>
<font size=2><b><br>
---------------------------------------------------------------------------<
br>
Peter Theobald, </b>Chief Technology Officer<br>
</font><font size=3 color="#0000FF"><b>LiquidStreaming
</b></font><a href="http://www.liquidstreaming.com/" eudora="autourl"><font
size=2 color="#0000FF"><u>http://www.liquidstreaming.com</a><br>
</u></font><font size=2>[EMAIL PROTECTED]<br>
<b>Phone</b> 1.212.545.1232 <b>Fax</b> 1.212.679.8032<br>
</font></html>
--=====================_21467562==_.ALT--
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.