>a) <cfmodule ... myAttribute="#foobar#">
>b) <cfmodule ... myAttribute=#foobar#> #---# not required
>other than I dont believe there are any differences.
actually, if you're assigning a variable to an attribute in a custom tag
(even with cfmodule), you will need the pound signs because the custom tag,
unlike the other cf tags, don't assume that something is a variable. for
instance in your example "b" above, if you don't have the # signs, the
custom tag will be passed an attribute called myattribute with a value of
"foobar" - but if you put the pound signs in, then the attribute will
actually get the evaluated value for the variable foobar because then it
knows its a variable.
but, of the other cf tags, the # signs are not required.
>a) <cfset foobar = "1">
>b) <cfset foobar = 1>
>a) <cfset foobar = "true">
>b) <cfset foobar = true>
for just straight values to an attribute, the double quotes are only really
required if the value has a space in it...otherwise, they aren't required.
but i believe that the "best practice" usually is to put double quotes
around your values. -emily
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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.