Uploaded image for project: 'Forge: Scalate'
  1. Forge: Scalate
  2. SCALATE-42

use 'meta templates' as a way of generating templates for a specific view

    Details

    • Type: Feature Request
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: scalate-core
    • Labels:
      None

      Description

      Imagine from inside sbt (or mvn shell or something) you typed something like

      generateView org.acme.Person

      which then auto-generated a sample template for the type in file: src/main/webapp/WEB-INF/org/acme/Person.index.ssp

      This would work using a kinda meta-template - a template which generates a template (and uses introspection to iterate through the properties to render.

      e.g.

      http://gist.github.com/329070

      Folks could have a few styles of meta-template to reuse - such as vertical table; multi-column table, form, list or whatnot

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  jastrachan James Strachan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: