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>
Nice tip Terry! I’ve filed an ER before for another mod I’d like to see for menus. Have you filed an ER for this yet? If not, please do.
LikeLike
adding spacers to menus is very sexy, ? think. nice
LikeLike
Nice tip Terry! I’ve filed an ER before for another mod I’d like to see for menus. Have you filed an ER for this yet? If not, please do.
LikeLike