Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-140

TagLibrary should have either createTagScript OR createTag in its public API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0-beta-5
    • None
    • core / taglib.core
    • None

    Description

      At the moment, TagLibrary has two methods in its public API: createTag (not used much, if at all) and createTagScript.

      I see this as a split personality for the TL that should be removed. Either the TL is responsible to resolve a tag name into a TagScript (which cretes the Tag implementation), or it's responsible to resolve a tag name into a Tag implementation.

      From an API perspective, I don't think that a TL should be allowed to do both of these things.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hgilde Hans Gilde
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: