Solved

Why doesn't the ColdFuison 8 flash form display in Safari when it displays in other browsers?

Posted on 2008-10-17
4
434 Views
Last Modified: 2013-12-16
I am trying to accomplish the following:  A user has the ability to pick a date as a start date and an end date.  The caveat is that they are only allowed to pick a date within the previous 90 days only.  If the date is outside of the 90 days, the days are grayed out.  Once they have chosen the dates and other information, I am then sending all that information to another pager.  I have limited space for displaying purposes.  

I have tested the following code in both IE 6, IE 7, and FF 3 and the calendar is showing correctly.  But once I test in Safari on a Mac or Safari for PC, the flash format form does not show up.  I have used the cfcalendar tag and the calendar shows up on Safari.  I am also able to use a form without being a flash and the calendar will show display properly, but my issue with using this option is the ability to gray out the dates.  The combination seems to be a flash form and an input field type datefield.  

 I am running Coldfusion 8.0.1.  Flash version 10.0 & Safari 3.0.  

Does Safari support this?  If so, what am I missing to make this code work in Safari?  If I have to use the cfcalendar, is there a way to gray out the dates and make the calendar smaller on load of the page?  Any help would be greatly appreciated.  
<cfset startDate = "#dateAdd('d',-90,now())#">
<cfset endDate = "#now()#">
 
<cfoutput>
 <cfsavecontent variable="loadFields">
    var startDate:Date = mx.formatters.DateFormatter.parseDateString("#startDate#");
    var endDate:Date = mx.formatters.DateFormatter.parseDateString("#endDate#");
    DTStart.selectableRange  = {rangeStart:startDate, rangeEnd:endDate};
    DTEnd.selectableRange  = {rangeStart:startDate, rangeEnd:endDate};
</cfsavecontent>
</cfoutput>
 
<cfform name="Calendar" format="flash" onLoad="#loadFields#" width="100%" action="#myString3#" method="post">
<cfformgroup type="horizontal">
 <cfinput type="datefield" name="DTStart" label="Start Date:" width="100">
  <cfinput type="datefield" name="DTEnd"  label="End Date:" width="100">
   <cfinput type="image" name="Submit" value="Submit" border="0"> 
</cfformgroup>
</cfform>

Open in new window

0
Comment
Question by:DADITWebGroup
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
erikTsomik earned 250 total points
ID: 22742495
check if flash player installer on safari
0
 
LVL 1

Author Comment

by:DADITWebGroup
ID: 22742568
Hi Erik,
From installed plug-ins

Shockwave Flash
Shockwave Flash 10.0 r12  from file NPSWF32.dll.
0
 
LVL 36

Assisted Solution

by:SidFishes
SidFishes earned 250 total points
ID: 22742722
your code works for me using safari 3.1 for win
0
 
LVL 1

Author Closing Comment

by:DADITWebGroup
ID: 31507196
Thank you both for answering.  I appreciate it.
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can i modify my File download link ? 6 61
Enterprise Mode 4 47
Shutdown of Windows 7 > program > forced shutdown or cancel = ? 24 80
Mozilla Favorites 10 21
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question