Getting following:"missing dropdownhead in drop down effect"

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
niall77
Propeller Head
Posts: 43
Joined: Thu May 24, 2012 5:34 am

Getting following:"missing dropdownhead in drop down effect"

Post by niall77 »

Hi,
I get the following error message when I try to generate online help; "missing dropdownhead in drop down effect". It points to a file which generates this error but I don't know how to resolve it. How do I?

Thanks,
Niall.
i-tietz
Propellus Maximus
Posts: 1219
Joined: Wed Oct 24, 2007 4:13 am
Location: Fürth, Germany

Re: Getting following:"missing dropdownhead in drop down effect"

Post by i-tietz »

Find the dropdown in that topic, unbind it, write a header above it, select it all again and make a dropdown out of it again ...
Inge____________________________
"I need input! - Have you got input?"
Calybos
Propeller Head
Posts: 44
Joined: Tue Jun 17, 2014 5:20 am

Re: Getting following:"missing dropdownhead in drop down eff

Post by Calybos »

I'm getting the same error, and removing and re-creating the dropdown doesn't fix it. Any other suggestions?

Image
ChoccieMuffin
Senior Propellus Maximus
Posts: 2650
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Getting following:"missing dropdownhead in drop down eff

Post by ChoccieMuffin »

Can you post the code behind the problematic drop-down? We might be able to see what's going on then.
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Calybos
Propeller Head
Posts: 44
Joined: Tue Jun 17, 2014 5:20 am

Re: Getting following:"missing dropdownhead in drop down eff

Post by Calybos »

<MadCap:dropDown>
<MadCap:dropDownHead>
<MadCap:dropDownHotspot>Cash Drawer Report: WebPay Refunds Summary Tab</MadCap:dropDownHotspot>
</MadCap:dropDownHead>
<MadCap:dropDownBody>
<MadCap:dropDown>
<MadCap:dropDownBody>
<p>This tab presents only refund transactions.</p>
<p>
<img src="../Resources/Images/adm-rpts/CD3.png" />
</p>
<p>This tab of the report includes the following information:</p>
<table style="width: 100%;">
<col />
<col />
<tbody>
<tr>
<th style="text-align: left;">Column</th>
<th style="text-align: left;">Description</th>
</tr>
<tr>
<td>Name</td>
<td>User who entered the WebPay payment into the system</td>
</tr>
<tr>
<td>Username</td>
<td>Username of the “Name” user</td>
</tr>
<tr>
<td>Credit Card Refunds</td>
<td>Number of credit card refunds</td>
</tr>
<tr>
<td>Credit Card Refunded</td>
<td>Amount of credit card refunds</td>
</tr>
<tr>
<td>eCheck Refunds</td>
<td>Number of eCheck refunds</td>
</tr>
<tr>
<td>eCheck Refunded</td>
<td>Amount of eCheck refunds</td>
</tr>
<tr>
<td>Cash Refunds</td>
<td>Number of cash refunds</td>
</tr>
<tr>
<td>Cash Refunded</td>
<td>Amount of cash refunds</td>
</tr>
<tr>
<td>Paper Check Refunds</td>
<td>Number of paper check refunds</td>
</tr>
<tr>
<td>Paper Check Refunded</td>
<td>Amount of paper check refunds</td>
</tr>
<tr>
<td>Total Refunds</td>
<td>Total number of refunds made, of all types</td>
</tr>
<tr>
<td>Total Refunded</td>
<td>Total amount of refunds processed, of all types</td>
</tr>
</tbody>
</table>
</MadCap:dropDownBody>
</MadCap:dropDown>
</MadCap:dropDownBody>
</MadCap:dropDown>
Paulie
Sr. Propeller Head
Posts: 140
Joined: Sun Mar 01, 2015 3:01 pm

Re: Getting following:"missing dropdownhead in drop down eff

Post by Paulie »

It looks like your code has a drop down within a drop down but only one drop down header.

Try this instead:

Code: Select all

<MadCap:dropDown>
            <MadCap:dropDownHead>
                <MadCap:dropDownHotspot>Cash Drawer Report: WebPay Refunds Summary Tab</MadCap:dropDownHotspot>
            </MadCap:dropDownHead>
            <MadCap:dropDownBody>
                <p>This tab presents only refund transactions.</p>
                <p>
                    <img src="../Resources/Images/adm-rpts/CD3.png" />
                </p>
                <p>This tab of the report includes the following information:</p>
                <table style="width: 100%;">
                    <col />
                    <col />
                    <tbody>
                        <tr>
                            <th style="text-align: left;">Column</th>
                            <th style="text-align: left;">Description</th>
                        </tr>
                        <tr>
                            <td>Name</td>
                            <td>User who entered the WebPay payment into the system</td>
                        </tr>
                        <tr>
                            <td>Username</td>
                            <td>Username of the “Name” user</td>
                        </tr>
                        <tr>
                            <td>Credit Card Refunds</td>
                            <td>Number of credit card refunds</td>
                        </tr>
                        <tr>
                            <td>Credit Card Refunded</td>
                            <td>Amount of credit card refunds</td>
                        </tr>
                        <tr>
                            <td>eCheck Refunds</td>
                            <td>Number of eCheck refunds</td>
                        </tr>
                        <tr>
                            <td>eCheck Refunded</td>
                            <td>Amount of eCheck refunds</td>
                        </tr>
                        <tr>
                            <td>Cash Refunds</td>
                            <td>Number of cash refunds</td>
                        </tr>
                        <tr>
                            <td>Cash Refunded</td>
                            <td>Amount of cash refunds</td>
                        </tr>
                        <tr>
                            <td>Paper Check Refunds</td>
                            <td>Number of paper check refunds</td>
                        </tr>
                        <tr>
                            <td>Paper Check Refunded</td>
                            <td>Amount of paper check refunds</td>
                        </tr>
                        <tr>
                            <td>Total Refunds</td>
                            <td>Total number of refunds made, of all types</td>
                        </tr>
                        <tr>
                            <td>Total Refunded</td>
                            <td>Total amount of refunds processed, of all types</td>
                        </tr>
                    </tbody>
                </table>
            </MadCap:dropDownBody>
        </MadCap:dropDown>
"In an ideal world, software should be simple, well designed, and completely intuitive to end users. In the real world, good documentation is king."
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Getting following:"missing dropdownhead in drop down eff

Post by LTinker68 »

Why are there two dropDownBody blocks? Are you trying to imbed one drop-down inside another one? A simple drop-down would appear as:

Code: Select all

<MadCap:dropDown>            
    <MadCap:dropDownHead>
         <MadCap:dropDownHotspot>Drop-down heading</MadCap:dropDownHotspot>
    </MadCap:dropDownHead>
    <MadCap:dropDownBody>
          <p>Drop-down text</p>
          <p>Drop-down text</p>
     </MadCap:dropDownBody>
</MadCap:dropDown>
So one top-level dropDown container tag encompassing everything, one dropDownHead container block containing the hotspot (hyperlink) to click on, and one dropDownBody container block containing the contents to be displayed. Somehow you ended up with two dropDownBody tags.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Calybos
Propeller Head
Posts: 44
Joined: Tue Jun 17, 2014 5:20 am

Re: Getting following:"missing dropdownhead in drop down eff

Post by Calybos »

Aha! That was indeed the problem; looks like it was a leftover from a previously deleted dropdown. The nesting is gone, and it works fine now.

Thanks, everyone.
Post Reply