On Sun, Feb 14, 2010 at 11:14 PM, Sumedha Rubasinghe <[email protected]>wrote:
> Hi devs, > Carbon UI framework now has collapsible/expanded menu support for top level > menu categories (Manage,Configure,Resources,etc). > > 1. Along with each top level menu item you will see an arrow. By clicking > on this arrow, you can make the menu either collapsed or expanded. Your > action will be saved (browser scoped). > Hi, I'm too using cookie based approach to remember selected tab on sequence and endpoint page. But the problem is even user logs out from the system and login again, browser remember the menu/tab configuration because cookie is not aware of sessions. If we can clear those cookies when new session created we can stop that behavior. Maybe we can clear those cookies when user hits login page. Any ideas? > 2. Each product can specify which menu items should appear collapsed or be > expanded via product.xml. Check product.xml[1] for G-Reg for sample > configuration. (Screenshot attached) > > 3. Once a product is started, the collapse/expand options set by user will > take precedence over product's default configuration. If one wants to revert > back to default, cookies have to be erased. > > Thanks Chanaka,Amal for Javascript & styling work which actually does the > trick. > > /sumedha > > PS: It is possible to get this to work for every menu item. Holler if a > product needs this. > > [1] > https://svn.wso2.org/repos/wso2/trunk/carbon/products/greg/modules/styles/src/main/resources/META-INF > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Thanks, Miyuru
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
