Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-539

OptionsRenderer

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • tiles-extras
    • None
    • Patch

    Description

      This takes the concept explained http://tech.finn.no/2010/11/04/the-ultimate-view/4/
      It moves the long [...|...|...] pattern that's embedded in the template's value, to a lookup using the syntax
      ${options[name]}
      where name refers to a list-attribute that contains the list of options.

      The patch here is more to open the discussion.
      Where is the correct place to put such a class?
      Can this be done using just an Evaluator? (It would be nice but it relies on the attempt to super.render(..) )

      Attachments

        1. TILES-539.patch
          6 kB
          Michael Semb Wever

        Issue Links

          Activity

            People

              mck Michael Semb Wever
              mck Michael Semb Wever
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: