Changeset 1919

Show
Ignore:
Timestamp:
11/10/2009 10:23:00 PM (4 months ago)
Author:
peterfarrell
Message:

- Fixes

Location:
framework/1-8-0/trunk/customtags/view
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • framework/1-8-0/trunk/customtags/view/img.cfm

    r1914 r1919  
    5959         
    6060        <!--- If the src is not present, then make an URL using event/module/route ---> 
    61         <cfparam name="attributes.src" type="string" 
    62                 default="#makeUrl()#" /> 
     61        <cfif NOT StructKeyExists(attributes, "src")> 
     62                <cfset attributes.src = makeUrl() /> 
     63        </cfif> 
    6364         
    6465        <!--- Setup optional but requried by the addImage() API ---> 
  • framework/1-8-0/trunk/customtags/view/link.cfm

    r1914 r1919  
    6060                or an exception will be thrown. ensureOneByList() is not used for performance. ---> 
    6161         
    62         <!--- If the src is not present, then make an URL using event/module/route ---> 
    63         <cfparam name="attributes.href" type="string" 
    64                 default="#makeUrl()#" /> 
     62        <!--- If the href is not present, then make an URL using event/module/route ---> 
     63        <cfif NOT StructKeyExists(attributes, "href")> 
     64                <cfset attributes.href = makeUrl() /> 
     65        </cfif> 
    6566        <cfset ensureByName("type") /> 
    6667