all groups > coldfusion flash integration > july 2006 >
You're in the

coldfusion flash integration

group:

Skin not HaloBlue


Skin not HaloBlue nauta
7/28/2006 3:51:37 PM
coldfusion flash integration: The skin does not seem to work with with the following code. If I use
tabnavigator it does work, but cfformgroup panel it does not

What might I be doing wrong?

<cfform action="casesearchresult.cfm"
method="POST"
name="requesthelpdesk"
format="Flash"
height="500"
width="610"
skin="HaloBlue">

<cfformgroup type="panel" label="Helpdesk">
<cfformitem type="html"><a href="request.cfm">[U]Submit a Help Desk
Request[/U]</a></cfformitem>
<cfformitem type="text">Look up a Help Desk request status</cfformitem>
<cfinput type="text" name="request__casenumber" label="Enter Case Number">
</cfformgroup>
<cfinput type = "submit" name="submit" width="100" value = "Show
Results">
</cfform>
Re: Skin not HaloBlue Nick Watson
8/3/2006 12:00:00 AM
Themes do not apply to a panel, you would need to use styles to get the look
and feel that you require

eg:

<cfform action="casesearchresult.cfm"
method="POST"
name="requesthelpdesk"
format="Flash"
height="500"
width="610"
skin="HaloBlue" onload="initApp()">
<cfformitem type="script">
function initApp(){
// Do anything that you need to do in the onload Event
// call the function that is in charge of applying the styles
applyStyles();
}
function applyStyles()
{
_global.styles.Form.setStyle("color", 0x000000);

_global.styles.Button.setStyle("borderThickness", 1);

_global.styles.Button.setStyle("fillColors", [0x277DC6,0x50ABF7]);
_global.styles.Button.setStyle("color", 0xffffff);
_global.styles.Panel.setStyle("backgroundColor", 0xE5F0F9);
_global.styles.Panel.setStyle("color", 0xffffff);
_global.styles.Panel.setStyle("headerColors", [0x277DC6,0x50ABF7]);

}

</cfformitem>


<cfformgroup type="panel" label="Helpdesk">
<cfformitem type="html"><a href="request.cfm">[U]Submit a Help Desk
Request[/U]</a></cfformitem>
<cfformitem type="text">Look up a Help Desk request status</cfformitem>
<cfinput type="text" name="request__casenumber" label="Enter Case Number">
</cfformgroup>
<cfinput type = "submit" name="submit" width="100" value = "Show Results">
</cfform>

AddThis Social Bookmark Button