Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

accordion problems

$
0
0

Hi,

 

I have a fresh install ColdFusion 10 (latest updates)

On a RedHat 6.1,6.2,6.3,6.4  Servers.

Using Apache as a webserver.

 

I can't get the following test code (Test 1 and Test 2)

working.  Both are provided by Adobe.

 

I have tried https://cf.supportobjective.com/, no help.

 

Does anyone know how to get ColdFusion working?

The tests work with ColdFusion 8.01.

 

 

Brian Erickson

 

<!--- Test 1 --->

<cfif IsDefined("Form.fieldnames")>

 

<cfdump var="#form#" label="form scope">

<br><br>

</cfif>

<br>

<cfform name="myform" height="285" width="480" format="Flash" skin="HaloBlue">

<cfformgroup type="tabnavigator" height="240" style="marginTop: 0">

<cfformgroup type="page" label="Contact Information">

<!--- Align the first and last name fields horizontally. --->

<cfformgroup type="horizontal" label="Your Name">

<cfinput type="text" required="Yes" name="firstName" label="First"

value="" width="100"/>

<cfinput type="text" required="Yes" name="lastName" label="Last"

value="" width="100"/>

</cfformgroup>

<cfformitem type="hrule" />

<cfformitem type="HTML"><textformat indent="95"><font size="-2">

Flash fills this field in automatically.

You can replace the text.

</font></textformat>

</cfformitem>

<!--- The bind attribute gets the field contents from the firstName

and lastName fields as they get filled in. --->

<cfinput type="text" name="email" label="email"

bind="{firstName.text}.{lastName.text}@mm.com">

<cfformitem type="spacer" height="3" />

<cfformitem type="hrule" />

<cfformitem type="spacer" height="3" />

 

<cfinput type="text" name="phone" validate="telephone" required="no"

label="Phone Number">

<cfinput type="datefield" name="mydate1" label="Requested date">

</cfformgroup>

 

<cfformgroup type="page" label="Preferences" style="marginTop: 0">

<cfformitem type="html" height="20">

<b>Tell us your preferences</b>

</cfformitem>

<!--- Put the pet selectors to the left of the fruit selectors. --->

<cfformgroup type="hdividedbox" >

<!--- Group the pet selector box contents, aligned vertically. --->

<cfformgroup type="VBox"height="130">

<cfformitem type="text" height="20">

Pets:

</cfformitem>

<cfformgroup type="vertical" height="80">

<cfinput type="Radio" name="pets" label="Dogs" value="Dogs"

checked>

<cfinput type="Radio" name="pets" label="Cats" value="Cats">

</cfformgroup>

</cfformgroup>

 

<!--- Group the fruit selector box contents, aligned vertically. --->

<cfformgroup type="VBox" height="130">

<cfformitem type="text" height="20">

Fruits:

</cfformitem>

<cfformgroup type="tile" height="80" width="190" label="Tile box">

<--- Flash requires unique names for all controls. --->

<cfinput type = "Checkbox" name="chk1" Label="Apples"

value="Apples">

<cfinput type="Checkbox" name="chk2" Label="Bananas"

value="Bananas">

<cfinput type="Checkbox" name="chk3" Label="Pears"

value="Pears">

<cfinput type="Checkbox" name="chk4" Label="Oranges"

value="Oranges">

<cfinput type="Checkbox" name="chk5" Label="Grapes"

value="Grapes">

<cfinput type="Checkbox" name="chk6" Label="Kumquats"

value="Cumquats">

</cfformgroup>

</cfformgroup>

</cfformgroup>

</cfformgroup>

</cfformgroup>

 

<cfformgroup type="horizontal">

<cfinput type = "submit" name="submit" width="100" value = "Show Results">

<cfinput type = "reset" name="reset" width="100" value = "Reset Fields">

</cfformgroup>

</cfform>

 

 

 

 

<!--- Test 2 --->

<!---

http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea7785 9461172e0811cbec10372-7ff4.html#WSc3ff6d0ea77859461172e0811cbec22c24- 7 30c

--->

<html>

<head>

<title></title>

<meta content="">

<style></style>

</head>

<body>

<cfform name="myform" height="220" width="400" format="Flash" >

<!--- Use text formitem tag with style specifications for the heading. --->

<cfformitem type="text" style="fontWeight:bold; fontSize:14;">

Flash form with formatted text and rules

</cfformitem>

<!--- The spacer adds space between the text and the rule --->

<cfformitem type="text">

<b><font color="#FF0000" size="+4" face="serif">

This form has formatted text, including:</font></b><br>

<textformat blockindent="20" leading="2">

<li>colored text</li>

<li><i>italic and bold text</i></li>

<li>a bulleted list in an indented block</li>

</textformat>

<p><b>The text is preceded and followed by horizontal rules</b></p>

It also has a link to a web page.</b><br>

<a href="http://www.adobe.com/" target="_blank">

<font color="#0000FF"><u>

This link displays the Adobe home page in a new browser window

</u></font></a>

</cfformitem>

</cfform>

</body>

</html>


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>