Joe,
It is probably a good idea to capture this in the web2py bug tracker as an enhancement request.

________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/

On 11/11/2013 10:22 PM, JoeCodeswell wrote:

Dear Anthony, Kiran and Johann,

Thanks for the responses.

I'll be keeping track of the work that i do on this subject on myblog at this post <http://joecodeswell.wordpress.com/2013/11/11/components-for-web2py-html-pages-not-derived-from-layout-html/>. If you or any other web2py-users group members have any comments or suggestions you can share them there or here.

As of now i have added 2 comments on the blog to my original post.

*1. i looked up web2py component <http://www.web2py.com/book/default/chapter/12#Components-and-plugins>*

By def it seems that components

communicate with the component controller function via Ajax

Therefore the *list of dependencies *must contain ajax stuff.

*2. add a new component to list:*

navbar – is a complex component containing both *menu *and *auth-login* components.



Thanks again for a GREAT framework.

Love and peace,

Joe



On Saturday, November 9, 2013 10:52:49 AM UTC-8, JoeCodeswell wrote:

    Dear web2py Forum,

    Often i find myself making View pages that are NOT derived from
    layout.html and yet wanting to include *some *aspects of its
    capabilities.

    I thought the web2py "Component" concept might help to deliver a
    modular approach.

    My initial thoughts would be to pair small CSS files and HTML
    *Component definitions* for the following:

      * menu
      * login/register
      * left sidebar
      * right sidebar
      * footer
      * ajax
      * flash response
      * mobile
      * responsive

    while maintaining a *list of dependencies *among them.

    Has anyone thought about this granular approach before?

    I would *not *want to use *a Wizard* for this, because in my
    experience, the generated code is unfamiliar to me and difficult
    to customize.

    Thanks for a GREAT framework.

    Love and peace,

    Joe

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to