Databinding in CF7 Flash Forms
Nimer et al. I am building a pretty big app in CF7 using a ton of Flash Forms and the one issue I have come against is Databinding a to a checkbox. Is anyone doing this? Obviously text inputs and selects are easy to bind but my UI really needs checkboxes that are bound to a datagrid. Any other databinding issues out there I should be aware of? Brendan ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194871 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Databinding in CF7 Flash Forms
The checkbox needs to "check" itself if a non-displayed field in the grid is set to 1 and "uncheck" itself if the field is set to 0. It needs to be visible and hopefully can be enabled for update purposes. I would also like to have it know to post that record if its changed ala a text cfinput. Brendan Mike Nimer wrote: >>it is possible, how do you want to bind the checkbox to work? make it check >>based on a value in hte grid? make it visible or diabled? >> >>---nimer ~| 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:194873 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
CFGRID layout control 2 questions...
Nimer et al. Is there a way I can get a CFGRID to show all 8 rows and not show the scroll bar? Is there a way to disable sorting by clicking the column header? Brendan ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195278 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFGRID layout control 2 questions...
Hmmm well sort="no" doesn't work for me when using a query to populate the grid. Can anyone get it to work? Brendan Mike Nimer wrote: >Yea, just set the height big enough to hold all the rows. And there is a >way to turn off all sorting, but not on some columns and not others. Just >set sort="No" in the cfgrid tag. > >Hth, >---nimer > > >-Original Message- >From: Brendan OHara [mailto:[EMAIL PROTECTED] >Sent: Thursday, February 17, 2005 4:19 PM >To: CF-Talk >Subject: CFGRID layout control 2 questions... > >Nimer et al. > >Is there a way I can get a CFGRID to show all 8 rows and not show the scroll >bar? > >Is there a way to disable sorting by clicking the column header? > >Brendan > > > > ~| 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:195389 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
always allows column sort
Has anyone gotten sort="no" to work in a flash ? I can do this: onchange="MyGrid.sortableColumns=false;" This stops sort AFTER they select a row but not before. Brendan ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195449 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfinput question...
Well Flash has a Client-side state where as HTML doesn't. HTML simple aggregates all inputs with the same name when its submitted. Flash already knows they are different controls and since you can bind data to a specific checkbox then they would have to be enforced as "unique". Brendan Charles Heizer wrote: >Do you know why that is, since a regular input checkbox field does not have >to be unique it's only when I use the format type as flash? > >Thanks, >- Charles > > >On 2/24/05 10:42 AM, "Sean Corfield" <[EMAIL PROTECTED]> wrote: > > > >>On Wed, 23 Feb 2005 16:52:26 -0800, Charles Heizer <[EMAIL PROTECTED]> wrote: >> >> >>>I'm trying to use the cfinput tag with a type of checkbox. The issue I'm >>>having is that it won't let me use the same name more than once. >>> >>> >>That's correct. Each field must have a unique name. >> >> > > > > ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196372 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