• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

coldfusion builder2 not minimize(collapse) block of code proper way

New Here ,
Apr 22, 2014 Apr 22, 2014

Copy link to clipboard

Copied

Like for this code collapse not work properly:

<!DOCTYPE html>

<html>

          <head>

                         <meta http-equiv="Content-Type" content="text/html"; charset="utf-8"/>

        <title>

                                        Untitled Document

                         </title>

  </head>

          <body>

                         <div class="container body-content">

                                        <div class="row Heading">

                                                       <div class="col-md-12 ">

                                                                      <h3>

                                                                                     Product Search

                                                                      </h3>

                                                       </div>

                                        </div>

            <div id="ProgressIndicator">

                                                  <div>

                                                                  

                                                  </div>

                                                  <!-- this will do the vertical align -->

                                                  <img alt="Loading.." src="Images/loading.gif"/>

                                   </div>

        <div class="row">

                                                  <div class="col-md-3 columnleft">

                                                                 <div class="row">

                                                                                <div class="col-md-12">

                                                                                               <h6>

                                                                                                              RESULTS :

                                                                                <select id="resultRange">

                                                                                          <option value="100">

                                                                                                    100

                                                                                          </option>

                                                                                          <option value="200">

                                                                                                    200

                                                                                          </option>

                                                                                          <option value="500">

                                                                                                    500

                                                                                          </option>

                                                                                          <option value="1000">

                                                                                                    1000

                                                                                          </option>

                                                                                          <option value="2000">

                                                                                                    2000

                                                                                          </option>

                                                                                          <option value="3000">

                                                                                                    3000

                                                                                          </option>

                                                                                          <option value="4000">

                                                                                                    4000

                                                                                          </option>

                                                                                          <option value="5000">

                                                                                                    5000

                                                                                          </option>

                                                                                </select>

                                                                      </h6>

                                                            </div>

                                                  </div>

                                        </div>

                              </div>

                    </div>

          </body>

</html>

Views

605

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 01, 2014 May 01, 2014

Moreover, I tried your code snippet. If you look at the below screen shot, the code collapses properly.

Capture.JPG

And its not collapsing the code below that. If you close a parent tag, then the sub tags will also close.

Regards,

Anit Kumar

Votes

Translate

Translate
Guide ,
Apr 22, 2014 Apr 22, 2014

Copy link to clipboard

Copied

Screenshot of the problem? Or are you talking about the indenting being off?

-Carl V.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 22, 2014 Apr 22, 2014

Copy link to clipboard

Copied

cf.png

In this screen shot you can see that blcok of div not collapse proper way...When i try to minimize div block then all the code after that div minimize.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 24, 2014 Apr 24, 2014

Copy link to clipboard

Copied

I'm not seeing anything obviously wrong with that code.  That said, the Aptana plugin used by CFBuilder 2 has always been a bit "dodgy".  If you can, try downloading the beta version of CFBuilder 3 ( http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_coldfusion11 ) and try it out.  They ripped out Aptana and rewrote the HTML-handling parts.  It's much faster and seems much more reliable.

-Carl V.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2014 Apr 25, 2014

Copy link to clipboard

Copied

I know nothing is wrong in this code...All code is right but i think you dont understand my issue..My issue is when i collapse(minimize) any div block ya any other tag like <flayout> then collapse whole code after that div tag...form that div tag to HTML tag..

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 25, 2014 Apr 25, 2014

Copy link to clipboard

Copied

@Shraddha,

I only mentioned the code looking OK because I've had issues with code collapse when there were syntax issues with opening/closing tags.  So I was ruling that out as your issue.

Again, what you are seeing might just be a problem with the Aptana plugin that CFBuilder 2 uses.  Adobe bootstrapped HTML/JS/CSS/CFML code formatting and syntax highlighting support by leveraging Aptana in CFB1 & CFB2.  Adobe ditched Aptana and completely rewrote the HTML/JS/CSS/CFML stuff for CFB3, which is why I suggested downloading the beta and trying it out - that would confirm if you indeed are seeing a "bug" in CFBuilder that has been resolved in CFB3.

-Carl V.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 01, 2014 May 01, 2014

Copy link to clipboard

Copied

@Shraddha,

Can you try CFB3 as suggested by Carl V and see, if you are still getting the code "collapse issue" or not?

Regards,

Anit Kumar

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 01, 2014 May 01, 2014

Copy link to clipboard

Copied

No i dont try...I dont want to beta version of CFB3

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
May 01, 2014 May 01, 2014

Copy link to clipboard

Copied

Shraddha,

Since my post on April 25th, Adobe has released the actual ColdFusion Builder version 3 (not beta).  Download the trial version and see if the problems are fixed.  If they are, then you can decide whether to buy the CFBuilder upgrade.

-Carl V.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 01, 2014 May 01, 2014

Copy link to clipboard

Copied

Moreover, I tried your code snippet. If you look at the below screen shot, the code collapses properly.

Capture.JPG

And its not collapsing the code below that. If you close a parent tag, then the sub tags will also close.

Regards,

Anit Kumar

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 04, 2014 May 04, 2014

Copy link to clipboard

Copied

LATEST

Ok Thanks...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation