You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Bob Schellink (JIRA)" <ji...@apache.org> on 2009/11/03 14:16:59 UTC

[jira] Closed: (CLK-315) Menu - development mode

     [ https://issues.apache.org/jira/browse/CLK-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Schellink closed CLK-315.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.1

This was fixed in a previous release.

> Menu - development mode
> -----------------------
>
>                 Key: CLK-315
>                 URL: https://issues.apache.org/jira/browse/CLK-315
>             Project: Click
>          Issue Type: New Feature
>          Components: core
>            Reporter: Ricardo R. Lecheta
>            Assignee: Malcolm Edgar
>             Fix For: 2.0.1
>
>
> Hi,
> it would be nice if the Menu control auto reload the menu.xml 
> in development mode.
> I changed the Menu.getRootMenu() to this code and it worked pretty well.
> is it possible to add this feature for click 1.4? thank you
> public static Menu getRootMenu() {
>     	if(Click.isDevelopmentMode()){
>                 //clean up...
>     		rootMenu = null;
>     	}
>         if (rootMenu == null) {
>             rootMenu = loadRootMenu();
>         }
>         return rootMenu;
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.