You should be able to do that using a spry:if condition

----------------------------  
Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
----------------------------  


----- Original Message ----- 
From: "Chad McCue" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Tuesday, April 24, 2007 1:40 PM
Subject: SPRY record count


>I am using spry to display subcategories based on a selected category in
> a drop down. I need a way to display this div <div>There were no
> subcategories found for the selected category</div> when there was no
> subcategories found and then if there were to display the div below. So
> far it works fine when there are subcategories found.
> 
> <div id="scats" spry:region="dsSubcats" style="margin-left:10px;
> height:100px; width:200px; overflow:auto; border:1px solid ##000000;
> float:left; background-color:##efefef;">
> <strong>Select Subcategories:</strong>
> <ul class="createAccountForm">
> <li style="line-height:18px; " spry:repeat="dsSubcats">
> <input type="checkbox" name="Subcategory" value="{CATEGORYID}"
> {CHECKED}  />{ds_RowNumber} {CATEGORYNAME}
> </li>
> </ul>
> </div>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276100
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to