Just a thought...What about adding a buildlink method to FU. Might be handy
as it would allow developers to override the method if needed. 

~tom

>-----Original Message-----
>From: Geoff Bowers [mailto:[EMAIL PROTECTED] 
>Sent: Monday, December 01, 2003 4:36 PM
>To: FarCry Developers
>Subject: [farcry-dev] Re: A thought on BuildLink
>
>
>We use CFSETTING relgioiusly throughout the code base.  Perhaps we 
>should make a UDF option for buildlink rather than a custom tag?  I 
>think that would make cleaner code in the template and should 
>eliminate 
>the whitespace issues.
>
>-- geoff
>http://www.daemon.com.au/
>
>Lucas Sherwood wrote:
>> Hey Guys,
>> do you think we can stick some CF silents in the buildlink 
>tag to help
>> get arround this whitepsace issue?
>> i know, the cfoutput thing is just a real pain (and i always forget)
>>  
>> L.
>> 
>>     -----Original Message-----
>>     *From:* Quentin Zervaas [mailto:[EMAIL PROTECTED]
>>     *Sent:* 20 November 2003 22:42
>>     *To:* FarCry Developers
>>     *Subject:* [farcry-dev] Re: A thought on BuildLink
>> 
>>     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
>>      
>>     T:// (08) 8361 9022
>>     F:// (08) 8361 9977
>>     E:// [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>>     W:// www.mitousa.com <http://www.mitousa.com>
>>      
>>      
>> 
>>         ----- Original Message -----
>>         *From:* Michael @Four Eyes <mailto:[EMAIL PROTECTED]>
>>         *Newsgroups:* farcry-dev
>>         *To:* FarCry Developers 
><mailto:[EMAIL PROTECTED]>
>>         *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
>>         <http://#cgi.http_host#";><cfelse><cfset> href = 
>""></cfif><cfif
>>         len(attributes.externallink)><cfset href = href &
>>         application.url.conjurer & "?objectid=" &
>>         attributes.externallink><cfelse><cfif
>>         application.config.plugins.fu><cfset href = href &
>>         
>application.factory.oFU.getFU(attributes.objectid)><cfelse><cfset
>>         href = href & application.url.conjurer & "?objectid=" &
>>         attributes.objectid></cfif></cfif></cfsilent><cfif
>>         attributes.urlOnly EQ
>>         true><cfoutput>#href#</cfoutput><cfelse><cfoutput><a
>>         href="#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] <mailto:[EMAIL PROTECTED]> | T: 
>718.254.9557
>>         ext. 101 | F: 718.254.0399
>>          
>>         W. http://www.foureyes.com
>> 
>> 
>>         ---
>>         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
>
>
>---
>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

Reply via email to