Tapestry
  1. Tapestry
  2. TAPESTRY-1466

Support expansions inside ordinary attributes

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.5
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      It would be nice to allow expansions inside ordinary elements, without the bother of creating a component, i.e.

      <tr class="$

      {rowClass}

      "> ... </tr>

      Today, this can be accomplished as:

      <tr t:id="row" class="prop:rowClass"> ... </tr>

        Activity

        Hide
        Robert Zeigler added a comment -

        Would the expansion have to be the entire property?
        It would be nice to be able to mix and match a bit on the properties... something like:
        <a href="http://www.foo.com/$

        {dynamic}

        ">Some Link</a>

        Show
        Robert Zeigler added a comment - Would the expansion have to be the entire property? It would be nice to be able to mix and match a bit on the properties... something like: <a href="http://www.foo.com/$ {dynamic} ">Some Link</a>
        Hide
        Howard M. Lewis Ship added a comment -

        I agree, and that's what I've envisioned.

        Show
        Howard M. Lewis Ship added a comment - I agree, and that's what I've envisioned.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development