coldfusion cfinput值属性不起作用

时间:2013-06-12 20:54:27

标签: coldfusion cfinput

我的代码类似于:

<cfinput name="some_name_leftLabel" type="text" width="{some_name_leftLabel.text.length * 9 + 4}" value="100" style="borderStyle:none;textAlign:center;"/>

cfform以闪存方式输出。

此文本框没有任何默认值。

它在另一台服务器上工作正常,我可以用编程方式添加一个带有actionscript的值,但是cfinput只是没有输入值。

是否有人知道会导致这种情况发生变化,或者是我失踪的原因?

这不显示文本值:

      <cfformgroup label="Possible Fraud Factors:" type="page">
        <cfformgroup label="Ship Address does not match Billing Address:" type="horizontal">
          <!---<cf_slider name="mySlider1" width="200" minValue="0" maxValue="100" thumStyle="cornerRadius:4; borderThickness:1;"  >--->
<!---BEGIN TEST--->
<cfformgroup type="horizontal" style="horizontalGap:2; indicatorGap:0;">
    <cfinput name="mySlider1_leftLabel" type="text" width="50" value="0" style="borderStyle:none;textAlign:center;"/>
    <cfformgroup type="hbox" width="200" style="verticalGap:-12; indicatorGap:0; ">
        <cfformitem type="spacer" height ="22" />   
        <cfinput name="mySlider1" type="text" height="3" disabled="true"/>
        <cfinput type="button" value="" width="10"  name ="mySlider1_thum" style="cornerRadius:4; borderThickness:1;">
    </cfformgroup>
    <cfinput name="mySlider1_rightLabel" type="text" width="50" value="100" style="borderStyle:1px solid black; textAlign:'left';"/>
</cfformgroup>
<!---END TEST--->
          <cfinput name="ship_bill" type="text" bind="{mySlider1.text}" width="30"/>
        </cfformgroup>

0 个答案:

没有答案