click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CLK-315) Menu - development mode
Date Tue, 03 Nov 2009 13:16:59 GMT

     [ 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.


Mime
View raw message