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

        Howard M. Lewis Ship created issue -
        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.
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Fix Version/s 5.0.5 [ 12312477 ]
        Affects Version/s 5.0 [ 12312018 ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 5.0.5 [ 12312477 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12404076 ] Default workflow, editable Closed status [ 12569165 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12569165 ] jira [ 12592113 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        4d 17h 37m 1 Howard M. Lewis Ship 20/May/07 19:29
        In Progress In Progress Closed Closed
        21h 45m 1 Howard M. Lewis Ship 21/May/07 17:14

          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