[Grok-dev] Rendering a menu built in another module

Santiago Videla santiago.videla at gmail.com
Thu Jan 8 08:26:52 EST 2009


Hi,

I'm not sure to understand what are doing exactly.

Could you paste your code??

Best Regards

On Thu, Jan 8, 2009 at 10:43 AM, Simon Elbaz <simon.elbaz at free.fr> wrote:

> Hi,
> I have 2 files:
> menus.py
> infos.py
>
> In menus.py, a menu is built using megrok.menu (with fixes on 0.14). A
> view called RenderMenu has 2 methods:
> render which display the menu  correctly.
> render_menu which returns the menu structure
>
> In the file infos.py, a class called DisplayMenu subclasses RenderMenu
> and returns the menu which is now empty (whatever is put in menus.py).
>
> What should I do to get the menu - filled in menus.py - from DisplayMenu
> in infos.py ?
>
> Thanks for your help
> Simon
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev
>



-- 
Santiago Videla
www.revolucionesweb.com.ar
http://www.linkedin.com/in/svidela

Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el
pensamiento que se hace corazón resplandece con la palabra sencilla y
humilde que l at s tod at s somos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20090108/f87e015e/attachment.html 


More information about the Grok-dev mailing list