Using CFSAVECONTENT with CFFORMITEM type="HTML"

Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Using CFSAVECONTENT with CFFORMITEM type="HTML"

    I am trying to create a preview area made up of a mix of HTML and cfform
    variables in a binding string. This is similar to the ASFusion article in
    ColdFusion Journal. I conceptually understand how to do this, but I think that
    the syntax is getting me. What I'm trying to show is a table using a backround
    image with styled text over the image. I'm getting the text, but it is not
    styled, the image does not appear and my link does not show as a link.

    Here's my code:

    <cfsavecontent variable="featureBind">
    {(
    ("<table><tr><td width='330' height='257' align='left' valign='middle'
    nowrap'") +
    ("background='" + photo_url.text + "'>") +
    ("<table width='330'><tr><td align='left'><br /><p class='featureHd'>") +
    ("<font color='" + headline_color.text + "'>" + headline_text.text +
    "</font>&nbsp;</p>") +
    ("<font color='" + body_text_color.text + "'>" + body_text.text +
    "</font></p><br />") +
    ("<a href='" + link_url.text + "' CLASS='featureLink_light'>") +
    ("<font color='" + link_color.text + "'>" + link_text.text +
    "</font></a></td>") +
    ("</tr></table></td></tr></table>")
    )}
    </cfsavecontent>

    ...

    <cfformgroup type="panel" label="Preview" >
    <cfformitem type="html" height="257" width="330"
    bind="#featureBind#"></cfformitem>
    </cfformgroup>

    Can anyone help?

    Thanks,
    Patty

    ptoretti Guest

  2. Similar Questions and Discussions

    1. cfformitem type="script": How to set hidden field'svalue?
      I have a simple test form that contains a cftree and a few input/hidden fields. Whenever a tree node is selected, I want to change the values of...
    2. cfformitem type="html"
      I am having sound trouble using the above tag to display images... Using fusebox 3, getting a prod. description from a database, which includes a...
    3. <cfformitem type ="script">???
      Hi all I am having difficulties with an app that i downloaded from asfusion.com. The apps url is http://www.asfusion.com/apps/realestate/...
    4. html <input type="file"> can you set a value first ?
      There has GOT to be a way. I'm not gonna give up.
    5. CFINPUT type="radio" w/ "value" requires "label"
      On a Flash form, when you specify type='radio' and value='whatever', the value of the 'value' attribute will be displayed as a label if no 'label'...
  3. #2

    Default Re: Using CFSAVECONTENT with CFFORMITEM type="HTML"

    I got this question answered over at [url]http://livedocs.macromedia.com/flash/mx2004/main_7_2/00001040.html[/url]

    Thanks Laura and Nahual for providing us such a fabulous resource with your blog.
    ptoretti Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139