Make it possible to add LocParams to MetaMegaProtoUser's menus
The various user related menus are created by methods xxxMenuLoc (e.g. loginMenuLoc) which give us no flexibility to add LocParams. Why would there be a need for that? E.g. for adding a LocGroup in order to customize menu display.
The idea is that there are additional methods that are called from xxxMenuLoc in order to populate the LocParams. The default implementation will add a LocGroup("user").
The idea is that there are additional methods that are called from xxxMenuLoc in order to populate the LocParams. The default implementation will add a LocGroup("user").
Leave a comment
on 2010-02-06 11:51 *
By github.importer
Imported from GitHub: http://github.com/dpp/liftweb/issues/251/find
on 2010-02-23 23:49 *
By Heiko Seeberger
xxxMenuLoc methods now delegate to protected xxxMenuLocParams methods in order to get their LocParams.
The default LocParams were moved into the implementations of xxxMenuLocParams. Overwriting these (calling super in order to keep the default LocParams) makes it possible to add LocParams now.
The default LocParams were moved into the implementations of xxxMenuLocParams. Overwriting these (calling super in order to keep the default LocParams) makes it possible to add LocParams now.
On review board ...
on 2010-02-24 01:53 *
By Heiko Seeberger
(In revision:27e2b20afb4129d35401edd1c3699e563c308095) re #251: xxxMenuLoc methods now delegate to protected xxxMenuLocParams methods in order to get their LocParams.
Branch: master
Branch: master
on 2010-02-24 01:53 *
By Heiko Seeberger