|
Michael,
You'll run into a similar problem with all
coldfusion stuff... it's just a matter of closing your <cfoutput> before
calling buildlink...
Use something like..
<cfoutput>
Click
</cfoutput>
<skin:buildLink
objectId="#objectId#"><cfoutput>here</cfoutput></skin:buildLink>
<cfoutput>
to see my neato
site
</cfoutput>
as opposed to..
<cfoutput>
Click <skin:buildLink
objectId="#objectId#">here</skin:buildLink> to see my neato
site
</cfoutput>
You'll run into a similar thing if you include
containers without closing cfoutputs first
it's a bit longer/messier, but it'll remove
your whitespace
--
Quentin Zervaas Web Developer
MITOUSA. Web + Interface Architects
----- Original Message -----
Newsgroups: farcry-dev
Sent: Friday, November 21, 2003 7:29
AM
Subject: [farcry-dev] A thought on
BuildLink
So, we just finished integrating a menu (milonic and some other one that
I do not recall the code source) into a couple of projects and discovered
that when using skin:buildlink the menu was breaking because of extraneous
white space. After trying a variety of things what we discovered is that
by simply truncating the entire file it worked just fine. So if anyone
has experienced please see below. BTW, I will send over the code for the
menu when complete.
<cfsetting enablecfoutputonly="Yes"><cfif thistag.executionMode
eq "Start"><cfsilent><cfparam name="attributes.target"
default="_self"><cfparam name="attributes.externallink"
default=""> <cfparam name="attributes.class"
default=""><cfparam name="attributes.urlOnly"
default="false"> <cfparam name="attributes.xCode"
default=""><cfparam name="attributes.includeDomain"
default="false"> <cfif attributes.includeDomain><cfset href =
"">http://#cgi.http_host#"><cfelse><cfset
href = ""></cfif><cfif len(attributes.externallink)><cfset
href = "" & application.url.conjurer & "?objectid=" &
attributes.externallink><cfelse><cfif
application.config.plugins.fu><cfset href = "" &
application.factory.oFU.getFU(attributes.objectid)><cfelse><cfset
href = "" & application.url.conjurer & "?objectid=" &
attributes.objectid></cfif></cfif></cfsilent><cfif
attributes.urlOnly EQ
true><cfoutput>#href#</cfoutput><cfelse><cfoutput><a
href="" <cfif
len(attributes.class)>class="#attributes.class#"</cfif><cfif
len(attributes.xCode)>#attributes.xCode#</cfif>
target="#attributes.target#"></cfoutput></cfif><cfelse><cfif
attributes.urlOnly EQ
false><cfoutput></a></cfoutput></cfif></cfif><cfsetting
enablecfoutputonly="No">
-- Regards, Michael J.
Sammut ________________________________________________ F O U R E
Y E S P R O D U C T I O N S think | plan | create :: web
site design & development :: NYC E. [EMAIL PROTECTED] | T: 718.254.9557 ext. 101
| F: 718.254.0399
--- You are currently subscribed to farcry-dev as:
[EMAIL PROTECTED] To unsubscribe send a blank email to
[EMAIL PROTECTED] MXDU2004 + Macromedia DevCon
AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
|