I am having trouble with grid binding in a flash form. When an item is selected 
in the grid, Detailed info will show up in the panel below the grid. The 
binding is working, but I am not sure how to put conditions in the binding so 
that null content will not display in the panel. I tried something like:

<cfsavecontent variable="bindData">
if (allSpeakers.dataProvider[allSpeakers.selectedIndex]['speakerPhoneNo'] != 
'null') 
{
allSpeakers.dataProvider[allSpeakers.selectedIndex]['speakerPhoneNo']
};
</cfsavecontent>

and call it with:

<cfformitem type="html" bind="#bindData#"></cfformitem>

But it didn't work. What should I do to remove null contents then? Thanks a lot.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214225
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to