Professional Web Applications Themes

Whitespace management - Coldfusion - Advanced Techniques

We had enabled the Whitespace Management option for the CFadmin a while ago, but somewhere along the line it seems to have stopped working. Also, I seem to get no results from inline <CFsilent></CFsilent> tags. And can anybody explain to me why on earth this: <form id="foo" method="post" action="#request.app.self()#" Results in: <form id="foo" method="post" action=" template.cfm?query=string&if=there_is_one" ???...

  1. #1

    Default Whitespace management

    We had enabled the Whitespace Management option for the CFadmin a while ago,
    but somewhere along the line it seems to have stopped working.

    Also, I seem to get no results from inline <CFsilent></CFsilent> tags.

    And can anybody explain to me why on earth this:

    <form id="foo" method="post" action="#request.app.self()#"

    Results in:

    <form id="foo" method="post" action="


    template.cfm?query=string&if=there_is_one"

    ???

    mate Guest

  2. #2

    Default Re: Whitespace management

    is request.app a CFC?
    Kronin555 Guest

  3. #3

    Default Re: Whitespace management

    Originally posted by: Kronin555
    is request.app a CFC?

    If so, does self() have output="false" in its declaration?

    Yes, it is a CFC, but no, I have been omitting that declaration and simply
    adhering to a convention of not outputting with my CFC methods. I did not know
    that this attribute also controlled the whitespace within, though. Thanks for
    the heads up! :thumbsup:

    Do you have any ideas about why the server setting isn't managing whitespace
    as it claims, though?



    mate Guest

Similar Threads

  1. Whitespace Problems
    By JakeFlynn in forum Macromedia ColdFusion
    Replies: 3
    Last Post: June 22nd, 09:52 PM
  2. Preserve whitespace
    By Mike in forum ASP.NET Web Services
    Replies: 1
    Last Post: April 21st, 10:44 AM
  3. cannot get rid of whitespace
    By AkronNick in forum Macromedia ColdFusion
    Replies: 10
    Last Post: April 11th, 06:25 PM
  4. get rid of whitespace around pipes??
    By Jeff 'Japhy' Pinyan in forum PERL Beginners
    Replies: 3
    Last Post: December 17th, 04:26 PM
  5. Trimming Whitespace
    By Sean Levesley in forum Macromedia Director Basics
    Replies: 3
    Last Post: August 22nd, 10:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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