Are you changing this in the DisplayList custom tag itself, or are you
making a separate custom tag as a special version with a different name and
then changing that one?

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia
http://www.ProductivityEnhancement.com

Download Plum and other cool development tools,
and get advanced intensive Master-level training:

* C# & ASP.NET for ColdFusion Developers
* ColdFusion MX Master Class
* Advanced Development with CFMX and SQL Server 2000

----- Original Message ----- 
From: "Tim Blankenship" <[EMAIL PROTECTED]>
To: "Plum Email List" <[email protected]>
Sent: Wednesday, April 13, 2005 2:25 PM
Subject: [plum] Fwd: Add in list


Here is what I did. If you want to know.
Not sure how correct it may be but it seems to be functioning.

<cfif session.svr_softwarelist EQ "[empty string]">
<cf_DisplayListLinks add="No" view="SVR_SOFTWAREViewForm.cfm"
edit="SVR_SOFTWAREEditForm.cfm" delete="SVR_SOFTWAREDeleteForm.cfm">
<cfelse>
<cf_DisplayListLinks add="SVR_SOFTWAREAddForm.cfm"
view="SVR_SOFTWAREViewForm.cfm" edit="SVR_SOFTWAREEditForm.cfm"
delete="SVR_SOFTWAREDeleteForm.cfm">
</cfif>

---------- Forwarded message ----------
From: Tim Blankenship <[EMAIL PROTECTED]>
Date: Apr 13, 2005 12:23 PM
Subject: Add in list
To: Plum Email List <[email protected]>

I want to change the behavior of the add in my lists.
I have a single page with a view form and several nested lists and want the
add link only to display if the list returns no returns. I am looking
through the DisplayList but really looks over my head. Anyone know of an
easy way to accomplish this. If I knew what the query name was that displays
the rows to the list a simple if statement could accomplish this.
Something like this
<cfif Recordset.recordCount EQ 0>
<cf_DisplayListLinks add="SVR_SOFTWAREAddForm.cfm"
view="SVR_SOFTWAREViewForm.cfm" edit="SVR_SOFTWAREEditForm.cfm" delete="No">
<cfelse>
<cf_DisplayListLinks add="No" view="SVR_SOFTWAREViewForm.cfm"
edit="SVR_SOFTWAREEditForm.cfm" delete="No">
</cfif>
-- 
Tim Blankenship
[EMAIL PROTECTED]
www.vespri.com <http://www.vespri.com>

-- 
Tim Blankenship
[EMAIL PROTECTED]
www.vespri.com <http://www.vespri.com>


**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:

http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************

Reply via email to