Personally, I will break out attributes of a cf tag to a "one per
line" type arrangement only if there are a lot of attributes.
For example, I never do it for cfargument but have been known to do it
for other tags - especially if some of the attribute values are long..
like in cffile with full paths in the arguments.
I'll also break out parameters of function calls if there are a lot of
parameters...
For example, at this very moment, I just wrote this code:
<cfif spouse_exists and arguments.clear_spouse and arguments.recurse>
<cfset retVal2 = saveClearanceRequest(
arguments.userid,
eInfo.spouse.entityid,
arguments.proposed_assignment,
arguments.proposed_major_gift_area,
arguments.reason_for_request,
arguments.additional_information,
arguments.clear_spouse,
"false")>
<cfset retVal.request_id_2 = retVal2.request_id>
<cfset retVal.request_content_2 = retVal2.request_content>
</cfif>
<cfreturn retVal>
rick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290588
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4