Not this weekend
Appreciate a little insight please. I'm trying to add a date picker to an input field such that weekends (Saturday and Sunday) can't be picked and that dates in the past can't be picked. I found a great script for doing this and had it working a treat except when running it in IE9. I found that running it in compatibility mode fixed that issue so I added a to the page and all was well. However, when I changed the page to a CFM page it broke it all and now any date can be picked including weekends and dates in the past. I tried doing it via CFHEADER but that hasn't improved things. I can't see a way to do this with a datefield in CFINPUT either. Can anyone point me to a preferred method for excluding or disabling dates in date picker that works well on CF8. Thank you muchly!! ++ Kevin Parker Advanced Imaging e: webmas...@advancedimaging.com.au w: www.advancedimaging.com.au m: 0418 815 527 ++ http://au.linkedin.com/in/krparker ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346320 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Not this weekend
view the page source and see what has changed. By changing it to a cfm page you may now be including CF internal JS functions from the CFIDE which are conflicting with your date picker. Russ On Mon, Jul 25, 2011 at 11:24 AM, Kevin Parker wrote: > > Appreciate a little insight please. > > I'm trying to add a date picker to an input field such that weekends > (Saturday and Sunday) can't be picked and that dates in the past can't be > picked. > > I found a great script for doing this and had it working a treat except > when > running it in IE9. I found that running it in compatibility mode fixed that > issue so I added a content="IE=EmulateIE7" /> to the page and all was well. > > However, when I changed the page to a CFM page it broke it all and now any > date can be picked including weekends and dates in the past. > > I tried doing it via CFHEADER value="IE=EmulateIE7"> but that hasn't improved things. I can't see a way > to > do this with a datefield in CFINPUT either. > > Can anyone point me to a preferred method for excluding or disabling dates > in date picker that works well on CF8. > > Thank you muchly!! > > ++ > Kevin Parker > Advanced Imaging > > e: webmas...@advancedimaging.com.au > w: www.advancedimaging.com.au > m: 0418 815 527 > > ++ > > http://au.linkedin.com/in/krparker > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346321 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF 9 ODBC data source with Windows 2008 64-bit
All: I am guessing this issue has been discussed but I just haven't followed it. In my production server(Windows 2008 R2 64-bit), I installed Oracle 11g client and I was able to connect to my Oracle 10g DB via the odbc DSN I created. But when I went to CF Admin and tried to create a DSN using ODBC Socket driver, it gives me this mismatch error. java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error: The specified DSN contains an architecture mismatch between the Driver and Application The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error: The specified DSN contains an architecture mismatch between the Driver and Application -- I also tried running odbcad32 under SysWow64 folder on Windows using Microsoft ODBC for Oracle, but it gave me an error saying The Oracle client and networking components were not found. Anybody has solved this before? Nathan ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346322 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF 9 ODBC data source with Windows 2008 64-bit
> I am guessing this issue has been discussed but I just haven't followed > it. In my production server(Windows 2008 R2 64-bit), I installed Oracle > 11g client and I was able to connect to my Oracle 10g DB via the odbc > DSN I created. But when I went to CF Admin and tried to create a DSN > using ODBC Socket driver, it gives me this mismatch error. Is it possible for you to use the JDBC driver instead - either CF (DataDirect) or Oracle? If not, you'll need to download and install a 64-bit Oracle ODBC driver, if such a thing exists. But I'd recommend using JDBC if at all possible. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346323 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: adding custom variable to cfquery metadata
Why not just do this: data = {}; data.query = somequery; data.whatever = "ice cream"; On Wed, Jul 20, 2011 at 7:40 AM, Richard White wrote: > > Hi, > > is there any way to add custom variables to cfquery metadata. > > for example: i know i can add them as follows: > > mt = getMetaData(query) > mt[1].newVar = "value"; > > however, this query gets passed through various functions so instead of also > passing the metadata through, i would just like to call getMetaData(query) in > another function and it will also return the myVar variable that was > previously set > > thanks > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346324 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Body too long: Re: cflayout question
I just upgraded from CF8 to CF9 and am experiencing the same problem with cflayout no longer providing dynamic height and width values. I also applied 9.1 hot fix in hopes it would help and it did not. Anyone have a solution? Thank you, David G. Moore, Jr. UpstateWeb, LLC ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346325 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm