#122

provide better layout support for Mustache

    • Created on: Thu, Aug 05 2010 (almost 2 years ago)
    • Reported by: jstrachan
    • Assigned to: jstrachan
    • Milestone: 1.4
    • Estimate: None/Small/Medium/Large None
    • Status: Fixed
    • Priority: Normal (3)
    • Component: -
    • Permission type: Private
    Mustache has no way to define/export variables or fragments right now, so the usual layout way doesn't work too well.

    See this discussion: http://groups.google.com/group/scalate/browse_thread/thread/f74e1d7fd130661b

    maybe we can have a special attribute "html" which lets you navigate the generated HTML document of the template and pull out elements based on their element name / attribute name or _ for all children.
  • Followers
     
    Ico-users jstrachan (Assigned To) , tfreitas 
     
    Attachments
    No attachments
    Associations
     
    No associations
    Activity
     
    User picture

          on Aug 05, 2010 @ 12:54pm UTC * By jstrachan

    Milestone set to Someday
    User picture

          on Jan 17, 2011 @ 11:25am UTC * By jstrachan

    Description changed from Not sure if this goes again... to Mustache has no way to defi...
    Milestone changed from Someday to 1.4
    Summary changed from provide better layout support for Mustache? e.g. how to specify what layouts to use? to provide better layout support for Mustache
    User picture

          on Jan 17, 2011 @ 12:33pm UTC * By jstrachan

    Assigned to set to jstrachan
    Status changed from New to Fixed
    (In revision:ec981338c067fcf37106fb5f3bdf2fa8c4e458ca) fixes #122 to allow Mustache templates to layout generated HTML by navigating the 'html' variable to access the head / title or body content.

    Branch: master
    Time Expenditure
    Loading