Adding Spacers to ColdFusion Builder Menus

One of the things missing from ColdFusion Builder Extensions is the ability to make spacers in your menu items. This makes it a little hard to organize menu items.

But it turns out that you can add handlerless menu items. I have posted sample SML below.

Unfortunately, they are still clickable but because they don’t have a handler they don’t do anything. So it’s not a perfect solution, but it does make it a little easier to organize your menu options.

 

<contribution target=”projectview” >
<menu name=”Apptacular”>
<action name=”Regenerate Application” handlerid=”generate”></action>
<action name=”——————————” />
<action name=”Create Application” handlerid=”handlerCreateProject”></action>
<action name=”Edit Application Configuration” handlerid=”editConfig”></action>
   <action name=”Edit Database Data Model” handlerid=”editDB”></action>
<action name=”Edit Item Data Model” handlerid=”configtable”>
<filters>
<filter type=”file” pattern=”.*.cfc” /> 
</filters>
</action>
<action name=”——————————” />
<action name=”Prune Excess Files” handlerid=”purge”></action>
</menu>
</contribution>

3 thoughts on “Adding Spacers to ColdFusion Builder Menus

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s